Files
Paradise/code/datums/spells/alien_spells/regurgitate.dm
T
kyunkyunkyunandGitHub b0463d3c83 Convert most spans to defines (#31080)
* spanish?

* aaaagain

* keep maptext

* Update robot_items.dm

* Update span_defines.dm

* compiles

* Update silicon_mob.dm

* compile
2025-12-13 23:55:48 +00:00

19 lines
685 B
Plaintext

/datum/spell/alien_spell/regurgitate
name = "Regurgitate"
desc = "Empties the contents of your stomach onto the ground."
action_icon_state = "alien_barf"
/datum/spell/alien_spell/regurgitate/create_new_targeting()
return new /datum/spell_targeting/self
/datum/spell/alien_spell/regurgitate/cast(list/targets, mob/living/carbon/user)
for(var/mob/M in user.stomach_contents)
var/turf/output_loc = user.loc
if(!istype(output_loc))
return
user.stomach_contents -= M
M.forceMove(output_loc)
user.visible_message(SPAN_ALERTALIEN("<b>[user] hurls out the contents of [p_their()] stomach!</b>"))
return
user.visible_message(SPAN_ALERTALIEN("<b>[user] dry heaves!</b>"))