Shiptest 13 - Modules - TypesDefine Details

code/__DEFINES/storage.dm

STORAGE_LIMIT_MAX_ITEMSCheck max_items and contents.len when trying to insert
STORAGE_LIMIT_COMBINED_W_CLASSCheck max_combined_w_class.
STORAGE_LIMIT_VOLUMEUse the new volume system. Will automatically force rendering to use the new volume/baystation scaling UI so this is kind of incompatible with stuff like stack storage etc etc.
STORAGE_LIMIT_MAX_W_CLASSUse max_w_class
VOLUMETRIC_STORAGE_BOX_ICON_SIZESize of volumetric box icon
VOLUMETRIC_STORAGE_BOX_BORDER_SIZESize of EACH left/right border icon for volumetric boxes
MINIMUM_PIXELS_PER_ITEMMinimum pixels an item must have in volumetric scaled storage UI
MAXIMUM_VOLUMETRIC_ITEMSMaximum number of objects that will be allowed to be displayed using the volumetric display system. Arbitrary number to prevent server lockups.
VOLUMETRIC_STORAGE_ITEM_PADDINGHow much padding to give between items
VOLUMETRIC_STORAGE_EDGE_PADDINGHow much padding to give to edges
WEIGHT_CLASS_TINYUsually items smaller then a human hand, ex: Playing Cards, Lighter, Scalpel, Coins/Money
WEIGHT_CLASS_SMALLFits within a small pocket, ex: Flashlight, Multitool, Grenades, GPS Device
WEIGHT_CLASS_NORMALCan be carried in one hand comfortably, ex: Fire extinguisher, Stunbaton, Gas Mask, Metal Sheets
WEIGHT_CLASS_BULKYItems that can be wielded or equipped, (e.g. defibrillator, space suits). Often fits inside backpacks.
WEIGHT_CLASS_HUGEUsually represents objects that require two hands to operate, (e.g. shotgun, two-handed melee weapons) May fit on some inventory slots
WEIGHT_CLASS_GIGANTICEssentially means it cannot be picked up or placed in an inventory, ex: Mech Parts, Safe - Can not fit in Boh
AUTO_SCALE_VOLUMEMacro for automatically getting the volume of an item from its w_class.
AUTO_SCALE_STORAGE_VOLUMEMacro for automatically getting the volume of a storage item from its max_w_class and max_combined_w_class.

Define Details

AUTO_SCALE_STORAGE_VOLUME

Macro for automatically getting the volume of a storage item from its max_w_class and max_combined_w_class.

AUTO_SCALE_VOLUME

Macro for automatically getting the volume of an item from its w_class.

MAXIMUM_VOLUMETRIC_ITEMS

Maximum number of objects that will be allowed to be displayed using the volumetric display system. Arbitrary number to prevent server lockups.

MINIMUM_PIXELS_PER_ITEM

Minimum pixels an item must have in volumetric scaled storage UI

STORAGE_LIMIT_COMBINED_W_CLASS

Check max_combined_w_class.

STORAGE_LIMIT_MAX_ITEMS

Check max_items and contents.len when trying to insert

STORAGE_LIMIT_MAX_W_CLASS

Use max_w_class

STORAGE_LIMIT_VOLUME

Use the new volume system. Will automatically force rendering to use the new volume/baystation scaling UI so this is kind of incompatible with stuff like stack storage etc etc.

VOLUMETRIC_STORAGE_BOX_BORDER_SIZE

Size of EACH left/right border icon for volumetric boxes

VOLUMETRIC_STORAGE_BOX_ICON_SIZE

Size of volumetric box icon

VOLUMETRIC_STORAGE_EDGE_PADDING

How much padding to give to edges

VOLUMETRIC_STORAGE_ITEM_PADDING

How much padding to give between items

WEIGHT_CLASS_BULKY

Items that can be wielded or equipped, (e.g. defibrillator, space suits). Often fits inside backpacks.

WEIGHT_CLASS_GIGANTIC

Essentially means it cannot be picked up or placed in an inventory, ex: Mech Parts, Safe - Can not fit in Boh

WEIGHT_CLASS_HUGE

Usually represents objects that require two hands to operate, (e.g. shotgun, two-handed melee weapons) May fit on some inventory slots

WEIGHT_CLASS_NORMAL

Can be carried in one hand comfortably, ex: Fire extinguisher, Stunbaton, Gas Mask, Metal Sheets

WEIGHT_CLASS_SMALL

Fits within a small pocket, ex: Flashlight, Multitool, Grenades, GPS Device

WEIGHT_CLASS_TINY

Usually items smaller then a human hand, ex: Playing Cards, Lighter, Scalpel, Coins/Money