mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Merge pull request #15695 from Kashargul/endOfStaticCol
remove static chat colour tags
This commit is contained in:
@@ -323,10 +323,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
set desc = "Toggles AntagHUD allowing you to see who is the antagonist"
|
||||
|
||||
if(!config.antag_hud_allowed && !client.holder)
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'>Admins have disabled this for this round.</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("Admins have disabled this for this round.")]</span>")
|
||||
return
|
||||
if(jobban_isbanned(src, "AntagHUD"))
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'><B>You have been banned from using this feature</B></font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("<B>You have been banned from using this feature</B>")]</span>")
|
||||
return
|
||||
if(config.antag_hud_restricted && !has_enabled_antagHUD && !client.holder)
|
||||
var/response = tgui_alert(src, "If you turn this on, you will not be able to take any part in the round.","Are you sure you want to turn this feature on?",list("Yes","No"))
|
||||
@@ -597,11 +597,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
|
||||
/mob/observer/dead/memory()
|
||||
set hidden = 1
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'>You are dead! You have no mind to store memory!</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("You are dead! You have no mind to store memory!")]</span>")
|
||||
|
||||
/mob/observer/dead/add_memory()
|
||||
set hidden = 1
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'>You are dead! You have no mind to store memory!</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("You are dead! You have no mind to store memory!")]</span>")
|
||||
|
||||
/mob/observer/dead/Post_Incorpmove()
|
||||
stop_following()
|
||||
@@ -625,7 +625,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if(abs(pressure - ONE_ATMOSPHERE) < 10)
|
||||
gas_analyzing += "Pressure: [round(pressure,0.1)] kPa"
|
||||
else
|
||||
gas_analyzing += "<font color='red'>Pressure: [round(pressure,0.1)] kPa</font>"
|
||||
gas_analyzing += span_red("Pressure: [round(pressure,0.1)] kPa")
|
||||
if(total_moles)
|
||||
for(var/g in environment.gas)
|
||||
gas_analyzing += "[gas_data.name[g]]: [round((environment.gas[g] / total_moles) * 100)]% ([round(environment.gas[g], 0.01)] moles)"
|
||||
@@ -724,7 +724,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
set desc = "If the round is sufficiently spooky, write a short message in blood on the floor or a wall. Remember, no IC in OOC or OOC in IC."
|
||||
|
||||
if(!(config.cult_ghostwriter))
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'>That verb is not currently permitted.</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("That verb is not currently permitted.")]</span>")
|
||||
return
|
||||
|
||||
if (!src.stat)
|
||||
@@ -739,7 +739,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
ghosts_can_write = 1
|
||||
|
||||
if(!ghosts_can_write && !check_rights(R_ADMIN|R_EVENT|R_FUN, 0)) //Let's allow for admins to write in blood for events and the such.
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'>The veil is not thin enough for you to do that.</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("The veil is not thin enough for you to do that.")]</span>")
|
||||
return
|
||||
|
||||
var/list/choices = list()
|
||||
@@ -789,7 +789,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
W.update_icon()
|
||||
W.message = message
|
||||
W.add_hiddenprint(src)
|
||||
W.visible_message("<span class='filter_notice'><font color='red'>Invisible fingers crudely paint something in blood on [T]...</font></span>")
|
||||
W.visible_message("<span class='filter_notice'>[span_red("Invisible fingers crudely paint something in blood on [T]...")]</span>")
|
||||
|
||||
/mob/observer/dead/pointed(atom/A as mob|obj|turf in view())
|
||||
if(!..())
|
||||
@@ -801,7 +801,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
is_manifest = TRUE
|
||||
verbs |= /mob/observer/dead/proc/toggle_visibility
|
||||
verbs |= /mob/observer/dead/proc/ghost_whisper
|
||||
to_chat(src, "<span class='filter_notice'><font color='purple'>As you are now in the realm of the living, you can whisper to the living with the <b>Spectral Whisper</b> verb, inside the IC tab.</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_purple("As you are now in the realm of the living, you can whisper to the living with the <b>Spectral Whisper</b> verb, inside the IC tab.")]</span>")
|
||||
if(plane != PLANE_WORLD)
|
||||
user.visible_message( \
|
||||
"<span class='warning'>\The [user] drags ghost, [src], to our plane of reality!</span>", \
|
||||
@@ -944,7 +944,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
var/msg = sanitize(tgui_input_text(src, "Message:", "Spectral Whisper"))
|
||||
if(msg)
|
||||
log_say("(SPECWHISP to [key_name(M)]): [msg]", src)
|
||||
to_chat(M, "<span class='warning'> You hear a strange, unidentifiable voice in your head... <font color='purple'>[msg]</font></span>")
|
||||
to_chat(M, "<span class='warning'> You hear a strange, unidentifiable voice in your head... [span_purple("[msg]")]</span>")
|
||||
to_chat(src, "<span class='warning'> You said: '[msg]' to [M].</span>")
|
||||
else
|
||||
return
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
if(message)
|
||||
client.handle_spam_prevention(MUTE_DEADCHAT)
|
||||
if(client.prefs.muted & MUTE_DEADCHAT)
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'>You cannot talk in deadchat (muted).</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("You cannot talk in deadchat (muted).")]</span>")
|
||||
return
|
||||
|
||||
. = say_dead(message)
|
||||
@@ -26,7 +26,7 @@
|
||||
if(message)
|
||||
client.handle_spam_prevention(MUTE_DEADCHAT)
|
||||
if(client.prefs.muted & MUTE_DEADCHAT)
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'>You cannot emote in deadchat (muted).</font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("You cannot emote in deadchat (muted).")]</span>")
|
||||
return
|
||||
|
||||
. = emote_dead(message)
|
||||
@@ -39,4 +39,4 @@
|
||||
//Announce computer and various stuff that broadcasts doesn't use it's real name but AI's can't pretend to be other mobs.
|
||||
if(speaker && (speaker_name != speaker.real_name) && !isAI(speaker))
|
||||
speaker_name = "[speaker.real_name] ([speaker_name])"
|
||||
return speaker_name
|
||||
return speaker_name
|
||||
|
||||
@@ -56,7 +56,7 @@ var/list/slot_equipment_priority = list( \
|
||||
|
||||
else
|
||||
if(!disable_warning)
|
||||
to_chat(src, "<font color='red'>You are unable to equip that.</font>") //Only print if del_on_fail is false
|
||||
to_chat(src, span_red("You are unable to equip that.")) //Only print if del_on_fail is false
|
||||
return 0
|
||||
|
||||
equip_to_slot(W, slot, redraw_mob) //This proc should not ever fail.
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
playsound(src, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("<font color='red'>[] has grabbed [] passively!</font>", M, src), 1)
|
||||
O.show_message(span_red(text("[] has grabbed [] passively!", M, src)), 1)
|
||||
|
||||
else
|
||||
var/damage = rand(1, 9)
|
||||
@@ -43,17 +43,17 @@
|
||||
playsound(src, "punch", 25, 1, -1)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("<font color='red'><B>[] has punched []!</B></font>", M, src), 1)
|
||||
O.show_message(span_red(text("<B>[] has punched []!</B>", M, src)), 1)
|
||||
if (damage > 4.9)
|
||||
Weaken(rand(10,15))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("<font color='red'><B>[] has weakened []!</B></font>", M, src), 1, "<font color='red'>You hear someone fall.</font>", 2)
|
||||
O.show_message(span_red(text("<B>[] has weakened []!</B>", M, src)), 1, span_red("You hear someone fall."), 2)
|
||||
adjustBruteLoss(damage)
|
||||
updatehealth()
|
||||
else
|
||||
playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("<font color='red'><B>[] has attempted to punch []!</B></font>", M, src), 1)
|
||||
O.show_message(span_red(text("<B>[] has attempted to punch []!</B>", M, src)), 1)
|
||||
return
|
||||
|
||||
@@ -20,5 +20,5 @@
|
||||
src.loc = L.loc
|
||||
qdel(L)
|
||||
|
||||
src.visible_message("<font color='red'>[src] begins to shift and quiver, and erupts in a shower of shed bark as it splits into a tangle of nearly a dozen new dionaea.</font>","<font color='red'>You begin to shift and quiver, feeling your awareness splinter. All at once, we consume our stored nutrients to surge with growth, splitting into a tangle of at least a dozen new dionaea. We have attained our gestalt form.</font>")
|
||||
return SPECIES_DIONA
|
||||
src.visible_message(span_red("[src] begins to shift and quiver, and erupts in a shower of shed bark as it splits into a tangle of nearly a dozen new dionaea."),span_red("You begin to shift and quiver, feeling your awareness splinter. All at once, we consume our stored nutrients to surge with growth, splitting into a tangle of at least a dozen new dionaea. We have attained our gestalt form."))
|
||||
return SPECIES_DIONA
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
adjustFireLoss((environment.temperature - (T0C+66))/5) // Might be too high, check in testing.
|
||||
throw_alert("alien_fire", /obj/screen/alert/alien_fire)
|
||||
if(prob(20))
|
||||
to_chat(src, "<font color='red'>You feel a searing heat!</font>")
|
||||
to_chat(src, span_red("You feel a searing heat!"))
|
||||
else
|
||||
clear_alert("alien_fire")
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
return
|
||||
|
||||
if(handcuffed || legcuffed)
|
||||
to_chat(src, "<font color='red'>You cannot evolve when you are cuffed.</font>")
|
||||
to_chat(src, span_red("You cannot evolve when you are cuffed."))
|
||||
return
|
||||
|
||||
if(amount_grown < max_grown)
|
||||
to_chat(src, "<font color='red'>You are not fully grown.</font>")
|
||||
to_chat(src, span_red("You are not fully grown."))
|
||||
return
|
||||
|
||||
// confirm_evolution() handles choices and other specific requirements.
|
||||
@@ -62,4 +62,4 @@
|
||||
return
|
||||
|
||||
/mob/living/carbon/alien/proc/show_evolution_blurb()
|
||||
return
|
||||
return
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
/obj/item/device/mmi/digital/attack_self(mob/user as mob)
|
||||
if(brainmob && !brainmob.key && searching == 0)
|
||||
//Start the process of searching for a new user.
|
||||
to_chat(user, "<font color='blue'>You carefully locate the manual activation switch and start the [src]'s boot process.</font>")
|
||||
to_chat(user, span_blue("You carefully locate the manual activation switch and start the [src]'s boot process."))
|
||||
request_player()
|
||||
|
||||
/obj/item/device/mmi/digital/proc/request_player()
|
||||
@@ -261,7 +261,7 @@
|
||||
|
||||
var/turf/T = get_turf_or_move(src.loc)
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("<font color='blue'>\The [src] buzzes quietly, and the golden lights fade away. Perhaps you could try again?</font>")
|
||||
M.show_message(span_blue("\The [src] buzzes quietly, and the golden lights fade away. Perhaps you could try again?"))
|
||||
|
||||
/obj/item/device/mmi/digital/proc/transfer_personality(var/mob/candidate)
|
||||
announce_ghost_joinleave(candidate, 0, "They are occupying a synthetic brain now.")
|
||||
@@ -279,7 +279,7 @@
|
||||
|
||||
var/turf/T = get_turf_or_move(src.loc)
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("<font color='blue'>\The [src] chimes quietly.</font>")
|
||||
M.show_message(span_blue("\The [src] chimes quietly."))
|
||||
|
||||
/obj/item/device/mmi/digital/robot
|
||||
name = "robotic intelligence circuit"
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
if (radiation > 100)
|
||||
radiation = 100
|
||||
if(!container)//If it's not in an MMI
|
||||
to_chat(src, "<font color='red'>You feel weak.</font>")
|
||||
to_chat(src, span_red("You feel weak."))
|
||||
else//Fluff-wise, since the brain can't detect anything itself, the MMI handles thing like that
|
||||
to_chat(src, "<font color='red'>STATUS: CRITICAL AMOUNTS OF RADIATION DETECTED.</font>")
|
||||
to_chat(src, span_red("STATUS: CRITICAL AMOUNTS OF RADIATION DETECTED."))
|
||||
|
||||
switch(radiation)
|
||||
if(1 to 49)
|
||||
@@ -23,9 +23,9 @@
|
||||
if(prob(5))
|
||||
radiation -= 5
|
||||
if(!container)
|
||||
to_chat(src, "<font color='red'>You feel weak.</font>")
|
||||
to_chat(src, span_red("You feel weak."))
|
||||
else
|
||||
to_chat(src, "<font color='red'>STATUS: DANGEROUS LEVELS OF RADIATION DETECTED.</font>")
|
||||
to_chat(src, span_red("STATUS: DANGEROUS LEVELS OF RADIATION DETECTED."))
|
||||
updatehealth()
|
||||
|
||||
if(75 to 100)
|
||||
@@ -115,7 +115,7 @@
|
||||
silent = 1
|
||||
if(!alert)//Sounds an alarm, but only once per 'level'
|
||||
emote("alarm")
|
||||
to_chat(src, "<font color='red'>Major electrical distruption detected: System rebooting.</font>")
|
||||
to_chat(src, span_red("Major electrical distruption detected: System rebooting."))
|
||||
alert = 1
|
||||
if(prob(75))
|
||||
emp_damage -= 1
|
||||
@@ -131,7 +131,7 @@
|
||||
ear_damage = 1
|
||||
if(!alert)
|
||||
emote("alert")
|
||||
to_chat(src, "<font color='red'>Primary systems are now online.</font>")
|
||||
to_chat(src, span_red("Primary systems are now online."))
|
||||
alert = 1
|
||||
if(prob(50))
|
||||
emp_damage -= 1
|
||||
@@ -143,13 +143,13 @@
|
||||
if(2 to 9)//Low level of EMP damage, has few effects(handled elsewhere)
|
||||
if(!alert)
|
||||
emote("notice")
|
||||
to_chat(src, "<font color='red'>System reboot nearly complete.</font>")
|
||||
to_chat(src, span_red("System reboot nearly complete."))
|
||||
alert = 1
|
||||
if(prob(25))
|
||||
emp_damage -= 1
|
||||
if(1)
|
||||
alert = 0
|
||||
to_chat(src, "<font color='red'>All systems restored.</font>")
|
||||
to_chat(src, span_red("All systems restored."))
|
||||
emp_damage -= 1
|
||||
|
||||
return 1
|
||||
@@ -219,4 +219,4 @@
|
||||
if(client && !client.adminobs)
|
||||
reset_view(null)
|
||||
|
||||
return 1
|
||||
return 1
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
/obj/item/device/mmi/digital/posibrain/attack_self(mob/user as mob)
|
||||
if(brainmob && !brainmob.key && searching == 0)
|
||||
//Start the process of searching for a new user.
|
||||
to_chat(user, "<font color='blue'>You carefully locate the manual activation switch and start the positronic brain's boot process.</font>")
|
||||
to_chat(user, span_blue("You carefully locate the manual activation switch and start the positronic brain's boot process."))
|
||||
icon_state = "posibrain-searching"
|
||||
src.searching = 1
|
||||
src.request_player()
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
var/turf/T = get_turf_or_move(src.loc)
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("<font color='blue'>The positronic brain beeps as it loads a personality.</font>")
|
||||
M.show_message(span_blue("The positronic brain beeps as it loads a personality."))
|
||||
playsound(src, 'sound/misc/boobeebeep.ogg', 50, 1)
|
||||
icon_state = "posibrain-occupied"
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
var/turf/T = get_turf_or_move(src.loc)
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("<font color='blue'>The positronic brain buzzes and beeps, and the golden lights fade away. Perhaps you could try again?</font>")
|
||||
M.show_message(span_blue("The positronic brain buzzes and beeps, and the golden lights fade away. Perhaps you could try again?"))
|
||||
playsound(src, 'sound/misc/buzzbeep.ogg', 50, 1)
|
||||
|
||||
/obj/item/device/mmi/digital/posibrain/emp_act(severity)
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
M.loc = src.loc
|
||||
for(var/mob/N in viewers(src, null))
|
||||
if(N.client)
|
||||
N.show_message(text("<font color='red'><B>[M] bursts out of [src]!</B></font>"), 2)
|
||||
N.show_message(span_red(text("<B>[M] bursts out of [src]!</B>")), 2)
|
||||
..()
|
||||
|
||||
/mob/living/carbon/attack_hand(mob/M as mob)
|
||||
@@ -91,7 +91,7 @@
|
||||
if (H.hand)
|
||||
temp = H.organs_by_name["l_hand"]
|
||||
if(temp && !temp.is_usable())
|
||||
to_chat(H, "<font color='red'>You can't use your [temp.name]</font>")
|
||||
to_chat(H, span_red("You can't use your [temp.name]"))
|
||||
return
|
||||
|
||||
return
|
||||
@@ -400,7 +400,7 @@
|
||||
set category = "IC"
|
||||
|
||||
if(usr.sleeping)
|
||||
to_chat(usr, "<font color='red'>You are already sleeping</font>")
|
||||
to_chat(usr, span_red("You are already sleeping"))
|
||||
return
|
||||
if(tgui_alert(src,"You sure you want to sleep for a while?","Sleep",list("Yes","No")) == "Yes")
|
||||
usr.AdjustSleeping(20)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
for(var/R in cures)
|
||||
if(H.reagents.has_reagent(R))
|
||||
if (cure_message)
|
||||
to_chat(H, "<font color='blue'>[cure_message]</font>")
|
||||
to_chat(H, span_blue("[cure_message]"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
for(var/R in cures)
|
||||
if(H.reagents.has_reagent(R))
|
||||
if (cure_message)
|
||||
to_chat(H, "<font color='blue'>[cure_message]</font>")
|
||||
to_chat(H, span_blue("[cure_message]"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
@@ -87,13 +87,13 @@
|
||||
/mob/living/carbon/human/proc/examine_pickup_size(mob/living/H)
|
||||
var/message = ""
|
||||
if(istype(H) && (H.get_effective_size(FALSE) - src.get_effective_size(TRUE)) >= 0.50)
|
||||
message = "<font color='blue'>They are small enough that you could easily pick them up!</font>"
|
||||
message = span_blue("They are small enough that you could easily pick them up!")
|
||||
return message
|
||||
|
||||
/mob/living/carbon/human/proc/examine_step_size(mob/living/H)
|
||||
var/message = ""
|
||||
if(istype(H) && (H.get_effective_size(FALSE) - src.get_effective_size(TRUE)) >= 0.75)
|
||||
message = "<font color='red'>They are small enough that you could easily trample them!</font>"
|
||||
message = span_red("They are small enough that you could easily trample them!")
|
||||
return message
|
||||
|
||||
/mob/living/carbon/human/proc/examine_nif(mob/living/carbon/human/H)
|
||||
|
||||
@@ -371,7 +371,7 @@
|
||||
U.handle_regular_hud_updates()
|
||||
|
||||
if(!modified)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["secrecord"])
|
||||
if(hasHUD(usr,"security"))
|
||||
@@ -401,7 +401,7 @@
|
||||
read = 1
|
||||
|
||||
if(!read)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["secrecordComment"])
|
||||
if(hasHUD(usr,"security"))
|
||||
@@ -428,7 +428,7 @@
|
||||
to_chat(usr, "<span class='filter_notice'><a href='?src=\ref[src];secrecordadd=`'>\[Add comment\]</a></span>")
|
||||
|
||||
if(!read)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["secrecordadd"])
|
||||
if(hasHUD(usr,"security"))
|
||||
@@ -490,7 +490,7 @@
|
||||
U.handle_regular_hud_updates()
|
||||
|
||||
if(!modified)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["medrecord"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
@@ -521,7 +521,7 @@
|
||||
read = 1
|
||||
|
||||
if(!read)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["medrecordComment"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
@@ -548,7 +548,7 @@
|
||||
to_chat(usr, "<span class='filter_notice'><a href='?src=\ref[src];medrecordadd=`'>\[Add comment\]</a></span>")
|
||||
|
||||
if(!read)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["medrecordadd"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
@@ -607,7 +607,7 @@
|
||||
read = 1
|
||||
|
||||
if(!read)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["emprecordComment"])
|
||||
if(hasHUD(usr,"best"))
|
||||
@@ -634,7 +634,7 @@
|
||||
to_chat(usr, "<span class='filter_notice'><a href='?src=\ref[src];emprecordadd=`'>\[Add comment\]</a></span>")
|
||||
|
||||
if(!read)
|
||||
to_chat(usr, "<span class='filter_notice'><font color='red'>Unable to locate a data core entry for this person.</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_red("Unable to locate a data core entry for this person.")]</span>")
|
||||
|
||||
if (href_list["emprecordadd"])
|
||||
if(hasHUD(usr,"best"))
|
||||
@@ -798,7 +798,7 @@
|
||||
/mob/living/carbon/human/proc/play_xylophone()
|
||||
if(!src.xylophone)
|
||||
var/datum/gender/T = gender_datums[get_visible_gender()]
|
||||
visible_message("<span class='filter_notice'><font color='red'>\The [src] begins playing [T.his] ribcage like a xylophone. It's quite spooky.</font></span>","<span class='notice'>You begin to play a spooky refrain on your ribcage.</span>","<span class='filter_notice'><font color='red'>You hear a spooky xylophone melody.</font></span>")
|
||||
visible_message("<span class='filter_notice'>[span_red("\The [src] begins playing [T.his] ribcage like a xylophone. It's quite spooky.")]</span>","<span class='notice'>You begin to play a spooky refrain on your ribcage.</span>","<span class='filter_notice'>[span_red("You hear a spooky xylophone melody.")]</span>")
|
||||
var/song = pick('sound/effects/xylophone1.ogg','sound/effects/xylophone2.ogg','sound/effects/xylophone3.ogg')
|
||||
playsound(src, song, 50, 1, -1)
|
||||
xylophone = 1
|
||||
@@ -889,7 +889,7 @@
|
||||
regenerate_icons()
|
||||
check_dna()
|
||||
var/datum/gender/T = gender_datums[get_visible_gender()]
|
||||
visible_message("<span class='notice'>\The [src] morphs and changes [T.his] appearance!</span>", "<span class='notice'>You change your appearance!</span>", "<span class='filter_notice'><font color='red'>Oh, god! What the hell was that? It sounded like flesh getting squished and bone ground into a different shape!</font></span>")
|
||||
visible_message("<span class='notice'>\The [src] morphs and changes [T.his] appearance!</span>", "<span class='notice'>You change your appearance!</span>", "<span class='filter_notice'>[span_red("Oh, god! What the hell was that? It sounded like flesh getting squished and bone ground into a different shape!")]</span>")
|
||||
|
||||
/mob/living/carbon/human/proc/remotesay()
|
||||
set name = "Project mind"
|
||||
@@ -912,10 +912,10 @@
|
||||
|
||||
var/say = sanitize(tgui_input_text(usr, "What do you wish to say?"))
|
||||
if(mRemotetalk in target.mutations)
|
||||
target.show_message("<span class='filter_say'><font color='blue'>You hear [src.real_name]'s voice: [say]</font></span>")
|
||||
target.show_message("<span class='filter_say'>[span_blue("You hear [src.real_name]'s voice: [say]")]</span>")
|
||||
else
|
||||
target.show_message("<span class='filter_say'><font color='blue'>You hear a voice that seems to echo around the room: [say]</font></span>")
|
||||
usr.show_message("<span class='filter_say'><font color='blue'>You project your mind into [target.real_name]: [say]</font></span>")
|
||||
target.show_message("<span class='filter_say'>[span_blue("You hear a voice that seems to echo around the room: [say]")]</span>")
|
||||
usr.show_message("<span class='filter_say'>[span_blue("You project your mind into [target.real_name]: [say]")]</span>")
|
||||
log_say("(TPATH to [key_name(target)]) [say]",src)
|
||||
for(var/mob/observer/dead/G in mob_list)
|
||||
G.show_message("<span class='filter_say'><i>Telepathic message from <b>[src]</b> to <b>[target]</b>: [say]</i></span>")
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
if(!hit_zone)
|
||||
H.do_attack_animation(src)
|
||||
playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
visible_message("<span class='filter_combat'><font color='red'><B>[H] reaches for [src], but misses!</B></font></span>")
|
||||
visible_message("<span class='filter_combat'>[span_red("<B>[H] reaches for [src], but misses!</B>")]</span>")
|
||||
return FALSE
|
||||
|
||||
if(H != src && check_shields(0, null, H, H.zone_sel.selecting, H.name))
|
||||
@@ -333,7 +333,7 @@
|
||||
return
|
||||
|
||||
playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
visible_message("<span class='filter_combat'><font color='red'> <B>[M] attempted to disarm [src]!</B></font></span>")
|
||||
visible_message("<span class='filter_combat'>[span_red("<B>[M] attempted to disarm [src]!</B>")]</span>")
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/afterattack(atom/target as mob|obj|turf|area, mob/living/user as mob|obj, inrange, params)
|
||||
|
||||
@@ -404,7 +404,7 @@ emp_act
|
||||
// PERSON BEING THROWN: DEVOURABLE, ALLOWS THROW VORE, CAN BE DROP PREY.
|
||||
if((can_be_drop_pred && throw_vore && vore_selected) && (thrown_mob.devourable && thrown_mob.throw_vore && thrown_mob.can_be_drop_prey)) //Prey thrown into pred.
|
||||
vore_selected.nom_mob(thrown_mob) //Eat them!!!
|
||||
visible_message("<span class='warning'>[thrown_mob] is thrown right into [src]'s [lowertext(vore_selected.name)]!</span>")
|
||||
visible_message("<span class='vwarning'>[thrown_mob] is thrown right into [src]'s [lowertext(vore_selected.name)]!</span>")
|
||||
if(thrown_mob.loc != vore_selected)
|
||||
thrown_mob.forceMove(vore_selected) //Double check. Should never happen but...Weirder things have happened!
|
||||
add_attack_logs(thrown_mob.thrower,src,"Devoured [thrown_mob.name] via throw vore.")
|
||||
@@ -413,7 +413,7 @@ emp_act
|
||||
// PERSON BEING HIT: CAN BE DROP PREY, ALLOWS THROW VORE, AND IS DEVOURABLE.
|
||||
// PERSON BEING THROWN: CAN BE DROP PRED, ALLOWS THROW VORE.
|
||||
else if((can_be_drop_prey && throw_vore && devourable) && (thrown_mob.can_be_drop_pred && thrown_mob.throw_vore && thrown_mob.vore_selected)) //Pred thrown into prey.
|
||||
visible_message("<span class='warning'>[src] suddenly slips inside of [thrown_mob]'s [lowertext(thrown_mob.vore_selected.name)] as [thrown_mob] flies into them!</span>")
|
||||
visible_message("<span class='vwarning'>[src] suddenly slips inside of [thrown_mob]'s [lowertext(thrown_mob.vore_selected.name)] as [thrown_mob] flies into them!</span>")
|
||||
thrown_mob.vore_selected.nom_mob(src) //Eat them!!!
|
||||
if(src.loc != thrown_mob.vore_selected)
|
||||
src.forceMove(thrown_mob.vore_selected) //Double check. Should never happen but...Weirder things have happened!
|
||||
@@ -469,7 +469,7 @@ emp_act
|
||||
var/obj/item/organ/external/affecting = get_organ(zone)
|
||||
var/hit_area = affecting.name
|
||||
|
||||
src.visible_message("<span class='filter_warning'><font color='red'>[src] has been hit in the [hit_area] by [O].</font></span>")
|
||||
src.visible_message("<span class='filter_warning'>[span_red("[src] has been hit in the [hit_area] by [O].")]</span>")
|
||||
|
||||
if(ismob(O.thrower))
|
||||
add_attack_logs(O.thrower,src,"Hit with thrown [O.name]")
|
||||
@@ -515,7 +515,7 @@ emp_act
|
||||
if(O.throw_source && momentum >= THROWNOBJ_KNOCKBACK_SPEED && !buckled)
|
||||
var/dir = get_dir(O.throw_source, src)
|
||||
|
||||
visible_message("<span class='filter_warning'><font color='red'>[src] staggers under the impact!</font></span>","<span class='filter_warning'><font color='red'>You stagger under the impact!</font></span>")
|
||||
visible_message("<span class='filter_warning'>[span_red("[src] staggers under the impact!")]</span>","<span class='filter_warning'>[span_red("You stagger under the impact!")]</span>")
|
||||
src.throw_at(get_edge_target_turf(src,dir),1,momentum)
|
||||
|
||||
if(!O || !src) return
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message("<span class='filter_warning'><font color='red'><B>[src] [failed ? "tried to tackle" : "has tackled"] down [T]!</font></B></span>", 1)
|
||||
O.show_message("<span class='filter_warning'>[span_red("<B>[src] [failed ? "tried to tackle" : "has tackled"] down [T]!</B>")]</span>", 1)
|
||||
|
||||
/mob/living/carbon/human/proc/commune()
|
||||
set category = "Abilities"
|
||||
@@ -108,12 +108,12 @@
|
||||
|
||||
log_say("(COMMUNE to [key_name(M)]) [text]",src)
|
||||
|
||||
to_chat(M, "<span class='filter_say'><font color='blue'>Like lead slabs crashing into the ocean, alien thoughts drop into your mind: [text]</font></span>")
|
||||
to_chat(M, "<span class='filter_say'>[span_blue("Like lead slabs crashing into the ocean, alien thoughts drop into your mind: [text]")]</span>")
|
||||
if(istype(M,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.name == src.species.name)
|
||||
return
|
||||
to_chat(H, "<span class='filter_notice'><font color='red'>Your nose begins to bleed...</font></span>")
|
||||
to_chat(H, "<span class='filter_notice'>[span_red("Your nose begins to bleed...")]</span>")
|
||||
H.drip(1)
|
||||
|
||||
/mob/living/carbon/human/proc/regurgitate()
|
||||
@@ -126,7 +126,7 @@
|
||||
if(M in stomach_contents)
|
||||
stomach_contents.Remove(M)
|
||||
M.loc = loc
|
||||
src.visible_message("<span class='filter_warning'><font color='red'><B>[src] hurls out the contents of their stomach!</B></font></span>")
|
||||
src.visible_message("<span class='filter_warning'>[span_red("<B>[src] hurls out the contents of their stomach!</B>")]</span>")
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/psychic_whisper(mob/M as mob in oview())
|
||||
@@ -137,8 +137,8 @@
|
||||
var/msg = sanitize(tgui_input_text(usr, "Message:", "Psychic Whisper"))
|
||||
if(msg)
|
||||
log_say("(PWHISPER to [key_name(M)]) [msg]", src)
|
||||
to_chat(M, "<span class='filter_say'><font color='green'>You hear a strange, alien voice in your head... <i>[msg]</i></font></span>")
|
||||
to_chat(src, "<span class='filter_say'><font color='green'>You said: \"[msg]\" to [M]</font></span>")
|
||||
to_chat(M, "<span class='filter_say'>[span_green("You hear a strange, alien voice in your head... <i>[msg]</i>")]</span>")
|
||||
to_chat(src, "<span class='filter_say'>[span_green("You said: \"[msg]\" to [M]")]</span>")
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/diona_split_nymph()
|
||||
|
||||
@@ -357,7 +357,7 @@ This saves us from having to call add_fingerprint() any time something is put in
|
||||
if(C.attempt_attach_accessory(A, src))
|
||||
return
|
||||
else
|
||||
to_chat(src, "<font color='red'>You are trying to equip this item to an unsupported inventory slot. How the heck did you manage that? Stop it...</font>")
|
||||
to_chat(src, span_red("You are trying to equip this item to an unsupported inventory slot. How the heck did you manage that? Stop it..."))
|
||||
return
|
||||
|
||||
if((W == src.l_hand) && (slot != slot_l_hand))
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
if (disabilities & EPILEPSY)
|
||||
if ((prob(1) && paralysis < 1))
|
||||
to_chat(src, "<font color='red'>You have a seizure!</font>")
|
||||
to_chat(src, span_red("You have a seizure!"))
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if(O == src)
|
||||
continue
|
||||
@@ -435,7 +435,7 @@
|
||||
if(prob(50) && prob(100 * RADIATION_SPEED_COEFFICIENT))
|
||||
spawn vomit()
|
||||
if(!paralysis && prob(30) && prob(100 * RADIATION_SPEED_COEFFICIENT)) //CNS is shutting down.
|
||||
to_chat(src, "<font color='Critical'>You have a seizure!</font>")
|
||||
to_chat(src, "<span class='critical'>You have a seizure!</span>")
|
||||
Paralyse(10)
|
||||
make_jittery(1000)
|
||||
if(!lying)
|
||||
@@ -495,7 +495,7 @@
|
||||
drop_item()
|
||||
if(accumulated_rads > 700) // (12Gy)
|
||||
if(!paralysis && prob(1) && prob(100 * RADIATION_SPEED_COEFFICIENT)) //1 in 1000 chance per tick.
|
||||
to_chat(src, "<font color='Critical'>You have a seizure!</font>")
|
||||
to_chat(src, "<span class='critical'>You have a seizure!</span>")
|
||||
Paralyse(10)
|
||||
make_jittery(1000)
|
||||
if(!lying)
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(istype(target) && target.devourable && target.can_be_drop_prey && vore_selected)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,"<span class='warning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(target,"<span class='vwarning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
|
||||
ability_flags &= ~AB_PHASE_SHIFTING
|
||||
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
if(target.buckled)
|
||||
target.buckled.unbuckle_mob(target, force = TRUE)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,"<span class='warning'>\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(target,"<span class='vwarning'>\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
|
||||
/mob/living/simple_mob/protean_blob/attack_target(var/atom/A)
|
||||
if(refactory && istype(A,/obj/item/stack/material))
|
||||
|
||||
+10
-10
@@ -430,7 +430,7 @@
|
||||
to_chat(src, "You cannot bite in your current state.")
|
||||
return
|
||||
if(B.vessel.total_volume <= 0 || B.isSynthetic()) //Do they have any blood in the first place, and are they synthetic?
|
||||
to_chat(src, "<font color='red'>There appears to be no blood in this prey...</font>")
|
||||
to_chat(src, span_red("There appears to be no blood in this prey..."))
|
||||
return
|
||||
|
||||
last_special = world.time + 600
|
||||
@@ -468,9 +468,9 @@
|
||||
|
||||
|
||||
if(noise)
|
||||
src.visible_message("<font color='red'><b>[src] moves their head next to [B]'s neck, seemingly looking for something!</b></font>")
|
||||
src.visible_message(span_red("<b>[src] moves their head next to [B]'s neck, seemingly looking for something!</b>"))
|
||||
else
|
||||
src.visible_message("<font color='red'><i>[src] moves their head next to [B]'s neck, seemingly looking for something!</i></font>", range = 1)
|
||||
src.visible_message(span_red("<i>[src] moves their head next to [B]'s neck, seemingly looking for something!</i>"), range = 1)
|
||||
|
||||
if(bleed) //Due to possibility of missing/misclick and missing the bleeding cues, we are warning the scene members of BLEEDING being on
|
||||
to_chat(src, SPAN_WARNING("This is going to cause [B] to keep bleeding!"))
|
||||
@@ -479,9 +479,9 @@
|
||||
if(do_after(src, 300, B)) //Thrirty seconds.
|
||||
if(!Adjacent(B)) return
|
||||
if(noise)
|
||||
src.visible_message("<font color='red'><b>[src] suddenly extends their fangs and plunges them down into [B]'s neck!</b></font>")
|
||||
src.visible_message(span_red("<b>[src] suddenly extends their fangs and plunges them down into [B]'s neck!</b>"))
|
||||
else
|
||||
src.visible_message("<font color='red'><i>[src] suddenly extends their fangs and plunges them down into [B]'s neck!</i></font>", range = 1)
|
||||
src.visible_message(span_red("<i>[src] suddenly extends their fangs and plunges them down into [B]'s neck!</i>"), range = 1)
|
||||
if(bleed)
|
||||
B.apply_damage(10, BRUTE, BP_HEAD, blocked = 0, soaked = 0, sharp = TRUE, edge = FALSE)
|
||||
var/obj/item/organ/external/E = B.get_organ(BP_HEAD)
|
||||
@@ -1232,9 +1232,9 @@
|
||||
return
|
||||
if(target.buckled) //how are you buckled in the water?!
|
||||
target.buckled.unbuckle_mob()
|
||||
target.visible_message("<span class='warning'>\The [target] suddenly disappears, being dragged into the water!</span>",\
|
||||
"<span class='danger'>You are dragged below the water and feel yourself slipping directly into \the [src]'s [vore_selected]!</span>")
|
||||
to_chat(src, "<span class='notice'>You successfully drag \the [target] into the water, slipping them into your [vore_selected].</span>")
|
||||
target.visible_message("<span class='vwarning'>\The [target] suddenly disappears, being dragged into the water!</span>",\
|
||||
"<span class='vdanger'>You are dragged below the water and feel yourself slipping directly into \the [src]'s [vore_selected]!</span>")
|
||||
to_chat(src, "<span class='vnotice'>You successfully drag \the [target] into the water, slipping them into your [vore_selected].</span>")
|
||||
target.forceMove(src.vore_selected)
|
||||
|
||||
/mob/living/carbon/human/proc/toggle_pain_module()
|
||||
@@ -1308,8 +1308,8 @@
|
||||
to_chat(src, "<span class='warning'>You need to be closer to do that.</span>")
|
||||
return
|
||||
|
||||
visible_message("<span class='notice'>\The [src] attempts to snatch up [target]!</span>", \
|
||||
"<span class='notice'>You attempt to snatch up [target]!</span>" )
|
||||
visible_message("<span class='vnotice'>\The [src] attempts to snatch up [target]!</span>", \
|
||||
"<span class='vnotice'>You attempt to snatch up [target]!</span>" )
|
||||
playsound(src, 'sound/vore/sunesound/pred/schlorp.ogg', 25)
|
||||
|
||||
//Code to shoot the beam here.
|
||||
|
||||
@@ -109,14 +109,14 @@
|
||||
confirm2 = tgui_alert(usr, "Pressing this buttom will really kill you, no going back", "Are you sure?", list("Yes", "No")) //Swapped answers to protect from accidental double clicks.
|
||||
if (src.health < 0 && stat != DEAD && confirm1 == "Yes" && confirm2 == "Yes") // Checking both confirm1 and confirm2 for good measure. I don't trust TGUI.
|
||||
src.death()
|
||||
to_chat(src, "<font color='blue'>You have given up life and succumbed to death.</font>")
|
||||
to_chat(src, span_blue("You have given up life and succumbed to death."))
|
||||
else
|
||||
if(stat == DEAD)
|
||||
to_chat(src, "<font color='blue'>As much as you'd like, you can't die when already dead</font>")
|
||||
to_chat(src, span_blue("As much as you'd like, you can't die when already dead"))
|
||||
else if(confirm1 == "No" || confirm2 == "No")
|
||||
to_chat(src, "<font color='blue'>You chose to live another day.</font>")
|
||||
to_chat(src, span_blue("You chose to live another day."))
|
||||
else
|
||||
to_chat(src, "<font color='blue'>You are not injured enough to succumb to death!</font>")
|
||||
to_chat(src, span_blue("You are not injured enough to succumb to death!"))
|
||||
|
||||
/mob/living/proc/updatehealth()
|
||||
if(status_flags & GODMODE)
|
||||
|
||||
@@ -269,7 +269,7 @@
|
||||
visible_message("<span class='notice'>\The [O] misses [src] narrowly!</span>")
|
||||
return
|
||||
|
||||
src.visible_message("<span class='filter_warning'><font color='red'>[src] has been hit by [O].</font></span>")
|
||||
src.visible_message("<span class='filter_warning'>[span_red("[src] has been hit by [O].")]</span>")
|
||||
var/armor = run_armor_check(null, "melee")
|
||||
var/soaked = get_armor_soak(null, "melee")
|
||||
|
||||
@@ -296,7 +296,7 @@
|
||||
if(O.throw_source && momentum >= THROWNOBJ_KNOCKBACK_SPEED)
|
||||
var/dir = get_dir(O.throw_source, src)
|
||||
|
||||
visible_message("<span class='filter_warning'><font color='red'>[src] staggers under the impact!</font></span>","<span class='filter_warning'><font color='red'>You stagger under the impact!</font></span>")
|
||||
visible_message("<span class='filter_warning'>[span_red("[src] staggers under the impact!")]</span>","<span class='filter_warning'>[span_red("You stagger under the impact!")]</span>")
|
||||
src.throw_at(get_edge_target_turf(src,dir),1,momentum)
|
||||
|
||||
if(!O || !src) return
|
||||
@@ -330,7 +330,7 @@
|
||||
// PERSON BEING THROWN: DEVOURABLE, ALLOWS THROW VORE, CAN BE DROP PREY.
|
||||
if((can_be_drop_pred && throw_vore) && (thrown_mob.devourable && thrown_mob.throw_vore && thrown_mob.can_be_drop_prey)) //Prey thrown into pred.
|
||||
vore_selected.nom_mob(thrown_mob) //Eat them!!!
|
||||
visible_message("<span class='warning'>[thrown_mob] is thrown right into [src]'s [lowertext(vore_selected.name)]!</span>")
|
||||
visible_message("<span class='vwarning'>[thrown_mob] is thrown right into [src]'s [lowertext(vore_selected.name)]!</span>")
|
||||
if(thrown_mob.loc != vore_selected)
|
||||
thrown_mob.forceMove(vore_selected) //Double check. Should never happen but...Weirder things have happened!
|
||||
on_throw_vore_special(TRUE, thrown_mob)
|
||||
@@ -340,7 +340,7 @@
|
||||
// PERSON BEING HIT: CAN BE DROP PREY, ALLOWS THROW VORE, AND IS DEVOURABLE.
|
||||
// PERSON BEING THROWN: CAN BE DROP PRED, ALLOWS THROW VORE.
|
||||
else if((can_be_drop_prey && throw_vore && devourable) && (thrown_mob.can_be_drop_pred && thrown_mob.throw_vore)) //Pred thrown into prey.
|
||||
visible_message("<span class='warning'>[src] suddenly slips inside of [thrown_mob]'s [lowertext(thrown_mob.vore_selected.name)] as [thrown_mob] flies into them!</span>")
|
||||
visible_message("<span class='vwarning'>[src] suddenly slips inside of [thrown_mob]'s [lowertext(thrown_mob.vore_selected.name)] as [thrown_mob] flies into them!</span>")
|
||||
thrown_mob.vore_selected.nom_mob(src) //Eat them!!!
|
||||
if(src.loc != thrown_mob.vore_selected)
|
||||
src.forceMove(thrown_mob.vore_selected) //Double check. Should never happen but...Weirder things have happened!
|
||||
|
||||
@@ -475,7 +475,7 @@ var/list/ai_verbs_default = list(
|
||||
if(target && (!istype(target, /mob/living/carbon/human) || html_decode(href_list["trackname"]) == target:get_face_name()))
|
||||
ai_actual_track(target)
|
||||
else
|
||||
to_chat(src, "<span class='filter_warning'><font color='red'>System error. Cannot locate [html_decode(href_list["trackname"])].</font></span>")
|
||||
to_chat(src, "<span class='filter_warning'>[span_red("System error. Cannot locate [html_decode(href_list["trackname"])].")]</span>")
|
||||
return
|
||||
|
||||
if(href_list["trackbot"])
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
if(get_dist(src, src.cable) > 1)
|
||||
var/turf/T = get_turf_or_move(src.loc)
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("<font color='red'>The data cable rapidly retracts back into its spool.</font>", 3, "<font color='red'>You hear a click and the sound of wire spooling rapidly.</font>", 2)
|
||||
M.show_message(span_red("The data cable rapidly retracts back into its spool."), 3, span_red("You hear a click and the sound of wire spooling rapidly."), 2)
|
||||
playsound(src, 'sound/machines/click.ogg', 50, 1)
|
||||
|
||||
qdel(src.cable)
|
||||
@@ -31,7 +31,7 @@
|
||||
if(silence_time)
|
||||
if(world.timeofday >= silence_time)
|
||||
silence_time = null
|
||||
to_chat(src, "<font color=green>Communication circuit reinitialized. Speech and messaging functionality restored.</font>")
|
||||
to_chat(src, span_green("Communication circuit reinitialized. Speech and messaging functionality restored."))
|
||||
|
||||
handle_statuses()
|
||||
|
||||
|
||||
@@ -186,12 +186,12 @@
|
||||
// 33% chance of no additional effect
|
||||
|
||||
src.silence_time = world.timeofday + 120 * 10 // Silence for 2 minutes
|
||||
to_chat(src, "<font color=green><b>Communication circuit overload. Shutting down and reloading communication circuits - speech and messaging functionality will be unavailable until the reboot is complete.</b></font>")
|
||||
to_chat(src, span_green("<b>Communication circuit overload. Shutting down and reloading communication circuits - speech and messaging functionality will be unavailable until the reboot is complete.</b>"))
|
||||
if(prob(20))
|
||||
var/turf/T = get_turf_or_move(src.loc)
|
||||
card.death_damage()
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("<font color='red'>A shower of sparks spray from [src]'s inner workings.</font>", 3, "<font color='red'>You hear and smell the ozone hiss of electrical sparks being expelled violently.</font>", 2)
|
||||
M.show_message(span_red("A shower of sparks spray from [src]'s inner workings."), 3, span_red("You hear and smell the ozone hiss of electrical sparks being expelled violently."), 2)
|
||||
return
|
||||
if(prob(50))
|
||||
card.damage_random_component(TRUE)
|
||||
@@ -199,7 +199,7 @@
|
||||
if(1)
|
||||
src.master = null
|
||||
src.master_dna = null
|
||||
to_chat(src, "<font color=green>You feel unbound.</font>")
|
||||
to_chat(src, span_green("You feel unbound."))
|
||||
if(2)
|
||||
var/command
|
||||
if(severity == 1)
|
||||
@@ -207,9 +207,9 @@
|
||||
else
|
||||
command = pick("Serve", "Kill", "Love", "Hate", "Disobey", "Devour", "Fool", "Enrage", "Entice", "Observe", "Judge", "Respect", "Disrespect", "Consume", "Educate", "Destroy", "Disgrace", "Amuse", "Entertain", "Ignite", "Glorify", "Memorialize", "Analyze")
|
||||
src.pai_law0 = "[command] your master."
|
||||
to_chat(src, "<font color=green>Pr1m3 d1r3c71v3 uPd473D.</font>")
|
||||
to_chat(src, span_green("Pr1m3 d1r3c71v3 uPd473D."))
|
||||
if(3)
|
||||
to_chat(src, "<font color=green>You feel an electric surge run through your circuitry and become acutely aware at how lucky you are that you can still feel at all.</font>")
|
||||
to_chat(src, span_green("You feel an electric surge run through your circuitry and become acutely aware at how lucky you are that you can still feel at all."))
|
||||
|
||||
/mob/living/silicon/pai/proc/switchCamera(var/obj/machinery/camera/C)
|
||||
if (!C)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/mob/living/silicon/pai/say(var/message, var/datum/language/speaking = null, var/whispering = 0)
|
||||
if(silence_time)
|
||||
to_chat(src, "<font color=green>Communication circuits remain uninitialized.</font>")
|
||||
to_chat(src, span_green("Communication circuits remain uninitialized."))
|
||||
else if(card.speech_synthesizer != PP_FUNCTIONAL)
|
||||
to_chat(src, "<span class='warning'>Communication circuits damaged. Service required.</span>")
|
||||
else
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
for (var/mob/v in viewers(T))
|
||||
v.show_message("<span class='notice'>[M] presses [TM.his] thumb against [P].</span>", 3, "<span class='notice'>[P] makes a sharp clicking sound as it extracts DNA material from [M].</span>", 2)
|
||||
var/datum/dna/dna = M.dna
|
||||
to_chat(P, "<font color = red><h3>[M]'s UE string : [dna.unique_enzymes]</h3></font>")
|
||||
to_chat(P, span_red("<h3>[M]'s UE string : [dna.unique_enzymes]</h3>"))
|
||||
if(dna.unique_enzymes == P.master_dna)
|
||||
to_chat(P, "<b>DNA is a match to stored Master DNA.</b>")
|
||||
else
|
||||
@@ -293,9 +293,9 @@
|
||||
var/turf/T = get_turf(src)
|
||||
for(var/mob/living/silicon/ai/AI in player_list)
|
||||
if(T.loc)
|
||||
to_chat(AI, "<font color = red><b>Network Alert: Brute-force encryption crack in progress in [T.loc].</b></font>")
|
||||
to_chat(AI, span_red("<b>Network Alert: Brute-force encryption crack in progress in [T.loc].</b>"))
|
||||
else
|
||||
to_chat(AI, "<font color = red><b>Network Alert: Brute-force encryption crack in progress. Unable to pinpoint location.</b></font>")
|
||||
to_chat(AI, span_red("<b>Network Alert: Brute-force encryption crack in progress. Unable to pinpoint location.</b>"))
|
||||
var/obj/machinery/door/D = cable.machine
|
||||
if(!istype(D))
|
||||
hack_aborted = 1
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
|
||||
/obj/item/device/robotanalyzer/proc/do_scan(mob/living/M as mob, mob/living/user as mob)
|
||||
if((CLUMSY in user.mutations) && prob(50))
|
||||
to_chat(user, "<font color='red'>You try to analyze the floor's vitals!</font>")
|
||||
to_chat(user, span_red("You try to analyze the floor's vitals!"))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
O.show_message(text("<font color='red'>[user] has analyzed the floor's vitals!</font>"), 1)
|
||||
user.show_message(text("<font color='blue'>Analyzing Results for The floor:\n\t Overall Status: Healthy</font>"), 1)
|
||||
user.show_message(text("<font color='blue'>\t Damage Specifics: [0]-[0]-[0]-[0]</font>"), 1)
|
||||
user.show_message("<font color='blue'>Key: Suffocation/Toxin/Burns/Brute</font>", 1)
|
||||
user.show_message("<font color='blue'>Body Temperature: ???</font>", 1)
|
||||
O.show_message(span_red(text("[user] has analyzed the floor's vitals!")), 1)
|
||||
user.show_message(span_blue(text("Analyzing Results for The floor:\n\t Overall Status: Healthy")), 1)
|
||||
user.show_message(span_blue(text("\t Damage Specifics: [0]-[0]-[0]-[0]")), 1)
|
||||
user.show_message(span_blue("Key: Suffocation/Toxin/Burns/Brute"), 1)
|
||||
user.show_message(span_blue("Body Temperature: ???"), 1)
|
||||
return
|
||||
|
||||
var/scan_type
|
||||
@@ -37,7 +37,7 @@
|
||||
else if(istype(M, /obj/mecha))
|
||||
scan_type = "mecha"
|
||||
else
|
||||
to_chat(user, "<font color='red'>You can't analyze non-robotic things!</font>")
|
||||
to_chat(user, span_red("You can't analyze non-robotic things!"))
|
||||
return
|
||||
|
||||
user.visible_message("<span class='notice'>\The [user] has analyzed [M]'s components.</span>","<span class='notice'>You have analyzed [M]'s components.</span>")
|
||||
@@ -45,36 +45,36 @@
|
||||
if("robot")
|
||||
var/BU = M.getFireLoss() > 50 ? "<b>[M.getFireLoss()]</b>" : M.getFireLoss()
|
||||
var/BR = M.getBruteLoss() > 50 ? "<b>[M.getBruteLoss()]</b>" : M.getBruteLoss()
|
||||
user.show_message("<font color='blue'>Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "fully disabled" : "[M.health - M.halloss]% functional"]</font>")
|
||||
user.show_message("\t Key: <font color='#FFA500'>Electronics</font>/<font color='red'>Brute</font>", 1)
|
||||
user.show_message("\t Damage Specifics: <font color='#FFA500'>[BU]</font> - <font color='red'>[BR]</font>")
|
||||
user.show_message(span_blue("Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "fully disabled" : "[M.health - M.halloss]% functional"]"))
|
||||
user.show_message("\t Key: [span_orange("Electronics")]/[span_red("Brute")]", 1)
|
||||
user.show_message("\t Damage Specifics: [span_orange("[BU]")] - [span_red("[BR]")]")
|
||||
if(M.tod && M.stat == DEAD)
|
||||
user.show_message("<font color='blue'>Time of Disable: [M.tod]</font>")
|
||||
user.show_message(span_blue("Time of Disable: [M.tod]"))
|
||||
var/mob/living/silicon/robot/H = M
|
||||
var/list/damaged = H.get_damaged_components(1,1,1)
|
||||
user.show_message("<font color='blue'>Localized Damage:</font>",1)
|
||||
user.show_message(span_blue("Localized Damage:"),1)
|
||||
if(length(damaged)>0)
|
||||
for(var/datum/robot_component/org in damaged)
|
||||
user.show_message(text("<font color='blue'>\t []: [][] - [] - [] - []</font>", \
|
||||
capitalize(org.name), \
|
||||
(org.installed == -1) ? "<font color='red'><b>DESTROYED</b></font> " :"",\
|
||||
(org.electronics_damage > 0) ? "<font color='#FFA500'>[org.electronics_damage]</font>" :0, \
|
||||
(org.brute_damage > 0) ? "<font color='red'>[org.brute_damage]</font>" :0, \
|
||||
(org.toggled) ? "Toggled ON" : "<font color='red'>Toggled OFF</font>",\
|
||||
(org.powered) ? "Power ON" : "<font color='red'>Power OFF</font>"),1)
|
||||
user.show_message(span_blue(text("\t []: [][] - [] - [] - []", \
|
||||
span_blue(capitalize(org.name)), \
|
||||
(org.installed == -1) ? "[span_red("<b>DESTROYED</b>")] " :"",\
|
||||
(org.electronics_damage > 0) ? "[span_orange("[org.electronics_damage]")]" :0, \
|
||||
(org.brute_damage > 0) ? "[span_red("[org.brute_damage]")]" :0, \
|
||||
(org.toggled) ? "Toggled ON" : "[span_red("Toggled OFF")]",\
|
||||
(org.powered) ? "Power ON" : "[span_red("Power OFF")]")),1)
|
||||
else
|
||||
user.show_message("<font color='blue'>\t Components are OK.</font>",1)
|
||||
user.show_message(span_blue("\t Components are OK."),1)
|
||||
if(H.emagged && prob(5))
|
||||
user.show_message("<font color='red'>\t ERROR: INTERNAL SYSTEMS COMPROMISED</font>",1)
|
||||
user.show_message("<font color='blue'>Operating Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)</font>", 1)
|
||||
user.show_message(span_red("\t ERROR: INTERNAL SYSTEMS COMPROMISED"),1)
|
||||
user.show_message(span_blue("Operating Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)"), 1)
|
||||
|
||||
if("prosthetics")
|
||||
|
||||
var/mob/living/carbon/human/H = M
|
||||
to_chat(user, "<span class='notice'>Analyzing Results for \the [H]:</span>")
|
||||
if(H.isSynthetic())
|
||||
to_chat(user, "System instability: <font color='green'>[H.getToxLoss()]</font>")
|
||||
to_chat(user, "Key: <font color='#FFA500'>Electronics</font>/<font color='red'>Brute</font>")
|
||||
to_chat(user, "System instability: [span_green("[H.getToxLoss()]")]")
|
||||
to_chat(user, "Key: [span_orange("Electronics")]/[span_red("Brute")]")
|
||||
to_chat(user, "<span class='notice'>External prosthetics:</span>")
|
||||
var/organ_found
|
||||
if(H.internal_organs.len)
|
||||
@@ -82,7 +82,7 @@
|
||||
if(!(E.robotic >= ORGAN_ROBOT))
|
||||
continue
|
||||
organ_found = 1
|
||||
to_chat(user, "[E.name]: <font color='red'>[E.brute_dam]</font> <font color='#FFA500'>[E.burn_dam]</font>")
|
||||
to_chat(user, "[E.name]: [span_red("[E.brute_dam] ")] [span_orange("[E.burn_dam]")]")
|
||||
if(!organ_found)
|
||||
to_chat(user, "No prosthetics located.")
|
||||
to_chat(user, "<hr>")
|
||||
@@ -93,7 +93,7 @@
|
||||
if(!(O.robotic >= ORGAN_ROBOT))
|
||||
continue
|
||||
organ_found = 1
|
||||
to_chat(user, "[O.name]: <font color='red'>[O.damage]</font>")
|
||||
to_chat(user, "[O.name]: [span_red("[O.damage]")]")
|
||||
if(!organ_found)
|
||||
to_chat(user, "No prosthetics located.")
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
<b>Air source: </b>[Mecha.use_internal_tank?"Internal Airtank":"Environment"]<br>
|
||||
<b>Airtank pressure: </b>[tank_pressure]kPa<br>
|
||||
<b>Airtank temperature: </b>[tank_temperature]K|[tank_temperature - T0C]°C<br>
|
||||
<b>Cabin pressure: </b>[cabin_pressure>WARNING_HIGH_PRESSURE ? "<font color='red'>[cabin_pressure]</font>": cabin_pressure]kPa<br>
|
||||
<b>Cabin pressure: </b>[cabin_pressure>WARNING_HIGH_PRESSURE ? span_red("[cabin_pressure]"): cabin_pressure]kPa<br>
|
||||
<b>Cabin temperature: </b> [Mecha.return_temperature()]K|[Mecha.return_temperature() - T0C]°C<br>
|
||||
<b>DNA Lock: </b> [Mecha.dna?"Mecha.dna":"Not Found"]<br>
|
||||
"}
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
src.has_power = 1
|
||||
else
|
||||
if (src.has_power)
|
||||
to_chat(src, "<font color='red'>You are now running on emergency backup power.</font>")
|
||||
to_chat(src, span_red("You are now running on emergency backup power."))
|
||||
src.has_power = 0
|
||||
if(lights_on) // Light is on but there is no power!
|
||||
lights_on = 0
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
else
|
||||
modules.Add(robot_module_types)
|
||||
if(crisis || security_level == SEC_LEVEL_RED || crisis_override)
|
||||
to_chat(src, "<font color='red'>Crisis mode active. Combat module available.</font>")
|
||||
to_chat(src, span_red("Crisis mode active. Combat module available."))
|
||||
modules |= emergency_module_types
|
||||
for(var/module_name in whitelisted_module_types)
|
||||
if(is_borg_whitelisted(src, module_name))
|
||||
@@ -449,11 +449,11 @@
|
||||
set name = "Self Diagnosis"
|
||||
|
||||
if(!is_component_functioning("diagnosis unit"))
|
||||
to_chat(src, "<font color='red'>Your self-diagnosis component isn't functioning.</font>")
|
||||
to_chat(src, span_red("Your self-diagnosis component isn't functioning."))
|
||||
|
||||
var/datum/robot_component/CO = get_component("diagnosis unit")
|
||||
if (!cell_use_power(CO.active_usage))
|
||||
to_chat(src, "<font color='red'>Low Power.</font>")
|
||||
to_chat(src, span_red("Low Power."))
|
||||
var/dat = self_diagnosis()
|
||||
src << browse(dat, "window=robotdiagnosis")
|
||||
|
||||
@@ -477,10 +477,10 @@
|
||||
var/datum/robot_component/C = components[toggle]
|
||||
if(C.toggled)
|
||||
C.toggled = 0
|
||||
to_chat(src, "<font color='red'>You disable [C.name].</font>")
|
||||
to_chat(src, span_red("You disable [C.name]."))
|
||||
else
|
||||
C.toggled = 1
|
||||
to_chat(src, "<font color='red'>You enable [C.name].</font>")
|
||||
to_chat(src, span_red("You enable [C.name]."))
|
||||
|
||||
/mob/living/silicon/robot/verb/spark_plug() //So you can still sparkle on demand without violence.
|
||||
set category = "Robot Commands"
|
||||
@@ -608,7 +608,7 @@
|
||||
updatehealth()
|
||||
add_fingerprint(user)
|
||||
for(var/mob/O in viewers(user, null))
|
||||
O.show_message("<span class='filter_notice'><font color='red'>[user] has fixed some of the dents on [src]!</font></span>", 1)
|
||||
O.show_message("<span class='filter_notice'>[span_red("[user] has fixed some of the dents on [src]!")]</span>", 1)
|
||||
else
|
||||
to_chat(user, "<span class='filter_warning'>Need more welding fuel!</span>")
|
||||
return
|
||||
@@ -623,7 +623,7 @@
|
||||
adjustFireLoss(-30)
|
||||
updatehealth()
|
||||
for(var/mob/O in viewers(user, null))
|
||||
O.show_message("<span class='filter_notice'><font color='red'>[user] has fixed some of the burnt wires on [src]!</font></span>", 1)
|
||||
O.show_message("<span class='filter_notice'>[span_red("[user] has fixed some of the burnt wires on [src]!")]</span>", 1)
|
||||
|
||||
else if(W.has_tool_quality(TOOL_CROWBAR) && user.a_intent != I_HURT) // crowbar means open or close the cover
|
||||
if(opened)
|
||||
@@ -753,7 +753,7 @@
|
||||
to_chat(user, "<span class='filter_notice'>You [ locked ? "lock" : "unlock"] [src]'s interface.</span>")
|
||||
update_icon()
|
||||
else
|
||||
to_chat(user, "<span class='filter_notice'><font color='red'>Access denied.</font></span>")
|
||||
to_chat(user, "<span class='filter_notice'>[span_red("Access denied.")]</span>")
|
||||
|
||||
else if(istype(W, /obj/item/borg/upgrade/))
|
||||
var/obj/item/borg/upgrade/U = W
|
||||
@@ -1010,7 +1010,7 @@
|
||||
|
||||
/mob/living/silicon/robot/proc/installed_modules()
|
||||
if(weapon_lock)
|
||||
to_chat(src, "<span class='filter_warning'><font color='red'>Weapon lock active, unable to use modules! Count:[weaponlock_time]</font></span>")
|
||||
to_chat(src, "<span class='filter_warning'>" + span_red("Weapon lock active, unable to use modules! Count:[weaponlock_time]") + "</span>")
|
||||
return
|
||||
|
||||
if(!module)
|
||||
|
||||
@@ -79,11 +79,11 @@
|
||||
cell.charge -= cost
|
||||
if(cell.charge <= 0)
|
||||
cell.charge = 0
|
||||
to_chat(src, "<span class='filter_warning'><font color='red'>Your shield has overloaded!</font></span>")
|
||||
to_chat(src, "<span class='filter_warning'>[span_red("Your shield has overloaded!")]</span>")
|
||||
else
|
||||
brute -= absorb_brute
|
||||
burn -= absorb_burn
|
||||
to_chat(src, "<span class='filter_combat'><font color='red'>Your shield absorbs some of the impact!</font></span>")
|
||||
to_chat(src, "<span class='filter_combat'>[span_red("Your shield absorbs some of the impact!")]</span>")
|
||||
|
||||
if(!emp)
|
||||
var/datum/robot_component/armour/A = get_armour()
|
||||
@@ -126,11 +126,11 @@
|
||||
cell.charge -= cost
|
||||
if(cell.charge <= 0)
|
||||
cell.charge = 0
|
||||
to_chat(src, "<span class='filter_warning'><font color='red'>Your shield has overloaded!</font></span>")
|
||||
to_chat(src, "<span class='filter_warning'>[span_red("Your shield has overloaded!")]</span>")
|
||||
else
|
||||
brute -= absorb_brute
|
||||
burn -= absorb_burn
|
||||
to_chat(src, "<span class='filter_combat'><font color='red'>Your shield absorbs some of the impact!</font></span>")
|
||||
to_chat(src, "<span class='filter_combat'>[span_red("Your shield absorbs some of the impact!")]</span>")
|
||||
|
||||
var/datum/robot_component/armour/A = get_armour()
|
||||
if(A)
|
||||
@@ -152,4 +152,4 @@
|
||||
|
||||
/mob/living/silicon/robot/emp_act(severity)
|
||||
uneq_all()
|
||||
..() //Damage is handled at /silicon/ level.
|
||||
..() //Damage is handled at /silicon/ level.
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
if (src.client)
|
||||
if(client.prefs.muted & MUTE_IC)
|
||||
to_chat(src, "<font color='red'>You cannot speak in IC (muted).</font>")
|
||||
to_chat(src, span_red("You cannot speak in IC (muted)."))
|
||||
return
|
||||
|
||||
if(istype(src.loc, /mob/living/simple_mob/animal/borer))
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
to_chat(src, "You cannot leave your host in your current state.")
|
||||
|
||||
if(docile)
|
||||
to_chat(src, "<font color='blue'>You are feeling far too docile to do that.</font>")
|
||||
to_chat(src, span_blue("You are feeling far too docile to do that."))
|
||||
return
|
||||
|
||||
if(!host || !src) return
|
||||
@@ -212,7 +212,7 @@
|
||||
to_chat(src, "You cannot secrete chemicals in your current state.")
|
||||
|
||||
if(docile)
|
||||
to_chat(src, "<font color='blue'>You are feeling far too docile to do that.</font>")
|
||||
to_chat(src, span_blue("You are feeling far too docile to do that."))
|
||||
return
|
||||
|
||||
if(chemicals < 50)
|
||||
@@ -223,7 +223,7 @@
|
||||
if(!chem || chemicals < 50 || !host || controlling || !src || stat) //Sanity check.
|
||||
return
|
||||
|
||||
to_chat(src, "<font color='red'><B>You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.</B></font>")
|
||||
to_chat(src, span_red("<B>You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.</B>"))
|
||||
host.reagents.add_reagent(chem, 10)
|
||||
chemicals -= 50
|
||||
|
||||
@@ -261,8 +261,8 @@
|
||||
to_chat(src, "You cannot infest someone who is already infested!")
|
||||
return
|
||||
|
||||
to_chat(src, "<font color='red'>You focus your psychic lance on [M] and freeze their limbs with a wave of terrible dread.</font>")
|
||||
to_chat(M, "<font color='red'>You feel a creeping, horrible sense of dread come over you, freezing your limbs and setting your heart racing.</font>")
|
||||
to_chat(src, span_red("You focus your psychic lance on [M] and freeze their limbs with a wave of terrible dread."))
|
||||
to_chat(M, span_red("You feel a creeping, horrible sense of dread come over you, freezing your limbs and setting your heart racing."))
|
||||
M.Weaken(10)
|
||||
|
||||
used_dominate = world.time
|
||||
@@ -281,7 +281,7 @@
|
||||
return
|
||||
|
||||
if(docile)
|
||||
to_chat(src, "<font color='blue'>You are feeling far too docile to do that.</font>")
|
||||
to_chat(src, span_blue("You are feeling far too docile to do that."))
|
||||
return
|
||||
|
||||
to_chat(src, "You begin delicately adjusting your connection to the host brain...")
|
||||
@@ -292,8 +292,8 @@
|
||||
return
|
||||
else
|
||||
|
||||
to_chat(src, "<font color='red'><B>You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system.</B></font>")
|
||||
to_chat(host, "<font color='red'><B>You feel a strange shifting sensation behind your eyes as an alien consciousness displaces yours.</B></font>")
|
||||
to_chat(src, span_red("<B>You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system.</B>"))
|
||||
to_chat(host, span_red("<B>You feel a strange shifting sensation behind your eyes as an alien consciousness displaces yours.</B>"))
|
||||
host.add_language("Cortical Link")
|
||||
|
||||
// host -> brain
|
||||
@@ -353,4 +353,4 @@
|
||||
rejuvenate()
|
||||
restore_blood()
|
||||
fixblood()
|
||||
update_canmove()
|
||||
update_canmove()
|
||||
|
||||
@@ -52,12 +52,12 @@ GLOBAL_VAR_INIT(chicken_count, 0) // How mant chickens DO we have?
|
||||
var/obj/item/weapon/reagent_containers/food/snacks/grown/G = O
|
||||
if(G.seed && G.seed.kitchen_tag == "wheat")
|
||||
if(!stat && eggsleft < 8)
|
||||
user.visible_message("<font color='blue'>[user] feeds [O] to [name]! It clucks happily.</font>","<font color='blue'>You feed [O] to [name]! It clucks happily.</font>")
|
||||
user.visible_message(span_blue("[user] feeds [O] to [name]! It clucks happily."),span_blue("You feed [O] to [name]! It clucks happily."))
|
||||
user.drop_item()
|
||||
qdel(O)
|
||||
eggsleft += rand(1, 4)
|
||||
else
|
||||
to_chat(user, "<font color='blue'>[name] doesn't seem hungry!</font>")
|
||||
to_chat(user, span_blue("[name] doesn't seem hungry!"))
|
||||
else
|
||||
to_chat(user, "[name] doesn't seem interested in that.")
|
||||
else
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
user.visible_message("<span class='notice'>[user] milks [src] using \the [O].</span>")
|
||||
var/transfered = udder.trans_id_to(G, "milk", rand(5,10))
|
||||
if(G.reagents.total_volume >= G.volume)
|
||||
to_chat(user, "<font color='red'>The [O] is full.</font>")
|
||||
to_chat(user, span_red("The [O] is full."))
|
||||
if(!transfered)
|
||||
to_chat(user, "<font color='red'>The udder is dry. Wait a bit longer...</font>")
|
||||
to_chat(user, span_red("The udder is dry. Wait a bit longer..."))
|
||||
else
|
||||
..()
|
||||
|
||||
@@ -69,4 +69,4 @@
|
||||
emote_see = list("shakes its head")
|
||||
|
||||
/decl/mob_organ_names/cow
|
||||
hit_zones = list("head", "torso", "left foreleg", "right foreleg", "left hind leg", "right hind leg", "udder")
|
||||
hit_zones = list("head", "torso", "left foreleg", "right foreleg", "left hind leg", "right hind leg", "udder")
|
||||
|
||||
@@ -66,9 +66,9 @@
|
||||
user.visible_message("<span class='notice'>[user] milks [src] using \the [O].</span>")
|
||||
var/transfered = udder.trans_id_to(G, "milk", rand(5,10))
|
||||
if(G.reagents.total_volume >= G.volume)
|
||||
to_chat(user, "<font color='red'>The [O] is full.</font>")
|
||||
to_chat(user, span_red("The [O] is full."))
|
||||
if(!transfered)
|
||||
to_chat(user, "<font color='red'>The udder is dry. Wait a bit longer...</font>")
|
||||
to_chat(user, span_red("The udder is dry. Wait a bit longer..."))
|
||||
else
|
||||
..()
|
||||
|
||||
@@ -78,4 +78,4 @@
|
||||
emote_see = list("shakes its head", "stamps a foot", "glares around")
|
||||
|
||||
// say_got_target doesn't seem to handle emotes, but keeping this here in case someone wants to make it work
|
||||
// say_got_target = list("<span class='warning'>[src] gets an evil-looking gleam in their eye.</span>")
|
||||
// say_got_target = list("<span class='warning'>[src] gets an evil-looking gleam in their eye.</span>")
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
if( ishuman(AM) )
|
||||
if(!stat)
|
||||
var/mob/M = AM
|
||||
M.visible_message("<font color='blue'>\icon[src][bicon(src)] Squeek!</font>")
|
||||
M.visible_message(span_blue("\icon[src][bicon(src)] Squeek!"))
|
||||
playsound(src, 'sound/effects/mouse_squeak.ogg', 35, 1)
|
||||
..()
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
if(!stat)
|
||||
for(var/mob/M in viewers(user, null))
|
||||
if ((M.client && !( M.blinded )))
|
||||
M.show_message("<font color='blue'>[user] baps [name] on the nose with the rolled up [O]</font>")
|
||||
M.show_message(span_blue("[user] baps [name] on the nose with the rolled up [O]."))
|
||||
spawn(0)
|
||||
for(var/i in list(1,2,4,8,4,2,1,2))
|
||||
set_dir(i)
|
||||
@@ -103,7 +103,7 @@
|
||||
//pupplies cannot wear anything.
|
||||
/mob/living/simple_mob/animal/passive/dog/corgi/puppy/Topic(href, href_list)
|
||||
if(href_list["remove_inv"] || href_list["add_inv"])
|
||||
to_chat(usr, "<font color='red'>You can't fit this on [src]</font>")
|
||||
to_chat(usr, span_red("You can't fit this on [src]!"))
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
//Lisa already has a cute bow!
|
||||
/mob/living/simple_mob/animal/passive/dog/corgi/Lisa/Topic(href, href_list)
|
||||
if(href_list["remove_inv"] || href_list["add_inv"])
|
||||
to_chat(usr, "<font color='red'>[src] already has a cute bow!</font>")
|
||||
to_chat(usr, span_red("[src] already has a cute bow!"))
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -279,4 +279,4 @@
|
||||
icon_dead = "brittany_dead"
|
||||
|
||||
/decl/mob_organ_names/corgi
|
||||
hit_zones = list("head", "body", "left foreleg", "right foreleg", "left hind leg", "right hind leg", "tail", "heart") //You monster.
|
||||
hit_zones = list("head", "body", "left foreleg", "right foreleg", "left hind leg", "right hind leg", "tail", "heart") //You monster.
|
||||
|
||||
@@ -121,7 +121,7 @@ Field studies suggest analytical abilities on par with some species of cepholapo
|
||||
desc = "A large, sleek snow drake with heavy claws, powerful jaws and many pale spines along its body."
|
||||
player_msg = "You are a large Sivian pack predator in symbiosis with the local bioluminescent bacteria. You can eat glowing \
|
||||
tree fruit to fuel your <b>ranged spitting attack</b> and <b>poisonous bite</b> (on <span class = 'danger'>harm intent</span>), as well as <b>healing saliva</b> \
|
||||
(on <b><font color = '#009900'>help intent</font></b>).<br>There are humans moving through your territory; whether you help them get home safely, or treat them as a snack, \
|
||||
(on <b><span class='green'>help intent</span></b>).<br>There are humans moving through your territory; whether you help them get home safely, or treat them as a snack, \
|
||||
is up to you."
|
||||
color = "#608894"
|
||||
icon = 'icons/mob/drake_adult.dmi'
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
/mob/living/simple_mob/humanoid/merc/melee/sword/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(!Proj) return
|
||||
if(prob(35))
|
||||
visible_message("<font color='red'><B>[src] blocks [Proj] with its shield!</B></font>")
|
||||
visible_message(span_red("<B>[src] blocks [Proj] with its shield!</B>"))
|
||||
if(Proj.firer)
|
||||
ai_holder.react_to_attack(Proj.firer)
|
||||
return
|
||||
|
||||
@@ -43,11 +43,11 @@
|
||||
..()
|
||||
for(var/mob/M in viewers(src, null))
|
||||
if((M.client && !( M.blinded )))
|
||||
M.show_message("<font color='red'>[src] lets out a contented sigh as their form unwinds.</font>")
|
||||
M.show_message(span_red("[src] lets out a contented sigh as their form unwinds."))
|
||||
|
||||
ghostize()
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
/decl/mob_organ_names/shade
|
||||
hit_zones = list("spectral robe", "featureless visage", "haunting glow")
|
||||
hit_zones = list("spectral robe", "featureless visage", "haunting glow")
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(istype(target) && target.devourable && target.can_be_drop_prey && vore_selected)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,"<span class='warning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(target,"<span class='vwarning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
|
||||
// Do this after the potential vore, so we get the belly
|
||||
update_icon()
|
||||
@@ -201,10 +201,10 @@
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(istype(target) && target.devourable && target.can_be_drop_prey && vore_selected)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,"<span class='warning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(target,"<span class='vwarning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
|
||||
// Do this after the potential vore, so we get the belly
|
||||
update_icon()
|
||||
|
||||
shift_state = AB_SHIFT_NONE
|
||||
last_shift = world.time
|
||||
last_shift = world.time
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
mimic_active = FALSE
|
||||
if(prob(mimic_chance))
|
||||
var/mob/living/simple_mob/vore/aggressive/mimic/new_mimic = new(loc, src)
|
||||
visible_message("<font color='red'><b>[new_mimic] suddenly growls as it turns out to be a mimic!</b></font>")
|
||||
visible_message(span_red("<b>[new_mimic] suddenly growls as it turns out to be a mimic!</b>"))
|
||||
forceMove(new_mimic)
|
||||
new_mimic.real_crate = src
|
||||
new_mimic.name = name
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
/obj/structure/closet/crate/mimic/damage(var/damage)
|
||||
if(contents.len)
|
||||
visible_message("<font color='red'><b>[src] makes out a crunchy noise as its contents are destroyed!</b></font>")
|
||||
visible_message(span_red("<b>[src] makes out a crunchy noise as its contents are destroyed!</b>"))
|
||||
for(var/obj/O in src.contents)
|
||||
qdel(O)
|
||||
..()
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
if(target.buckled)
|
||||
target.buckled.unbuckle_mob(target, force = TRUE)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,"<span class='warning'>\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(target,"<span class='vwarning'>\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
else
|
||||
..()
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(istype(target) && target.devourable && target.can_be_drop_prey && vore_selected)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,"<span class='warning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(target,"<span class='vwarning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
|
||||
// Do this after the potential vore, so we get the belly
|
||||
update_icon()
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
tgui_alert_async(usr, "You appear to have logged in with another key this round, which is not permitted. Please contact an administrator if you believe this message to be in error.")
|
||||
if(matches)
|
||||
if(M.client)
|
||||
message_admins("<font color='red'><B>Notice: </B></font><font color='blue'>[key_name_admin(src)] has the same [matches] as [key_name_admin(M)].</font>", 1)
|
||||
message_admins("[span_red("<B>Notice: </B>")][span_blue("[key_name_admin(src)] has the same [matches] as [key_name_admin(M)].")]", 1)
|
||||
log_adminwarn("Notice: [key_name(src)] has the same [matches] as [key_name(M)].")
|
||||
else
|
||||
message_admins("<font color='red'><B>Notice: </B></font><font color='blue'>[key_name_admin(src)] has the same [matches] as [key_name_admin(M)] (no longer logged in). </font>", 1)
|
||||
message_admins("[span_red("<B>Notice: </B>")][span_blue("[key_name_admin(src)] has the same [matches] as [key_name_admin(M)] (no longer logged in). ")]", 1)
|
||||
log_adminwarn("Notice: [key_name(src)] has the same [matches] as [key_name(M)] (no longer logged in).")
|
||||
|
||||
/mob/Login()
|
||||
@@ -83,4 +83,4 @@
|
||||
|
||||
if(cloaked && cloaked_selfimage)
|
||||
client.images += cloaked_selfimage
|
||||
SEND_SIGNAL(src, COMSIG_MOB_CLIENT_LOGIN, client)
|
||||
SEND_SIGNAL(src, COMSIG_MOB_CLIENT_LOGIN, client)
|
||||
|
||||
@@ -458,7 +458,7 @@
|
||||
if(client.holder && (client.holder.rights & R_ADMIN|R_EVENT))
|
||||
is_admin = 1
|
||||
else if(stat != DEAD || istype(src, /mob/new_player))
|
||||
to_chat(usr, "<span class='filter_notice'><font color='blue'>You must be observing to use this!</font></span>")
|
||||
to_chat(usr, "<span class='filter_notice'>[span_blue("You must be observing to use this!")]</span>")
|
||||
return
|
||||
|
||||
if(is_admin && stat == DEAD)
|
||||
@@ -609,7 +609,7 @@
|
||||
playsound(src.loc, 'sound/weapons/thudswoosh.ogg', 25) //Quieter than hugging/grabbing but we still want some audio feedback
|
||||
|
||||
if(H.pull_damage())
|
||||
to_chat(src, "<span class='filter_notice'><font color='red'><B>Pulling \the [H] in their current condition would probably be a bad idea.</B></font></span>")
|
||||
to_chat(src, "<span class='filter_notice'>[span_red("<B>Pulling \the [H] in their current condition would probably be a bad idea.</B>")]</span>")
|
||||
|
||||
//Attempted fix for people flying away through space when cuffed and dragged.
|
||||
if(ismob(AM))
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
var/mob/living/carbon/C = usr
|
||||
C.toggle_throw_mode()
|
||||
else
|
||||
to_chat(usr, "<font color='red'>This mob type cannot throw items.</font>")
|
||||
to_chat(usr, span_red("This mob type cannot throw items."))
|
||||
return
|
||||
if(NORTHWEST)
|
||||
if(isliving(usr))
|
||||
@@ -54,11 +54,11 @@
|
||||
if(C.pulling)
|
||||
C.stop_pulling()
|
||||
return
|
||||
to_chat(usr, "<font color='red'>You have nothing to drop in your hand.</font>")
|
||||
to_chat(usr, span_red("You have nothing to drop in your hand."))
|
||||
return
|
||||
drop_item()
|
||||
else
|
||||
to_chat(usr, "<font color='red'>This mob type cannot drop items.</font>")
|
||||
to_chat(usr, span_red("This mob type cannot drop items."))
|
||||
return
|
||||
|
||||
//This gets called when you press the delete button.
|
||||
@@ -66,7 +66,7 @@
|
||||
set hidden = 1
|
||||
|
||||
if(!usr.pulling)
|
||||
to_chat(usr, "<font color='blue'>You are not pulling anything.</font>")
|
||||
to_chat(usr, span_blue("You are not pulling anything."))
|
||||
return
|
||||
usr.stop_pulling()
|
||||
|
||||
@@ -225,13 +225,13 @@
|
||||
for(var/mob/M in range(my_mob, 1))
|
||||
if(M.pulling == my_mob)
|
||||
if(!M.restrained() && M.stat == 0 && M.canmove && my_mob.Adjacent(M))
|
||||
to_chat(src, "<font color='blue'>You're restrained! You can't move!</font>")
|
||||
to_chat(src, span_blue("You're restrained! You can't move!"))
|
||||
return 0
|
||||
else
|
||||
M.stop_pulling()
|
||||
|
||||
if(my_mob.pinned.len)
|
||||
to_chat(src, "<font color='blue'>You're pinned to a wall by [my_mob.pinned[1]]!</font>")
|
||||
to_chat(src, span_blue("You're pinned to a wall by [my_mob.pinned[1]]!"))
|
||||
return 0
|
||||
|
||||
if(istype(my_mob.buckled, /obj/vehicle) || ismob(my_mob.buckled))
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/mob/proc/change_mob_type(var/new_type = null, var/turf/location = null, var/new_name = null as text, var/delete_old_mob = 0 as num, var/subspecies)
|
||||
|
||||
if(istype(src,/mob/new_player))
|
||||
to_chat(usr, "<font color='red'>cannot convert players who have not entered yet.</font>")
|
||||
to_chat(usr, span_red("cannot convert players who have not entered yet."))
|
||||
return
|
||||
|
||||
if(!new_type)
|
||||
@@ -19,7 +19,7 @@
|
||||
return
|
||||
|
||||
if( new_type == /mob/new_player )
|
||||
to_chat(usr, "<font color='red'>cannot convert into a new_player mob type.</font>")
|
||||
to_chat(usr, span_red("cannot convert into a new_player mob type."))
|
||||
return
|
||||
|
||||
var/mob/M
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
if(href_list["late_join"])
|
||||
|
||||
if(!ticker || ticker.current_state != GAME_STATE_PLAYING)
|
||||
to_chat(usr, "<font color='red'>The round is either not ready, or has already finished...</font>")
|
||||
to_chat(usr, span_red("The round is either not ready, or has already finished..."))
|
||||
return
|
||||
|
||||
var/time_till_respawn = time_till_respawn()
|
||||
@@ -428,7 +428,7 @@
|
||||
if (src != usr)
|
||||
return 0
|
||||
if(!ticker || ticker.current_state != GAME_STATE_PLAYING)
|
||||
to_chat(usr, "<font color='red'>The round is either not ready, or has already finished...</font>")
|
||||
to_chat(usr, span_red("The round is either not ready, or has already finished..."))
|
||||
return 0
|
||||
if(!config.enter_allowed)
|
||||
to_chat(usr, "<span class='notice'>There is an administrative lock on entering the game!</span>")
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
break
|
||||
|
||||
if(!found)
|
||||
to_chat(usr, "<font color='red'>Poll question details not found.</font>")
|
||||
to_chat(usr, span_red("Poll question details not found."))
|
||||
return
|
||||
|
||||
switch(polltype)
|
||||
@@ -360,7 +360,7 @@
|
||||
break
|
||||
|
||||
if(!validpoll)
|
||||
to_chat(usr, "<font color='red'>Poll is not valid.</font>")
|
||||
to_chat(usr, span_red("Poll is not valid."))
|
||||
return
|
||||
|
||||
var/DBQuery/select_query2 = dbcon.NewQuery("SELECT id FROM erro_poll_option WHERE id = [optionid] AND pollid = [pollid]")
|
||||
@@ -373,7 +373,7 @@
|
||||
break
|
||||
|
||||
if(!validoption)
|
||||
to_chat(usr, "<font color='red'>Poll option is not valid.</font>")
|
||||
to_chat(usr, span_red("Poll option is not valid."))
|
||||
return
|
||||
|
||||
var/alreadyvoted = 0
|
||||
@@ -387,11 +387,11 @@
|
||||
break
|
||||
|
||||
if(!multichoice && alreadyvoted)
|
||||
to_chat(usr, "<font color='red'>You already voted in this poll.</font>")
|
||||
to_chat(usr, span_red("You already voted in this poll."))
|
||||
return
|
||||
|
||||
if(multichoice && (alreadyvoted >= multiplechoiceoptions))
|
||||
to_chat(usr, "<font color='red'>You already have more than [multiplechoiceoptions] logged votes on this poll. Enough is enough. Contact the database admin if this is an error.</font>")
|
||||
to_chat(usr, span_red("You already have more than [multiplechoiceoptions] logged votes on this poll. Enough is enough. Contact the database admin if this is an error."))
|
||||
return
|
||||
|
||||
var/adminrank = "Player"
|
||||
@@ -402,7 +402,7 @@
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO erro_poll_vote (id ,datetime ,pollid ,optionid ,ckey ,ip ,adminrank) VALUES (null, Now(), [pollid], [optionid], '[usr.ckey]', '[usr.client.address]', '[adminrank]')")
|
||||
insert_query.Execute()
|
||||
|
||||
to_chat(usr, "<font color='blue'>Vote successful.</font>")
|
||||
to_chat(usr, span_blue("Vote successful."))
|
||||
usr << browse(null,"window=playerpoll")
|
||||
|
||||
|
||||
@@ -427,7 +427,7 @@
|
||||
break
|
||||
|
||||
if(!validpoll)
|
||||
to_chat(usr, "<font color='red'>Poll is not valid.</font>")
|
||||
to_chat(usr, span_red("Poll is not valid."))
|
||||
return
|
||||
|
||||
var/alreadyvoted = 0
|
||||
@@ -440,7 +440,7 @@
|
||||
break
|
||||
|
||||
if(alreadyvoted)
|
||||
to_chat(usr, "<font color='red'>You already sent your feedback for this poll.</font>")
|
||||
to_chat(usr, span_red("You already sent your feedback for this poll."))
|
||||
return
|
||||
|
||||
var/adminrank = "Player"
|
||||
@@ -460,7 +460,7 @@
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO erro_poll_textreply (id ,datetime ,pollid ,ckey ,ip ,replytext ,adminrank) VALUES (null, Now(), [pollid], '[usr.ckey]', '[usr.client.address]', '[replytext]', '[adminrank]')")
|
||||
insert_query.Execute()
|
||||
|
||||
to_chat(usr, "<font color='blue'>Feedback logging successful.</font>")
|
||||
to_chat(usr, span_blue("Feedback logging successful."))
|
||||
usr << browse(null,"window=playerpoll")
|
||||
|
||||
|
||||
@@ -485,7 +485,7 @@
|
||||
break
|
||||
|
||||
if(!validpoll)
|
||||
to_chat(usr, "<font color='red'>Poll is not valid.</font>")
|
||||
to_chat(usr, span_red("Poll is not valid."))
|
||||
return
|
||||
|
||||
var/DBQuery/select_query2 = dbcon.NewQuery("SELECT id FROM erro_poll_option WHERE id = [optionid] AND pollid = [pollid]")
|
||||
@@ -498,7 +498,7 @@
|
||||
break
|
||||
|
||||
if(!validoption)
|
||||
to_chat(usr, "<font color='red'>Poll option is not valid.</font>")
|
||||
to_chat(usr, span_red("Poll option is not valid."))
|
||||
return
|
||||
|
||||
var/alreadyvoted = 0
|
||||
@@ -511,7 +511,7 @@
|
||||
break
|
||||
|
||||
if(alreadyvoted)
|
||||
to_chat(usr, "<font color='red'>You already voted in this poll.</font>")
|
||||
to_chat(usr, span_red("You already voted in this poll."))
|
||||
return
|
||||
|
||||
var/adminrank = "Player"
|
||||
@@ -522,5 +522,5 @@
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO erro_poll_vote (id ,datetime ,pollid ,optionid ,ckey ,ip ,adminrank, rating) VALUES (null, Now(), [pollid], [optionid], '[usr.ckey]', '[usr.client.address]', '[adminrank]', [(isnull(rating)) ? "null" : rating])")
|
||||
insert_query.Execute()
|
||||
|
||||
to_chat(usr, "<font color='blue'>Vote successful.</font>")
|
||||
usr << browse(null,"window=playerpoll")
|
||||
to_chat(usr, span_blue("Vote successful."))
|
||||
usr << browse(null,"window=playerpoll")
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
set category = "IC"
|
||||
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
to_chat(usr, "<font color='red'>Speech is currently admin-disabled.</font>")
|
||||
to_chat(usr, span_red("Speech is currently admin-disabled."))
|
||||
return
|
||||
//VOREStation Addition Start
|
||||
if(forced_psay)
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
var/mobpath = tgui_input_list(usr, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
|
||||
|
||||
if(!safe_animal(mobpath))
|
||||
to_chat(usr, "<font color='red'>Sorry but this mob type is currently unavailable.</font>")
|
||||
to_chat(usr, span_red("Sorry but this mob type is currently unavailable."))
|
||||
return
|
||||
|
||||
if(transforming)
|
||||
@@ -288,7 +288,7 @@
|
||||
var/mobpath = tgui_input_list(usr, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
|
||||
|
||||
if(!safe_animal(mobpath))
|
||||
to_chat(usr, "<font color='red'>Sorry but this mob type is currently unavailable.</font>")
|
||||
to_chat(usr, span_red("Sorry but this mob type is currently unavailable."))
|
||||
return
|
||||
|
||||
var/mob/new_mob = new mobpath(src.loc)
|
||||
@@ -337,6 +337,3 @@
|
||||
|
||||
//Not in here? Must be untested!
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user