Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 6ed6cb6

Browse files
Fixes being able to use fire breath inside a mech (#22475)
* Update fire_breath.dm * Update fire_breath.dm * Update fire_breath.dm * Update fire_breath.dm * Update fire_breath.dm
1 parent 80ec551 commit 6ed6cb6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

code/datums/mutations/fire_breath.dm

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,17 @@
5959
our_lizard.ignite_mob()
6060
to_chat(our_lizard, span_warning("Something in front of your mouth catches fire!"))
6161

62+
/datum/action/cooldown/spell/cone/staggered/fire_breath/make_cone(list/cone_turfs, atom/caster)
63+
if(ismecha(caster.loc))
64+
var/obj/mecha/lizard_mech = caster.loc
65+
if(lizard_mech.enclosed) // inside an enclosed exosuit, everything inside gets cooked
66+
for(var/mob/living/cooked in lizard_mech)
67+
cooked.adjust_fire_stacks(cone_levels)
68+
cooked.ignite_mob()
69+
to_chat(cooked, span_warning("You're cooked alive by the flames!"))
70+
return
71+
return ..()
72+
6273
/datum/action/cooldown/spell/cone/staggered/fire_breath/after_cast(atom/cast_on)
6374
. = ..()
6475
if(!isliving(cast_on))

0 commit comments

Comments
 (0)