code/__DEFINES/storage/_storage.dm ![code/__DEFINES/storage/_storage.dm0](git.png)
STORAGE_LIMIT_MAX_ITEMS | Check max_items and contents.len when trying to insert |
---|---|
STORAGE_LIMIT_COMBINED_W_CLASS | Check max_combined_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. |
STORAGE_LIMIT_MAX_W_CLASS | Use max_w_class |
VOLUMETRIC_STORAGE_BOX_ICON_SIZE | Size of volumetric box icon |
VOLUMETRIC_STORAGE_BOX_BORDER_SIZE | Size of EACH left/right border icon for volumetric boxes |
MINIMUM_PIXELS_PER_ITEM | Minimum pixels an item must have in volumetric scaled storage UI |
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. |
VOLUMETRIC_STORAGE_ITEM_PADDING | How much padding to give between items |
VOLUMETRIC_STORAGE_EDGE_PADDING | How much padding to give to edges |
WEIGHT_CLASS_TINY | Usually items smaller then a human hand, ex: Playing Cards, Lighter, Scalpel, Coins/Money |
WEIGHT_CLASS_SMALL | Pockets can hold small and tiny items, ex: Flashlight, Multitool, Grenades, GPS Device |
WEIGHT_CLASS_NORMAL | Standard backpacks can carry tiny, small & normal items, ex: Fire extinguisher, Stunbaton, Gas Mask, Metal Sheets |
WEIGHT_CLASS_BULKY | Items that can be weilded or equipped but not stored in a normal bag, ex: Defibrillator, Backpack, Space Suits |
WEIGHT_CLASS_HUGE | Usually represents objects that require two hands to operate, ex: Shotgun, Two Handed Melee Weapons - Can not fit in Boh |
WEIGHT_CLASS_GIGANTIC | Essentially means it cannot be picked up or placed in an inventory, ex: Mech Parts, Safe - Can not fit in Boh |
Define Details
MAXIMUM_VOLUMETRIC_ITEMS ![code/__DEFINES/storage/_storage.dm 24](git.png)
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 ![code/__DEFINES/storage/_storage.dm 22](git.png)
Minimum pixels an item must have in volumetric scaled storage UI
STORAGE_LIMIT_COMBINED_W_CLASS ![code/__DEFINES/storage/_storage.dm 7](git.png)
Check max_combined_w_class.
STORAGE_LIMIT_MAX_ITEMS ![code/__DEFINES/storage/_storage.dm 5](git.png)
Check max_items and contents.len when trying to insert
STORAGE_LIMIT_MAX_W_CLASS ![code/__DEFINES/storage/_storage.dm 11](git.png)
Use max_w_class
STORAGE_LIMIT_VOLUME ![code/__DEFINES/storage/_storage.dm 9](git.png)
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 ![code/__DEFINES/storage/_storage.dm 20](git.png)
Size of EACH left/right border icon for volumetric boxes
VOLUMETRIC_STORAGE_BOX_ICON_SIZE ![code/__DEFINES/storage/_storage.dm 18](git.png)
Size of volumetric box icon
VOLUMETRIC_STORAGE_EDGE_PADDING ![code/__DEFINES/storage/_storage.dm 28](git.png)
How much padding to give to edges
VOLUMETRIC_STORAGE_ITEM_PADDING ![code/__DEFINES/storage/_storage.dm 26](git.png)
How much padding to give between items
WEIGHT_CLASS_BULKY ![code/__DEFINES/storage/_storage.dm 38](git.png)
Items that can be weilded or equipped but not stored in a normal bag, ex: Defibrillator, Backpack, Space Suits
WEIGHT_CLASS_GIGANTIC ![code/__DEFINES/storage/_storage.dm 42](git.png)
Essentially means it cannot be picked up or placed in an inventory, ex: Mech Parts, Safe - Can not fit in Boh
WEIGHT_CLASS_HUGE ![code/__DEFINES/storage/_storage.dm 40](git.png)
Usually represents objects that require two hands to operate, ex: Shotgun, Two Handed Melee Weapons - Can not fit in Boh
WEIGHT_CLASS_NORMAL ![code/__DEFINES/storage/_storage.dm 36](git.png)
Standard backpacks can carry tiny, small & normal items, ex: Fire extinguisher, Stunbaton, Gas Mask, Metal Sheets
WEIGHT_CLASS_SMALL ![code/__DEFINES/storage/_storage.dm 34](git.png)
Pockets can hold small and tiny items, ex: Flashlight, Multitool, Grenades, GPS Device
WEIGHT_CLASS_TINY ![code/__DEFINES/storage/_storage.dm 32](git.png)
Usually items smaller then a human hand, ex: Playing Cards, Lighter, Scalpel, Coins/Money