Skip to content

Commit

Permalink
[TWEAK/BALANCE] Destroyed monkey cube box now destroys monkey cubes i…
Browse files Browse the repository at this point in the history
…nside (#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>
  • Loading branch information
3 people authored Sep 23, 2024
1 parent 492d846 commit d856d5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/objects/items/weapons/storage/boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d856d5c

Please sign in to comment.