[MIRROR] Cleans up toolbox initializes [MDB IGNORE] (#17822)

* Cleans up toolbox initializes (#71585)

🆑
fix: normal toolboxes can't hold fishing rods anymore
/🆑

* Cleans up toolbox initializes

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-11-30 22:11:49 +01:00
committed by GitHub
parent f6b318b751
commit d88865fc78
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -26,6 +26,7 @@
/obj/item/storage/toolbox/Initialize(mapload)
. = ..()
atom_storage.max_specific_storage = WEIGHT_CLASS_NORMAL
if(has_latches)
if(prob(10))
latches = "double_latch"
@@ -40,10 +41,6 @@
if(has_latches)
. += latches
/obj/item/storage/toolbox/Initialize(mapload)
. = ..()
atom_storage.max_specific_storage = WEIGHT_CLASS_NORMAL
/obj/item/storage/toolbox/suicide_act(mob/living/user)
user.visible_message(span_suicide("[user] robusts [user.p_them()]self with [src]! It looks like [user.p_theyre()] trying to commit suicide!"))
return BRUTELOSS
+1 -1
View File
@@ -167,7 +167,7 @@
inhand_icon_state = "artistic_toolbox"
material_flags = NONE
/obj/item/storage/toolbox/Initialize(mapload)
/obj/item/storage/toolbox/fishing/Initialize(mapload)
. = ..()
// Can hold fishing rod despite the size
var/static/list/exception_cache = typecacheof(/obj/item/fishing_rod)