Skip to content

Commit

Permalink
grow boxes can now be destroyed by xenos (#6462)
Browse files Browse the repository at this point in the history
# About the pull request
title

# Explain why it's good for the game
no more stupid crap made by silly mappers blocking your movement

# Testing Photographs and Procedure


https://github.com/cmss13-devs/cmss13/assets/140007537/87207bd1-5024-46df-93d2-8ab7163fd324

# Changelog
:cl:
qol: Grow boxes can now be destroyed by xenos.
/:cl:
  • Loading branch information
iloveloopers committed Jun 16, 2024
1 parent ae7ee9f commit fd94bdd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions code/game/objects/structures/props.dm
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,20 @@
health = 75
density = TRUE

/obj/structure/prop/ice_colony/dense/attack_alien(mob/living/carbon/xenomorph/xeno)
if(xeno.a_intent == INTENT_HARM)
if(unslashable)
return
xeno.animation_attack_on(src)
playsound(loc, 'sound/effects/metalhit.ogg', 25, 1)
xeno.visible_message(SPAN_DANGER("[xeno] slices [src] apart!"),
SPAN_DANGER("We slice [src] apart!"), null, 5, CHAT_TYPE_XENO_COMBAT)
deconstruct(FALSE)
return XENO_ATTACK_ACTION
else
attack_hand(xeno)
return XENO_NONCOMBAT_ACTION

/obj/structure/prop/ice_colony/dense/ice_tray
name = "ice slab tray"
icon_state = "ice_tray"
Expand Down

0 comments on commit fd94bdd

Please sign in to comment.