Skip to content
This repository has been 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

Open
3 tasks
gioragutt opened this issue Nov 14, 2018 · 0 comments
Open
3 tasks
Labels
game-mechanics This issue is related to a general problem about the game mechanics server-side This issue is related to something on the server side

Comments

@gioragutt
Copy link
Member

gioragutt commented Nov 14, 2018

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.

@gioragutt gioragutt added server-side This issue is related to something on the server side game-mechanics This issue is related to a general problem about the game mechanics labels Nov 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
game-mechanics This issue is related to a general problem about the game mechanics server-side This issue is related to something on the server side
Projects
None yet
Development

No branches or pull requests

1 participant