Containers
From TESS-GEN
Revision as of 16:30, 29 March 2020 by RusDarkElf (talk | contribs) (Created page with "TESS-GEN uses the concept of containers to store ingredients and materials, instead of sending the ingredient as an object or storing it only in the server. <p> The containers...")
TESS-GEN uses the concept of containers to store ingredients and materials, instead of sending the ingredient as an object or storing it only in the server.
The containers have:
- Models: they can be bags, boxes, crates, barrels, only to cite a few.
- Types of materials they can store: containers don't accept all types of materials, instead, each model has a list of types they accept. For example, barrels can accept liquids, gas cylinders only gas, baskets can hold fruits, vegetables, meat, fish.
- Number of uses: each container has a limited number of uses until it break and need to be replaced.
- Capacity: the container can hold only a certain amount of the material.