mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Replace all BYOND text macros
This commit is contained in:
@@ -44,7 +44,7 @@ var/global/list/rad_collectors = list()
|
||||
investigate_log("turned [active?"<font color='green'>on</font>":"<font color='red'>off</font>"] by [user.key]. [P?"Fuel: [round(P.air_contents.toxins/0.29)]%":"<font color='red'>It is empty</font>"].","singulo")
|
||||
return
|
||||
else
|
||||
to_chat(user, "\red The controls are locked!")
|
||||
to_chat(user, "<span class='warning'>The controls are locked!</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -57,10 +57,10 @@ var/global/list/rad_collectors = list()
|
||||
atmosanalyzer_scan(P.air_contents, user)
|
||||
else if(istype(W, /obj/item/weapon/tank/plasma))
|
||||
if(!src.anchored)
|
||||
to_chat(user, "\red The [src] needs to be secured to the floor first.")
|
||||
to_chat(user, "<span class='warning'>The [src] needs to be secured to the floor first.</span>")
|
||||
return 1
|
||||
if(src.P)
|
||||
to_chat(user, "\red There's already a plasma tank loaded.")
|
||||
to_chat(user, "<span class='warning'>There's already a plasma tank loaded.</span>")
|
||||
return 1
|
||||
user.drop_item()
|
||||
src.P = W
|
||||
@@ -72,7 +72,7 @@ var/global/list/rad_collectors = list()
|
||||
return 1
|
||||
else if(istype(W, /obj/item/weapon/wrench))
|
||||
if(P)
|
||||
to_chat(user, "\blue Remove the plasma tank first.")
|
||||
to_chat(user, "<span class='notice'>Remove the plasma tank first.</span>")
|
||||
return 1
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 75, 1)
|
||||
src.anchored = !src.anchored
|
||||
@@ -90,9 +90,9 @@ var/global/list/rad_collectors = list()
|
||||
to_chat(user, "The controls are now [src.locked ? "locked." : "unlocked."]")
|
||||
else
|
||||
src.locked = 0 //just in case it somehow gets locked
|
||||
to_chat(user, "\red The controls can only be locked when the [src] is active")
|
||||
to_chat(user, "<span class='warning'>The controls can only be locked when the [src] is active</span>")
|
||||
else
|
||||
to_chat(user, "\red Access denied!")
|
||||
to_chat(user, "<span class='warning'>Access denied!</span>")
|
||||
return 1
|
||||
else
|
||||
..()
|
||||
|
||||
@@ -154,9 +154,9 @@
|
||||
investigate_log("turned <font color='green'>on</font> by [key_name(usr)]","singulo")
|
||||
update_icon()
|
||||
else
|
||||
to_chat(user, "\red The controls are locked!")
|
||||
to_chat(user, "<span class='warning'>The controls are locked!</span>")
|
||||
else
|
||||
to_chat(user, "\red The [src] needs to be firmly secured to the floor first.")
|
||||
to_chat(user, "<span class='warning'>The [src] needs to be firmly secured to the floor first.</span>")
|
||||
return 1
|
||||
|
||||
|
||||
@@ -249,7 +249,7 @@
|
||||
"You hear a ratchet")
|
||||
src.anchored = 0
|
||||
if(2)
|
||||
to_chat(user, "\red The [src.name] needs to be unwelded from the floor.")
|
||||
to_chat(user, "<span class='warning'>The [src.name] needs to be unwelded from the floor.</span>")
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/weapon/weldingtool))
|
||||
@@ -259,7 +259,7 @@
|
||||
return
|
||||
switch(state)
|
||||
if(0)
|
||||
to_chat(user, "\red The [src.name] needs to be wrenched to the floor.")
|
||||
to_chat(user, "<span class='warning'>The [src.name] needs to be wrenched to the floor.</span>")
|
||||
if(1)
|
||||
if(WT.remove_fuel(0,user))
|
||||
playsound(src.loc, 'sound/items/Welder2.ogg', 50, 1)
|
||||
@@ -272,7 +272,7 @@
|
||||
to_chat(user, "You weld the [src] to the floor.")
|
||||
connect_to_network()
|
||||
else
|
||||
to_chat(user, "\red You need more welding fuel to complete this task.")
|
||||
to_chat(user, "<span class='warning'>You need more welding fuel to complete this task.</span>")
|
||||
if(2)
|
||||
if(WT.remove_fuel(0,user))
|
||||
playsound(src.loc, 'sound/items/Welder2.ogg', 50, 1)
|
||||
@@ -285,12 +285,12 @@
|
||||
to_chat(user, "You cut the [src] free from the floor.")
|
||||
disconnect_from_network()
|
||||
else
|
||||
to_chat(user, "\red You need more welding fuel to complete this task.")
|
||||
to_chat(user, "<span class='warning'>You need more welding fuel to complete this task.</span>")
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/weapon/card/id) || istype(W, /obj/item/device/pda))
|
||||
if(emagged)
|
||||
to_chat(user, "\red The lock seems to be broken")
|
||||
to_chat(user, "<span class='warning'>The lock seems to be broken</span>")
|
||||
return
|
||||
if(src.allowed(user))
|
||||
if(active)
|
||||
@@ -298,9 +298,9 @@
|
||||
to_chat(user, "The controls are now [src.locked ? "locked." : "unlocked."]")
|
||||
else
|
||||
src.locked = 0 //just in case it somehow gets locked
|
||||
to_chat(user, "\red The controls can only be locked when the [src] is online")
|
||||
to_chat(user, "<span class='warning'>The controls can only be locked when the [src] is online</span>")
|
||||
else
|
||||
to_chat(user, "\red Access denied.")
|
||||
to_chat(user, "<span class='warning'>Access denied.</span>")
|
||||
return
|
||||
|
||||
if(default_deconstruction_screwdriver(user, "emitter_open", "emitter", W))
|
||||
@@ -319,4 +319,4 @@
|
||||
locked = 0
|
||||
emagged = 1
|
||||
if(user)
|
||||
user.visible_message("[user.name] emags the [src.name].","\red You short out the lock.")
|
||||
user.visible_message("[user.name] emags the [src.name].","<span class='warning'>You short out the lock.</span>")
|
||||
|
||||
Reference in New Issue
Block a user