mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
19 lines
685 B
Plaintext
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>"))
|