diff --git a/code/__DEFINES/inventory.dm b/code/__DEFINES/inventory.dm index fd6a7de37bf..20d429ca7c0 100644 --- a/code/__DEFINES/inventory.dm +++ b/code/__DEFINES/inventory.dm @@ -22,8 +22,14 @@ //in exchange for being limited in the w_class of items that will fit #define BASE_STORAGE_CAPACITY(w_class) (7*(w_class-1)) +// "max_storage_space" Defines +/// max_storage_space = 56 #define DEFAULT_HOLDING_STORAGE BASE_STORAGE_CAPACITY(9) +/// max_storage_space = 35 #define DEFAULT_DUFFELBAG_STORAGE BASE_STORAGE_CAPACITY(6) +/// max_storage_space = 28 #define DEFAULT_BACKPACK_STORAGE BASE_STORAGE_CAPACITY(5) +/// max_storage_space = 21 #define DEFAULT_LARGEBOX_STORAGE BASE_STORAGE_CAPACITY(4) +/// max_storage_space = 14 #define DEFAULT_BOX_STORAGE BASE_STORAGE_CAPACITY(3) diff --git a/code/game/objects/items/weapons/storage/firstaid.dm b/code/game/objects/items/weapons/storage/firstaid.dm index 51348921dd9..6178bce4265 100644 --- a/code/game/objects/items/weapons/storage/firstaid.dm +++ b/code/game/objects/items/weapons/storage/firstaid.dm @@ -15,7 +15,7 @@ /obj/item/storage/firstaid/empty desc = "It's a first-aid kit. Comes with nothing, so feel free to put your own stuff in it." - max_storage_space = 16 // So empty first-aid kits don't start with less space than filled ones. + max_storage_space = DEFAULT_BOX_STORAGE // So empty first-aid kits don't start with less space than filled ones. /obj/item/storage/firstaid/regular starts_with = list( diff --git a/html/changelogs/SleepyGemmy-firstaid_kit_define.yml b/html/changelogs/SleepyGemmy-firstaid_kit_define.yml new file mode 100644 index 00000000000..a836fb6ab40 --- /dev/null +++ b/html/changelogs/SleepyGemmy-firstaid_kit_define.yml @@ -0,0 +1,6 @@ +author: SleepyGemmy + +delete-after: True + +changes: + - bugfix: "Made first-aid kits use a define for its max storage space."