Barotrauma

Barotrauma

Humans+
Sumrex  [utvecklare] 20 maj, 2020 @ 16:14
Information for Modders
Information for modders:
The affiliction names for the food and drink mechanics are
hunger
thirst
So when you add food items to your mods, reduce hunger or thirst on item use.
For crafting foods the fabricator id is called
kitchen
You are free to add your own, but if custom subs are made based on this mod then using the kitchen for things is more convenient.
The food-based storage added is intended to hold items with the tags
food
snack
and the containers have tags for spawning items from other mods as well. Those tags are
cookcab //This is the general id on all of the containers, use only if you are ok with something spawning in very container
fridge //This is only on the refrigerator, use it for items that you would expect to find there. The fridge is not on all subs, but is on most
cupboard //This is only on the cupboards, intended for use on misc food items. It is not found on every sub, only the largest ones
pantry //Use this for any non-refrigerated food. It is on every sub as the basic food container
Use them how you see fit for your item spawns.