From 7bd1d0c9d202a7ca3048009e34da3a2b3da623e0 Mon Sep 17 00:00:00 2001 From: Guilherme <67030229+Guidesu@users.noreply.github.com> Date: Wed, 28 Apr 2021 19:28:51 -0300 Subject: [PATCH] [MOSTLY MODULAR] Suits have 2 storage for small or smaller items. (#5146) * EE * Update pockets.dm --- code/modules/clothing/suits/_suits.dm | 3 +++ .../modules/customization/pockets/pockets.dm | 13 +++++++++++++ tgstation.dme | 1 + 3 files changed, 17 insertions(+) create mode 100644 modular_skyrat/modules/customization/pockets/pockets.dm diff --git a/code/modules/clothing/suits/_suits.dm b/code/modules/clothing/suits/_suits.dm index 70d17162b2d..41ad1b8edf1 100644 --- a/code/modules/clothing/suits/_suits.dm +++ b/code/modules/clothing/suits/_suits.dm @@ -10,6 +10,9 @@ var/blood_overlay_type = "suit" var/togglename = null var/suittoggled = FALSE + //Skyrat Edit Pocket Edition + pocket_storage_component_path = /datum/component/storage/concrete/pockets/exo + //Skyrat Edit end limb_integrity = 0 // disabled for most exo-suits diff --git a/modular_skyrat/modules/customization/pockets/pockets.dm b/modular_skyrat/modules/customization/pockets/pockets.dm new file mode 100644 index 00000000000..7b439be998d --- /dev/null +++ b/modular_skyrat/modules/customization/pockets/pockets.dm @@ -0,0 +1,13 @@ +/datum/component/storage/concrete/pockets/exo + max_items = 2 + max_w_class = WEIGHT_CLASS_SMALL + attack_hand_interact = TRUE + quickdraw = FALSE + silent = FALSE + +/datum/component/storage/concrete/pockets/exo/cloak + max_items = 1 + quickdraw = TRUE + +/datum/component/storage/concrete/pockets/exo/large + max_items = 3 diff --git a/tgstation.dme b/tgstation.dme index 1870e7fc39d..8cc8d504f5e 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3944,6 +3944,7 @@ #include "modular_skyrat\modules\customization\modules\surgery\organs\tails.dm" #include "modular_skyrat\modules\customization\modules\surgery\organs\vox.dm" #include "modular_skyrat\modules\customization\modules\surgery\organs\wings.dm" +#include "modular_skyrat\modules\customization\pockets\pockets.dm" #include "modular_skyrat\modules\cyborg\code\borgpowertools.dm" #include "modular_skyrat\modules\cyborg\code\mechafabricator_designs.dm" #include "modular_skyrat\modules\cyborg\code\robot_upgrades.dm"