mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
[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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user