mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-17 11:14:11 +01:00
converts our spans (#9185)
This commit is contained in:
@@ -66,10 +66,10 @@
|
||||
var/datum/component/gargoyle/comp = GetComponent(/datum/component/gargoyle)
|
||||
if (comp)
|
||||
if (comp.energy <= 0 && isturf(loc))
|
||||
to_chat(src, "<span class='danger'>You suddenly turn into a [comp.identifier] as you run out of energy!</span>")
|
||||
to_chat(src, span_danger("You suddenly turn into a [comp.identifier] as you run out of energy!"))
|
||||
else if (comp.cooldown > world.time)
|
||||
var/time_to_wait = (comp.cooldown - world.time) / (1 SECONDS)
|
||||
to_chat(src, "<span class='warning'>You can't transform just yet again! Wait for another [round(time_to_wait,0.1)] seconds!</span>")
|
||||
to_chat(src, span_warning("You can't transform just yet again! Wait for another [round(time_to_wait,0.1)] seconds!"))
|
||||
return
|
||||
if (istype(loc, /obj/structure/gargoyle))
|
||||
qdel(loc)
|
||||
@@ -89,7 +89,7 @@
|
||||
comp.paused = TRUE
|
||||
comp.paused_loc = loc
|
||||
comp.RegisterSignal(src, COMSIG_ATOM_ENTERING, /datum/component/gargoyle/proc/unpause)
|
||||
to_chat(src, "<span class='notice'>You start conserving your energy.</span>")
|
||||
to_chat(src, span_notice("You start conserving your energy."))
|
||||
|
||||
/mob/living/carbon/human/proc/gargoyle_checkenergy()
|
||||
set name = "Gargoyle - Check Energy"
|
||||
@@ -98,4 +98,4 @@
|
||||
|
||||
var/datum/component/gargoyle/comp = GetComponent(/datum/component/gargoyle)
|
||||
if (comp)
|
||||
to_chat(src, "<span class='notice'>You have [round(comp.energy,0.01)] energy remaining. It is currently [comp.paused ? "stable" : (comp.transformed ? "increasing" : "decreasing")].</span>")
|
||||
to_chat(src, span_notice("You have [round(comp.energy,0.01)] energy remaining. It is currently [comp.paused ? "stable" : (comp.transformed ? "increasing" : "decreasing")]."))
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
orbiter.SpinAnimation(rotation_speed, -1, clockwise, rotation_segments)
|
||||
|
||||
orbiter.forceMove(get_turf(parent))
|
||||
to_chat(orbiter, "<span class='notice'>Now orbiting [parent].</span>")
|
||||
to_chat(orbiter, span_notice("Now orbiting [parent]."))
|
||||
|
||||
/datum/component/orbiter/proc/end_orbit(atom/movable/orbiter, refreshing=FALSE)
|
||||
if(!orbiters[orbiter])
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
|
||||
/datum/modifier/aura/xenoqueenbuff
|
||||
name = "Adrenal Surge"
|
||||
on_created_text = "<span class='notice'>The influence of a nearby Xenomorph Queen strengthens your body... </span>"
|
||||
on_expired_text = "<span class='warning'>You feel the influence of the Queen slip away, causing your body to relax.</span>"
|
||||
on_created_text = span_notice("The influence of a nearby Xenomorph Queen strengthens your body... ")
|
||||
on_expired_text = span_warning("You feel the influence of the Queen slip away, causing your body to relax.")
|
||||
stacks = MODIFIER_STACK_FORBID
|
||||
aura_max_distance = 7 // Viewrange.
|
||||
mob_overlay_state = "purple_electricity_constant"
|
||||
@@ -58,8 +58,8 @@
|
||||
if(X.aura_active)
|
||||
STOP_PROCESSING(SSprocessing,X)
|
||||
X.aura_active = 0
|
||||
to_chat (src, "<span class = 'notice'>You cease empowering those around you.</span>")
|
||||
to_chat (src, span_notice("You cease empowering those around you."))
|
||||
else
|
||||
START_PROCESSING(SSprocessing,X)
|
||||
X.aura_active = 1
|
||||
to_chat (src, "<span class = 'notice'>You begin empowering those around you.</span>")
|
||||
to_chat (src, span_notice("You begin empowering those around you."))
|
||||
|
||||
Reference in New Issue
Block a user