Skip to content
This repository was archived by the owner on Jun 12, 2019. It is now read-only.
This repository was archived by the owner on Jun 12, 2019. It is now read-only.

Create basic items mechanism in the serverside and load the items database #29

Description

@gioragutt

Depends on #24, which describes all the items in the game and their effects (the actual "implementation" of the json is subject to change to fit parsing needs and whatever's necessary to make the mechanism support all the effect kinds).

This should basically load the json db and parse it into models that can be used to do game logic.

  • Create suitable models (without effects)
  • Load the json db on server startup
  • Propose a design of how to keep the items state on players in the game.

Regarding the 3rd point - remember that the items are also droppable by mobs and stuff,
So this "Items Database" should be a fairly abstract detail - it shouldn't actually be what IS in a game, but what CAN be in a game.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    game-mechanicsThis issue is related to a general problem about the game mechanicsserver-sideThis issue is related to something on the server side

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions