Items represent objects that exist both in inventory and world space, and can have a multitude of functions. Ranging from food and drink to wearable armor or usable tools, the concept of items covers a broad territory.
Items in SurvivEngine are broadly divided into two categories:
Basic items will cover most conceptualizations of what a game item is and should do. Each item possesses identifying data such as a name and a sprite icon, as well as numeric data such as count and durability.
Items that can be stacked - that is, kept together in a collection - can be collected until the max stack size. Some items however can not be stacked. In the same fashion, some items may have durability and others won't. If an Item's durability reaches 0 in most cases it is destroyed immediately.
The concept of equipment expands upon the base item and only adds additional data about how it may be equipped and what sorts of effects it will have on the entity when done so. Equipment is a more specialized term mostly representing items that may be worn inside of the specified equipment slot.