mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Replaces unused span classes (#3539)
Replaces span class userdanger and sinister with things that exist. Also removes an unused proc.
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
if(prob(reflectchance))
|
||||
adjustBruteLoss(P.damage * 0.3)
|
||||
visible_message("<span class='danger'>The [P.name] gets reflected by [src]'s shell!</span>", \
|
||||
"<span class='userdanger'>The [P.name] gets reflected by [src]'s shell!</span>")
|
||||
"<span class='danger'>The [P.name] gets reflected by [src]'s shell!</span>")
|
||||
|
||||
// Find a turf near or on the original location to bounce to
|
||||
if(P.starting)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
var/list/nametemp = list()
|
||||
var/find
|
||||
if(cam.aipictures.len == 0)
|
||||
usr << "<span class='userdanger'>No images saved</span>"
|
||||
usr << "<span class='notice'>No images saved</span>"
|
||||
return
|
||||
for(var/obj/item/weapon/photo/t in cam.aipictures)
|
||||
nametemp += t.name
|
||||
|
||||
@@ -51,7 +51,7 @@ var/list/possible_cable_coil_colours = list(
|
||||
if(drain_check)
|
||||
return 1
|
||||
|
||||
var/datum/powernet/PN = get_powernet()
|
||||
var/datum/powernet/PN = powernet
|
||||
if(!PN) return 0
|
||||
|
||||
return PN.draw_power(amount)
|
||||
@@ -117,10 +117,6 @@ var/list/possible_cable_coil_colours = list(
|
||||
icon_state = "[d1]-[d2]"
|
||||
alpha = invisibility ? 127 : 255
|
||||
|
||||
// returns the powernet this cable belongs to
|
||||
/obj/structure/cable/proc/get_powernet() //TODO: remove this as it is obsolete
|
||||
return powernet
|
||||
|
||||
//Telekinesis has no effect on a cable
|
||||
/obj/structure/cable/attack_tk(mob/user)
|
||||
return
|
||||
@@ -1024,7 +1020,7 @@ obj/structure/cable/proc/cableColor(var/colorC)
|
||||
if(buckle_mob(M))
|
||||
M.visible_message(\
|
||||
"<span class='danger'>[user] ties \the [src] over [M]'s neck!</span>",\
|
||||
"<span class='userdanger'>[user] ties \the [src] over your neck!</span>")
|
||||
"<span class='danger'>[user] ties \the [src] over your neck!</span>")
|
||||
playsound(user.loc, 'sound/effects/noosed.ogg', 50, 1, -1)
|
||||
return 1
|
||||
else
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
event_chance = 25 //Events will fire off more often.
|
||||
if(chained)
|
||||
overlays = "chain_s9"
|
||||
visible_message("<span class='sinister'><font size='3'>You witness the creation of a destructive force that cannot possibly be stopped by human hands.</font></span>")
|
||||
visible_message("<span class='danger'><font size='3'>You witness the creation of a destructive force that cannot possibly be stopped by human hands.</font></span>")
|
||||
|
||||
if (current_size == allowed_size)
|
||||
investigate_log("<font color='red'>grew to size [current_size].</font>", I_SINGULO)
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
if(mob_aoe)
|
||||
for(var/mob/living/L in range(1, target_turf) - firer - target)
|
||||
L.apply_damage(damage*mob_aoe, damage_type, def_zone, armor)
|
||||
L << "<span class='userdanger'>You're struck by a [name]!</span>"
|
||||
L << "<span class='danger'>You're struck by a [name]!</span>"
|
||||
|
||||
|
||||
//Modkits
|
||||
|
||||
@@ -51,6 +51,6 @@
|
||||
M.forceMove(destination)
|
||||
if(M != user)
|
||||
prey = 1
|
||||
user << "<span class='sinister'>You warp back to Nar-Sie[prey ? " along with your prey":""].</span>"
|
||||
user << "<span class='alert'>You warp back to Nar-Sie[prey ? " along with your prey":""].</span>"
|
||||
else
|
||||
user << "<span class='danger'>...something's wrong!</span>"//There shouldn't be an instance of Harvesters when Nar-Sie isn't in the world.
|
||||
|
||||
Reference in New Issue
Block a user