From 85b1b99f35528bc3708e9bf5dadc4054bb3cf8c1 Mon Sep 17 00:00:00 2001 From: Dax Dupont Date: Mon, 23 Apr 2018 13:33:51 +0200 Subject: [PATCH 1/2] Fixes toolbelts holding everything --- code/game/objects/items/storage/belt.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/storage/belt.dm b/code/game/objects/items/storage/belt.dm index a4cd9cc739e..3b1c94e8c7a 100644 --- a/code/game/objects/items/storage/belt.dm +++ b/code/game/objects/items/storage/belt.dm @@ -34,7 +34,7 @@ item_state = "utility" content_overlays = TRUE -/obj/item/storage/belt/ulility/ComponentInitialize() +/obj/item/storage/belt/utility/ComponentInitialize() . = ..() GET_COMPONENT(STR, /datum/component/storage) STR.can_hold = typecacheof(list( From 399de6b59ca467941bf00acfa9fa52ed25d17103 Mon Sep 17 00:00:00 2001 From: Dax Dupont Date: Mon, 23 Apr 2018 13:47:27 +0200 Subject: [PATCH 2/2] aww yee --- code/game/objects/items/storage/belt.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/storage/belt.dm b/code/game/objects/items/storage/belt.dm index 3b1c94e8c7a..3f100f23908 100644 --- a/code/game/objects/items/storage/belt.dm +++ b/code/game/objects/items/storage/belt.dm @@ -37,7 +37,7 @@ /obj/item/storage/belt/utility/ComponentInitialize() . = ..() GET_COMPONENT(STR, /datum/component/storage) - STR.can_hold = typecacheof(list( + var/static/list/can_hold = typecacheof(list( /obj/item/crowbar, /obj/item/screwdriver, /obj/item/weldingtool, @@ -55,6 +55,7 @@ /obj/item/holosign_creator, /obj/item/device/assembly/signaler )) + STR.can_hold = can_hold /obj/item/storage/belt/utility/chief name = "\improper Chief Engineer's toolbelt" //"the Chief Engineer's toolbelt", because "Chief Engineer's toolbelt" is not a proper noun