mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
[TWEAK/BALANCE] Destroyed monkey cube box now destroys monkey cubes inside (#26816)
* Destroyed monkey cube box now destroys monkey cubes * Update code/game/objects/items/weapons/storage/boxes.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: Adrer <erwin@lombok.demon.nl> --------- Signed-off-by: Adrer <erwin@lombok.demon.nl> Co-authored-by: Adrer <adrermail@gmail.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
co-authored by
Contrabang
Adrer
parent
492d84685f
commit
d856d5c74b
@@ -381,6 +381,12 @@
|
||||
for(var/I in 1 to 5)
|
||||
new monkey_cube_type(src)
|
||||
|
||||
/obj/item/storage/box/monkeycubes/obj_destruction(damage_flag)
|
||||
if(damage_flag == ACID || damage_flag == FIRE)
|
||||
for(var/obj/item/food/monkeycube/mkc in contents)
|
||||
mkc.obj_destruction(damage_flag)
|
||||
. = ..()
|
||||
|
||||
/obj/item/storage/box/monkeycubes/syndicate
|
||||
desc = "Waffle Co. brand monkey cubes. Just add water and a dash of subterfuge!"
|
||||
monkey_cube_type = /obj/item/food/monkeycube/syndicate
|
||||
|
||||
Reference in New Issue
Block a user