Item system base serves multiple purposes, from fulfilling the quest system, cooking system and the battle system, perhaps even the date system in future.
Because of how core items are to all of these systems, the importance of the item system cannot be overstated, and it needs to be easy to navigate, understand and be used.
Items can be stored in the inventory
Items can, but not necessarily will, have multiple quantities. E.g. there may be only a single key item, but you may have up to N of potion. This is called stacking, so each set of N quantity is a stack. It is still a stack even if it's a stack of 1.
You can have multiple sets of the same item. This may be useful if the player somehow has multiple stacks of the same item. Typically this would occur for items that can only stack to 1.
Items may be dropped, but some may not be droppable.
Items may be sold, but some may not be sellable.
Items can be bought in some cases.
Items have an item type.
Items can be sorted by name, or type, (or "index" ?)
Item types have metadata.
Metadata contains item type
Metadata contains item icon
Metadata contains whether an item can stack
Metadata contains whether an item can be sold
Metadata contains whether an item can be dropped.
Metadata contains price for selling an item. TBC if this price is dynamic (based on merchant, location, etc).
Metadata contains price for buying an item (same TBC as selling)
Item Types include;
Medicine (TBC, some things are not medicine)
Key Items (things that are literally
Ingredients (TBC, because some ingredients are key items, and some are also medicine)
Dating items (TBC)
Item system base serves multiple purposes, from fulfilling the quest system, cooking system and the battle system, perhaps even the date system in future.
Because of how core items are to all of these systems, the importance of the item system cannot be overstated, and it needs to be easy to navigate, understand and be used.
- [x] Items can be stored in the inventory
- [x] Items can, but not necessarily will, have multiple quantities. E.g. there may be only a single key item, but you may have up to N of potion. This is called stacking, so each set of N quantity is a stack. It is still a stack even if it's a stack of 1.
- [x] You can have multiple sets of the same item. This may be useful if the player somehow has multiple stacks of the same item. Typically this would occur for items that can only stack to 1.
- [x] Items may be dropped, but some may not be droppable.
- [x] Items may be sold, but some may not be sellable.
- [x] Items can be bought in some cases.
- [x] Items have an item type.
- [x] Items can be sorted by name, or type, (or "index" ?)
- [x] Item types have metadata.
- [x] Metadata contains item type
- [ ] Metadata contains item icon
- [x] Metadata contains whether an item can stack
- [x] Metadata contains whether an item can be sold
- [x] Metadata contains whether an item can be dropped.
- [x] Metadata contains price for selling an item. TBC if this price is dynamic (based on merchant, location, etc).
- [x] Metadata contains price for buying an item (same TBC as selling)
Item Types include;
- [x] Medicine (TBC, some things are not medicine)
- [x] Key Items (things that are literally
- [x] Ingredients (TBC, because some ingredients are key items, and some are also medicine)
- [ ] Dating items (TBC)
YourWishes
added this to the Vertical Slice milestone 2025-01-04 22:01:56 -06:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Item system base serves multiple purposes, from fulfilling the quest system, cooking system and the battle system, perhaps even the date system in future.
Because of how core items are to all of these systems, the importance of the item system cannot be overstated, and it needs to be easy to navigate, understand and be used.
Item Types include;