mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
24 lines
991 B
Plaintext
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
|