Files
VOREStation/code/__defines/inventory_storage.dm
T
Cameron Lennox 65db3fe9f3 Adds the ability to use storage in storage (#17142)
* Adds the ability to use storage in storage

- Also adds a description to the evidence bag giving detail on how to use it.

* Update vorestation.dme

* destroys chompstation
2025-02-16 04:29:10 -05:00

29 lines
1.4 KiB
Plaintext

// The below should be used to define an item's w_class variable.
// Example: w_class = ITENSIZE_LARGE
// This allows the addition of future w_classes without needing to change every file.
#define ITEMSIZE_TINY 1
#define ITEMSIZE_SMALL 2
#define ITEMSIZE_NORMAL 3
#define ITEMSIZE_LARGE 4
#define ITEMSIZE_HUGE 5
#define ITEMSIZE_NO_CONTAINER 100 // Use this to forbid item from being placed in a container.
// Tweak these to determine how much space an item takes in a container.
// Look in storage.dm for get_storage_cost(), which uses these. Containers also use these as a reference for size.
// ITEMSIZE_COST_NORMAL is equivalent to one slot using the old inventory system. As such, it is a nice reference to use for
// defining how much space there is in a container.
#define ITEMSIZE_COST_TINY 1
#define ITEMSIZE_COST_SMALL 2
#define ITEMSIZE_COST_NORMAL 4
#define ITEMSIZE_COST_LARGE 8
#define ITEMSIZE_COST_HUGE 16
#define ITEMSIZE_COST_NO_CONTAINER 1000
// Container sizes. Note that different containers can hold a maximum ITEMSIZE.
#define INVENTORY_STANDARD_SPACE ITEMSIZE_COST_NORMAL * 7 // 28
#define INVENTORY_DUFFLEBAG_SPACE ITEMSIZE_COST_NORMAL * 9 // 36
#define INVENTORY_BOX_SPACE ITEMSIZE_COST_SMALL * 7 // 14
//this all needs a refactor to tg storage but for now...
#define MAX_STORAGE_REACH 2 //maximum you can reach down to grab things from storage.