Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create basic inventory system and items. #13

Closed
wesker-albert opened this issue Aug 4, 2023 · 1 comment · Fixed by #14
Closed

Create basic inventory system and items. #13

wesker-albert opened this issue Aug 4, 2023 · 1 comment · Fixed by #14
Assignees

Comments

@wesker-albert
Copy link
Owner

wesker-albert commented Aug 4, 2023

Create basic player inventory system, and items models.

Items should have the following optional functionality:

  • Stationary - not able to be picked up or moved by the player
  • Pickup - able to be picked up and dropped by the player

Pickup items should persist in the player inventory when acquired, and disappear from the inventory when dropped. When dropped the item should remain in the current room it was dropped within, available again for pickup.

World items respawn to previous set positions on world restart.

@wesker-albert wesker-albert converted this from a draft issue Aug 4, 2023
@wesker-albert wesker-albert changed the title Create basic, interactive items. Create basic inventory system and items. Aug 4, 2023
@wesker-albert wesker-albert moved this from Up Next to In Progress in cibo Aug 17, 2023
@wesker-albert wesker-albert self-assigned this Aug 17, 2023
@wesker-albert
Copy link
Owner Author

wesker-albert commented Aug 19, 2023

I'm making the decision to omit the following from the AC:

  • World items respawn to previous set positions on world restart.

I believe world item spawns need more thought. As I began working on this feature, I realized that I really like the idea of item persistence and degradation. For example:

  • If you drop a gun, it will remain where you dropped it until another player or NPC picks it up.
  • The gun will have a degradation threshold, and if it reaches said threshold, it will be deleted from the world.

This needs more thought, because I will need to determine was happens at that point. Does the item respawn to it's original location upon degradation? Does it respawn sooner, to avoid scarcity?

TLDR: We'll wait to address the topic of item spawn and deletion.

@wesker-albert wesker-albert linked a pull request Aug 21, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in cibo Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant