mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 19:43:52 +00:00
[MIRROR] First part of a span rework (#9120)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -184,29 +184,29 @@
|
||||
set waitfor = FALSE
|
||||
|
||||
Beam(target, icon_state = "sat_beam", time = 1.5 SECONDS, maxdistance = INFINITY)
|
||||
visible_message(span("warning", "\The [src] prepares a pouch of vials!"))
|
||||
visible_message(span_warning("\The [src] prepares a pouch of vials!"))
|
||||
sleep(0.5 SECONDS)
|
||||
|
||||
if(prob(25))
|
||||
visible_message(span("warning", "\The [src] throws a blue vial!"))
|
||||
visible_message(span_warning("\The [src] throws a blue vial!"))
|
||||
var/obj/item/projectile/B = new /obj/item/projectile/arc/vial/frostvial(get_turf(src))
|
||||
B.launch_projectile(target, BP_TORSO, src)
|
||||
|
||||
if(prob(25))
|
||||
visible_message(span("warning", "\The [src] throws a green vial!"))
|
||||
visible_message(span_warning("\The [src] throws a green vial!"))
|
||||
var/obj/item/projectile/B = new /obj/item/projectile/arc/vial/poisonvial(get_turf(src))
|
||||
B.launch_projectile(target, BP_TORSO, src)
|
||||
|
||||
if(prob(25))
|
||||
visible_message(span("warning", "\The [src] throws a red vial!"))
|
||||
visible_message(span_warning("\The [src] throws a red vial!"))
|
||||
var/obj/item/projectile/B = new /obj/item/projectile/arc/vial/firevial(get_turf(src))
|
||||
B.launch_projectile(target, BP_TORSO, src)
|
||||
else
|
||||
visible_message(span("warning", "\The [src] throws a strange vial"))
|
||||
visible_message(span_warning("\The [src] throws a strange vial"))
|
||||
var/obj/item/projectile/A = new /obj/item/projectile/arc/vial/lightingvial(get_turf(src))
|
||||
A.launch_projectile(target, BP_TORSO, src)
|
||||
|
||||
visible_message(span("warning", "\The [src] puts them pouch away."))
|
||||
visible_message(span_warning("\The [src] puts them pouch away."))
|
||||
|
||||
|
||||
/mob/living/simple_mob/vr/alchemistbee/proc/homingcluster(atom/target)
|
||||
@@ -214,7 +214,7 @@
|
||||
A.launch_projectile(target, BP_TORSO, src)
|
||||
|
||||
/mob/living/simple_mob/vr/alchemistbee/proc/dangerbolt(atom/target)
|
||||
visible_message(span("warning", "\The [src] prepares a powerful spell!"))
|
||||
visible_message(span_warning("\The [src] prepares a powerful spell!"))
|
||||
Beam(target, icon_state = "sat_beam", time = 2.0 SECONDS, maxdistance = INFINITY)
|
||||
sleep(1.5 SECONDS)
|
||||
var/obj/item/projectile/A = new /obj/item/projectile/energy/nuclearblast(get_turf(src))
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
// Telegraph our next move.
|
||||
Beam(target, icon_state = "sat_beam", time = 3.5 SECONDS, maxdistance = INFINITY)
|
||||
visible_message(span("warning", "\The [src] deploys a missile rack!"))
|
||||
visible_message(span_warning("\The [src] deploys a missile rack!"))
|
||||
playsound(src, 'sound/effects/turret/move1.wav', 50, 1)
|
||||
sleep(0.5 SECONDS)
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
if(target) // Might get deleted in the meantime.
|
||||
var/turf/T = get_turf(target)
|
||||
if(T)
|
||||
visible_message(span("warning", "\The [src] fires a rocket into the air!"))
|
||||
visible_message(span_warning("\The [src] fires a rocket into the air!"))
|
||||
playsound(src, 'sound/weapons/rpg.ogg', 70, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/explosive_rocket/rocket = new(loc)
|
||||
@@ -117,7 +117,7 @@
|
||||
rocket.fire()
|
||||
sleep(1 SECOND)
|
||||
|
||||
visible_message(span("warning", "\The [src] retracts the missile rack."))
|
||||
visible_message(span_warning("\The [src] retracts the missile rack."))
|
||||
playsound(src, 'sound/effects/turret/move2.wav', 50, 1)
|
||||
|
||||
/mob/living/simple_mob/mechanical/mecha/imperion/phase1/proc/launch_rockets(atom/target)
|
||||
@@ -146,7 +146,7 @@
|
||||
|
||||
/mob/living/simple_mob/mechanical/mecha/imperion/phase2/proc/electric_defense(atom/target)
|
||||
var/turf/T = get_turf(target)
|
||||
visible_message(span("warning", "\The [src] fires an energetic sphere into the air!"))
|
||||
visible_message(span_warning("\The [src] fires an energetic sphere into the air!"))
|
||||
playsound(src, 'sound/weapons/Laser.ogg', 50, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/microsingulo/sphere = new(loc)
|
||||
@@ -180,7 +180,7 @@
|
||||
/mob/living/simple_mob/mechanical/mecha/imperion/phase3/do_special_attack(atom/A)
|
||||
// Teleport attack.
|
||||
if(!A)
|
||||
to_chat(src, span("warning", "There's nothing to teleport to."))
|
||||
to_chat(src, span_warning("There's nothing to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/list/nearby_things = range(1, A)
|
||||
@@ -198,7 +198,7 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
@@ -210,14 +210,14 @@
|
||||
s2.set_up(5, 1, target_turf)
|
||||
|
||||
|
||||
T.visible_message(span("notice", "\The [src] vanishes!"))
|
||||
T.visible_message(span_notice("\The [src] vanishes!"))
|
||||
s1.start()
|
||||
|
||||
forceMove(target_turf)
|
||||
playsound(target_turf, 'sound/effects/phasein.ogg', 50, 1)
|
||||
to_chat(src, span("notice", "You teleport to \the [target_turf]."))
|
||||
to_chat(src, span_notice("You teleport to \the [target_turf]."))
|
||||
|
||||
target_turf.visible_message(span("warning", "\The [src] appears!"))
|
||||
target_turf.visible_message(span_warning("\The [src] appears!"))
|
||||
s2.start()
|
||||
|
||||
/datum/ai_holder/simple_mob/ranged/aggressive/meleeimperion
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
// Telegraph our next move.
|
||||
Beam(target, icon_state = "sat_beam", time = 3.5 SECONDS, maxdistance = INFINITY)
|
||||
visible_message(span("warning", "\The [src] deploys a missile rack!"))
|
||||
visible_message(span_warning("\The [src] deploys a missile rack!"))
|
||||
playsound(src, 'sound/effects/turret/move1.wav', 50, 1)
|
||||
sleep(0.5 SECONDS)
|
||||
|
||||
@@ -259,7 +259,7 @@
|
||||
if(target) // Might get deleted in the meantime.
|
||||
var/turf/T = get_turf(target)
|
||||
if(T)
|
||||
visible_message(span("warning", "\The [src] fires a rocket into the air!"))
|
||||
visible_message(span_warning("\The [src] fires a rocket into the air!"))
|
||||
playsound(src, 'sound/weapons/rpg.ogg', 70, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/explosive_rocket/rocket = new(loc)
|
||||
@@ -267,12 +267,12 @@
|
||||
rocket.fire()
|
||||
sleep(1 SECOND)
|
||||
|
||||
visible_message(span("warning", "\The [src] retracts the missile rack."))
|
||||
visible_message(span_warning("\The [src] retracts the missile rack."))
|
||||
playsound(src, 'sound/effects/turret/move2.wav', 50, 1)
|
||||
|
||||
/mob/living/simple_mob/mechanical/mecha/imperion/phase4/proc/launch_rockets(atom/target)
|
||||
if(!target)
|
||||
to_chat(src, span("warning", "There's nothing to teleport to."))
|
||||
to_chat(src, span_warning("There's nothing to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/list/nearby_things = range(1, target)
|
||||
@@ -290,7 +290,7 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
@@ -302,19 +302,19 @@
|
||||
s2.set_up(5, 1, target_turf)
|
||||
|
||||
|
||||
T.visible_message(span("notice", "\The [src] vanishes!"))
|
||||
T.visible_message(span_notice("\The [src] vanishes!"))
|
||||
s1.start()
|
||||
|
||||
forceMove(target_turf)
|
||||
playsound(target_turf, 'sound/effects/phasein.ogg', 50, 1)
|
||||
to_chat(src, span("notice", "You teleport to \the [target_turf]."))
|
||||
to_chat(src, span_notice("You teleport to \the [target_turf]."))
|
||||
|
||||
target_turf.visible_message(span("warning", "\The [src] appears!"))
|
||||
target_turf.visible_message(span_warning("\The [src] appears!"))
|
||||
s2.start()
|
||||
|
||||
/mob/living/simple_mob/mechanical/mecha/imperion/phase4/proc/launch_microsingularity(atom/target)
|
||||
var/turf/T = get_turf(target)
|
||||
visible_message(span("warning", "\The [src] fires an energetic sphere into the air!"))
|
||||
visible_message(span_warning("\The [src] fires an energetic sphere into the air!"))
|
||||
playsound(src, 'sound/weapons/Laser.ogg', 50, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/microsingulo/sphere = new(loc)
|
||||
@@ -430,7 +430,7 @@
|
||||
|
||||
// Telegraph our next move.
|
||||
Beam(target, icon_state = "sat_beam", time = 3.5 SECONDS, maxdistance = INFINITY)
|
||||
visible_message(span("warning", "\The [src] deploys a missile rack!"))
|
||||
visible_message(span_warning("\The [src] deploys a missile rack!"))
|
||||
playsound(src, 'sound/effects/turret/move1.wav', 50, 1)
|
||||
sleep(0.5 SECONDS)
|
||||
|
||||
@@ -438,7 +438,7 @@
|
||||
if(target) // Might get deleted in the meantime.
|
||||
var/turf/T = get_turf(target)
|
||||
if(T)
|
||||
visible_message(span("warning", "\The [src] fires a rocket into the air!"))
|
||||
visible_message(span_warning("\The [src] fires a rocket into the air!"))
|
||||
playsound(src, 'sound/weapons/rpg.ogg', 70, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/explosive_rocket/rocket = new(loc)
|
||||
@@ -446,7 +446,7 @@
|
||||
rocket.fire()
|
||||
sleep(1 SECOND)
|
||||
|
||||
visible_message(span("warning", "\The [src] retracts the missile rack."))
|
||||
visible_message(span_warning("\The [src] retracts the missile rack."))
|
||||
playsound(src, 'sound/effects/turret/move2.wav', 50, 1)
|
||||
var/obj/item/projectile/P = new /obj/item/projectile/bullet/imperiontesla(get_turf(src))
|
||||
P.launch_projectile(target, BP_TORSO, src)
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
/mob/living/simple_mob/humanoid/cultist/magus/rift/proc/launch_rockets(atom/target)
|
||||
if(!target)
|
||||
to_chat(src, span("warning", "There's nothing to teleport to."))
|
||||
to_chat(src, span_warning("There's nothing to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/list/nearby_things = range(1, target)
|
||||
@@ -95,7 +95,7 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
@@ -107,14 +107,14 @@
|
||||
s2.set_up(5, 1, target_turf)
|
||||
|
||||
|
||||
T.visible_message(span("notice", "\The [src] vanishes!"))
|
||||
T.visible_message(span_notice("\The [src] vanishes!"))
|
||||
s1.start()
|
||||
|
||||
forceMove(target_turf)
|
||||
playsound(target_turf, 'sound/effects/phasein.ogg', 50, 1)
|
||||
to_chat(src, span("notice", "You teleport to \the [target_turf]."))
|
||||
to_chat(src, span_notice("You teleport to \the [target_turf]."))
|
||||
|
||||
target_turf.visible_message(span("warning", "\The [src] appears!"))
|
||||
target_turf.visible_message(span_warning("\The [src] appears!"))
|
||||
s2.start()
|
||||
|
||||
/obj/item/grenade/spawnergrenade/riftwallers
|
||||
|
||||
@@ -644,7 +644,7 @@
|
||||
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/lunar/aeroblaster/death()
|
||||
visible_message(span("critical", "\The [src]'s body begins to rupture!"))
|
||||
visible_message(span_critical("\The [src]'s body begins to rupture!"))
|
||||
var/delay = rand(explosion_delay_lower, explosion_delay_upper)
|
||||
spawn(0)
|
||||
// Flash black and red as a warning.
|
||||
@@ -658,7 +658,7 @@
|
||||
spawn(delay)
|
||||
// The actual boom.
|
||||
if(src && !exploded)
|
||||
visible_message(span("danger", "\The [src]'s body detonates!"))
|
||||
visible_message(span_danger("\The [src]'s body detonates!"))
|
||||
exploded = TRUE
|
||||
explosion(src.loc, explosion_dev_range, explosion_heavy_range, explosion_light_range, explosion_flash_range)
|
||||
return ..()
|
||||
@@ -747,7 +747,7 @@
|
||||
/mob/living/simple_mob/humanoid/eclipse/solar/froststalker/do_special_attack(atom/A)
|
||||
// Teleport attack.
|
||||
if(!A)
|
||||
to_chat(src, span("warning", "There's nothing to teleport to."))
|
||||
to_chat(src, span_warning("There's nothing to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/list/nearby_things = range(1, A)
|
||||
@@ -765,7 +765,7 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
@@ -777,14 +777,14 @@
|
||||
s2.set_up(5, 1, target_turf)
|
||||
|
||||
|
||||
T.visible_message(span("notice", "\The [src] vanishes!"))
|
||||
T.visible_message(span_notice("\The [src] vanishes!"))
|
||||
s1.start()
|
||||
|
||||
forceMove(target_turf)
|
||||
playsound(target_turf, 'sound/effects/phasein.ogg', 50, 1)
|
||||
to_chat(src, span("notice", "You teleport to \the [target_turf]."))
|
||||
to_chat(src, span_notice("You teleport to \the [target_turf]."))
|
||||
|
||||
target_turf.visible_message(span("warning", "\The [src] appears!"))
|
||||
target_turf.visible_message(span_warning("\The [src] appears!"))
|
||||
s2.start()
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/solar/cryomancer //Freezing slowdown unit
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
special_attack_cooldown = 5 SECONDS
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/scientist/do_special_attack(atom/A)
|
||||
visible_message(span("warning", "\The [src] begins to fabricate drones!"))
|
||||
visible_message(span_warning("\The [src] begins to fabricate drones!"))
|
||||
sleep(3)
|
||||
if(vore_fullness == 1)
|
||||
new /mob/living/simple_mob/mechanical/mining_drone/scavenger/eclipse (src.loc)
|
||||
@@ -301,7 +301,7 @@
|
||||
bomb_range -= T
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/captain/proc/invokecargo(atom/A)
|
||||
visible_message(span("warning", "\The [src] calls for their help on radio!"))
|
||||
visible_message(span_warning("\The [src] calls for their help on radio!"))
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/captain/proc/invokeengi(atom/A) //place holdery
|
||||
var/obj/item/projectile/P = new /obj/item/projectile/temp(get_turf(src))
|
||||
@@ -310,14 +310,14 @@
|
||||
P2.launch_projectile(A, BP_TORSO, src)
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/captain/proc/invokesci(atom/A)
|
||||
visible_message(span("warning", "\The [src] begins to fabricate drones!"))
|
||||
visible_message(span_warning("\The [src] begins to fabricate drones!"))
|
||||
sleep(3)
|
||||
new /mob/living/simple_mob/mechanical/hivebot/swarm/eclipse (src.loc)
|
||||
new /mob/living/simple_mob/mechanical/hivebot/swarm/eclipse (src.loc)
|
||||
new /mob/living/simple_mob/mechanical/hivebot/swarm/eclipse (src.loc)
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/captain/proc/invokemedical(atom/A)
|
||||
visible_message(span("warning", "\The [src] begins to tend to their wounds!"))
|
||||
visible_message(span_warning("\The [src] begins to tend to their wounds!"))
|
||||
sleep(3)
|
||||
adjustBruteLoss(-12)
|
||||
adjustFireLoss(-12)
|
||||
|
||||
@@ -211,9 +211,9 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
|
||||
new/obj/effect/calldown_attack_lighting(target_turf)
|
||||
new/obj/effect/calldown_attack_lighting(target_turf)
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
@@ -147,10 +147,10 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
|
||||
var/datum/effect/effect/system/spark_spread/s2 = new /datum/effect/effect/system/smoke_spread
|
||||
s2.set_up(5, 1, target_turf)
|
||||
s2.set_up(5, 1, target_turf)
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
/mob/living/simple_mob/mechanical/hivebot/precusor/chrono/proc/launch_microsingularity(atom/target)
|
||||
set waitfor = FALSE
|
||||
visible_message(span("warning", "\The [src] drops a ticking time bomb!"))
|
||||
visible_message(span_warning("\The [src] drops a ticking time bomb!"))
|
||||
|
||||
var/obj/item/grenade/G = new grenade_type(get_turf(src))
|
||||
if(istype(G))
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
/mob/living/simple_mob/mechanical/hivebot/precusor/chrono/proc/launch_rockets(atom/target)
|
||||
set waitfor = FALSE
|
||||
visible_message(span("warning", "\The [src] creates weak looking hivebots!"))
|
||||
visible_message(span_warning("\The [src] creates weak looking hivebots!"))
|
||||
|
||||
var/obj/item/grenade/G = new grenade_type2(get_turf(src))
|
||||
if(istype(G))
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
/mob/living/simple_mob/mechanical/hivebot/precusor/chrono/proc/electric_defense(atom/target)
|
||||
var/turf/T = get_turf(target)
|
||||
visible_message(span("warning", "\The [src] fires an energetic sphere into the air!"))
|
||||
visible_message(span_warning("\The [src] fires an energetic sphere into the air!"))
|
||||
playsound(src, 'sound/weapons/Laser.ogg', 50, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/microsingulo/sphere = new(loc)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
// Telegraph our next move.
|
||||
Beam(target, icon_state = "sat_beam", time = 3.5 SECONDS, maxdistance = INFINITY)
|
||||
visible_message(span("warning", "\The [src] deploys a red missile rack!"))
|
||||
visible_message(span_warning("\The [src] deploys a red missile rack!"))
|
||||
playsound(src, 'sound/effects/turret/move1.wav', 50, 1)
|
||||
sleep(0.5 SECONDS)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
if(target) // Might get deleted in the meantime.
|
||||
var/turf/T = get_turf(target)
|
||||
if(T)
|
||||
visible_message(span("warning", "\The [src] fires a rocket into the air!"))
|
||||
visible_message(span_warning("\The [src] fires a rocket into the air!"))
|
||||
playsound(src, 'sound/weapons/rpg.ogg', 70, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/explosive_rocket/big/rocket = new(loc)
|
||||
@@ -55,7 +55,7 @@
|
||||
rocket.fire()
|
||||
sleep(1 SECOND)
|
||||
|
||||
visible_message(span("warning", "\The [src] retracts the red missile rack."))
|
||||
visible_message(span_warning("\The [src] retracts the red missile rack."))
|
||||
playsound(src, 'sound/effects/turret/move2.wav', 50, 1)
|
||||
|
||||
/obj/item/projectile/arc/explosive_rocket/big
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
// Telegraph our next move.
|
||||
Beam(target, icon_state = "sat_beam", time = 3.5 SECONDS, maxdistance = INFINITY)
|
||||
visible_message(span("warning", "\The [src] deploys a blue missile rack!"))
|
||||
visible_message(span_warning("\The [src] deploys a blue missile rack!"))
|
||||
playsound(src, 'sound/effects/turret/move1.wav', 50, 1)
|
||||
sleep(0.5 SECONDS)
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
if(target) // Might get deleted in the meantime.
|
||||
var/turf/T = get_turf(target)
|
||||
if(T)
|
||||
visible_message(span("warning", "\The [src] fires a rocket into the air!"))
|
||||
visible_message(span_warning("\The [src] fires a rocket into the air!"))
|
||||
playsound(src, 'sound/weapons/rpg.ogg', 70, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/explosive_rocket/rocket = new(loc)
|
||||
@@ -88,7 +88,7 @@
|
||||
rocket.fire()
|
||||
sleep(1 SECOND)
|
||||
|
||||
visible_message(span("warning", "\The [src] retracts the blue missile rack."))
|
||||
visible_message(span_warning("\The [src] retracts the blue missile rack."))
|
||||
playsound(src, 'sound/effects/turret/move2.wav', 50, 1)
|
||||
|
||||
/obj/item/projectile/arc/explosive_rocket/blue
|
||||
@@ -105,7 +105,7 @@
|
||||
|
||||
// Telegraph our next move.
|
||||
Beam(target, icon_state = "sat_beam", time = 3.5 SECONDS, maxdistance = INFINITY)
|
||||
visible_message(span("warning", "\The [src] deploys a yellow missile rack!"))
|
||||
visible_message(span_warning("\The [src] deploys a yellow missile rack!"))
|
||||
playsound(src, 'sound/effects/turret/move1.wav', 50, 1)
|
||||
sleep(0.5 SECONDS)
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
if(target) // Might get deleted in the meantime.
|
||||
var/turf/T = get_turf(target)
|
||||
if(T)
|
||||
visible_message(span("warning", "\The [src] fires a rocket into the air!"))
|
||||
visible_message(span_warning("\The [src] fires a rocket into the air!"))
|
||||
playsound(src, 'sound/weapons/rpg.ogg', 70, 1)
|
||||
face_atom(T)
|
||||
var/obj/item/projectile/arc/explosive_rocket/spread/rocket = new(loc)
|
||||
@@ -121,7 +121,7 @@
|
||||
rocket.fire()
|
||||
sleep(1 SECOND)
|
||||
|
||||
visible_message(span("warning", "\The [src] retracts the yellow missile rack."))
|
||||
visible_message(span_warning("\The [src] retracts the yellow missile rack."))
|
||||
playsound(src, 'sound/effects/turret/move2.wav', 50, 1)
|
||||
|
||||
/obj/item/projectile/arc/explosive_rocket/spread
|
||||
|
||||
@@ -87,8 +87,8 @@
|
||||
if(isliving(A))
|
||||
var/mob/living/L = A
|
||||
L.inflict_shock_damage(10)
|
||||
to_chat(src, span("span", "You shock \the [L]."))
|
||||
to_chat(L, span("danger", "You've been shocked by \the [src]!"))
|
||||
to_chat(src, span_warning("You shock \the [L]."))
|
||||
to_chat(L, span_danger("You've been shocked by \the [src]!"))
|
||||
|
||||
/mob/living/simple_mob/slime/feral/dark_purple
|
||||
desc = "This slime produces ever-coveted phoron. Risky to handle but very much worth it."
|
||||
@@ -98,7 +98,7 @@
|
||||
reagent_injected = "phoron"
|
||||
|
||||
/mob/living/simple_mob/slime/feral/dark_purple/proc/ignite()
|
||||
visible_message(span("critical", "\The [src] erupts in an inferno!"))
|
||||
visible_message(span_critical("\The [src] erupts in an inferno!"))
|
||||
for(var/turf/simulated/target_turf in view(2, src))
|
||||
target_turf.assume_gas("phoron", 30, 1500+T0C)
|
||||
spawn(0)
|
||||
@@ -136,7 +136,7 @@
|
||||
|
||||
/mob/living/simple_mob/slime/feral/silver/bullet_act(var/obj/item/projectile/P, var/def_zone)
|
||||
if(istype(P,/obj/item/projectile/beam) || istype(P, /obj/item/projectile/energy))
|
||||
visible_message(span("danger", "\The [src] reflects \the [P]!"))
|
||||
visible_message(span_danger("\The [src] reflects \the [P]!"))
|
||||
|
||||
// Find a turf near or on the original location to bounce to
|
||||
var/new_x = P.starting.x + pick(0, 0, 0, -1, 1, -2, 2)
|
||||
@@ -164,7 +164,7 @@
|
||||
/mob/living/simple_mob/slime/feral/bluespace/do_special_attack(atom/A)
|
||||
// Teleport attack.
|
||||
if(!A)
|
||||
to_chat(src, span("warning", "There's nothing to teleport to."))
|
||||
to_chat(src, span_warning("There's nothing to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/list/nearby_things = range(1, A)
|
||||
@@ -182,7 +182,7 @@
|
||||
valid_turfs.Add(potential_turf)
|
||||
|
||||
if(!(valid_turfs.len))
|
||||
to_chat(src, span("warning", "There wasn't an unoccupied spot to teleport to."))
|
||||
to_chat(src, span_warning("There wasn't an unoccupied spot to teleport to."))
|
||||
return FALSE
|
||||
|
||||
var/turf/target_turf = pick(valid_turfs)
|
||||
@@ -194,14 +194,14 @@
|
||||
s2.set_up(5, 1, target_turf)
|
||||
|
||||
|
||||
T.visible_message(span("notice", "\The [src] vanishes!"))
|
||||
T.visible_message(span_notice("\The [src] vanishes!"))
|
||||
s1.start()
|
||||
|
||||
forceMove(target_turf)
|
||||
playsound(target_turf, 'sound/effects/phasein.ogg', 50, 1)
|
||||
to_chat(src, span("notice", "You teleport to \the [target_turf]."))
|
||||
to_chat(src, span_notice("You teleport to \the [target_turf]."))
|
||||
|
||||
target_turf.visible_message(span("warning", "\The [src] appears!"))
|
||||
target_turf.visible_message(span_warning("\The [src] appears!"))
|
||||
s2.start()
|
||||
|
||||
if(Adjacent(A))
|
||||
@@ -227,14 +227,14 @@
|
||||
if(isliving(A) && a_intent == I_HURT)
|
||||
var/mob/living/L = A
|
||||
if(L.mob_size <= MOB_MEDIUM)
|
||||
visible_message(span("danger", "\The [src] sends \the [L] flying with the impact!"))
|
||||
visible_message(span_danger("\The [src] sends \the [L] flying with the impact!"))
|
||||
playsound(src, "punch", 50, 1)
|
||||
L.Weaken(1)
|
||||
var/throwdir = get_dir(src, L)
|
||||
L.throw_at(get_edge_target_turf(L, throwdir), 3, 1, src)
|
||||
else
|
||||
to_chat(L, span("warning", "\The [src] hits you with incredible force, but you remain in place."))
|
||||
visible_message(span("danger", "\The [src] hits \the [L] with incredible force, to no visible effect!")) // CHOMPEdit: Visible/audible feedback for *resisting* the slam.
|
||||
to_chat(L, span_warning("\The [src] hits you with incredible force, but you remain in place."))
|
||||
visible_message(span_danger("\The [src] hits \the [L] with incredible force, to no visible effect!")) // CHOMPEdit: Visible/audible feedback for *resisting* the slam.
|
||||
playsound(src, "punch", 50, 1) // CHOMPEdit: Visible/audible feedback for *resisting* the slam.
|
||||
|
||||
/mob/living/simple_mob/slime/feral/red
|
||||
|
||||
@@ -241,14 +241,14 @@
|
||||
if(isliving(A) && a_intent == I_HURT)
|
||||
var/mob/living/L = A
|
||||
if(L.mob_size <= MOB_MEDIUM)
|
||||
visible_message(span("danger", "\The [src] sends \the [L] flying with the impact!"))
|
||||
visible_message(span_danger("\The [src] sends \the [L] flying with the impact!"))
|
||||
playsound(src, "punch", 50, 1)
|
||||
L.Weaken(1)
|
||||
var/throwdir = get_dir(src, L)
|
||||
L.throw_at(get_edge_target_turf(L, throwdir), 3, 1, src)
|
||||
else
|
||||
to_chat(L, span("warning", "\The [src] hits you with incredible force, but you remain in place."))
|
||||
visible_message(span("danger", "\The [src] hits \the [L] with incredible force, to no visible effect!")) // CHOMPEdit: Visible/audible feedback for *resisting* the slam.
|
||||
to_chat(L, span_warning("\The [src] hits you with incredible force, but you remain in place."))
|
||||
visible_message(span_danger("\The [src] hits \the [L] with incredible force, to no visible effect!")) // CHOMPEdit: Visible/audible feedback for *resisting* the slam.
|
||||
playsound(src, "punch", 50, 1)
|
||||
|
||||
/mob/living/simple_mob/vore/candy/yellowcabold //Speeds folks
|
||||
@@ -465,28 +465,28 @@
|
||||
debuff_combo(A)
|
||||
|
||||
/mob/living/simple_mob/vore/candy/ouroboros/proc/summon_combo(atom/target)
|
||||
visible_message(span("warning", "\The [src] calls for help!"))
|
||||
visible_message(span_warning("\The [src] calls for help!"))
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
sleep(2.0 SECONDS)
|
||||
visible_message(span("warning", "\The [src] calls for help!"))
|
||||
visible_message(span_warning("\The [src] calls for help!"))
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
sleep(1.5 SECONDS)
|
||||
visible_message(span("warning", "\The [src] calls for help!"))
|
||||
visible_message(span_warning("\The [src] calls for help!"))
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
sleep(1.0 SECONDS)
|
||||
visible_message(span("warning", "\The [src] calls for help!"))
|
||||
visible_message(span_warning("\The [src] calls for help!"))
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
visible_message(span("warning", "\The [src] begins to heal!"))
|
||||
visible_message(span_warning("\The [src] begins to heal!"))
|
||||
sleep(3.5 SECONDS)
|
||||
adjustBruteLoss(-35)
|
||||
adjustFireLoss(-35)
|
||||
@@ -523,7 +523,7 @@
|
||||
new /obj/random/mob/candycritter (src.loc)
|
||||
|
||||
/mob/living/simple_mob/vore/candy/ouroboros/proc/debuff_combo(atom/target)
|
||||
visible_message(span("warning", "\The [src] prepares to let out a thunderous roar!"))
|
||||
visible_message(span_warning("\The [src] prepares to let out a thunderous roar!"))
|
||||
sleep(2.5 SECONDS)
|
||||
var/obj/item/grenade/G = new grenade_type(get_turf(src))
|
||||
if(istype(G))
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
sleep(leap_warmup) // For the telegraphing.
|
||||
|
||||
status_flags |= LEAPING
|
||||
visible_message(span("danger","\The [src] leaps at \the [A]!"))
|
||||
visible_message(span_danger("\The [src] leaps at \the [A]!"))
|
||||
throw_at(get_step(get_turf(A), get_turf(src)), special_attack_max_range+1, 1, src)
|
||||
playsound(src, leap_sound, 75, 1)
|
||||
|
||||
@@ -154,8 +154,8 @@
|
||||
|
||||
if(victim)
|
||||
victim.Weaken(2)
|
||||
victim.visible_message(span("danger","\The [src] knocks down \the [victim]!"))
|
||||
to_chat(victim, span("critical", "\The [src] jumps on you!"))
|
||||
victim.visible_message(span_danger("\The [src] knocks down \the [victim]!"))
|
||||
to_chat(victim, span_critical("\The [src] jumps on you!"))
|
||||
. = TRUE
|
||||
|
||||
set_AI_busy(FALSE)
|
||||
@@ -318,7 +318,7 @@
|
||||
resize(oursize)
|
||||
|
||||
/mob/living/simple_mob/vore/wolftaur/syndicate/death()
|
||||
visible_message(span("critical", "\The [src]'s explosive implant lets out a shrill beep!!!"))
|
||||
visible_message(span_critical("\The [src]'s explosive implant lets out a shrill beep!!!"))
|
||||
var/delay = rand(explosion_delay_lower, explosion_delay_upper)
|
||||
spawn(0)
|
||||
// Flash black and red as a warning.
|
||||
@@ -332,7 +332,7 @@
|
||||
spawn(delay)
|
||||
// The actual boom.
|
||||
if(src && !exploded)
|
||||
visible_message(span("danger", "\The [src]'s body violentl explodes!"))
|
||||
visible_message(span_danger("\The [src]'s body violentl explodes!"))
|
||||
exploded = TRUE
|
||||
new /obj/effect/decal/cleanable/blood/gibs(src.loc)
|
||||
explosion(src.loc, explosion_dev_range, explosion_heavy_range, explosion_light_range, explosion_flash_range)
|
||||
|
||||
Reference in New Issue
Block a user