spessmen / SS99

SS99. A rework of SS13, using BYOND.
3 stars 3 forks source link

Inventory system #2

Open nullquery opened 10 years ago

nullquery commented 10 years ago

The HUD has the appropriate slots for inventory, but there is no inventory system for players yet.

There should be a datum that contains the slots, with the mob having a variable referencing that datum. When items are in the player's inventory they should be placed on the appropriate HUD slots.

This issue encompasses the whole system: throwing, dropping, picking up, using items, using items on other items, putting items in storage containers, and getting items from storage containers.

nullquery commented 10 years ago

May be a good idea (given Marajin's suggestion of focusing on weighted items) to reduce the pocket slot to a single slot which expands when clicked on, to allow multiple items to be carried.

Regarding other weighted items: this can be implemented later, but in general items that don't weigh much (such as cigarettes) should stack. Perhaps visually add a counter for when the item is in your inventory.