Files
Paradise/code/datums/spells/inspectors_gaze.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

24 lines
991 B
Plaintext

/datum/spell/inspectors_gaze
name = "Inspector's Gaze"
desc = "Let the crew know that they're being watched and inspected."
base_cooldown = 6 SECONDS
clothes_req = FALSE
selection_activated_message = SPAN_NOTICE("You look for a crewmember to inspect! <b>Left-click to gaze at a target!</b>")
selection_deactivated_message = SPAN_NOTICE("You relinquish your gaze... for now.")
action_icon_state = "genetic_view"
/datum/spell/inspectors_gaze/create_new_targeting()
var/datum/spell_targeting/clicked_atom/external/C = new()
C.range = 10
return C
/datum/spell/inspectors_gaze/cast(list/targets, mob/living/user = usr)
var/mob/target = targets[1] // There is only ever one target for your gaze
if(!istype(target))
to_chat(user, SPAN_WARNING("You don't think [target] can commit SOP violations."))
return FALSE
to_chat(target, SPAN_WARNING("You feel someone staring at you..."))
to_chat(user, SPAN_NOTICE("You gaze at [target], intent to find SOP violations."))
return TRUE