mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Replace all BYOND text macros
This commit is contained in:
@@ -113,7 +113,7 @@ var/global/list/obj/machinery/message_server/message_servers = list()
|
||||
Console.set_light(2)
|
||||
|
||||
/obj/machinery/message_server/attack_hand(user as mob)
|
||||
// to_chat(user, "\blue There seem to be some parts missing from this server. They should arrive on the station in a few days, give or take a few CentComm delays.")
|
||||
// to_chat(user, "<span class='notice'>There seem to be some parts missing from this server. They should arrive on the station in a few days, give or take a few CentComm delays.</span>")
|
||||
to_chat(user, "You toggle PDA message passing from [active ? "On" : "Off"] to [active ? "Off" : "On"]")
|
||||
active = !active
|
||||
update_icon()
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
add_fingerprint(usr)
|
||||
usr.set_machine(src)
|
||||
if(!src.allowed(usr) && !emagged)
|
||||
to_chat(usr, "\red You do not have the required access level")
|
||||
to_chat(usr, "<span class='warning'>You do not have the required access level</span>")
|
||||
return
|
||||
|
||||
if(href_list["main"])
|
||||
@@ -338,7 +338,7 @@
|
||||
if(!emagged)
|
||||
playsound(src.loc, 'sound/effects/sparks4.ogg', 75, 1)
|
||||
emagged = 1
|
||||
to_chat(user, "\blue You you disable the security protocols")
|
||||
to_chat(user, "<span class='notice'>You you disable the security protocols</span>")
|
||||
src.updateUsrDialog()
|
||||
|
||||
/obj/machinery/r_n_d/server/core
|
||||
|
||||
@@ -79,26 +79,26 @@
|
||||
|
||||
if(istype(W, /obj/item/device/measuring_tape))
|
||||
var/obj/item/device/measuring_tape/P = W
|
||||
user.visible_message("\blue[user] extends [P] towards [src].","\blue You extend [P] towards [src].")
|
||||
user.visible_message("<span class='notice'>[user] extends [P] towards [src].</span>","<span class='notice'>You extend [P] towards [src].</span>")
|
||||
if(do_after(user,40, target = src))
|
||||
to_chat(user, "\blue [bicon(P)] [src] has been excavated to a depth of [2*src.excavation_level]cm.")
|
||||
to_chat(user, "<span class='notice'>[bicon(P)] [src] has been excavated to a depth of [2*src.excavation_level]cm.</span>")
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/weapon/pickaxe))
|
||||
var/obj/item/weapon/pickaxe/P = W
|
||||
|
||||
to_chat(user, "\red You start [P.drill_verb] [src].")
|
||||
to_chat(user, "<span class='warning'>You start [P.drill_verb] [src].</span>")
|
||||
|
||||
if(!do_after(user,P.digspeed, target = src))
|
||||
return
|
||||
|
||||
to_chat(user, "\blue You finish [P.drill_verb] [src].")
|
||||
to_chat(user, "<span class='notice'>You finish [P.drill_verb] [src].</span>")
|
||||
excavation_level += P.excavation_amount
|
||||
|
||||
if(excavation_level > 100)
|
||||
//failure
|
||||
user.visible_message("<font color='red'><b>[src] suddenly crumbles away.</b></font>",\
|
||||
"\red [src] has disintegrated under your onslaught, any secrets it was holding are long gone.")
|
||||
"<span class='warning'>[src] has disintegrated under your onslaught, any secrets it was holding are long gone.</span>")
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
@@ -114,5 +114,5 @@
|
||||
src.visible_message("<font color='red'><b>[src] suddenly crumbles away.</b></font>")
|
||||
else
|
||||
user.visible_message("<font color='red'><b>[src] suddenly crumbles away.</b></font>",\
|
||||
"\blue [src] has been whittled away under your careful excavation, but there was nothing of interest inside.")
|
||||
"<span class='notice'>[src] has been whittled away under your careful excavation, but there was nothing of interest inside.</span>")
|
||||
qdel(src)
|
||||
|
||||
@@ -50,17 +50,17 @@
|
||||
if(!previous_power_state)
|
||||
previous_power_state = 1
|
||||
icon_state = "cellold1"
|
||||
src.visible_message("\blue [bicon(src)] [src] suddenly comes to life!")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] suddenly comes to life!</span>")
|
||||
|
||||
//slowly grow a mob
|
||||
if(prob(5))
|
||||
src.visible_message("\blue [bicon(src)] [src] [pick("gloops","glugs","whirrs","whooshes","hisses","purrs","hums","gushes")].")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] [pick("gloops","glugs","whirrs","whooshes","hisses","purrs","hums","gushes")].</span>")
|
||||
|
||||
//if we've finished growing...
|
||||
if(time_spent_spawning >= time_per_spawn)
|
||||
time_spent_spawning = 0
|
||||
use_power = 1
|
||||
src.visible_message("\blue [bicon(src)] [src] pings!")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] pings!</span>")
|
||||
icon_state = "cellold1"
|
||||
desc = "It's full of a bubbling viscous liquid, and is lit by a mysterious glow."
|
||||
if(spawn_type)
|
||||
@@ -81,7 +81,7 @@
|
||||
if(previous_power_state)
|
||||
previous_power_state = 0
|
||||
icon_state = "cellold0"
|
||||
src.visible_message("\blue [bicon(src)] [src] suddenly shuts down.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] suddenly shuts down.</span>")
|
||||
|
||||
//cloned mob slowly breaks down
|
||||
time_spent_spawning = max(time_spent_spawning + last_process - world.time, 0)
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
if(active)
|
||||
active = 0
|
||||
icon_state = "gigadrill"
|
||||
to_chat(user, "\blue You press a button and [src] slowly spins down.")
|
||||
to_chat(user, "<span class='notice'>You press a button and [src] slowly spins down.</span>")
|
||||
else
|
||||
active = 1
|
||||
icon_state = "gigadrill_mov"
|
||||
to_chat(user, "\blue You press a button and [src] shudders to life.")
|
||||
to_chat(user, "<span class='notice'>You press a button and [src] shudders to life.</span>")
|
||||
|
||||
/obj/machinery/giga_drill/Bump(atom/A)
|
||||
if(active && !drilling_turf)
|
||||
|
||||
@@ -78,19 +78,19 @@
|
||||
viables.Remove(type)
|
||||
construction[button_desc] = type
|
||||
|
||||
fail_message = "\blue [bicon(src)] a [pick("loud","soft","sinister","eery","triumphant","depressing","cheerful","angry")] \
|
||||
fail_message = "<span class='notice'>[bicon(src)] a [pick("loud","soft","sinister","eery","triumphant","depressing","cheerful","angry")] \
|
||||
[pick("horn","beep","bing","bleep","blat","honk","hrumph","ding")] sounds and a \
|
||||
[pick("yellow","purple","green","blue","red","orange","white")] \
|
||||
[pick("light","dial","meter","window","protrusion","knob","antenna","swirly thing")] \
|
||||
[pick("swirls","flashes","whirrs","goes schwing","blinks","flickers","strobes","lights up")] on the \
|
||||
[pick("front","side","top","bottom","rear","inside")] of [src]. A [pick("slot","funnel","chute","tube")] opens up in the \
|
||||
[pick("front","side","top","bottom","rear","inside")]."
|
||||
[pick("front","side","top","bottom","rear","inside")].</span>"
|
||||
|
||||
/obj/machinery/replicator/process()
|
||||
if(spawning_types.len && powered())
|
||||
spawn_progress_time += world.time - last_process_time
|
||||
if(spawn_progress_time > max_spawn_time)
|
||||
src.visible_message("\blue [bicon(src)] [src] pings!")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] pings!</span>")
|
||||
|
||||
var/obj/source_material = pop(stored_materials)
|
||||
var/spawn_type = pop(spawning_types)
|
||||
@@ -113,7 +113,7 @@
|
||||
icon_state = "borgcharger0(old)"
|
||||
|
||||
else if(prob(5))
|
||||
src.visible_message("\blue [bicon(src)] [src] [pick("clicks","whizzes","whirrs","whooshes","clanks","clongs","clonks","bangs")].")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] [pick("clicks","whizzes","whirrs","whooshes","clanks","clongs","clonks","bangs")].</span>")
|
||||
|
||||
last_process_time = world.time
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
user.drop_item()
|
||||
W.loc = src
|
||||
stored_materials.Add(W)
|
||||
src.visible_message("\blue [user] inserts [W] into [src].")
|
||||
src.visible_message("<span class='notice'>[user] inserts [W] into [src].</span>")
|
||||
|
||||
/obj/machinery/replicator/Topic(href, href_list)
|
||||
|
||||
@@ -141,9 +141,9 @@
|
||||
if(index > 0 && index <= construction.len)
|
||||
if(stored_materials.len > spawning_types.len)
|
||||
if(spawning_types.len)
|
||||
src.visible_message("\blue [bicon(src)] a [pick("light","dial","display","meter","pad")] on [src]'s front [pick("blinks","flashes")] [pick("red","yellow","blue","orange","purple","green","white")].")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] a [pick("light","dial","display","meter","pad")] on [src]'s front [pick("blinks","flashes")] [pick("red","yellow","blue","orange","purple","green","white")].</span>")
|
||||
else
|
||||
src.visible_message("\blue [bicon(src)] [src]'s front compartment slides shut.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src]'s front compartment slides shut.</span>")
|
||||
|
||||
spawning_types.Add(construction[construction[index]])
|
||||
spawn_progress_time = 0
|
||||
|
||||
@@ -221,7 +221,7 @@ var/list/valid_secondary_effect_types = list(\
|
||||
|
||||
/obj/machinery/artifact/attack_hand(var/mob/user as mob)
|
||||
if(get_dist(user, src) > 1)
|
||||
to_chat(user, "\red You can't reach [src] from here.")
|
||||
to_chat(user, "<span class='warning'>You can't reach [src] from here.</span>")
|
||||
return
|
||||
if(ishuman(user) && user:gloves)
|
||||
to_chat(user, "<b>You touch [src]</b> with your gloved hands, [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")].")
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
var/atom/toplevelholder = holder
|
||||
while(!istype(toplevelholder.loc, /turf))
|
||||
toplevelholder = toplevelholder.loc
|
||||
toplevelholder.visible_message("\red [bicon(toplevelholder)] [toplevelholder] [display_msg]")
|
||||
toplevelholder.visible_message("<span class='warning'>[bicon(toplevelholder)] [toplevelholder] [display_msg]</span>")
|
||||
|
||||
/datum/artifact_effect/proc/DoEffectTouch(var/mob/user)
|
||||
/datum/artifact_effect/proc/DoEffectAura(var/atom/holder)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
/datum/artifact_effect/cold/DoEffectTouch(var/mob/user)
|
||||
if(holder)
|
||||
to_chat(user, "\blue A chill passes up your spine!")
|
||||
to_chat(user, "<span class='notice'>A chill passes up your spine!</span>")
|
||||
var/datum/gas_mixture/env = holder.loc.return_air()
|
||||
if(env)
|
||||
env.temperature = max(env.temperature - rand(5,50), 0)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
var/mob/living/silicon/robot/R = user
|
||||
for(var/obj/item/weapon/stock_parts/cell/D in R.contents)
|
||||
D.charge += rand() * 100 + 50
|
||||
to_chat(R, "\blue SYSTEM ALERT: Large energy boost detected!")
|
||||
to_chat(R, "<span class='notice'>SYSTEM ALERT: Large energy boost detected!</span>")
|
||||
return 1
|
||||
|
||||
/datum/artifact_effect/cellcharge/DoEffectAura()
|
||||
@@ -24,7 +24,7 @@
|
||||
for(var/mob/living/silicon/robot/M in mob_list)
|
||||
for(var/obj/item/weapon/stock_parts/cell/D in M.contents)
|
||||
D.charge += 25
|
||||
to_chat(M, "\blue SYSTEM ALERT: Energy boost detected!")
|
||||
to_chat(M, "<span class='notice'>SYSTEM ALERT: Energy boost detected!</span>")
|
||||
return 1
|
||||
|
||||
/datum/artifact_effect/cellcharge/DoEffectPulse()
|
||||
@@ -38,5 +38,5 @@
|
||||
for(var/mob/living/silicon/robot/M in mob_list)
|
||||
for(var/obj/item/weapon/stock_parts/cell/D in M.contents)
|
||||
D.charge += rand() * 100
|
||||
to_chat(M, "\blue SYSTEM ALERT: Energy boost detected!")
|
||||
to_chat(M, "<span class='notice'>SYSTEM ALERT: Energy boost detected!</span>")
|
||||
return 1
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
var/mob/living/silicon/robot/R = user
|
||||
for(var/obj/item/weapon/stock_parts/cell/D in R.contents)
|
||||
D.charge = max(D.charge - rand() * 100, 0)
|
||||
to_chat(R, "\blue SYSTEM ALERT: Energy drain detected!")
|
||||
to_chat(R, "<span class='notice'>SYSTEM ALERT: Energy drain detected!</span>")
|
||||
return 1
|
||||
|
||||
return 1
|
||||
@@ -26,7 +26,7 @@
|
||||
for(var/mob/living/silicon/robot/M in mob_list)
|
||||
for(var/obj/item/weapon/stock_parts/cell/D in M.contents)
|
||||
D.charge = max(D.charge - 50,0)
|
||||
to_chat(M, "\red SYSTEM ALERT: Energy drain detected!")
|
||||
to_chat(M, "<span class='warning'>SYSTEM ALERT: Energy drain detected!</span>")
|
||||
return 1
|
||||
|
||||
/datum/artifact_effect/celldrain/DoEffectPulse()
|
||||
@@ -40,5 +40,5 @@
|
||||
for(var/mob/living/silicon/robot/M in mob_list)
|
||||
for(var/obj/item/weapon/stock_parts/cell/D in M.contents)
|
||||
D.charge = max(D.charge - rand() * 150,0)
|
||||
to_chat(M, "\red SYSTEM ALERT: Energy drain detected!")
|
||||
to_chat(M, "<span class='warning'>SYSTEM ALERT: Energy drain detected!</span>")
|
||||
return 1
|
||||
|
||||
+21
-21
@@ -15,13 +15,13 @@
|
||||
/datum/artifact_effect/dnaswitch/DoEffectTouch(var/mob/toucher)
|
||||
var/weakness = GetAnomalySusceptibility(toucher)
|
||||
if(ishuman(toucher) && prob(weakness * 100))
|
||||
to_chat(toucher, pick("\green You feel a little different.",
|
||||
"\green You feel very strange.",
|
||||
"\green Your stomach churns.",
|
||||
"\green Your skin feels loose.",
|
||||
"\green You feel a stabbing pain in your head.",
|
||||
"\green You feel a tingling sensation in your chest.",
|
||||
"\green Your entire body vibrates."))
|
||||
to_chat(toucher, pick("<span class=notice'>You feel a little different.</span>",
|
||||
"<span class=notice'>You feel very strange.</span>",
|
||||
"<span class=notice'>Your stomach churns.</span>",
|
||||
"<span class=notice'>Your skin feels loose.</span>",
|
||||
"<span class=notice'>You feel a stabbing pain in your head.</span>",
|
||||
"<span class=notice'>You feel a tingling sensation in your chest.</span>",
|
||||
"<span class=notice'>Your entire body vibrates.</span>"))
|
||||
if(prob(75))
|
||||
scramble(1, toucher, weakness * severity)
|
||||
else
|
||||
@@ -35,13 +35,13 @@
|
||||
var/weakness = GetAnomalySusceptibility(H)
|
||||
if(prob(weakness * 100))
|
||||
if(prob(30))
|
||||
to_chat(H, pick("\green You feel a little different.",
|
||||
"\green You feel very strange.",
|
||||
"\green Your stomach churns.",
|
||||
"\green Your skin feels loose.",
|
||||
"\green You feel a stabbing pain in your head.",
|
||||
"\green You feel a tingling sensation in your chest.",
|
||||
"\green Your entire body vibrates."))
|
||||
to_chat(H, pick("<span class=notice'>You feel a little different.</span>",
|
||||
"<span class=notice'>You feel very strange.</span>",
|
||||
"<span class=notice'>Your stomach churns.</span>",
|
||||
"<span class=notice'>Your skin feels loose.</span>",
|
||||
"<span class=notice'>You feel a stabbing pain in your head.</span>",
|
||||
"<span class=notice'>You feel a tingling sensation in your chest.</span>",
|
||||
"<span class=notice'>Your entire body vibrates.</span>"))
|
||||
if(prob(50))
|
||||
scramble(1, H, weakness * severity)
|
||||
else
|
||||
@@ -54,13 +54,13 @@
|
||||
var/weakness = GetAnomalySusceptibility(H)
|
||||
if(prob(weakness * 100))
|
||||
if(prob(75))
|
||||
to_chat(H, pick("\green You feel a little different.",
|
||||
"\green You feel very strange.",
|
||||
"\green Your stomach churns.",
|
||||
"\green Your skin feels loose.",
|
||||
"\green You feel a stabbing pain in your head.",
|
||||
"\green You feel a tingling sensation in your chest.",
|
||||
"\green Your entire body vibrates."))
|
||||
to_chat(H, pick("<span class=notice'>You feel a little different.</span>",
|
||||
"<span class=notice'>You feel very strange.</span>",
|
||||
"<span class=notice'>Your stomach churns.</span>",
|
||||
"<span class=notice'>Your skin feels loose.</span>",
|
||||
"<span class=notice'>You feel a stabbing pain in your head.</span>",
|
||||
"<span class=notice'>You feel a tingling sensation in your chest.</span>",
|
||||
"<span class=notice'>Your entire body vibrates.</span>"))
|
||||
if(prob(25))
|
||||
if(prob(75))
|
||||
scramble(1, H, weakness * severity)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
var/weakness = GetAnomalySusceptibility(toucher)
|
||||
if(prob(weakness * 100))
|
||||
var/mob/living/carbon/C = toucher
|
||||
to_chat(C, "\blue You feel a soothing energy invigorate you.")
|
||||
to_chat(C, "<span class='notice'>You feel a soothing energy invigorate you.</span>")
|
||||
|
||||
if(ishuman(toucher))
|
||||
var/mob/living/carbon/human/H = toucher
|
||||
@@ -42,7 +42,7 @@
|
||||
var/weakness = GetAnomalySusceptibility(C)
|
||||
if(prob(weakness * 100))
|
||||
if(prob(10))
|
||||
to_chat(C, "\blue You feel a soothing energy radiating from something nearby.")
|
||||
to_chat(C, "<span class='notice'>You feel a soothing energy radiating from something nearby.</span>")
|
||||
C.adjustBruteLoss(-1 * weakness)
|
||||
C.adjustFireLoss(-1 * weakness)
|
||||
C.adjustToxLoss(-1 * weakness)
|
||||
@@ -57,7 +57,7 @@
|
||||
for(var/mob/living/carbon/C in range(src.effectrange,T))
|
||||
var/weakness = GetAnomalySusceptibility(C)
|
||||
if(prob(weakness * 100))
|
||||
to_chat(C, "\blue A wave of energy invigorates you.")
|
||||
to_chat(C, "<span class='notice'>A wave of energy invigorates you.</span>")
|
||||
C.adjustBruteLoss(-5 * weakness)
|
||||
C.adjustFireLoss(-5 * weakness)
|
||||
C.adjustToxLoss(-5 * weakness)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
/datum/artifact_effect/heat/DoEffectTouch(var/mob/user)
|
||||
if(holder)
|
||||
to_chat(user, "\red You feel a wave of heat travel up your spine!")
|
||||
to_chat(user, "<span class='warning'>You feel a wave of heat travel up your spine!</span>")
|
||||
var/datum/gas_mixture/env = holder.loc.return_air()
|
||||
if(env)
|
||||
env.temperature += rand(5,50)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
var/weakness = GetAnomalySusceptibility(toucher)
|
||||
if(iscarbon(toucher) && prob(weakness * 100))
|
||||
var/mob/living/carbon/C = toucher
|
||||
to_chat(C, "\red A painful discharge of energy strikes you!")
|
||||
to_chat(C, "<span class='warning'>A painful discharge of energy strikes you!</span>")
|
||||
C.adjustOxyLoss(rand(5,25) * weakness)
|
||||
C.adjustToxLoss(rand(5,25) * weakness)
|
||||
C.adjustBruteLoss(rand(5,25) * weakness)
|
||||
@@ -26,7 +26,7 @@
|
||||
var/weakness = GetAnomalySusceptibility(C)
|
||||
if(prob(weakness * 100))
|
||||
if(prob(10))
|
||||
to_chat(C, "\red You feel a painful force radiating from something nearby.")
|
||||
to_chat(C, "<span class='warning'>You feel a painful force radiating from something nearby.</span>")
|
||||
C.adjustBruteLoss(1 * weakness)
|
||||
C.adjustFireLoss(1 * weakness)
|
||||
C.adjustToxLoss(1 * weakness)
|
||||
@@ -40,7 +40,7 @@
|
||||
for(var/mob/living/carbon/C in range(effectrange, T))
|
||||
var/weakness = GetAnomalySusceptibility(C)
|
||||
if(prob(weakness * 100))
|
||||
to_chat(C, "\red A wave of painful energy strikes you!")
|
||||
to_chat(C, "<span class='warning'>A wave of painful energy strikes you!</span>")
|
||||
C.adjustBruteLoss(3 * weakness)
|
||||
C.adjustFireLoss(3 * weakness)
|
||||
C.adjustToxLoss(3 * weakness)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
if(user)
|
||||
if(istype(user, /mob/living/silicon/robot))
|
||||
var/mob/living/silicon/robot/R = user
|
||||
to_chat(R, "\blue Your systems report damaged components mending by themselves!")
|
||||
to_chat(R, "<span class='notice'>Your systems report damaged components mending by themselves!</span>")
|
||||
R.adjustBruteLoss(rand(-10,-30))
|
||||
R.adjustFireLoss(rand(-10,-30))
|
||||
return 1
|
||||
@@ -20,7 +20,7 @@
|
||||
var/turf/T = get_turf(holder)
|
||||
for(var/mob/living/silicon/robot/M in range(src.effectrange,T))
|
||||
if(prob(10))
|
||||
to_chat(M, "\blue SYSTEM ALERT: Beneficial energy field detected!")
|
||||
to_chat(M, "<span class='notice'>SYSTEM ALERT: Beneficial energy field detected!</span>")
|
||||
M.adjustBruteLoss(-1)
|
||||
M.adjustFireLoss(-1)
|
||||
M.updatehealth()
|
||||
@@ -30,7 +30,7 @@
|
||||
if(holder)
|
||||
var/turf/T = get_turf(holder)
|
||||
for(var/mob/living/silicon/robot/M in range(src.effectrange,T))
|
||||
to_chat(M, "\blue SYSTEM ALERT: Structural damage has been repaired by energy pulse!")
|
||||
to_chat(M, "<span class='notice'>SYSTEM ALERT: Structural damage has been repaired by energy pulse!</span>")
|
||||
M.adjustBruteLoss(-10)
|
||||
M.adjustFireLoss(-10)
|
||||
M.updatehealth()
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
if(user)
|
||||
if(istype(user, /mob/living/silicon/robot))
|
||||
var/mob/living/silicon/robot/R = user
|
||||
to_chat(R, "\red Your systems report severe damage has been inflicted!")
|
||||
to_chat(R, "<span class='warning'>Your systems report severe damage has been inflicted!</span>")
|
||||
R.adjustBruteLoss(rand(10,50))
|
||||
R.adjustFireLoss(rand(10,50))
|
||||
return 1
|
||||
@@ -20,7 +20,7 @@
|
||||
var/turf/T = get_turf(holder)
|
||||
for(var/mob/living/silicon/robot/M in range(src.effectrange,T))
|
||||
if(prob(10))
|
||||
to_chat(M, "\red SYSTEM ALERT: Harmful energy field detected!")
|
||||
to_chat(M, "<span class='warning'>SYSTEM ALERT: Harmful energy field detected!</span>")
|
||||
M.adjustBruteLoss(1)
|
||||
M.adjustFireLoss(1)
|
||||
M.updatehealth()
|
||||
@@ -30,7 +30,7 @@
|
||||
if(holder)
|
||||
var/turf/T = get_turf(holder)
|
||||
for(var/mob/living/silicon/robot/M in range(src.effectrange,T))
|
||||
to_chat(M, "\red SYSTEM ALERT: Structural damage inflicted by energy pulse!")
|
||||
to_chat(M, "<span class='warning'>SYSTEM ALERT: Structural damage inflicted by energy pulse!</span>")
|
||||
M.adjustBruteLoss(10)
|
||||
M.adjustFireLoss(10)
|
||||
M.updatehealth()
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
var/weakness = GetAnomalySusceptibility(toucher)
|
||||
if(ishuman(toucher) && prob(weakness * 100))
|
||||
var/mob/living/carbon/human/H = toucher
|
||||
to_chat(H, pick("\blue You feel like taking a nap.","\blue You feel a yawn coming on.","\blue You feel a little tired."))
|
||||
to_chat(H, pick("<span class='notice'>You feel like taking a nap.</span>","<span class='notice'>You feel a yawn coming on.</span>","<span class='notice'>You feel a little tired.</span>"))
|
||||
H.AdjustDrowsy(rand(5,25) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
H.AdjustEyeBlurry(rand(1,3) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
return 1
|
||||
else if(isrobot(toucher))
|
||||
to_chat(toucher, "\red SYSTEM ALERT: CPU cycles slowing down.")
|
||||
to_chat(toucher, "<span class='warning'>SYSTEM ALERT: CPU cycles slowing down.</span>")
|
||||
return 1
|
||||
|
||||
/datum/artifact_effect/sleepy/DoEffectAura()
|
||||
@@ -27,11 +27,11 @@
|
||||
var/weakness = GetAnomalySusceptibility(H)
|
||||
if(prob(weakness * 100))
|
||||
if(prob(10))
|
||||
to_chat(H, pick("\blue You feel like taking a nap.","\blue You feel a yawn coming on.","\blue You feel a little tired."))
|
||||
to_chat(H, pick("<span class='notice'>You feel like taking a nap.</span>","<span class='notice'>You feel a yawn coming on.</span>","<span class='notice'>You feel a little tired.</span>"))
|
||||
H.AdjustDrowsy(1 * weakness, bound_lower = 0, bound_upper = 25 * weakness)
|
||||
H.AdjustEyeBlurry(1 * weakness, bound_lower = 0, bound_upper = 25 * weakness)
|
||||
for(var/mob/living/silicon/robot/R in range(src.effectrange,holder))
|
||||
to_chat(R, "\red SYSTEM ALERT: CPU cycles slowing down.")
|
||||
to_chat(R, "<span class='warning'>SYSTEM ALERT: CPU cycles slowing down.</span>")
|
||||
return 1
|
||||
|
||||
/datum/artifact_effect/sleepy/DoEffectPulse()
|
||||
@@ -40,9 +40,9 @@
|
||||
for(var/mob/living/carbon/human/H in range(src.effectrange, T))
|
||||
var/weakness = GetAnomalySusceptibility(H)
|
||||
if(prob(weakness * 100))
|
||||
to_chat(H, pick("\blue You feel like taking a nap.","\blue You feel a yawn coming on.","\blue You feel a little tired."))
|
||||
to_chat(H, pick("<span class='notice'>You feel like taking a nap.</span>","<span class='notice'>You feel a yawn coming on.</span>","<span class='notice'>You feel a little tired.</span>"))
|
||||
H.AdjustDrowsy(rand(5,15) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
H.AdjustEyeBlurry(rand(5,15) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
for(var/mob/living/silicon/robot/R in range(src.effectrange,holder))
|
||||
to_chat(R, "\red SYSTEM ALERT: CPU cycles slowing down.")
|
||||
to_chat(R, "<span class='warning'>SYSTEM ALERT: CPU cycles slowing down.</span>")
|
||||
return 1
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
var/mob/living/carbon/C = toucher
|
||||
var/susceptibility = GetAnomalySusceptibility(C)
|
||||
if(prob(susceptibility * 100))
|
||||
to_chat(C, "\red A powerful force overwhelms your consciousness.")
|
||||
to_chat(C, "<span class='warning'>A powerful force overwhelms your consciousness.</span>")
|
||||
C.Weaken(rand(1,10) * susceptibility)
|
||||
C.stuttering += 30 * susceptibility
|
||||
C.Stun(rand(1,10) * susceptibility)
|
||||
@@ -22,13 +22,13 @@
|
||||
for(var/mob/living/carbon/C in range(src.effectrange,T))
|
||||
var/susceptibility = GetAnomalySusceptibility(C)
|
||||
if(prob(10 * susceptibility))
|
||||
to_chat(C, "\red Your body goes numb for a moment.")
|
||||
to_chat(C, "<span class='warning'>Your body goes numb for a moment.</span>")
|
||||
C.Weaken(2)
|
||||
C.stuttering += 2
|
||||
if(prob(10))
|
||||
C.Stun(1)
|
||||
else if(prob(10))
|
||||
to_chat(C, "\red You feel numb.")
|
||||
to_chat(C, "<span class='warning'>You feel numb.</span>")
|
||||
|
||||
/datum/artifact_effect/stun/DoEffectPulse()
|
||||
if(holder)
|
||||
@@ -36,7 +36,7 @@
|
||||
for(var/mob/living/carbon/C in range(src.effectrange,T))
|
||||
var/susceptibility = GetAnomalySusceptibility(C)
|
||||
if(prob(100 * susceptibility))
|
||||
to_chat(C, "\red A wave of energy overwhelms your senses!")
|
||||
to_chat(C, "<span class='warning'>A wave of energy overwhelms your senses!</span>")
|
||||
C.SetWeakened(4 * susceptibility)
|
||||
C.stuttering = 4 * susceptibility
|
||||
if(prob(10))
|
||||
|
||||
@@ -15,7 +15,7 @@ obj/item/weapon/reagent_containers/glass/solution_tray/attackby(obj/item/weapon/
|
||||
var/new_label = input("What should the new label be?","Label solution tray")
|
||||
if(new_label)
|
||||
name = "solution tray ([new_label])"
|
||||
to_chat(user, "\blue You write on the label of the solution tray.")
|
||||
to_chat(user, "<span class='notice'>You write on the label of the solution tray.</span>")
|
||||
else
|
||||
..(W, user)
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
if(charges >= 0.1)
|
||||
if(prob(5))
|
||||
src.visible_message("\red [bicon(src)] [src]'s eyes glow ruby red for a moment!")
|
||||
src.visible_message("<span class='warning'>[bicon(src)] [src]'s eyes glow ruby red for a moment!</span>")
|
||||
charges -= 0.1
|
||||
|
||||
//check on our shadow wights
|
||||
@@ -129,7 +129,7 @@
|
||||
|
||||
var/target = pick("chest","groin","head","l_arm","r_arm","r_leg","l_leg","l_hand","r_hand","l_foot","r_foot")
|
||||
M.apply_damage(rand(5, 10), BRUTE, target)
|
||||
to_chat(M, "\red The skin on your [parse_zone(target)] feels like it's ripping apart, and a stream of blood flies out.")
|
||||
to_chat(M, "<span class='warning'>The skin on your [parse_zone(target)] feels like it's ripping apart, and a stream of blood flies out.</span>")
|
||||
var/obj/effect/decal/cleanable/blood/splatter/animated/B = new(M.loc)
|
||||
B.target_turf = pick(range(1, src))
|
||||
B.blood_DNA = list()
|
||||
@@ -200,4 +200,4 @@
|
||||
processing_objects.Remove(src)
|
||||
|
||||
/obj/effect/shadow_wight/Bump(var/atom/obstacle)
|
||||
to_chat(obstacle, "\red You feel a chill run down your spine!")
|
||||
to_chat(obstacle, "<span class='warning'>You feel a chill run down your spine!</span>")
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
var/list/options = list("[holder_atom] seems to be listening intently to [source]...",\
|
||||
"[holder_atom] seems to be focussing on [source]...",\
|
||||
"[holder_atom] seems to turn it's attention to [source]...")
|
||||
holder_atom.loc.visible_message("\blue [bicon(holder_atom)] [pick(options)]")
|
||||
holder_atom.loc.visible_message("<span class='notice'>[bicon(holder_atom)] [pick(options)]</span>")
|
||||
|
||||
if(prob(20))
|
||||
spawn(2)
|
||||
@@ -121,5 +121,5 @@
|
||||
listening|=M
|
||||
|
||||
for(var/mob/M in listening)
|
||||
to_chat(M, "[bicon(holder_atom)] <b>[holder_atom]</b> reverberates, \blue\"[msg]\"")
|
||||
to_chat(M, "[bicon(holder_atom)] <b>[holder_atom]</b> reverberates, <span class='notice'>\"[msg]\"</span>")
|
||||
last_talk_time = world.time
|
||||
|
||||
@@ -54,11 +54,11 @@ datum/genesequence
|
||||
W.loc = src.loc
|
||||
switch(scan_fossil(W))
|
||||
if(1)
|
||||
src.visible_message("\red [bicon(src)] [src] scans the fossil and rejects it.")
|
||||
src.visible_message("<span class='warning'>[bicon(src)] [src] scans the fossil and rejects it.</span>")
|
||||
if(2)
|
||||
visible_message("\red [bicon(src)] [src] can not extract any more genetic data from new fossils.")
|
||||
visible_message("<span class='warning'>[bicon(src)] [src] can not extract any more genetic data from new fossils.</span>")
|
||||
if(4)
|
||||
src.visible_message("\blue [bicon(src)] [user] inserts [W] into [src], the fossil is consumed as [src] extracts genetic data from it.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [user] inserts [W] into [src], the fossil is consumed as [src] extracts genetic data from it.</span>")
|
||||
qdel(W)
|
||||
updateDialog()
|
||||
else if(istype(W, /obj/item/weapon/storage))
|
||||
@@ -78,13 +78,13 @@ datum/genesequence
|
||||
S.remove_from_storage(F, src) //This will move the item to this item's contents
|
||||
qdel(F)
|
||||
updateDialog()
|
||||
var/outmsg = "\blue You empty all the fossils from [S] into [src]."
|
||||
var/outmsg = "<span class='notice'>You empty all the fossils from [S] into [src].</span>"
|
||||
if(numaccepted)
|
||||
outmsg += " \blue[numaccepted] fossils were accepted and consumed as [src] extracts genetic data from them."
|
||||
outmsg += " <span class='notice'>[numaccepted] fossils were accepted and consumed as [src] extracts genetic data from them.</span>"
|
||||
if(numrejected)
|
||||
outmsg += " \red[numrejected] fossils were rejected."
|
||||
outmsg += " <span class='warning'>[numrejected] fossils were rejected.</span>"
|
||||
if(full)
|
||||
outmsg += " \red[src] can not extract any more genetic data from new fossils."
|
||||
outmsg += " <span class='warning'>[src] can not extract any more genetic data from new fossils.</span>"
|
||||
visible_message(outmsg)
|
||||
|
||||
else
|
||||
@@ -182,13 +182,13 @@ datum/genesequence
|
||||
var/datum/genesequence/cloned_genesequence = completed_genesequences[sequence_num]
|
||||
if(pod1)
|
||||
if(pod1.occupant)
|
||||
visible_message("\red [bicon(src)] The cloning pod is currently occupied.")
|
||||
visible_message("<span class='warning'>[bicon(src)] The cloning pod is currently occupied.</span>")
|
||||
else if(pod1.biomass < CLONE_BIOMASS)
|
||||
visible_message("\red [bicon(src)] Not enough biomass in the cloning pod.")
|
||||
visible_message("<span class='warning'>[bicon(src)] Not enough biomass in the cloning pod.</span>")
|
||||
else if(pod1.mess)
|
||||
visible_message("\red [bicon(src)] Error: clonepod malfunction.")
|
||||
visible_message("<span class='warning'>[bicon(src)] Error: clonepod malfunction.</span>")
|
||||
else
|
||||
visible_message("\blue [bicon(src)] [src] clones something from a reconstituted gene sequence!")
|
||||
visible_message("<span class='notice'>[bicon(src)] [src] clones something from a reconstituted gene sequence!</span>")
|
||||
playsound(src.loc, 'sound/effects/screech.ogg', 50, 1, -3)
|
||||
pod1.occupant = new cloned_genesequence.spawned_type(pod1)
|
||||
pod1.locked = 1
|
||||
@@ -196,7 +196,7 @@ datum/genesequence
|
||||
//pod1.occupant.name = "[pod1.occupant.name] ([rand(0,999)])"
|
||||
pod1.biomass -= CLONE_BIOMASS
|
||||
else
|
||||
to_chat(usr, "\red [bicon(src)] Unable to locate cloning pod!")
|
||||
to_chat(usr, "<span class='warning'>[bicon(src)] Unable to locate cloning pod!</span>")
|
||||
else
|
||||
..()
|
||||
|
||||
@@ -240,7 +240,7 @@ datum/genesequence
|
||||
else if(href_list["clone"])
|
||||
var/sequence_num = text2num(href_list["sequence_num"])
|
||||
var/datum/genesequence/cloned_genesequence = completed_genesequences[sequence_num]
|
||||
visible_message("\blue [bicon(src)] [src] clones a packet of seeds from a reconstituted gene sequence!")
|
||||
visible_message("<span class='notice'>[bicon(src)] [src] clones a packet of seeds from a reconstituted gene sequence!</span>")
|
||||
playsound(src.loc, 'sound/effects/screech.ogg', 50, 1, -3)
|
||||
new cloned_genesequence.spawned_type(src.loc)
|
||||
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
/obj/machinery/artifact_harvester/attackby(var/obj/I as obj, var/mob/user as mob, params)
|
||||
if(istype(I,/obj/item/weapon/anobattery))
|
||||
if(!inserted_battery)
|
||||
to_chat(user, "\blue You insert [I] into [src].")
|
||||
to_chat(user, "<span class='notice'>You insert [I] into [src].</span>")
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
src.inserted_battery = I
|
||||
updateDialog()
|
||||
else
|
||||
to_chat(user, "\red There is already a battery in [src].")
|
||||
to_chat(user, "<span class='warning'>There is already a battery in [src].</span>")
|
||||
else
|
||||
return..()
|
||||
|
||||
|
||||
@@ -226,16 +226,16 @@
|
||||
//emergency stop if seal integrity reaches 0
|
||||
if(scanner_seal_integrity <= 0 || (scanner_temperature >= 1273 && !rad_shield))
|
||||
stop_scanning()
|
||||
src.visible_message("\blue [bicon(src)] buzzes unhappily. It has failed mid-scan!", 2)
|
||||
src.visible_message("<span class='notice'>[bicon(src)] buzzes unhappily. It has failed mid-scan!</span>", 2)
|
||||
|
||||
if(prob(5))
|
||||
src.visible_message("\blue [bicon(src)] [pick("whirrs","chuffs","clicks")][pick(" excitedly"," energetically"," busily")].", 2)
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [pick("whirrs","chuffs","clicks")][pick(" excitedly"," energetically"," busily")].</span>", 2)
|
||||
else
|
||||
//gradually cool down over time
|
||||
if(scanner_temperature > 0)
|
||||
scanner_temperature = max(scanner_temperature - 5 - 10 * rand(), 0)
|
||||
if(prob(0.75))
|
||||
src.visible_message("\blue [bicon(src)] [pick("plinks","hisses")][pick(" quietly"," softly"," sadly"," plaintively")].", 2)
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [pick("plinks","hisses")][pick(" quietly"," softly"," sadly"," plaintively")].</span>", 2)
|
||||
last_process_worldtime = world.time
|
||||
|
||||
/obj/machinery/radiocarbon_spectrometer/proc/stop_scanning()
|
||||
@@ -253,7 +253,7 @@
|
||||
used_coolant = 0
|
||||
|
||||
/obj/machinery/radiocarbon_spectrometer/proc/complete_scan()
|
||||
src.visible_message("\blue [bicon(src)] makes an insistent chime.", 2)
|
||||
src.visible_message("<span class='notice'>[bicon(src)] makes an insistent chime.</span>", 2)
|
||||
|
||||
if(scanned_item)
|
||||
//create report
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
/obj/item/weapon/anodevice/attackby(var/obj/I as obj, var/mob/user as mob, params)
|
||||
if(istype(I, /obj/item/weapon/anobattery))
|
||||
if(!inserted_battery)
|
||||
to_chat(user, "\blue You insert the battery.")
|
||||
to_chat(user, "<span class='notice'>You insert the battery.</span>")
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
inserted_battery = I
|
||||
@@ -131,13 +131,13 @@
|
||||
|
||||
//work out if we need to shutdown
|
||||
if(inserted_battery.stored_charge <= 0)
|
||||
src.loc.visible_message("\blue [bicon(src)] [src] buzzes.", "\blue [bicon(src)] You hear something buzz.")
|
||||
src.loc.visible_message("<span class='notice'>[bicon(src)] [src] buzzes.</span>", "<span class='notice'>[bicon(src)] You hear something buzz.</span>")
|
||||
shutdown_emission()
|
||||
else if(world.time > time_end)
|
||||
src.loc.visible_message("\blue [bicon(src)] [src] chimes.", "\blue [bicon(src)] You hear something chime.")
|
||||
src.loc.visible_message("<span class='notice'>[bicon(src)] [src] chimes.</span>", "<span class='notice'>[bicon(src)] You hear something chime.</span>")
|
||||
shutdown_emission()
|
||||
else
|
||||
src.visible_message("\blue [bicon(src)] [src] buzzes.", "\blue [bicon(src)] You hear something buzz.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] buzzes.</span>", "<span class='notice'>[bicon(src)] You hear something buzz.</span>")
|
||||
shutdown_emission()
|
||||
last_process = world.time
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
if(href_list["startup"])
|
||||
if(inserted_battery && inserted_battery.battery_effect && (inserted_battery.stored_charge > 0) )
|
||||
activated = 1
|
||||
src.visible_message("\blue [bicon(src)] [src] whirrs.", "[bicon(src)]\blue You hear something whirr.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] whirrs.</span>", "<span class='notice'>[bicon(src)] You hear something whirr.</span>")
|
||||
if(!inserted_battery.battery_effect.activated)
|
||||
inserted_battery.battery_effect.ToggleActivate(1)
|
||||
time_end = world.time + duration
|
||||
@@ -201,9 +201,9 @@
|
||||
if(activated && inserted_battery.battery_effect.effect == EFFECT_TOUCH && !isnull(inserted_battery))
|
||||
inserted_battery.battery_effect.DoEffectTouch(M)
|
||||
inserted_battery.use_power(energy_consumed_on_touch)
|
||||
user.visible_message("\blue [user] taps [M] with [src], and it shudders on contact.")
|
||||
user.visible_message("<span class='notice'>[user] taps [M] with [src], and it shudders on contact.</span>")
|
||||
else
|
||||
user.visible_message("\blue [user] taps [M] with [src], but nothing happens.")
|
||||
user.visible_message("<span class='notice'>[user] taps [M] with [src], but nothing happens.</span>")
|
||||
|
||||
//admin logging
|
||||
user.lastattacked = M
|
||||
|
||||
@@ -12,32 +12,32 @@
|
||||
/obj/machinery/bunsen_burner/attackby(obj/item/weapon/W as obj, mob/user as mob, params)
|
||||
if(istype(W, /obj/item/weapon/reagent_containers))
|
||||
if(held_container)
|
||||
to_chat(user, "\red You must remove the [held_container] first.")
|
||||
to_chat(user, "<span class='warning'>You must remove the [held_container] first.</span>")
|
||||
else
|
||||
user.drop_item(src)
|
||||
held_container = W
|
||||
held_container.loc = src
|
||||
to_chat(user, "\blue You put the [held_container] onto the [src].")
|
||||
to_chat(user, "<span class='notice'>You put the [held_container] onto the [src].</span>")
|
||||
var/image/I = image("icon"=W, "layer"=FLOAT_LAYER)
|
||||
underlays += I
|
||||
if(heating)
|
||||
spawn(heat_time)
|
||||
try_heating()
|
||||
else
|
||||
to_chat(user, "\red You can't put the [W] onto the [src].")
|
||||
to_chat(user, "<span class='warning'>You can't put the [W] onto the [src].</span>")
|
||||
|
||||
/obj/machinery/bunsen_burner/attack_hand(mob/user as mob)
|
||||
if(held_container)
|
||||
underlays = null
|
||||
to_chat(user, "\blue You remove the [held_container] from the [src].")
|
||||
to_chat(user, "<span class='notice'>You remove the [held_container] from the [src].</span>")
|
||||
held_container.loc = src.loc
|
||||
held_container.attack_hand(user)
|
||||
held_container = null
|
||||
else
|
||||
to_chat(user, "\red There is nothing on the [src].")
|
||||
to_chat(user, "<span class='warning'>There is nothing on the [src].</span>")
|
||||
|
||||
/obj/machinery/bunsen_burner/proc/try_heating()
|
||||
src.visible_message("\blue [bicon(src)] [src] hisses.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] hisses.</span>")
|
||||
if(held_container && heating)
|
||||
heated = 1
|
||||
held_container.reagents.handle_reactions()
|
||||
|
||||
@@ -31,14 +31,14 @@
|
||||
M.Weaken(3)
|
||||
cell.charge -= power_use
|
||||
if(prob(5))
|
||||
to_chat(M, "\blue [pick("You feel tingly.","You feel like floating.","It is hard to speak.","You can barely move.")]")
|
||||
to_chat(M, "<span class='notice'>[pick("You feel tingly.","You feel like floating.","It is hard to speak.","You can barely move.")]</span>")
|
||||
|
||||
if(field_type == "iron")
|
||||
for(var/mob/living/silicon/M in T)
|
||||
M.Weaken(3)
|
||||
cell.charge -= power_use
|
||||
if(prob(5))
|
||||
to_chat(M, "\blue [pick("You feel tingly.","You feel like floating.","It is hard to speak.","You can barely move.")]")
|
||||
to_chat(M, "<span class='notice'>[pick("You feel tingly.","You feel like floating.","It is hard to speak.","You can barely move.")]</span>")
|
||||
|
||||
for(var/obj/item/I in T)
|
||||
if(!suspension_field.contents.len)
|
||||
@@ -50,7 +50,7 @@
|
||||
M.Weaken(3)
|
||||
cell.charge -= power_use
|
||||
if(prob(5))
|
||||
to_chat(M, "\blue [pick("You feel tingly.","You feel like floating.","It is hard to speak.","You can barely move.")]")
|
||||
to_chat(M, "<span class='notice'>[pick("You feel tingly.","You feel like floating.","It is hard to speak.","You can barely move.")]</span>")
|
||||
|
||||
if(cell.charge <= 0)
|
||||
deactivate()
|
||||
@@ -248,7 +248,7 @@
|
||||
success = 1
|
||||
for(var/mob/living/carbon/C in T)
|
||||
C.AdjustWeakened(5)
|
||||
C.visible_message("\blue [bicon(C)] [C] begins to float in the air!","You feel tingly and light, but it is difficult to move.")
|
||||
C.visible_message("<span class='notice'>[bicon(C)] [C] begins to float in the air!</span>","You feel tingly and light, but it is difficult to move.")
|
||||
if("nitrogen")
|
||||
success = 1
|
||||
//
|
||||
@@ -271,19 +271,19 @@
|
||||
success = 1
|
||||
for(var/mob/living/silicon/R in T)
|
||||
R.AdjustWeakened(5)
|
||||
R.visible_message("\blue [bicon(R)] [R] begins to float in the air!","You feel tingly and light, but it is difficult to move.")
|
||||
R.visible_message("<span class='notice'>[bicon(R)] [R] begins to float in the air!</span>","You feel tingly and light, but it is difficult to move.")
|
||||
//
|
||||
//in case we have a bad field type
|
||||
if(!success)
|
||||
return
|
||||
|
||||
for(var/mob/living/simple_animal/C in T)
|
||||
C.visible_message("\blue [bicon(C)] [C] begins to float in the air!","You feel tingly and light, but it is difficult to move.")
|
||||
C.visible_message("<span class='notice'>[bicon(C)] [C] begins to float in the air!</span>","You feel tingly and light, but it is difficult to move.")
|
||||
C.AdjustWeakened(5)
|
||||
|
||||
suspension_field = new(T)
|
||||
suspension_field.field_type = field_type
|
||||
src.visible_message("\blue [bicon(src)] [src] activates with a low hum.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] activates with a low hum.</span>")
|
||||
icon_state = "suspension3"
|
||||
|
||||
for(var/obj/item/I in T)
|
||||
@@ -293,7 +293,7 @@
|
||||
if(collected)
|
||||
suspension_field.icon_state = "energynet"
|
||||
suspension_field.overlays += "shield2"
|
||||
src.visible_message("\blue [bicon(suspension_field)] [suspension_field] gently absconds [collected > 1 ? "something" : "several things"].")
|
||||
src.visible_message("<span class='notice'>[bicon(suspension_field)] [suspension_field] gently absconds [collected > 1 ? "something" : "several things"].</span>")
|
||||
else
|
||||
if(istype(T,/turf/simulated/mineral) || istype(T,/turf/simulated/wall))
|
||||
suspension_field.icon_state = "shieldsparkles"
|
||||
@@ -308,7 +308,7 @@
|
||||
to_chat(M, "<span class='info'>You no longer feel like floating.</span>")
|
||||
M.SetWeakened(min(M.weakened, 3))
|
||||
|
||||
src.visible_message("\blue [bicon(src)] [src] deactivates with a gentle shudder.")
|
||||
src.visible_message("<span class='notice'>[bicon(src)] [src] deactivates with a gentle shudder.</span>")
|
||||
qdel(suspension_field)
|
||||
icon_state = "suspension2"
|
||||
|
||||
@@ -323,7 +323,7 @@
|
||||
set category = "Object"
|
||||
|
||||
if(anchored)
|
||||
to_chat(usr, "\red You cannot rotate [src], it has been firmly fixed to the floor.")
|
||||
to_chat(usr, "<span class='warning'>You cannot rotate [src], it has been firmly fixed to the floor.</span>")
|
||||
else
|
||||
dir = turn(dir, 90)
|
||||
|
||||
@@ -333,7 +333,7 @@
|
||||
set category = "Object"
|
||||
|
||||
if(anchored)
|
||||
to_chat(usr, "\red You cannot rotate [src], it has been firmly fixed to the floor.")
|
||||
to_chat(usr, "<span class='warning'>You cannot rotate [src], it has been firmly fixed to the floor.</span>")
|
||||
else
|
||||
dir = turn(dir, -90)
|
||||
|
||||
|
||||
@@ -27,16 +27,16 @@
|
||||
|
||||
/obj/item/device/core_sampler/examine(mob/user)
|
||||
if(..(user, 2))
|
||||
to_chat(user, "\blue Used to extract geological core samples - this one is [sampled_turf ? "full" : "empty"], and has [num_stored_bags] bag[num_stored_bags != 1 ? "s" : ""] remaining.")
|
||||
to_chat(user, "<span class='notice'>Used to extract geological core samples - this one is [sampled_turf ? "full" : "empty"], and has [num_stored_bags] bag[num_stored_bags != 1 ? "s" : ""] remaining.</span>")
|
||||
|
||||
/obj/item/device/core_sampler/attackby(obj/item/weapon/W as obj, mob/user as mob, params)
|
||||
if(istype(W,/obj/item/weapon/evidencebag))
|
||||
if(num_stored_bags < 10)
|
||||
qdel(W)
|
||||
num_stored_bags += 1
|
||||
to_chat(user, "\blue You insert the [W] into the core sampler.")
|
||||
to_chat(user, "<span class='notice'>You insert the [W] into the core sampler.</span>")
|
||||
else
|
||||
to_chat(user, "\red The core sampler can not fit any more bags!")
|
||||
to_chat(user, "<span class='warning'>The core sampler can not fit any more bags!</span>")
|
||||
else
|
||||
return ..()
|
||||
|
||||
@@ -52,9 +52,9 @@
|
||||
|
||||
if(geo_data)
|
||||
if(filled_bag)
|
||||
to_chat(user, "\red The core sampler is full!")
|
||||
to_chat(user, "<span class='warning'>The core sampler is full!</span>")
|
||||
else if(num_stored_bags < 1)
|
||||
to_chat(user, "\red The core sampler is out of sample bags!")
|
||||
to_chat(user, "<span class='warning'>The core sampler is out of sample bags!</span>")
|
||||
else
|
||||
//create a new sample bag which we'll fill with rock samples
|
||||
filled_bag = new /obj/item/weapon/evidencebag(src)
|
||||
@@ -75,13 +75,13 @@
|
||||
filled_bag.underlays += I
|
||||
filled_bag.w_class = 1
|
||||
|
||||
to_chat(user, "\blue You take a core sample of the [item_to_sample].")
|
||||
to_chat(user, "<span class='notice'>You take a core sample of the [item_to_sample].</span>")
|
||||
else
|
||||
to_chat(user, "\red You are unable to take a sample of [item_to_sample].")
|
||||
to_chat(user, "<span class='warning'>You are unable to take a sample of [item_to_sample].</span>")
|
||||
|
||||
/obj/item/device/core_sampler/attack_self()
|
||||
if(filled_bag)
|
||||
to_chat(usr, "\blue You eject the full sample bag.")
|
||||
to_chat(usr, "<span class='notice'>You eject the full sample bag.</span>")
|
||||
var/success = 0
|
||||
if(istype(src.loc, /mob))
|
||||
var/mob/M = src.loc
|
||||
@@ -91,4 +91,4 @@
|
||||
filled_bag = null
|
||||
icon_state = "sampler0"
|
||||
else
|
||||
to_chat(usr, "\red The core sampler is empty.")
|
||||
to_chat(usr, "<span class='warning'>The core sampler is empty.</span>")
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
var/material = "unknown"
|
||||
|
||||
/obj/item/device/depth_scanner/proc/scan_atom(var/mob/user, var/atom/A)
|
||||
user.visible_message("\blue [user] scans [A], the air around them humming gently.")
|
||||
user.visible_message("<span class='notice'>[user] scans [A], the air around them humming gently.</span>")
|
||||
if(istype(A,/turf/simulated/mineral))
|
||||
var/turf/simulated/mineral/M = A
|
||||
if((M.finds && M.finds.len) || M.artifact_find)
|
||||
@@ -46,7 +46,7 @@
|
||||
positive_locations.Add(D)
|
||||
|
||||
for(var/mob/L in range(src, 1))
|
||||
to_chat(L, "\blue [bicon(src)] [src] pings.")
|
||||
to_chat(L, "<span class='notice'>[bicon(src)] [src] pings.</span>")
|
||||
|
||||
else if(istype(A,/obj/structure/boulder))
|
||||
var/obj/structure/boulder/B = A
|
||||
@@ -65,7 +65,7 @@
|
||||
positive_locations.Add(D)
|
||||
|
||||
for(var/mob/L in range(src, 1))
|
||||
to_chat(L, "\blue [bicon(src)] [src] pings [pick("madly","wildly","excitedly","crazily")]!.")
|
||||
to_chat(L, "<span class='notice'>[bicon(src)] [src] pings [pick("madly","wildly","excitedly","crazily")]!.</span>")
|
||||
|
||||
/obj/item/device/depth_scanner/attack_self(var/mob/user as mob)
|
||||
return src.interact(user)
|
||||
|
||||
@@ -422,7 +422,7 @@
|
||||
var/mob/dead/observer/ghost
|
||||
for(var/mob/dead/observer/O in loc)
|
||||
if(!check_observer(O))
|
||||
to_chat(O, "\red You are not eligible to become a golem.")
|
||||
to_chat(O, "<span class='warning'>You are not eligible to become a golem.</span>")
|
||||
continue
|
||||
ghost = O
|
||||
break
|
||||
@@ -463,13 +463,13 @@
|
||||
/obj/effect/golemrune/proc/volunteer(var/mob/dead/observer/O)
|
||||
if(O in ghosts)
|
||||
ghosts.Remove(O)
|
||||
to_chat(O, "\red You are no longer signed up to be a golem.")
|
||||
to_chat(O, "<span class='warning'>You are no longer signed up to be a golem.</span>")
|
||||
else
|
||||
if(!check_observer(O))
|
||||
to_chat(O, "\red You are not eligible to become a golem.")
|
||||
to_chat(O, "<span class='warning'>You are not eligible to become a golem.</span>")
|
||||
return
|
||||
ghosts.Add(O)
|
||||
to_chat(O, "\blue You are signed up to be a golem.")
|
||||
to_chat(O, "<span class='notice'>You are signed up to be a golem.</span>")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user