mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Removes all \red and \blue's (#2309)
Removes all \red's and \blues in favor of span classes. \red things that were bold were replaced with danger because it's warning but bold.
This commit is contained in:
@@ -275,10 +275,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
return
|
||||
if(medHUD)
|
||||
medHUD = 0
|
||||
src << "\blue <B>Medical HUD Disabled</B>"
|
||||
src << "<span class='notice'><B>Medical HUD Disabled</B></span>"
|
||||
else
|
||||
medHUD = 1
|
||||
src << "\blue <B>Medical HUD Enabled</B>"
|
||||
src << "<span class='notice'><B>Medical HUD Enabled</B></span>"
|
||||
|
||||
/mob/dead/observer/verb/toggle_antagHUD()
|
||||
set category = "Ghost"
|
||||
@@ -289,11 +289,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
return
|
||||
var/aux_staff = check_rights(R_MOD|R_ADMIN, 0)
|
||||
if(!config.antag_hud_allowed && (!client.holder || aux_staff))
|
||||
src << "\red Admins have disabled this for this round."
|
||||
src << "<span class='warning'>Admins have disabled this for this round.</span>"
|
||||
return
|
||||
var/mob/dead/observer/M = src
|
||||
if(jobban_isbanned(M, "AntagHUD"))
|
||||
src << "\red <B>You have been banned from using this feature</B>"
|
||||
src << "<span class='danger'>You have been banned from using this feature</span>"
|
||||
return
|
||||
if(config.antag_hud_restricted && !M.has_enabled_antagHUD && (!client.holder || aux_staff))
|
||||
var/response = 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?","Yes","No")
|
||||
@@ -303,10 +303,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
M.has_enabled_antagHUD = 1
|
||||
if(M.antagHUD)
|
||||
M.antagHUD = 0
|
||||
src << "\blue <B>AntagHUD Disabled</B>"
|
||||
src << "<span class='notice'><B>AntagHUD Disabled</B></span>"
|
||||
else
|
||||
M.antagHUD = 1
|
||||
src << "\blue <B>AntagHUD Enabled</B>"
|
||||
src << "<span class='notice'><B>AntagHUD Enabled</B></span>"
|
||||
|
||||
/mob/dead/observer/proc/dead_tele(A in ghostteleportlocs)
|
||||
set category = "Ghost"
|
||||
@@ -424,11 +424,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
|
||||
/mob/dead/observer/memory()
|
||||
set hidden = 1
|
||||
src << "\red You are dead! You have no mind to store memory!"
|
||||
src << "<span class='warning'>You are dead! You have no mind to store memory!</span>"
|
||||
|
||||
/mob/dead/observer/add_memory()
|
||||
set hidden = 1
|
||||
src << "\red You are dead! You have no mind to store memory!"
|
||||
src << "<span class='warning'>You are dead! You have no mind to store memory!</span>"
|
||||
|
||||
/mob/dead/observer/Post_Incorpmove()
|
||||
stop_following()
|
||||
@@ -448,16 +448,16 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
var/pressure = environment.return_pressure()
|
||||
var/total_moles = environment.total_moles
|
||||
|
||||
src << "\blue <B>Results:</B>"
|
||||
src << "<span class='notice'><B>Results:</B></span>"
|
||||
if(abs(pressure - ONE_ATMOSPHERE) < 10)
|
||||
src << "\blue Pressure: [round(pressure,0.1)] kPa"
|
||||
src << "<span class='notice'>Pressure: [round(pressure,0.1)] kPa</span>"
|
||||
else
|
||||
src << "\red Pressure: [round(pressure,0.1)] kPa"
|
||||
src << "<span class='warning'>Pressure: [round(pressure,0.1)] kPa</span>"
|
||||
if(total_moles)
|
||||
for(var/g in environment.gas)
|
||||
src << "\blue [gas_data.name[g]]: [round((environment.gas[g] / total_moles) * 100)]% ([round(environment.gas[g], 0.01)] moles)"
|
||||
src << "\blue Temperature: [round(environment.temperature-T0C,0.1)]°C ([round(environment.temperature,0.1)]K)"
|
||||
src << "\blue Heat Capacity: [round(environment.heat_capacity(),0.1)]"
|
||||
src << "<span class='notice'>[gas_data.name[g]]: [round((environment.gas[g] / total_moles) * 100)]% ([round(environment.gas[g], 0.01)] moles)</span>"
|
||||
src << "<span class='notice'>Temperature: [round(environment.temperature-T0C,0.1)]°C ([round(environment.temperature,0.1)]K)</span>"
|
||||
src << "<span class='notice'>Heat Capacity: [round(environment.heat_capacity(),0.1)]</span>"
|
||||
|
||||
/mob/dead/observer/verb/become_mouse()
|
||||
set name = "Become mouse"
|
||||
@@ -636,7 +636,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))
|
||||
src << "\red That verb is not currently permitted."
|
||||
src << "<span class='warning'>That verb is not currently permitted.</span>"
|
||||
return
|
||||
|
||||
if (!src.stat)
|
||||
@@ -646,7 +646,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
return 0 //something is terribly wrong
|
||||
|
||||
if(!round_is_spooky())
|
||||
src << "\red The veil is not thin enough for you to do that."
|
||||
src << "<span class='warning'>The veil is not thin enough for you to do that.</span>"
|
||||
return
|
||||
|
||||
var/list/choices = list()
|
||||
@@ -696,7 +696,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("\red Invisible fingers crudely paint something in blood on [T]...")
|
||||
W.visible_message("<span class='warning'>Invisible fingers crudely paint something in blood on [T]...</span>")
|
||||
|
||||
/mob/dead/observer/pointed(atom/A as mob|obj|turf in view())
|
||||
if(!..())
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
if (src.client)
|
||||
if(src.client.prefs.muted & (MUTE_DEADCHAT|MUTE_IC))
|
||||
src << "\red You cannot talk in deadchat (muted)."
|
||||
src << "<span class='warning'>You cannot talk in deadchat (muted).</span>"
|
||||
return
|
||||
|
||||
. = src.say_dead(message)
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
if(src.client)
|
||||
if(src.client.prefs.muted & (MUTE_DEADCHAT|MUTE_IC))
|
||||
src << "\red You cannot emote in deadchat (muted)."
|
||||
src << "<span class='warning'>You cannot emote in deadchat (muted).</span>"
|
||||
return
|
||||
|
||||
. = src.emote_dead(message)
|
||||
|
||||
@@ -211,10 +211,10 @@ var/list/holder_mob_icon_cache = list()
|
||||
|
||||
if (user == src)
|
||||
if (grabber.r_hand && grabber.l_hand)
|
||||
user << "\red They have no free hands!"
|
||||
user << "<span class='warning'>They have no free hands!</span>"
|
||||
return
|
||||
else if ((grabber.hand == 0 && grabber.r_hand) || (grabber.hand == 1 && grabber.l_hand))//Checking if the hand is full
|
||||
grabber << "\red Your hand is full!"
|
||||
grabber << "<span class='warning'>Your hand is full!</span>"
|
||||
return
|
||||
|
||||
src.verbs += /mob/living/proc/get_holder_location//This has to be before we move the mob into the holder
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
qdel(W)
|
||||
else
|
||||
if(!disable_warning)
|
||||
src << "\red You are unable to equip that." //Only print if del_on_fail is false
|
||||
src << "<span class='warning'>You are unable to equip that.</span>" //Only print if del_on_fail is false
|
||||
return 0
|
||||
|
||||
equip_to_slot(W, slot, redraw_mob) //This proc should not ever fail.
|
||||
@@ -304,7 +304,7 @@ var/list/slot_equipment_priority = list( \
|
||||
|
||||
//actually throw it!
|
||||
if (item)
|
||||
src.visible_message("\red [src] has thrown [item].")
|
||||
src.visible_message("<span class='warning'>[src] has thrown [item].</span>")
|
||||
|
||||
if(!src.lastarea)
|
||||
src.lastarea = get_area(src.loc)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("\red [] has grabbed [] passively!", M, src), 1)
|
||||
O.show_message(text("<span class='warning'>[] has grabbed [] passively!</span>", M, src), 1)
|
||||
|
||||
else
|
||||
var/damage = rand(1, 9)
|
||||
@@ -43,17 +43,17 @@
|
||||
playsound(loc, "punch", 25, 1, -1)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("\red <B>[] has punched []!</B>", M, src), 1)
|
||||
O.show_message(text("<span class='danger'>[] has punched []!</span>", 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("\red <B>[] has weakened []!</B>", M, src), 1, "\red You hear someone fall.", 2)
|
||||
O.show_message(text("<span class='danger'>[] has weakened []!</span>", M, src), 1, "<span class='warning'> You hear someone fall.</span>", 2)
|
||||
adjustBruteLoss(damage)
|
||||
updatehealth()
|
||||
else
|
||||
playsound(loc, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("\red <B>[] has attempted to punch []!</B>", M, src), 1)
|
||||
O.show_message(text("<span class='danger'>[] has attempted to punch []!</span>", M, src), 1)
|
||||
return
|
||||
@@ -2,7 +2,7 @@
|
||||
if(istype(M) && M.a_intent == I_HELP && !(src.stat & DEAD))
|
||||
if(M.species && M.species.name == "Diona" && do_merge(M))
|
||||
return
|
||||
M.visible_message("\blue [M] pets the [src]")
|
||||
M.visible_message("<span class='notice'>[M] pets the [src]</span>")
|
||||
return
|
||||
else if (src.stat & DEAD)
|
||||
get_scooped(M)
|
||||
|
||||
@@ -28,15 +28,15 @@
|
||||
|
||||
|
||||
if(nutrition < evolve_nutrition)
|
||||
src << "\red You do not have enough biomass to grow yet. Currently [nutrition]/[evolve_nutrition]."
|
||||
src << "<span class='warning'>You do not have enough biomass to grow yet. Currently [nutrition]/[evolve_nutrition].</span>"
|
||||
return
|
||||
|
||||
if(gestalt)
|
||||
src << "\red You are already part of a collective, if you wish to form your own, you must split off first"
|
||||
src << "<span class='warning'>You are already part of a collective, if you wish to form your own, you must split off first.</span>"
|
||||
return
|
||||
|
||||
if (!istype(loc, /turf))
|
||||
src << "\red There's not enough space to grow here. Stand on the floor!."
|
||||
src << "<span class='warning'>There's not enough space to grow here. Stand on the floor!.</span>"
|
||||
return
|
||||
|
||||
// confirm_evolution() handles choices and other specific requirements.
|
||||
@@ -47,11 +47,11 @@
|
||||
stunned = 10//No more moving or talking for now
|
||||
//muted = 10
|
||||
playsound(src.loc, 'sound/species/diona/gestalt_grow.ogg', 100, 1)
|
||||
src.visible_message("\red [src] begins to shift and quiver.",
|
||||
"\red You begin to shift and quiver, feeling your awareness splinter. ")
|
||||
src.visible_message("<span class='warning'> [src] begins to shift and quiver.</span>",
|
||||
"<span class='warning'> You begin to shift and quiver, feeling your awareness splinter.</span>")
|
||||
sleep(52)
|
||||
src.visible_message("\red [src] erupts in a shower of shed bark as it splits into a tangle of half a dozen new dionaea.",
|
||||
"\red All at once, we consume our stored nutrients to surge with growth, splitting into a tangle of half a dozen new dionaea. We have attained our gestalt form.")
|
||||
src.visible_message("<span class='warning'> [src] erupts in a shower of shed bark as it splits into a tangle of half a dozen new dionaea.</span>",
|
||||
"<span class='warning'> All at once, we consume our stored nutrients to surge with growth, splitting into a tangle of half a dozen new dionaea. We have attained our gestalt form.</span>")
|
||||
|
||||
var/mob/living/carbon/human/adult = new adult_form(get_turf(src))
|
||||
adult.set_species(new_species)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
return
|
||||
if (src.client)
|
||||
if (client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot send IC messages (muted)."
|
||||
src << "<span class='warning'>You cannot send IC messages (muted).</span>"
|
||||
return
|
||||
if (stat)
|
||||
return
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/mob/living/carbon/alien/larva/confirm_evolution()
|
||||
|
||||
src << "\blue <b>You are growing into a beautiful alien! It is time to choose a caste.</b>"
|
||||
src << "\blue There are three to choose from:"
|
||||
src << "<B>Hunters</B> \blue are strong and agile, able to hunt away from the hive and rapidly move through ventilation shafts. Hunters generate plasma slowly and have low reserves."
|
||||
src << "<B>Sentinels</B> \blue are tasked with protecting the hive and are deadly up close and at a range. They are not as physically imposing nor fast as the hunters."
|
||||
src << "<B>Drones</B> \blue are the working class, offering the largest plasma storage and generation. They are the only caste which may evolve again, turning into the dreaded alien queen."
|
||||
src << "<span class='notice'><b>You are growing into a beautiful alien! It is time to choose a caste.</b></span>"
|
||||
src << "<span class='notice'>There are three to choose from:</span>"
|
||||
src << "<B>Hunters</B> <span class='notice'>are strong and agile, able to hunt away from the hive and rapidly move through ventilation shafts. Hunters generate plasma slowly and have low reserves.</span>"
|
||||
src << "<B>Sentinels</B> <span class='notice'>are tasked with protecting the hive and are deadly up close and at a range. They are not as physically imposing nor fast as the hunters.</span>"
|
||||
src << "<B>Drones</B> <span class='notice'>are the working class, offering the largest plasma storage and generation. They are the only caste which may evolve again, turning into the dreaded alien queen.</span>"
|
||||
var/alien_caste = alert(src, "Please choose which alien caste you shall belong to.",,"Hunter","Sentinel","Drone")
|
||||
return alien_caste ? "Xenomorph [alien_caste]" : null
|
||||
|
||||
|
||||
@@ -74,9 +74,9 @@
|
||||
if((istype(O,/obj/item/weapon/card/id)||istype(O,/obj/item/device/pda)) && brainmob)
|
||||
if(allowed(user))
|
||||
locked = !locked
|
||||
user << "\blue You [locked ? "lock" : "unlock"] the brain holder."
|
||||
user << "<span class='notice'>You [locked ? "lock" : "unlock"] the brain holder.</span>"
|
||||
else
|
||||
user << "\red Access denied."
|
||||
user << "<span class='warning'>Access denied.</span>"
|
||||
return
|
||||
if(brainmob)
|
||||
O.attack(brainmob, user)//Oh noooeeeee
|
||||
@@ -86,11 +86,11 @@
|
||||
//TODO: ORGAN REMOVAL UPDATE. Make the brain remain in the MMI so it doesn't lose organ data.
|
||||
attack_self(mob/user as mob)
|
||||
if(!brainmob)
|
||||
user << "\red You upend the MMI, but there's nothing in it."
|
||||
user << "<span class='warning'>You upend the MMI, but there's nothing in it.</span>"
|
||||
else if(locked)
|
||||
user << "\red You upend the MMI, but the brain is clamped into place."
|
||||
user << "<span class='warning'>You upend the MMI, but the brain is clamped into place.</span>"
|
||||
else
|
||||
user << "\blue You upend the MMI, spilling the brain onto the floor."
|
||||
user << "<span class='notice'>You upend the MMI, spilling the brain onto the floor.</span>"
|
||||
var/obj/item/organ/brain/brain
|
||||
if (brainobj) //Pull brain organ out of MMI.
|
||||
brainobj.loc = user.loc
|
||||
@@ -163,7 +163,7 @@
|
||||
brainmob << "Can't do that while incapacitated or dead."
|
||||
|
||||
radio.broadcasting = radio.broadcasting==1 ? 0 : 1
|
||||
brainmob << "\blue Radio is [radio.broadcasting==1 ? "now" : "no longer"] broadcasting."
|
||||
brainmob << "<span class='notice'>Radio is [radio.broadcasting==1 ? "now" : "no longer"] broadcasting.</span>"
|
||||
|
||||
Toggle_Listening()
|
||||
set name = "Toggle Listening"
|
||||
@@ -176,7 +176,7 @@
|
||||
brainmob << "Can't do that while incapacitated or dead."
|
||||
|
||||
radio.listening = radio.listening==1 ? 0 : 1
|
||||
brainmob << "\blue Radio is [radio.listening==1 ? "now" : "no longer"] receiving broadcast."
|
||||
brainmob << "<span class='notice'>Radio is [radio.listening==1 ? "now" : "no longer"] receiving broadcast.</span>"
|
||||
|
||||
/obj/item/device/mmi/emp_act(severity)
|
||||
if(!brainmob)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
return
|
||||
if (src.client)
|
||||
if (client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot send IC messages (muted)."
|
||||
src << "<span class='warning'>You cannot send IC messages (muted).</span>"
|
||||
return
|
||||
if (stat)
|
||||
return
|
||||
@@ -63,7 +63,7 @@
|
||||
if ("help")
|
||||
src << "alarm,alert,notice,flash,blink,whistle,beep,boop"
|
||||
else
|
||||
src << "\blue Unusable emote '[act]'. Say *help for a list."
|
||||
src << "<span class='notice'>Unusable emote '[act]'. Say *help for a list.</span>"
|
||||
|
||||
if (message)
|
||||
log_emote("[name]/[key] : [message]",ckey=key_name(key))
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
if (total_radiation > 100)
|
||||
total_radiation = 100
|
||||
if(!container)//If it's not in an MMI
|
||||
src << "\red You feel weak."
|
||||
src << "<span class='warning'>You feel weak.</span>"
|
||||
else//Fluff-wise, since the brain can't detect anything itself, the MMI handles thing like that
|
||||
src << "\red STATUS: CRITICAL AMOUNTS OF RADIATION DETECTED."
|
||||
src << "<span class='warning'>STATUS: CRITICAL AMOUNTS OF RADIATION DETECTED.</span>"
|
||||
|
||||
switch(total_radiation)
|
||||
if(1 to 49)
|
||||
@@ -23,9 +23,9 @@
|
||||
if(prob(5))
|
||||
apply_radiation(-5)
|
||||
if(!container)
|
||||
src << "\red You feel weak."
|
||||
src << "<span class='warning'>You feel weak.</span>"
|
||||
else
|
||||
src << "\red STATUS: DANGEROUS LEVELS OF RADIATION DETECTED."
|
||||
src << "<span class='danger'>STATUS: DANGEROUS LEVELS OF RADIATION DETECTED.</span>"
|
||||
updatehealth()
|
||||
|
||||
if(75 to 100)
|
||||
@@ -120,7 +120,7 @@
|
||||
silent = 1
|
||||
if(!alert)//Sounds an alarm, but only once per 'level'
|
||||
emote("alarm")
|
||||
src << "\red Major electrical distruption detected: System rebooting."
|
||||
src << "<span class='warning'>Major electrical distruption detected: System rebooting.</span>"
|
||||
alert = 1
|
||||
if(prob(75))
|
||||
emp_damage -= 1
|
||||
@@ -136,7 +136,7 @@
|
||||
ear_damage = 1
|
||||
if(!alert)
|
||||
emote("alert")
|
||||
src << "\red Primary systems are now online."
|
||||
src << "<span class='warning'>Primary systems are now online.</span>"
|
||||
alert = 1
|
||||
if(prob(50))
|
||||
emp_damage -= 1
|
||||
@@ -148,13 +148,13 @@
|
||||
if(2 to 9)//Low level of EMP damage, has few effects(handled elsewhere)
|
||||
if(!alert)
|
||||
emote("notice")
|
||||
src << "\red System reboot nearly complete."
|
||||
src << "<span class='warning'>System reboot nearly complete.</span>"
|
||||
alert = 1
|
||||
if(prob(25))
|
||||
emp_damage -= 1
|
||||
if(1)
|
||||
alert = 0
|
||||
src << "\red All systems restored."
|
||||
src << "<span class='warning'>All systems restored.</span>"
|
||||
emp_damage -= 1
|
||||
|
||||
//Other
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
M.loc = src.loc
|
||||
for(var/mob/N in viewers(src, null))
|
||||
if(N.client)
|
||||
N.show_message(text("\red <B>[M] bursts out of [src]!</B>"), 2)
|
||||
N.show_message(text("<span class='danger'>[M] bursts out of [src]!</span>"), 2)
|
||||
..()
|
||||
|
||||
/mob/living/carbon/attack_hand(mob/M as mob)
|
||||
@@ -110,17 +110,17 @@
|
||||
playsound(loc, "sparks", 50, 1, -1)
|
||||
if (shock_damage > 15 || tesla_shock)
|
||||
src.visible_message(
|
||||
"\red [src] was shocked by the [source]!", \
|
||||
"\red <B>You feel a powerful shock course through your body!</B>", \
|
||||
"\red You hear a heavy electrical crack." \
|
||||
"<span class='warning'>[src] was shocked by the [source]!</span>", \
|
||||
"<span class='danger'>You feel a powerful shock course through your body!</span>", \
|
||||
"<span class='warning'>You hear a heavy electrical crack.</span>" \
|
||||
)
|
||||
Stun(10)//This should work for now, more is really silly and makes you lay there forever
|
||||
Weaken(10)
|
||||
else
|
||||
src.visible_message(
|
||||
"\red [src] was mildly shocked by the [source].", \
|
||||
"\red You feel a mild shock course through your body.", \
|
||||
"\red You hear a light zapping." \
|
||||
"<span class='warning'>[src] was mildly shocked by the [source].</span>", \
|
||||
"<span class='warning'>You feel a mild shock course through your body.</span>", \
|
||||
"<span class='warning'>You hear a light zapping.</span>" \
|
||||
)
|
||||
|
||||
spark(loc, 5, alldirs)
|
||||
@@ -169,8 +169,8 @@
|
||||
if(src == M && istype(src, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = src
|
||||
src.visible_message( \
|
||||
text("\blue [src] examines [].",src.gender==MALE?"himself":"herself"), \
|
||||
"\blue You check yourself for injuries." \
|
||||
text("<span class='notice'>[src] examines [].</span>",src.gender==MALE?"himself":"herself"), \
|
||||
"<span class='notice'>You check yourself for injuries.</span>" \
|
||||
)
|
||||
|
||||
for(var/obj/item/organ/external/org in H.organs)
|
||||
@@ -372,7 +372,7 @@
|
||||
set category = "IC"
|
||||
|
||||
if(usr.sleeping)
|
||||
usr << "\red You are already sleeping"
|
||||
usr << "<span class='warning'>You are already sleeping</span>"
|
||||
return
|
||||
if(alert(src,"You sure you want to sleep for a while?","Sleep","Yes","No") == "Yes")
|
||||
usr.sleeping = 20 //Short nap
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
var/mob/living/simple_animal/borer/B = has_brain_worms()
|
||||
|
||||
if(B && B.host_brain)
|
||||
src << "\red <B>You withdraw your probosci, releasing control of [B.host_brain]</B>"
|
||||
src << "<span class='danger'>You withdraw your probosci, releasing control of [B.host_brain]</span>"
|
||||
|
||||
B.detatch()
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
verbs -= /mob/living/carbon/proc/spawn_larvae
|
||||
|
||||
else
|
||||
src << "\red <B>ERROR NO BORER OR BRAINMOB DETECTED IN THIS MOB, THIS IS A BUG !</B>"
|
||||
src << "<span class='danger'>ERROR NO BORER OR BRAINMOB DETECTED IN THIS MOB, THIS IS A BUG !</span>"
|
||||
|
||||
//Brain slug proc for tormenting the host.
|
||||
/mob/living/carbon/proc/punish_host()
|
||||
@@ -31,13 +31,13 @@
|
||||
return
|
||||
|
||||
if(B.host_brain.ckey)
|
||||
src << "\red <B>You send a punishing spike of psychic agony lancing into your host's brain.</B>"
|
||||
src << "<span class='warning'>You send a punishing spike of psychic agony lancing into your host's brain.</span>"
|
||||
|
||||
if (species && (species.flags & NO_PAIN))
|
||||
B.host_brain << "\red You feel a strange sensation as a foreign influence prods your mind."
|
||||
src << "\red <B>It doesn't seem to be as effective as you hoped.</B>"
|
||||
B.host_brain << "<span class='warning'>You feel a strange sensation as a foreign influence prods your mind.</span>"
|
||||
src << "<span class='warning'>It doesn't seem to be as effective as you hoped.</span>"
|
||||
else
|
||||
B.host_brain << "\red <B><FONT size=3>Horrific, burning agony lances through you, ripping a soundless scream from your trapped mind!</FONT></B>"
|
||||
B.host_brain << "<span class='danger'><FONT size=3>Horrific, burning agony lances through you, ripping a soundless scream from your trapped mind!</FONT></span>"
|
||||
|
||||
/mob/living/carbon/proc/spawn_larvae()
|
||||
set category = "Abilities"
|
||||
@@ -50,8 +50,8 @@
|
||||
return
|
||||
|
||||
if(B.chemicals >= 100)
|
||||
src << "\red <B>Your host twitches and quivers as you rapidly excrete a larva from your sluglike body.</B>"
|
||||
visible_message("\red <B>[src] heaves violently, expelling a rush of vomit and a wriggling, sluglike creature!</B>")
|
||||
src << "<span class='warning'>Your host twitches and quivers as you rapidly excrete a larva from your sluglike body.</span>"
|
||||
visible_message("<span class='warning'>[src] heaves violently, expelling a rush of vomit and a wriggling, sluglike creature!</span>")
|
||||
B.chemicals -= 100
|
||||
B.has_reproduced = 1
|
||||
|
||||
|
||||
@@ -291,8 +291,8 @@ var/list/diona_banned_languages = list(
|
||||
DS.stored_energy -= REGROW_ENERGY_REQ
|
||||
H.nutrition -= REGROW_FOOD_REQ
|
||||
playsound(src, 'sound/species/diona/gestalt_grow.ogg', 30, 1)
|
||||
src.visible_message("\red [src] begins to shift and quiver.",
|
||||
"\red You begin to shift and quiver, feeling a stirring within your trunk ")
|
||||
src.visible_message("<span class='warning'>[src] begins to shift and quiver.</span>",
|
||||
"<span class='warning'>You begin to shift and quiver, feeling a stirring within your trunk</span>")
|
||||
sleep(52)
|
||||
var/obj/item/organ/O = new path(H)
|
||||
src.visible_message("<span class='danger'>With a shower of sticky sap, a new mass of tendrils bursts forth from [H.name]'s trunk, forming a new [O.name]</span>","<span class='danger'>With a shower of sticky sap, a new mass of tendrils bursts forth from your trunk, forming a new [O.name]</span>")
|
||||
@@ -392,7 +392,7 @@ var/list/diona_banned_languages = list(
|
||||
src << "You feel a little more energised as you return to the light. Stay awhile."
|
||||
else if (DS.EP <= 0.0 && DS.last_lightlevel <= 0)
|
||||
DS.LMS = 4
|
||||
src << "<span class='danger'> You feel sensory distress as your tendrils start to wither in the darkness. You will die soon without light.</span>"
|
||||
src << "<span class='danger'>You feel sensory distress as your tendrils start to wither in the darkness. You will die soon without light.</span>"
|
||||
//From here down, we immediately return to state 3 if we get any light
|
||||
else
|
||||
if (DS.EP > 0.0)//If there's any light at all, we can be saved
|
||||
@@ -402,12 +402,12 @@ var/list/diona_banned_languages = list(
|
||||
var/HP = 1 //diona_get_health(DS) / DS.max_health//HP = health-percentage
|
||||
if (DS.LMS == 4)
|
||||
if (HP < 0.6)
|
||||
src << "<span class='danger'> The darkness burns. Your nymphs decay and wilt You are in mortal danger!</span>"
|
||||
src << "<span class='danger'>The darkness burns. Your nymphs decay and wilt You are in mortal danger!</span>"
|
||||
DS.LMS = 5
|
||||
|
||||
else if (DS.LMS == 5)
|
||||
if (paralysis > 0)
|
||||
src << "<span class='danger'> Your body has reached critical integrity, it can no longer move. The end comes soon.</span>"
|
||||
src << "<span class='danger'>Your body has reached critical integrity, it can no longer move. The end comes soon.</span>"
|
||||
DS.LMS = 6
|
||||
else if (DS.LMS == 6)
|
||||
return
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
if(incapacitated())
|
||||
return
|
||||
if(!istype(target) || target.stat || target.lying || target.resting || target.restrained() || target.client == null)
|
||||
usr << "\red [target.name] is in no condition to handle items!"
|
||||
usr << "<span class='warning'>[target.name] is in no condition to handle items!</span>"
|
||||
return
|
||||
|
||||
var/obj/item/I = usr.get_active_hand()
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
for(var/R in cures)
|
||||
if(H.reagents.has_reagent(R))
|
||||
if (cure_message)
|
||||
H <<"\blue [cure_message]"
|
||||
H <<"<span class='notice'>[cure_message]</span>"
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
for(var/R in cures)
|
||||
if(H.reagents.has_reagent(R))
|
||||
if (cure_message)
|
||||
H <<"\blue [cure_message]"
|
||||
H <<"<span class='notice'>[cure_message]</span>"
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
if (src.client)
|
||||
if (client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot send IC messages (muted)."
|
||||
src << "<span class='danger'>You cannot send IC messages (muted).</span>"
|
||||
return
|
||||
if (stat)
|
||||
return
|
||||
|
||||
@@ -473,7 +473,7 @@
|
||||
U.handle_regular_hud_updates()
|
||||
|
||||
if(!modified)
|
||||
usr << "\red Unable to locate a data core entry for this person."
|
||||
usr << "<span class='warning'>Unable to locate a data core entry for this person.</span>"
|
||||
|
||||
if (href_list["secrecord"])
|
||||
if(hasHUD(usr,"security"))
|
||||
@@ -503,7 +503,7 @@
|
||||
read = 1
|
||||
|
||||
if(!read)
|
||||
usr << "\red Unable to locate a data core entry for this person."
|
||||
usr << "<span class='warning'>Unable to locate a data core entry for this person.</span>"
|
||||
|
||||
if (href_list["secrecordComment"])
|
||||
if(hasHUD(usr,"security"))
|
||||
@@ -533,7 +533,7 @@
|
||||
usr << "<a href='?src=\ref[src];secrecordadd=`'>\[Add comment\]</a>"
|
||||
|
||||
if(!read)
|
||||
usr << "\red Unable to locate a data core entry for this person."
|
||||
usr << "<span class='warning'>Unable to locate a data core entry for this person.</span>"
|
||||
|
||||
if (href_list["secrecordadd"])
|
||||
if(hasHUD(usr,"security"))
|
||||
@@ -601,7 +601,7 @@
|
||||
U.handle_regular_hud_updates()
|
||||
|
||||
if(!modified)
|
||||
usr << "\red Unable to locate a data core entry for this person."
|
||||
usr << "<span class='warning'>Unable to locate a data core entry for this person.</span>"
|
||||
|
||||
if (href_list["medrecord"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
@@ -632,7 +632,7 @@
|
||||
read = 1
|
||||
|
||||
if(!read)
|
||||
usr << "\red Unable to locate a data core entry for this person."
|
||||
usr << "<span class='warning'>Unable to locate a data core entry for this person.</span>"
|
||||
|
||||
if (href_list["medrecordComment"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
@@ -662,7 +662,7 @@
|
||||
usr << "<a href='?src=\ref[src];medrecordadd=`'>\[Add comment\]</a>"
|
||||
|
||||
if(!read)
|
||||
usr << "\red Unable to locate a data core entry for this person."
|
||||
usr << "<span class='warning'>Unable to locate a data core entry for this person.</span>"
|
||||
|
||||
if (href_list["medrecordadd"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
@@ -784,7 +784,7 @@
|
||||
|
||||
/mob/living/carbon/human/proc/play_xylophone()
|
||||
if(!src.xylophone)
|
||||
visible_message("\red \The [src] begins playing \his ribcage like a xylophone. It's quite spooky.","\blue You begin to play a spooky refrain on your ribcage.","\red You hear a spooky xylophone melody.")
|
||||
visible_message("<span class='warning'>\The [src] begins playing \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='warning'>You hear a spooky xylophone melody.</span>")
|
||||
var/song = pick('sound/effects/xylophone1.ogg','sound/effects/xylophone2.ogg','sound/effects/xylophone3.ogg')
|
||||
playsound(loc, song, 50, 1, -1)
|
||||
xylophone = 1
|
||||
@@ -879,7 +879,7 @@
|
||||
regenerate_icons()
|
||||
check_dna()
|
||||
|
||||
visible_message("\blue \The [src] morphs and changes [get_visible_gender() == MALE ? "his" : get_visible_gender() == FEMALE ? "her" : "their"] appearance!", "\blue You change your appearance!", "\red Oh, god! What the hell was that? It sounded like flesh getting squished and bone ground into a different shape!")
|
||||
visible_message("<span class='notice'>\The [src] morphs and changes [get_visible_gender() == MALE ? "his" : get_visible_gender() == FEMALE ? "her" : "their"] appearance!</span>", "<span class='notice'>You change your appearance!</span>", "<span class='warning'>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"
|
||||
@@ -902,10 +902,10 @@
|
||||
|
||||
var/say = sanitize(input("What do you wish to say"))
|
||||
if(mRemotetalk in target.mutations)
|
||||
target.show_message("\blue You hear [src.real_name]'s voice: [say]")
|
||||
target.show_message("<span class='notice'>You hear [src.real_name]'s voice: [say]</span>")
|
||||
else
|
||||
target.show_message("\blue You hear a voice that seems to echo around the room: [say]")
|
||||
usr.show_message("\blue You project your mind into [target.real_name]: [say]")
|
||||
target.show_message("<span class='notice'>You hear a voice that seems to echo around the room: [say]</span>")
|
||||
usr.show_message("<span class='notice'>You project your mind into [target.real_name]: [say]</span>")
|
||||
log_say("[key_name(usr)] sent a telepathic message to [key_name(target)]: [say]",ckey=key_name(usr))
|
||||
for(var/mob/dead/observer/G in world)
|
||||
G.show_message("<i>Telepathic message from <b>[src]</b> to <b>[target]</b>: [say]</i>")
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
if(M.a_intent == I_HURT)//Stungloves. Any contact will stun the alien.
|
||||
if(G.cell.charge >= 2500)
|
||||
G.cell.use(G.cell.charge) //So it drains the cell.
|
||||
visible_message("\red <B>[src] has been touched with the stun gloves by [M]!</B>")
|
||||
visible_message("<span class='danger'>[src] has been touched with the stun gloves by [M]!</span>")
|
||||
M.attack_log += text("\[[time_stamp()]\] <font color='red'>Stungloved [src.name] ([src.ckey])</font>")
|
||||
src.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been stungloved by [M.name] ([M.ckey])</font>")
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
if(prob(15))
|
||||
playsound(src.loc, 'sound/weapons/flash.ogg', 100, 1)
|
||||
M.visible_message("\red The power source on [M]'s stun gloves overloads in a terrific fashion!", "\red Your jury rigged stun gloves malfunction!", "\red You hear a loud sparking.")
|
||||
M.visible_message("<span class='warning'>The power source on [M]'s stun gloves overloads in a terrific fashion!</span>", "<span class='warning'>Your jury rigged stun gloves malfunction!</span>", "<span class='warning'>You hear a loud sparking.</span>")
|
||||
|
||||
if(prob(50))
|
||||
M.apply_damage(rand(1,5), BURN)
|
||||
@@ -63,8 +63,8 @@
|
||||
|
||||
return 1
|
||||
else
|
||||
M << "\red Not enough charge! "
|
||||
visible_message("\red <B>[src] has been touched with the stun gloves by [M]!</B>")
|
||||
M << "<span class='warning'>Not enough charge!</span>"
|
||||
visible_message("<span class='danger'>[src] has been touched with the stun gloves by [M]!</span>")
|
||||
return
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
var/damage = rand(0, 9)
|
||||
if(!damage)
|
||||
playsound(loc, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
visible_message("\red <B>[H] has attempted to punch [src]!</B>")
|
||||
visible_message("<span class='danger'>[H] has attempted to punch [src]!</span>")
|
||||
return 0
|
||||
var/obj/item/organ/external/affecting = get_organ(ran_zone(H.zone_sel.selecting))
|
||||
var/armor_block = run_armor_check(affecting, "melee")
|
||||
@@ -83,11 +83,11 @@
|
||||
|
||||
playsound(loc, "punch", 25, 1, -1)
|
||||
|
||||
visible_message("\red <B>[H] has punched [src]!</B>")
|
||||
visible_message("<span class='danger'>[H] has punched [src]!</span>")
|
||||
|
||||
apply_damage(damage, HALLOSS, affecting, armor_block)
|
||||
if(damage >= 9)
|
||||
visible_message("\red <B>[H] has weakened [src]!</B>")
|
||||
visible_message("<span class='danger'>[H] has weakened [src]!</span>")
|
||||
apply_effect(4, WEAKEN, armor_block)
|
||||
|
||||
return
|
||||
@@ -328,7 +328,7 @@
|
||||
if(randn <= 60)
|
||||
if(H.gloves && istype(H.gloves,/obj/item/clothing/gloves/force))
|
||||
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
visible_message("\red <B>[M] shoves, sending [src] flying!</B>")
|
||||
visible_message("<span class='danger'>[M] shoves, sending [src] flying!</span>")
|
||||
step_away(src,M,15)
|
||||
sleep(1)
|
||||
step_away(src,M,15)
|
||||
@@ -354,7 +354,7 @@
|
||||
return
|
||||
|
||||
playsound(loc, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
visible_message("\red <B>[M] attempted to disarm [src]!</B>")
|
||||
visible_message("<span class='danger'>[M] attempted to disarm [src]!</span>")
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/afterattack(atom/target as mob|obj|turf|area, mob/living/user as mob|obj, inrange, params)
|
||||
|
||||
@@ -162,7 +162,7 @@ emp_act
|
||||
if(user == src) // Attacking yourself can't miss
|
||||
target_zone = user.zone_sel.selecting
|
||||
if(!target_zone)
|
||||
visible_message("\red <b>[user] misses [src] with \the [I]!</b>")
|
||||
visible_message("<span class='danger'>[user] misses [src] with \the [I]!</span>")
|
||||
return 0
|
||||
|
||||
//var/obj/item/organ/external/affecting = get_organ(target_zone)
|
||||
@@ -324,7 +324,7 @@ emp_act
|
||||
var/obj/item/organ/external/affecting = get_organ(zone)
|
||||
var/hit_area = affecting.name
|
||||
|
||||
src.visible_message("\red [src] has been hit in the [hit_area] by [O].")
|
||||
src.visible_message("<span class='warning'>[src] has been hit in the [hit_area] by [O].</span>")
|
||||
var/armor = run_armor_check(affecting, "melee", O.armor_penetration, "Your armor has protected your [hit_area].", "Your armor has softened hit to your [hit_area].") //I guess "melee" is the best fit here
|
||||
|
||||
if(armor < 2)
|
||||
@@ -367,7 +367,7 @@ emp_act
|
||||
if(O.throw_source && momentum >= THROWNOBJ_KNOCKBACK_SPEED)
|
||||
var/dir = get_dir(O.throw_source, src)
|
||||
|
||||
visible_message("\red [src] staggers under the impact!","\red You stagger under the impact!")
|
||||
visible_message("<span class='warning'>[src] staggers under the impact!</span>","<span class='warning'> You stagger under the impact!</span>")
|
||||
src.throw_at(get_edge_target_turf(src,dir),1,momentum)
|
||||
|
||||
if(!O || !src) return
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("\red <B>[] [failed ? "tried to tackle" : "has tackled"] down []!</B>", src, T), 1)
|
||||
O.show_message(text("<span class='danger'>[] [failed ? "tried to tackle" : "has tackled"] down []!</span>", src, T), 1)
|
||||
|
||||
/mob/living/carbon/human/proc/leap()
|
||||
set category = "Abilities"
|
||||
@@ -131,16 +131,16 @@
|
||||
return
|
||||
|
||||
if(stat || paralysis || stunned || weakened || lying)
|
||||
src << "\red You cannot do that in your current state."
|
||||
src << "<span class='warning'>You cannot do that in your current state.</span>"
|
||||
return
|
||||
|
||||
var/obj/item/weapon/grab/G = locate() in src
|
||||
if(!G || !istype(G))
|
||||
src << "\red You are not grabbing anyone."
|
||||
src << "<span class='warning'>You are not grabbing anyone.</span>"
|
||||
return
|
||||
|
||||
if(G.state < GRAB_AGGRESSIVE)
|
||||
src << "\red You must have an aggressive grab to gut your prey!"
|
||||
src << "<span class='warning'>You must have an aggressive grab to gut your prey!</span>"
|
||||
return
|
||||
|
||||
last_special = world.time + 50
|
||||
@@ -187,12 +187,12 @@
|
||||
|
||||
log_say("[key_name(src)] communed to [key_name(M)]: [text]",ckey=key_name(src))
|
||||
|
||||
M << "\blue Like lead slabs crashing into the ocean, alien thoughts drop into your mind: [text]"
|
||||
M << "<span class='notice'>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
|
||||
H << "\red Your nose begins to bleed..."
|
||||
H << "<span class='warning'>Your nose begins to bleed...</span>"
|
||||
H.drip(1)
|
||||
|
||||
/mob/living/carbon/human/proc/regurgitate()
|
||||
@@ -230,7 +230,7 @@
|
||||
return
|
||||
|
||||
if(stat || paralysis || stunned || weakened || lying)
|
||||
src << "<span class='warning'> You cannot do that in your current state.</span>"
|
||||
src << "<span class='warning'>You cannot do that in your current state.</span>"
|
||||
return
|
||||
|
||||
var/obj/item/weapon/grab/G = locate() in src
|
||||
@@ -426,15 +426,15 @@
|
||||
log_say("[key_name(src)] issued a hivenet order to [key_name(M)]: [text]",ckey=key_name(src))
|
||||
|
||||
if(istype(M, /mob/living/carbon/human) && isvaurca(M))
|
||||
M << "<span class='danger'> You feel a buzzing in the back of your head, and your mind fills with the authority of [src.real_name], your ruler:</span>"
|
||||
M << "<span class='danger'>You feel a buzzing in the back of your head, and your mind fills with the authority of [src.real_name], your ruler:</span>"
|
||||
M << "<span class='notice'> [text]</span>"
|
||||
else
|
||||
M << "<span class='danger'> Like lead slabs crashing into the ocean, alien thoughts drop into your mind: [text]</span>"
|
||||
M << "<span class='danger'>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
|
||||
H << "<span class='danger'> Your nose begins to bleed...</span>"
|
||||
H << "<span class='danger'>Your nose begins to bleed...</span>"
|
||||
H.drip(1)
|
||||
|
||||
/mob/living/carbon/human/proc/quillboar(mob/target as mob in oview())
|
||||
|
||||
@@ -19,7 +19,7 @@ This saves us from having to call add_fingerprint() any time something is put in
|
||||
else
|
||||
update_inv_r_hand(0)
|
||||
else
|
||||
H << "\red You are unable to equip that."
|
||||
H << "<span class='warning'>You are unable to equip that.</span>"
|
||||
|
||||
/mob/living/carbon/human/proc/equip_in_one_of_slots(obj/item/W, list/slots, del_on_fail = 1)
|
||||
for (var/slot in slots)
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
|
||||
if (disabilities & EPILEPSY)
|
||||
if ((prob(1) && paralysis < 1))
|
||||
src << "\red You have a seizure!"
|
||||
src << "<span class='warning'>You have a seizure!</span>"
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if(O == src)
|
||||
continue
|
||||
|
||||
@@ -48,11 +48,11 @@ var/const/MAX_ACTIVE_TIME = 400
|
||||
..(user)
|
||||
switch(stat)
|
||||
if(DEAD,UNCONSCIOUS)
|
||||
user << "\red \b [src] is not moving."
|
||||
user << "<span class='danger'>[src] is not moving.</span>"
|
||||
if(CONSCIOUS)
|
||||
user << "\red \b [src] seems to be active."
|
||||
user << "<span class='danger'>[src] seems to be active.</span>"
|
||||
if (sterile)
|
||||
user << "\red \b It looks like the proboscis has been removed."
|
||||
user << "<span class='danger'>It looks like the proboscis has been removed.</span>"
|
||||
return
|
||||
|
||||
/obj/item/clothing/mask/facehugger/attackby(obj/item/I, mob/user)
|
||||
@@ -126,13 +126,13 @@ var/const/MAX_ACTIVE_TIME = 400
|
||||
if(stat != CONSCIOUS) return
|
||||
if(!sterile) L.take_organ_damage(strength,0) //done here so that even borgs and humans in helmets take damage
|
||||
|
||||
L.visible_message("\red \b [src] leaps at [L]'s face!")
|
||||
L.visible_message("<span class='danger'>[src] leaps at [L]'s face!</span>")
|
||||
|
||||
|
||||
if(ishuman(L))
|
||||
var/mob/living/carbon/human/H = L
|
||||
if(H.head && H.head.flags & HEADCOVERSMOUTH)
|
||||
H.visible_message("\red \b [src] smashes against [H]'s [H.head]!")
|
||||
H.visible_message("<span class='danger'>[src] smashes against [H]'s [H.head]!</span>")
|
||||
Die()
|
||||
return
|
||||
|
||||
@@ -146,7 +146,7 @@ var/const/MAX_ACTIVE_TIME = 400
|
||||
if(!W.canremove) return
|
||||
target.drop_from_inventory(W)
|
||||
|
||||
target.visible_message("\red \b [src] tears [W] off of [target]'s face!")
|
||||
target.visible_message("<span class='danger'>[src] tears [W] off of [target]'s face!</span>")
|
||||
|
||||
target.equip_to_slot(src, slot_wear_mask)
|
||||
target.contents += src // Monkey sanity check - Snapshot
|
||||
@@ -175,7 +175,7 @@ var/const/MAX_ACTIVE_TIME = 400
|
||||
new /obj/item/alien_embryo(target)
|
||||
target.status_flags |= XENO_HOST
|
||||
|
||||
target.visible_message("\red \b [src] falls limp after violating [target]'s face!")
|
||||
target.visible_message("<span class='danger'>[src] falls limp after violating [target]'s face!</span>")
|
||||
|
||||
Die()
|
||||
icon_state = "[initial(icon_state)]_impregnated"
|
||||
@@ -185,7 +185,7 @@ var/const/MAX_ACTIVE_TIME = 400
|
||||
src.loc = get_turf(C)
|
||||
C.facehugger = null
|
||||
else
|
||||
target.visible_message("\red \b [src] violates [target]'s face!")
|
||||
target.visible_message("<span class='danger'>[src] violates [target]'s face!</span>")
|
||||
return
|
||||
|
||||
/obj/item/clothing/mask/facehugger/proc/GoActive()
|
||||
@@ -219,7 +219,7 @@ var/const/MAX_ACTIVE_TIME = 400
|
||||
icon_state = "[initial(icon_state)]_dead"
|
||||
stat = DEAD
|
||||
|
||||
src.visible_message("\red \b[src] curls up into a ball!")
|
||||
src.visible_message("<span class='danger'>[src] curls up into a ball!</span>")
|
||||
|
||||
return
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
return
|
||||
|
||||
if(P.stored_plasma < cost)
|
||||
src << "\red You don't have enough phoron stored to do that."
|
||||
src << "<span class='warning'>You don't have enough phoron stored to do that.</span>"
|
||||
return 0
|
||||
|
||||
if(needs_foundation)
|
||||
@@ -46,7 +46,7 @@
|
||||
if(!(istype(T,/turf/space)))
|
||||
has_foundation = 1
|
||||
if(!has_foundation)
|
||||
src << "\red You need a solid foundation to do that on."
|
||||
src << "<span class='warning'>You need a solid foundation to do that on.</span>"
|
||||
return 0
|
||||
|
||||
P.stored_plasma -= cost
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
var/alt_name = ""
|
||||
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
usr << "\red Speech is currently admin-disabled."
|
||||
usr << "<span class='warning'>Speech is currently admin-disabled.</span>"
|
||||
return
|
||||
|
||||
message = sanitize(message)
|
||||
|
||||
if (src.client)
|
||||
if (src.client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot whisper (muted)."
|
||||
src << "<span class='warning'>You cannot whisper (muted).</span>"
|
||||
return
|
||||
|
||||
if (src.client.handle_spam_prevention(message,MUTE_IC))
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
return
|
||||
if (src.client)
|
||||
if (client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot send IC messages (muted)."
|
||||
src << "<span class='warning'>You cannot send IC messages (muted).</span>"
|
||||
return
|
||||
if (stat)
|
||||
return
|
||||
@@ -86,7 +86,7 @@
|
||||
src << "Help for slime emotes. You can use these emotes with say \"*emote\":\n\nbounce, custom, jiggle, light, moan, shiver, sway, twitch, vibrate. You can also set your face with: \n\nnomood, pout, sad, angry, frown, smile"
|
||||
|
||||
else
|
||||
src << "\blue Unusable emote '[act]'. Say *help for a list."
|
||||
src << "<span class='notice'>Unusable emote '[act]'. Say *help for a list.</span>"
|
||||
if ((message && src.stat == 0))
|
||||
send_emote(message, m_type)
|
||||
if(updateicon)
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
attackby(obj/item/O as obj, mob/user as mob)
|
||||
if(istype(O, /obj/item/weapon/slimesteroid2))
|
||||
if(enhanced == 1)
|
||||
user << "<span class='warning'> This extract has already been enhanced!</span>"
|
||||
user << "<span class='warning'>This extract has already been enhanced!</span>"
|
||||
return ..()
|
||||
if(Uses == 0)
|
||||
user << "<span class='warning'> You can't enhance a used extract!</span>"
|
||||
user << "<span class='warning'>You can't enhance a used extract!</span>"
|
||||
return ..()
|
||||
user <<"You apply the enhancer. It now has triple the amount of uses."
|
||||
Uses = 3
|
||||
@@ -129,16 +129,16 @@
|
||||
|
||||
attack(mob/living/carbon/slime/M as mob, mob/user as mob)
|
||||
if(!istype(M, /mob/living/carbon/slime))//If target is not a slime.
|
||||
user << "<span class='warning'> The potion only works on baby slimes!</span>"
|
||||
user << "<span class='warning'>The potion only works on baby slimes!</span>"
|
||||
return ..()
|
||||
if(M.is_adult) //Can't tame adults
|
||||
user << "<span class='warning'> Only baby slimes can be tamed!</span>"
|
||||
user << "<span class='warning'>Only baby slimes can be tamed!</span>"
|
||||
return..()
|
||||
if(M.stat)
|
||||
user << "<span class='warning'> The slime is dead!</span>"
|
||||
user << "<span class='warning'>The slime is dead!</span>"
|
||||
return..()
|
||||
if(M.mind)
|
||||
user << "<span class='warning'> The slime resists!</span>"
|
||||
user << "<span class='warning'>The slime resists!</span>"
|
||||
return ..()
|
||||
var/mob/living/simple_animal/slime/pet = new /mob/living/simple_animal/slime(M.loc)
|
||||
pet.icon_state = "[M.colour] baby slime"
|
||||
@@ -163,13 +163,13 @@
|
||||
|
||||
attack(mob/living/carbon/slime/M as mob, mob/user as mob)
|
||||
if(!istype(M, /mob/living/carbon/slime/))//If target is not a slime.
|
||||
user << "<span class='warning'> The potion only works on slimes!</span>"
|
||||
user << "<span class='warning'>The potion only works on slimes!</span>"
|
||||
return ..()
|
||||
if(M.stat)
|
||||
user << "<span class='warning'> The slime is dead!</span>"
|
||||
user << "<span class='warning'>The slime is dead!</span>"
|
||||
return..()
|
||||
if(M.mind)
|
||||
user << "<span class='warning'> The slime resists!</span>"
|
||||
user << "<span class='warning'>The slime resists!</span>"
|
||||
return ..()
|
||||
var/mob/living/simple_animal/adultslime/pet = new /mob/living/simple_animal/adultslime(M.loc)
|
||||
pet.icon_state = "[M.colour] adult slime"
|
||||
@@ -195,16 +195,16 @@
|
||||
|
||||
attack(mob/living/carbon/slime/M as mob, mob/user as mob)
|
||||
if(!istype(M, /mob/living/carbon/slime))//If target is not a slime.
|
||||
user << "<span class='warning'> The steroid only works on baby slimes!</span>"
|
||||
user << "<span class='warning'>The steroid only works on baby slimes!</span>"
|
||||
return ..()
|
||||
if(M.is_adult) //Can't tame adults
|
||||
user << "<span class='warning'> Only baby slimes can use the steroid!</span>"
|
||||
user << "<span class='warning'>Only baby slimes can use the steroid!</span>"
|
||||
return..()
|
||||
if(M.stat)
|
||||
user << "<span class='warning'> The slime is dead!</span>"
|
||||
user << "<span class='warning'>The slime is dead!</span>"
|
||||
return..()
|
||||
if(M.cores == 3)
|
||||
user <<"<span class='warning'> The slime already has the maximum amount of extract!</span>"
|
||||
user <<"<span class='warning'>The slime already has the maximum amount of extract!</span>"
|
||||
return..()
|
||||
|
||||
user <<"You feed the slime the steroid. It now has triple the amount of extract."
|
||||
@@ -220,10 +220,10 @@
|
||||
/*afterattack(obj/target, mob/user , flag)
|
||||
if(istype(target, /obj/item/slime_extract))
|
||||
if(target.enhanced == 1)
|
||||
user << "<span class='warning'> This extract has already been enhanced!</span>"
|
||||
user << "<span class='warning'>This extract has already been enhanced!</span>"
|
||||
return ..()
|
||||
if(target.Uses == 0)
|
||||
user << "<span class='warning'> You can't enhance a used extract!</span>"
|
||||
user << "<span class='warning'>You can't enhance a used extract!</span>"
|
||||
return ..()
|
||||
user <<"You apply the enhancer. It now has triple the amount of uses."
|
||||
target.Uses = 3
|
||||
|
||||
@@ -215,7 +215,7 @@
|
||||
playsound(loc, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
|
||||
else
|
||||
visible_message("<span class='warning'> [M] manages to wrestle \the [name] off!</span>")
|
||||
visible_message("<span class='warning'>[M] manages to wrestle \the [name] off!</span>")
|
||||
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
|
||||
if(prob(90) && !client)
|
||||
@@ -237,7 +237,7 @@
|
||||
playsound(loc, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
|
||||
|
||||
else
|
||||
visible_message("<span class='warning'> [M] manages to wrestle \the [name] off of [Victim]!</span>")
|
||||
visible_message("<span class='warning'>[M] manages to wrestle \the [name] off of [Victim]!</span>")
|
||||
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
|
||||
if(prob(80) && !client)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
face_atom(victim)
|
||||
|
||||
if (victim == src)
|
||||
src << "\red You can't eat yourself!"
|
||||
src << "<span class='warning'>You can't eat yourself!</span>"
|
||||
return 0
|
||||
|
||||
if (devouring == victim)
|
||||
@@ -57,19 +57,19 @@
|
||||
//Nymphs have seperate mechanics for gaining biomass from other diona
|
||||
//This check prevents the exploit of almost-devouring a nymph, and then absorbing it to gain double biomass
|
||||
if (victim.is_diona() && src.is_diona())
|
||||
src << "\red You can't eat other diona!"
|
||||
src << "<span class='warning'>You can't eat other diona!</span>"
|
||||
return 0
|
||||
|
||||
if (!src.Adjacent(victim))
|
||||
src << "\red That creature is too far away, move closer!"
|
||||
src << "<span class='warning'>That creature is too far away, move closer!</span>"
|
||||
return 0
|
||||
|
||||
if (!is_valid_for_devour(victim, eat_types))
|
||||
src << "\red You can't eat that type of creature!"
|
||||
src << "<span class='warning'>You can't eat that type of creature!</span>"
|
||||
return 0
|
||||
|
||||
if (!victim.mob_size || !src.mob_size)
|
||||
src << "<span class='danger'> Error, no mob size defined for [victim.type]! You have encountered a bug, report it on github </span>"
|
||||
src << "<span class='danger'>Error, no mob size defined for [victim.type]! You have encountered a bug, report it on github </span>"
|
||||
return 0
|
||||
|
||||
if (!mouth_size)
|
||||
|
||||
@@ -161,7 +161,7 @@ default behaviour is:
|
||||
if ((src.health < 0 && src.health > -95.0))
|
||||
src.adjustOxyLoss(src.health + 200)
|
||||
src.health = 100 - src.getOxyLoss() - src.getToxLoss() - src.getFireLoss() - src.getBruteLoss()
|
||||
src << "\blue You have given up life and succumbed to death."
|
||||
src << "<span class='notice'>You have given up life and succumbed to death.</span>"
|
||||
|
||||
|
||||
/mob/living/proc/updatehealth()
|
||||
@@ -540,7 +540,7 @@ default behaviour is:
|
||||
var/obj/item/weapon/grab/G = pick(M.grabbed_by)
|
||||
if (istype(G, /obj/item/weapon/grab))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
O.show_message(text("\red [] has been pulled from []'s grip by []", G.affecting, G.assailant, src), 1)
|
||||
O.show_message(text("<span class='warning'>[] has been pulled from []'s grip by []</span>", G.affecting, G.assailant, src), 1)
|
||||
//G = null
|
||||
qdel(G)
|
||||
else
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
if(C && C.active)
|
||||
C.attack_self(src)//Should shut it off
|
||||
update_icons()
|
||||
src << "\blue Your [C.name] was disrupted!"
|
||||
src << "<span class='notice'>Your [C.name] was disrupted!</span>"
|
||||
Stun(2)
|
||||
|
||||
//Being hit while using a deadman switch
|
||||
@@ -67,13 +67,13 @@
|
||||
var/obj/item/device/assembly/signaler/signaler = get_active_hand()
|
||||
if(signaler.deadman && prob(80))
|
||||
log_and_message_admins("has triggered a signaler deadman's switch")
|
||||
src.visible_message("\red [src] triggers their deadman's switch!")
|
||||
src.visible_message("<span class='warning'>[src] triggers their deadman's switch!</span>")
|
||||
signaler.signal()
|
||||
|
||||
//Stun Beams
|
||||
if(P.taser_effect)
|
||||
stun_effect_act(0, P.agony, def_zone, P)
|
||||
src <<"\red You have been hit by [P]!"
|
||||
src <<"<span class='warning'>You have been hit by [P]!</span>"
|
||||
qdel(P)
|
||||
return
|
||||
|
||||
@@ -163,10 +163,10 @@
|
||||
miss_chance = max(15*(distance-2), 0)
|
||||
|
||||
if (prob(miss_chance))
|
||||
visible_message("\blue \The [O] misses [src] narrowly!")
|
||||
visible_message("<span class='notice'>\The [O] misses [src] narrowly!</span>")
|
||||
return
|
||||
|
||||
src.visible_message("\red [src] has been hit by [O].")
|
||||
src.visible_message("<span class='warning'>[src] has been hit by [O].</span>")
|
||||
var/armor = run_armor_check(null, "melee")
|
||||
|
||||
if(armor < 2)
|
||||
@@ -193,7 +193,7 @@
|
||||
if(O.throw_source && momentum >= THROWNOBJ_KNOCKBACK_SPEED)
|
||||
var/dir = get_dir(O.throw_source, src)
|
||||
|
||||
visible_message("\red [src] staggers under the impact!","\red You stagger under the impact!")
|
||||
visible_message("<span class='warning'>[src] staggers under the impact!</span>","<span class='warning'>You stagger under the impact!</span>")
|
||||
src.throw_at(get_edge_target_turf(src,dir),1,momentum)
|
||||
|
||||
if(!O || !src) return
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
if (layer != 2.45)
|
||||
layer = 2.45 //Just above cables with their 2.44
|
||||
src << text("\blue You are now hiding.")
|
||||
src << text("<span class='notice'>You are now hiding.</span>")
|
||||
else
|
||||
layer = MOB_LAYER
|
||||
src << text("\blue You have stopped hiding.")
|
||||
src << text("<span class='notice'>You have stopped hiding.</span>")
|
||||
|
||||
/mob/living/proc/devour()
|
||||
set category = "Abilities"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
if (src.client)
|
||||
if(client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot speak in IC (muted)."
|
||||
src << "<span class='warning'>You cannot speak in IC (muted).</span>"
|
||||
return
|
||||
|
||||
if(istype(src.loc,/mob/living/parasite/meme))
|
||||
|
||||
@@ -133,7 +133,7 @@ proc/get_radio_key_from_channel(var/channel)
|
||||
|
||||
if(client)
|
||||
if(client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot speak in IC (Muted)."
|
||||
src << "<span class='warning'>You cannot speak in IC (Muted).</span>"
|
||||
return
|
||||
|
||||
if(stat)
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
if ("help")
|
||||
src << "salute, bow, clap, flap, aflap, twitch, twitch_s, nod, beep, ping, \nbuzz, law, halt"
|
||||
else
|
||||
src << "\blue Unusable emote '[act]'. Say *help for a list."
|
||||
src << "<span class='notice'>Unusable emote '[act]'. Say *help for a list.</span>"
|
||||
|
||||
if ((message && src.stat == 0))
|
||||
send_emote(message, m_type)
|
||||
|
||||
@@ -7,7 +7,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("\red The data cable rapidly retracts back into its spool.", 3, "\red You hear a click and the sound of wire spooling rapidly.", 2)
|
||||
M.show_message("<span class='warning'>The data cable rapidly retracts back into its spool.</span>", 3, "<span class='warning'>You hear a click and the sound of wire spooling rapidly.</span>", 2)
|
||||
qdel(src.cable)
|
||||
src.cable = null
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
if(prob(20))
|
||||
var/turf/T = get_turf_or_move(src.loc)
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("\red A shower of sparks spray from [src]'s inner workings.", 3, "\red You hear and smell the ozone hiss of electrical sparks being expelled violently.", 2)
|
||||
M.show_message("<span class='warning'>A shower of sparks spray from [src]'s inner workings.</span>", 3, "<span class='warning'>You hear and smell the ozone hiss of electrical sparks being expelled violently.</span>", 2)
|
||||
return src.death(0)
|
||||
|
||||
switch(pick(1,2,3))
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
/obj/item/device/robotanalyzer/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(( (CLUMSY in user.mutations) || user.getBrainLoss() >= 60) && prob(50))
|
||||
user << text("\red You try to analyze the floor's vitals!")
|
||||
user << text("<span class='warning'>You try to analyze the floor's vitals!</span>")
|
||||
for(var/mob/O in viewers(M, null))
|
||||
O.show_message(text("\red [user] has analyzed the floor's vitals!"), 1)
|
||||
user.show_message(text("\blue Analyzing Results for The floor:\n\t Overall Status: Healthy"), 1)
|
||||
user.show_message(text("\blue \t Damage Specifics: [0]-[0]-[0]-[0]"), 1)
|
||||
user.show_message("\blue Key: Suffocation/Toxin/Burns/Brute", 1)
|
||||
user.show_message("\blue Body Temperature: ???", 1)
|
||||
O.show_message(text("<span class='warning'>[user] has analyzed the floor's vitals!</span>"), 1)
|
||||
user.show_message(text("<span class='notice'>Analyzing Results for The floor:\n\t Overall Status: Healthy</span>"), 1)
|
||||
user.show_message(text("<span class='notice'>\t Damage Specifics: [0]-[0]-[0]-[0]</span>"), 1)
|
||||
user.show_message("<span class='notice'>Key: Suffocation/Toxin/Burns/Brute</span>", 1)
|
||||
user.show_message("<span class='notice'>Body Temperature: ???</span>", 1)
|
||||
return
|
||||
|
||||
var/scan_type
|
||||
@@ -33,7 +33,7 @@
|
||||
else if(istype(M, /mob/living/carbon/human))
|
||||
scan_type = "prosthetics"
|
||||
else
|
||||
user << "\red You can't analyze non-robotic things!"
|
||||
user << "<span class='warning'>You can't analyze non-robotic things!</span>"
|
||||
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>")
|
||||
@@ -41,17 +41,17 @@
|
||||
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("\blue Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "fully disabled" : "[M.health - M.halloss]% functional"]")
|
||||
user.show_message("<span class='notice'>Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "fully disabled" : "[M.health - M.halloss]% functional"]</span>")
|
||||
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>")
|
||||
if(M.tod && M.stat == DEAD)
|
||||
user.show_message("\blue Time of Disable: [M.tod]")
|
||||
user.show_message("<span class='notice'>Time of Disable: [M.tod]</span>")
|
||||
var/mob/living/silicon/robot/H = M
|
||||
var/list/damaged = H.get_damaged_components(1,1,1)
|
||||
user.show_message("\blue Localized Damage:",1)
|
||||
user.show_message("<span class='notice'>Localized Damage:</span>",1)
|
||||
if(length(damaged)>0)
|
||||
for(var/datum/robot_component/org in damaged)
|
||||
user.show_message(text("\blue \t []: [][] - [] - [] - []", \
|
||||
user.show_message(text("<span class='notice'>\t []: [][] - [] - [] - []</span>", \
|
||||
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, \
|
||||
@@ -59,10 +59,10 @@
|
||||
(org.toggled) ? "Toggled ON" : "<font color='red'>Toggled OFF</font>",\
|
||||
(org.powered) ? "Power ON" : "<font color='red'>Power OFF</font>"),1)
|
||||
else
|
||||
user.show_message("\blue \t Components are OK.",1)
|
||||
user.show_message("<span class='notice'>\t Components are OK.</span>",1)
|
||||
if(H.emagged && prob(5))
|
||||
user.show_message("\red \t ERROR: INTERNAL SYSTEMS COMPROMISED",1)
|
||||
user.show_message("\blue Operating Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)", 1)
|
||||
user.show_message("<span class='warning'>\t ERROR: INTERNAL SYSTEMS COMPROMISED</span>",1)
|
||||
user.show_message("<span class='notice'>Operating Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)</span>", 1)
|
||||
|
||||
if("prosthetics")
|
||||
var/mob/living/carbon/human/H = M
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
if ("help")
|
||||
src << "salute, bow-(none)/mob, clap, flap, aflap, twitch, twitch_s, nod, deathgasp, glare-(none)/mob, stare-(none)/mob, look, beep, ping, \nbuzz, law, halt"
|
||||
else
|
||||
src << "\blue Unusable emote '[act]'. Say *help for a list."
|
||||
src << "<span class='notice'>Unusable emote '[act]'. Say *help for a list.</span>"
|
||||
|
||||
if ((message && src.stat == 0))
|
||||
custom_emote(m_type,message)
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
src.has_power = 1
|
||||
else
|
||||
if (src.has_power)
|
||||
src << "\red You are now running on emergency backup power."
|
||||
src << "<span class='warning'>You are now running on emergency backup power.</span>"
|
||||
src.has_power = 0
|
||||
if(lights_on) // Light is on but there is no power!
|
||||
lights_on = 0
|
||||
|
||||
@@ -290,7 +290,7 @@
|
||||
var/list/modules = list()
|
||||
modules.Add(robot_module_types)
|
||||
if((crisis_override && security_level == SEC_LEVEL_RED) || security_level == SEC_LEVEL_DELTA) //no fun allowed anymore.
|
||||
src << "\red Crisis mode active. Combat module available."
|
||||
src << "<span class='warning'>Crisis mode active. Combat module available.</span>"
|
||||
modules+="Combat"
|
||||
modtype = input("Please, select a module!", "Robot", null, null) as null|anything in modules
|
||||
|
||||
@@ -450,11 +450,11 @@
|
||||
set name = "Self Diagnosis"
|
||||
|
||||
if(!is_component_functioning("diagnosis unit"))
|
||||
src << "\red Your self-diagnosis component isn't functioning."
|
||||
src << "<span class='warning'>Your self-diagnosis component isn't functioning.</span>"
|
||||
|
||||
var/datum/robot_component/CO = get_component("diagnosis unit")
|
||||
if (!cell_use_power(CO.active_usage))
|
||||
src << "\red Low Power."
|
||||
src << "<span class='warning'>Low Power.</span>"
|
||||
var/dat = self_diagnosis()
|
||||
src << browse(dat, "window=robotdiagnosis")
|
||||
|
||||
@@ -478,10 +478,10 @@
|
||||
var/datum/robot_component/C = components[toggle]
|
||||
if(C.toggled)
|
||||
C.toggled = 0
|
||||
src << "\red You disable [C.name]."
|
||||
src << "<span class='warning'>You disable [C.name].</span>"
|
||||
else
|
||||
C.toggled = 1
|
||||
src << "\red You enable [C.name]."
|
||||
src << "<span class='warning'>You enable [C.name].</span>"
|
||||
|
||||
/mob/living/silicon/robot/proc/update_robot_light()
|
||||
if(lights_on)
|
||||
@@ -554,7 +554,7 @@
|
||||
C.brute_damage = WC.brute
|
||||
C.electronics_damage = WC.burn
|
||||
|
||||
usr << "\blue You install the [W.name]."
|
||||
usr << "<span class='notice'>You install the [W.name].</span>"
|
||||
updateicon()
|
||||
return
|
||||
|
||||
@@ -613,7 +613,7 @@
|
||||
adjustFireLoss(-30)
|
||||
updatehealth()
|
||||
for(var/mob/O in viewers(user, null))
|
||||
O.show_message(text("\red [user] has fixed some of the burnt wires on [src]!"), 1)
|
||||
O.show_message(text("<span class='warning'>[user] has fixed some of the burnt wires on [src]!</span>"), 1)
|
||||
|
||||
else if (istype(W, /obj/item/weapon/crowbar)) // crowbar means open or close the cover
|
||||
if(opened)
|
||||
@@ -739,7 +739,7 @@
|
||||
user << "You [ locked ? "lock" : "unlock"] [src]'s interface."
|
||||
updateicon()
|
||||
else
|
||||
user << "\red Access denied."
|
||||
user << "<span class='warning'>Access denied.</span>"
|
||||
|
||||
else if(istype(W, /obj/item/borg/upgrade/))
|
||||
var/obj/item/borg/upgrade/U = W
|
||||
@@ -849,7 +849,7 @@
|
||||
|
||||
/mob/living/silicon/robot/proc/installed_modules()
|
||||
if(weapon_lock)
|
||||
src << "\red Weapon lock active, unable to use modules! Count:[weaponlock_time]"
|
||||
src << "<span class='warning'>Weapon lock active, unable to use modules! Count:[weaponlock_time]</span>"
|
||||
return
|
||||
|
||||
if(!module)
|
||||
@@ -1002,7 +1002,7 @@
|
||||
cleaned_human.shoes.clean_blood()
|
||||
cleaned_human.update_inv_shoes(0)
|
||||
cleaned_human.clean_blood(1)
|
||||
cleaned_human << "\red [src] cleans your face!"
|
||||
cleaned_human << "<span class='warning'>[src] cleans your face!</span>"
|
||||
return
|
||||
|
||||
/mob/living/silicon/robot/proc/self_destruct()
|
||||
|
||||
@@ -78,11 +78,11 @@
|
||||
cell.charge -= cost
|
||||
if(cell.charge <= 0)
|
||||
cell.charge = 0
|
||||
src << "\red Your shield has overloaded!"
|
||||
src << "<span class='warning'>Your shield has overloaded!</span>"
|
||||
else
|
||||
brute -= absorb_brute
|
||||
burn -= absorb_burn
|
||||
src << "\red Your shield absorbs some of the impact!"
|
||||
src << "<span class='warning'>Your shield absorbs some of the impact!</span>"
|
||||
|
||||
if(!emp)
|
||||
var/datum/robot_component/armour/A = get_armour()
|
||||
@@ -124,11 +124,11 @@
|
||||
cell.charge -= cost
|
||||
if(cell.charge <= 0)
|
||||
cell.charge = 0
|
||||
src << "\red Your shield has overloaded!"
|
||||
src << "<span class='warning'>Your shield has overloaded!</span>"
|
||||
else
|
||||
brute -= absorb_brute
|
||||
burn -= absorb_burn
|
||||
src << "\red Your shield absorbs some of the impact!"
|
||||
src << "<span class='warning'>Your shield absorbs some of the impact!</span>"
|
||||
|
||||
var/datum/robot_component/armour/A = get_armour()
|
||||
if(A)
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
deploy_paper(get_turf(src))
|
||||
|
||||
/obj/item/weapon/form_printer/proc/deploy_paper(var/turf/T)
|
||||
T.visible_message("\blue \The [src.loc] dispenses a sheet of crisp white paper.")
|
||||
T.visible_message("<span class='notice'>\The [src.loc] dispenses a sheet of crisp white paper.</span>")
|
||||
new /obj/item/weapon/paper(T)
|
||||
|
||||
|
||||
|
||||
@@ -44,13 +44,13 @@
|
||||
strength -= 1
|
||||
if (strength <= 0)
|
||||
if (prob(35))//probability to reduce spam
|
||||
src.visible_message("\red The bee swarm completely dissipates.")
|
||||
src.visible_message("<span class='warning'>The bee swarm completely dissipates.</span>")
|
||||
qdel(src)
|
||||
return
|
||||
else
|
||||
health = maxHealth
|
||||
if (prob(35))//probability to reduce spam
|
||||
src.visible_message("\red The bee swarm starts to thin out a little.")
|
||||
src.visible_message("<span class='warning'>The bee swarm starts to thin out a little.</span>")
|
||||
|
||||
update_icons()
|
||||
else
|
||||
@@ -88,7 +88,7 @@
|
||||
if( prob(sting_prob*prob_mult) && (M.stat == CONSCIOUS || (M.stat == UNCONSCIOUS && prob(25*prob_mult))) ) // Try to sting! If you're not moving, think about stinging.
|
||||
M.apply_damage(min(strength*0.85,2)+mut, BURN, sharp=1) // Stinging. The more mutated I am, the harder I sting.
|
||||
M.apply_damage(max(strength*1.7,(round(feral/10,1)*(max((round(strength/20,1)),1)))+toxic), TOX) // Bee venom based on how angry I am and how many there are of me!
|
||||
M << "\red You have been stung!"
|
||||
M << "<span class='warning'>You have been stung!</span>"
|
||||
M.flash_pain()
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
|
||||
//make some noise
|
||||
if(prob(3))
|
||||
src.visible_message("\blue [pick("Buzzzz.","Hmmmmm.","Bzzz.")]")
|
||||
src.visible_message("<span class='notice'>[pick("Buzzzz.","Hmmmmm.","Bzzz.")]</span>")
|
||||
playsound(src.loc, pick('sound/effects/Buzz1.ogg','sound/effects/Buzz2.ogg'), 15, 1,-4)
|
||||
|
||||
var/calming = 0
|
||||
@@ -141,7 +141,7 @@
|
||||
|
||||
if(calming)
|
||||
if(feral > 0)
|
||||
src.visible_message("\blue The bees calm down!")
|
||||
src.visible_message("<span class='notice'>The bees calm down!</span>")
|
||||
feral = -15
|
||||
target_mob = null
|
||||
target_turf = null
|
||||
@@ -201,7 +201,7 @@
|
||||
if (!(DirBlocked(get_step(src, get_dir(src,target_turf)),get_dir(src,target_turf)))) // Check for windows and doors!
|
||||
Move(get_step(src, get_dir(src,target_turf)))
|
||||
if (prob(10))
|
||||
src.visible_message("\blue The bees swarm after [target_mob]!")
|
||||
src.visible_message("<span class='notice'>The bees swarm after [target_mob]!</span>")
|
||||
if(src.loc == target_turf)
|
||||
target_turf = null
|
||||
wander = 1
|
||||
|
||||
@@ -62,16 +62,16 @@
|
||||
if(host.reagents.has_reagent("sugar"))
|
||||
if(!docile)
|
||||
if(controlling)
|
||||
host << "\blue You feel the soporific flow of sugar in your host's blood, lulling you into docility."
|
||||
host << "<span class='notice'>You feel the soporific flow of sugar in your host's blood, lulling you into docility.</span>"
|
||||
else
|
||||
src << "\blue You feel the soporific flow of sugar in your host's blood, lulling you into docility."
|
||||
src << "<span class='notice'>You feel the soporific flow of sugar in your host's blood, lulling you into docility.</span>"
|
||||
docile = 1
|
||||
else
|
||||
if(docile)
|
||||
if(controlling)
|
||||
host << "\blue You shake off your lethargy as the sugar leaves your host's blood."
|
||||
host << "<span class='notice'>You shake off your lethargy as the sugar leaves your host's blood.</span>"
|
||||
else
|
||||
src << "\blue You shake off your lethargy as the sugar leaves your host's blood."
|
||||
src << "<span class='notice'>You shake off your lethargy as the sugar leaves your host's blood.</span>"
|
||||
docile = 0
|
||||
|
||||
if(chemicals < 250)
|
||||
@@ -79,7 +79,7 @@
|
||||
if(controlling)
|
||||
|
||||
if(docile)
|
||||
host << "\blue You are feeling far too docile to continue controlling your host..."
|
||||
host << "<span class='notice'>You are feeling far too docile to continue controlling your host...</span>"
|
||||
host.release_control()
|
||||
return
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
if (src.client)
|
||||
if(client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot speak in IC (muted)."
|
||||
src << "<span class='danger'>You cannot speak in IC (muted).</span>"
|
||||
return
|
||||
|
||||
if(istype(src.loc,/mob/living/simple_animal/borer))
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
src << "You cannot leave your host in your current state."
|
||||
|
||||
if(docile)
|
||||
src << "\blue You are feeling far too docile to do that."
|
||||
src << "<span class='notice'>You are feeling far too docile to do that.</span>"
|
||||
return
|
||||
|
||||
if(!host || !src) return
|
||||
@@ -144,7 +144,7 @@
|
||||
src << "You cannot do that in your current state."
|
||||
|
||||
if(docile)
|
||||
src << "\blue You are feeling far too docile to do that."
|
||||
src << "<span class='notice'>You are feeling far too docile to do that.</span>"
|
||||
return
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
src << "You cannot secrete chemicals in your current state."
|
||||
|
||||
if(docile)
|
||||
src << "\blue You are feeling far too docile to do that."
|
||||
src << "<span class='notice'>You are feeling far too docile to do that.</span>"
|
||||
return
|
||||
|
||||
if(chemicals < 50)
|
||||
@@ -223,7 +223,7 @@
|
||||
if(!chem || chemicals < 50 || !host || controlling || !src || stat) //Sanity check.
|
||||
return
|
||||
|
||||
src << "\red <B>You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.</B>"
|
||||
src << "<span class='danger'>You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.</span>"
|
||||
host.reagents.add_reagent(chem, 10)
|
||||
chemicals -= 50
|
||||
|
||||
@@ -261,8 +261,8 @@
|
||||
src << "You cannot infest someone who is already infested!"
|
||||
return
|
||||
|
||||
src << "\red You focus your psychic lance on [M] and freeze their limbs with a wave of terrible dread."
|
||||
M << "\red You feel a creeping, horrible sense of dread come over you, freezing your limbs and setting your heart racing."
|
||||
src << "<span class='warning'>You focus your psychic lance on [M] and freeze their limbs with a wave of terrible dread.</span>"
|
||||
M << "<span class='warning'>You feel a creeping, horrible sense of dread come over you, freezing your limbs and setting your heart racing.</span>"
|
||||
M.Weaken(10)
|
||||
|
||||
used_dominate = world.time
|
||||
@@ -281,7 +281,7 @@
|
||||
return
|
||||
|
||||
if(docile)
|
||||
src << "\blue You are feeling far too docile to do that."
|
||||
src << "<span class='notice'>You are feeling far too docile to do that.</span>"
|
||||
return
|
||||
|
||||
src << "You begin delicately adjusting your connection to the host brain..."
|
||||
@@ -292,8 +292,8 @@
|
||||
return
|
||||
else
|
||||
|
||||
src << "\red <B>You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system.</B>"
|
||||
host << "\red <B>You feel a strange shifting sensation behind your eyes as an alien consciousness displaces yours.</B>"
|
||||
src << "<span class='danger'>You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system.</span>"
|
||||
host << "<span class='danger'>You feel a strange shifting sensation behind your eyes as an alien consciousness displaces yours.</span>"
|
||||
host.add_language("Cortical Link")
|
||||
|
||||
// host -> brain
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
if (src.client)
|
||||
if(client.prefs.muted & MUTE_IC)
|
||||
src << "\red You cannot speak in IC (muted)."
|
||||
src << "<span class='danger'>You cannot speak in IC (muted).</span>"
|
||||
return
|
||||
|
||||
if (copytext(message, 1, 2) == "*")
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
if(!stat)
|
||||
for(var/mob/M in viewers(user, null))
|
||||
if ((M.client && !( M.blinded )))
|
||||
M.show_message("\blue [user] baps [name] on the nose with the rolled up [O]")
|
||||
M.show_message("<span class='notice'>[user] baps [name] on the nose with the rolled up [O]</span>")
|
||||
scan_interval = max_scan_interval//discipline your dog to make it stop stealing food for a while
|
||||
movement_target = null
|
||||
foodtarget = 0
|
||||
@@ -115,7 +115,7 @@
|
||||
//pupplies cannot wear anything.
|
||||
/mob/living/simple_animal/corgi/puppy/Topic(href, href_list)
|
||||
if(href_list["remove_inv"] || href_list["add_inv"])
|
||||
usr << "\red You can't fit this on [src]"
|
||||
usr << "<span class='warning'>You can't fit this on [src]</span>"
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
//Lisa already has a cute bow!
|
||||
/mob/living/simple_animal/corgi/Lisa/Topic(href, href_list)
|
||||
if(href_list["remove_inv"] || href_list["add_inv"])
|
||||
usr << "\red [src] already has a cute bow!"
|
||||
usr << "<span class='warning'>[src] already has a cute bow!</span>"
|
||||
return
|
||||
..()
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
if(enemies.len && prob(10))
|
||||
enemies = list()
|
||||
LoseTarget()
|
||||
src.visible_message("\blue [src] calms down.")
|
||||
src.visible_message("<span class='notice'>[src] calms down.</span>")
|
||||
|
||||
if(stat == CONSCIOUS)
|
||||
if(udder && prob(5))
|
||||
@@ -81,9 +81,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)
|
||||
user << "\red The [O] is full."
|
||||
user << "<span class='warning'>The [O] is full.</span>"
|
||||
if(!transfered)
|
||||
user << "\red The udder is dry. Wait a bit longer..."
|
||||
user << "<span class='warning'>The udder is dry. Wait a bit longer...</span>"
|
||||
else
|
||||
..()
|
||||
//cow
|
||||
@@ -124,9 +124,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)
|
||||
user << "\red The [O] is full."
|
||||
user << "<span class='warning'>The [O] is full.</span>"
|
||||
if(!transfered)
|
||||
user << "\red The udder is dry. Wait a bit longer..."
|
||||
user << "<span class='warning'>The udder is dry. Wait a bit longer...</span>"
|
||||
else
|
||||
..()
|
||||
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
squeals --
|
||||
log_say("[key_name(src)] squeals! ",ckey=key_name(src))
|
||||
else
|
||||
src << "\red Your hoarse mousey throat can't squeal just now, stop and take a breath!"
|
||||
src << "<span class='warning'>Your hoarse mousey throat can't squeal just now, stop and take a breath!</span>"
|
||||
|
||||
|
||||
//Wrapper verbs for the squeak functions
|
||||
@@ -225,7 +225,7 @@
|
||||
if( ishuman(AM) )
|
||||
if(!stat)
|
||||
var/mob/M = AM
|
||||
M << "\blue \icon[src] Squeek!"
|
||||
M << "<span class='notice'>\icon[src] Squeek!</span>"
|
||||
poke(1) //Wake up if stepped on
|
||||
if (prob(95))
|
||||
squeak(0)
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
return
|
||||
|
||||
if(!held_item)
|
||||
usr << "\red You have nothing to drop!"
|
||||
usr << "<span class='warning'>You have nothing to drop!</span>"
|
||||
return 0
|
||||
|
||||
if(istype(held_item, /obj/item/weapon/grenade))
|
||||
|
||||
@@ -77,12 +77,12 @@
|
||||
var/datum/effect/effect/system/smoke_spread/smoke = new /datum/effect/effect/system/smoke_spread()
|
||||
smoke.set_up(5, 0, src.loc)
|
||||
smoke.start()
|
||||
visible_message("\red <B>The [src] warps in!</B>")
|
||||
visible_message("<span class='danger'>The [src] warps in!</span>")
|
||||
playsound(src.loc, 'sound/effects/EMPulse.ogg', 25, 1)
|
||||
|
||||
warpbots()
|
||||
icon_state = "def_radar"
|
||||
visible_message("\red The [src] turns on!")
|
||||
visible_message("<span class='warning'>The [src] turns on!</span>")
|
||||
while(bot_amt > 0)
|
||||
bot_amt--
|
||||
switch(bot_type)
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/proc/OpenFire(target_mob)
|
||||
var/target = target_mob
|
||||
visible_message("\red <b>[src]</b> fires at [target]!", 1)
|
||||
visible_message("<span class='warning'> <b>[src]</b> fires at [target]!</span>", 1)
|
||||
|
||||
if(rapid)
|
||||
var/datum/callback/shoot_cb = CALLBACK(src, .proc/shoot_wrapper, target, loc, src)
|
||||
|
||||
@@ -65,13 +65,13 @@
|
||||
if (O.damtype == HALLOSS)
|
||||
damage = 0
|
||||
health -= damage
|
||||
visible_message("\red \b [src] has been attacked with the [O] by [user]. ")
|
||||
visible_message("<span class='danger'>[src] has been attacked with the [O] by [user].</span>")
|
||||
else
|
||||
visible_message("\red \b [src] blocks the [O] with its shield! ")
|
||||
visible_message("<span class='danger'>[src] blocks the [O] with its shield!</span>")
|
||||
//user.do_attack_animation(src)
|
||||
else
|
||||
usr << "\red This weapon is ineffective, it does no damage."
|
||||
visible_message("\red [user] gently taps [src] with the [O]. ")
|
||||
usr << "<span class='warning'>This weapon is ineffective, it does no damage.</span>"
|
||||
visible_message("<span class='warning'>[user] gently taps [src] with the [O].</span>")
|
||||
|
||||
|
||||
/mob/living/simple_animal/hostile/syndicate/melee/bullet_act(var/obj/item/projectile/Proj)
|
||||
@@ -79,7 +79,7 @@
|
||||
if(prob(65))
|
||||
src.health -= Proj.damage
|
||||
else
|
||||
visible_message("\red <B>[src] blocks [Proj] with its shield!</B>")
|
||||
visible_message("<span class='danger'>[src] blocks [Proj] with its shield!</span>")
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
@@ -159,19 +159,19 @@
|
||||
if(copytext(possible_phrase,1,3) in department_radio_keys)
|
||||
possible_phrase = copytext(possible_phrase,3,length(possible_phrase))
|
||||
else
|
||||
usr << "\red There is nothing to remove from its [remove_from]."
|
||||
usr << "<span class='warning'>There is nothing to remove from its [remove_from].</span>"
|
||||
return
|
||||
|
||||
//Adding things to inventory
|
||||
else if(href_list["add_inv"])
|
||||
var/add_to = href_list["add_inv"]
|
||||
if(!usr.get_active_hand())
|
||||
usr << "\red You have nothing in your hand to put on its [add_to]."
|
||||
usr << "<span class='warning'>You have nothing in your hand to put on its [add_to].</span>"
|
||||
return
|
||||
switch(add_to)
|
||||
if("ears")
|
||||
if(ears)
|
||||
usr << "\red It's already wearing something."
|
||||
usr << "<span class='warning'>It's already wearing something.</span>"
|
||||
return
|
||||
else
|
||||
var/obj/item/item_to_add = usr.get_active_hand()
|
||||
@@ -179,7 +179,7 @@
|
||||
return
|
||||
|
||||
if( !istype(item_to_add, /obj/item/device/radio/headset) )
|
||||
usr << "\red This object won't fit."
|
||||
usr << "<span class='warning'>This object won't fit.</span>"
|
||||
return
|
||||
|
||||
var/obj/item/device/radio/headset/headset_to_add = item_to_add
|
||||
@@ -408,7 +408,7 @@
|
||||
if(!parrot_perch || parrot_interest.loc != parrot_perch.loc)
|
||||
held_item = parrot_interest
|
||||
parrot_interest.loc = src
|
||||
visible_message("[src] grabs the [held_item]!", "\blue You grab the [held_item]!", "You hear the sounds of wings flapping furiously.")
|
||||
visible_message("[src] grabs the [held_item]!", "<span class='notice'>You grab the [held_item]!</span>", "You hear the sounds of wings flapping furiously.")
|
||||
|
||||
parrot_interest = null
|
||||
parrot_state = PARROT_SWOOP | PARROT_RETURN
|
||||
@@ -568,7 +568,7 @@
|
||||
return -1
|
||||
|
||||
if(held_item)
|
||||
src << "\red You are already holding the [held_item]"
|
||||
src << "<span class='warning'>You are already holding the [held_item]</span>"
|
||||
return 1
|
||||
|
||||
for(var/obj/item/I in view(1,src))
|
||||
@@ -581,10 +581,10 @@
|
||||
|
||||
held_item = I
|
||||
I.loc = src
|
||||
visible_message("[src] grabs the [held_item]!", "\blue You grab the [held_item]!", "You hear the sounds of wings flapping furiously.")
|
||||
visible_message("[src] grabs the [held_item]!", "<span class='notice'>You grab the [held_item]!</span>", "You hear the sounds of wings flapping furiously.")
|
||||
return held_item
|
||||
|
||||
src << "\red There is nothing of interest to take."
|
||||
src << "<span class='warning'>There is nothing of interest to take.</span>"
|
||||
return 0
|
||||
|
||||
/mob/living/simple_animal/parrot/proc/steal_from_mob()
|
||||
@@ -596,7 +596,7 @@
|
||||
return -1
|
||||
|
||||
if(held_item)
|
||||
src << "\red You are already holding the [held_item]"
|
||||
src << "<span class='warning'>You are already holding the [held_item]</span>"
|
||||
return 1
|
||||
|
||||
var/obj/item/stolen_item = null
|
||||
@@ -612,10 +612,10 @@
|
||||
C.remove_from_mob(stolen_item)
|
||||
held_item = stolen_item
|
||||
stolen_item.loc = src
|
||||
visible_message("[src] grabs the [held_item] out of [C]'s hand!", "\blue You snag the [held_item] out of [C]'s hand!", "You hear the sounds of wings flapping furiously.")
|
||||
visible_message("[src] grabs the [held_item] out of [C]'s hand!", "<span class='notice'>You snag the [held_item] out of [C]'s hand!</span>", "You hear the sounds of wings flapping furiously.")
|
||||
return held_item
|
||||
|
||||
src << "\red There is nothing of interest to take."
|
||||
src << "<span class='warning'>There is nothing of interest to take.</span>"
|
||||
return 0
|
||||
|
||||
/mob/living/simple_animal/parrot/verb/drop_held_item_player()
|
||||
@@ -639,7 +639,7 @@
|
||||
return -1
|
||||
|
||||
if(!held_item)
|
||||
usr << "\red You have nothing to drop!"
|
||||
usr << "<span class='warning'>You have nothing to drop!</span>"
|
||||
return 0
|
||||
|
||||
if(!drop_gently)
|
||||
@@ -672,7 +672,7 @@
|
||||
src.loc = AM.loc
|
||||
icon_state = "parrot_sit"
|
||||
return
|
||||
src << "\red There is no perch nearby to sit on."
|
||||
src << "<span class='warning'>There is no perch nearby to sit on.</span>"
|
||||
return
|
||||
|
||||
/*
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
new /obj/item/weapon/ectoplasm (src.loc)
|
||||
for(var/mob/M in viewers(src, null))
|
||||
if((M.client && !( M.blinded )))
|
||||
M.show_message("\red [src] lets out a contented sigh as their form unwinds. ")
|
||||
M.show_message("<span class='warning'>[src] lets out a contented sigh as their form unwinds.</span>")
|
||||
ghostize()
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
@@ -366,11 +366,11 @@ mob/living/simple_animal/bullet_act(var/obj/item/projectile/Proj)
|
||||
|
||||
if(I_HELP)
|
||||
if (health > 0)
|
||||
M.visible_message("\blue [M] [response_help] \the [src]")
|
||||
M.visible_message("<span class='notice'>[M] [response_help] \the [src]</span>")
|
||||
poke()
|
||||
|
||||
if(I_DISARM)
|
||||
M.visible_message("\blue [M] [response_disarm] \the [src]")
|
||||
M.visible_message("<span class='notice'>[M] [response_disarm] \the [src]</span>")
|
||||
M.do_attack_animation(src)
|
||||
poke(1)
|
||||
//TODO: Push the mob away or something
|
||||
@@ -392,13 +392,13 @@ mob/living/simple_animal/bullet_act(var/obj/item/projectile/Proj)
|
||||
G.affecting = src
|
||||
LAssailant = M
|
||||
|
||||
M.visible_message("\red [M] has grabbed [src] passively!")
|
||||
M.visible_message("<span class='warning'>[M] has grabbed [src] passively!</span>")
|
||||
M.do_attack_animation(src)
|
||||
poke(1)
|
||||
|
||||
if(I_HURT)
|
||||
apply_damage(harm_intent_damage, BRUTE, used_weapon = "Attack by [M.name]")
|
||||
M.visible_message("\red [M] [response_harm] \the [src]")
|
||||
M.visible_message("<span class='warning'>[M] [response_harm] \the [src]</span>")
|
||||
M.do_attack_animation(src)
|
||||
poke(1)
|
||||
|
||||
|
||||
@@ -429,9 +429,9 @@
|
||||
if (flavor_text && flavor_text != "")
|
||||
var/msg = replacetext(flavor_text, "\n", " ")
|
||||
if(lentext(msg) <= 40)
|
||||
return "\blue [msg]"
|
||||
return "<span class='notice'>[msg]</span>"
|
||||
else
|
||||
return "\blue [copytext_preserve_html(msg, 1, 37)]... <a href='byond://?src=\ref[src];flavor_more=1'>More...</a>"
|
||||
return "<span class='notice'>[copytext_preserve_html(msg, 1, 37)]... <a href='byond://?src=\ref[src];flavor_more=1'>More...</a></span>"
|
||||
|
||||
/*
|
||||
/mob/verb/help()
|
||||
@@ -505,7 +505,7 @@
|
||||
if(client.holder && (client.holder.rights & R_ADMIN))
|
||||
is_admin = 1
|
||||
else if(stat != DEAD || istype(src, /mob/new_player))
|
||||
usr << "\blue You must be observing to use this!"
|
||||
usr << "<span class='notice'>You must be observing to use this!</span>"
|
||||
return
|
||||
|
||||
if(is_admin && stat == DEAD)
|
||||
@@ -688,7 +688,7 @@
|
||||
if(ishuman(AM))
|
||||
var/mob/living/carbon/human/H = AM
|
||||
if(H.pull_damage())
|
||||
src << "\red <B>Pulling \the [H] in their current condition would probably be a bad idea.</B>"
|
||||
src << "<span class='danger'>Pulling \the [H] in their current condition would probably be a bad idea.</span>"
|
||||
|
||||
//Attempted fix for people flying away through space when cuffed and dragged.
|
||||
if(M)
|
||||
|
||||
@@ -55,17 +55,17 @@
|
||||
var/mob/living/carbon/C = usr
|
||||
C.toggle_throw_mode()
|
||||
else
|
||||
usr << "\red This mob type cannot throw items."
|
||||
usr << "<span class='warning'>This mob type cannot throw items.</span>"
|
||||
return
|
||||
if(NORTHWEST)
|
||||
if(iscarbon(usr))
|
||||
var/mob/living/carbon/C = usr
|
||||
if(!C.get_active_hand())
|
||||
usr << "\red You have nothing to drop in your hand."
|
||||
usr << "<span class='warning'>You have nothing to drop in your hand.</span>"
|
||||
return
|
||||
drop_item()
|
||||
else
|
||||
usr << "\red This mob type cannot drop items."
|
||||
usr << "<span class='warning'>This mob type cannot drop items.</span>"
|
||||
return
|
||||
|
||||
//This gets called when you press the delete button.
|
||||
@@ -73,7 +73,7 @@
|
||||
set hidden = 1
|
||||
|
||||
if(!usr.pulling)
|
||||
usr << "\blue You are not pulling anything."
|
||||
usr << "<span class='notice'>You are not pulling anything.</span>"
|
||||
return
|
||||
usr.stop_pulling()
|
||||
|
||||
@@ -254,13 +254,13 @@
|
||||
for(var/mob/M in range(mob, 1))
|
||||
if(M.pulling == mob)
|
||||
if(!M.restrained() && M.stat == 0 && M.canmove && mob.Adjacent(M))
|
||||
src << "\blue You're restrained! You can't move!"
|
||||
src << "<span class='notice'>You're restrained! You can't move!</span>"
|
||||
return 0
|
||||
else
|
||||
M.stop_pulling()
|
||||
|
||||
if(mob.pinned.len)
|
||||
src << "\blue You're pinned to a wall by [mob.pinned[1]]!"
|
||||
src << "<span class='notice'>You're pinned to a wall by [mob.pinned[1]]!</span>"
|
||||
return 0
|
||||
|
||||
move_delay = world.time - leftover//set move delay
|
||||
|
||||
@@ -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))
|
||||
usr << "\red cannot convert players who have not entered yet."
|
||||
usr << "<span class='warning'>cannot convert players who have not entered yet.</span>"
|
||||
return
|
||||
|
||||
if(!new_type)
|
||||
@@ -19,7 +19,7 @@
|
||||
return
|
||||
|
||||
if( new_type == /mob/new_player )
|
||||
usr << "\red cannot convert into a new_player mob type."
|
||||
usr << "<span class='warning'>cannot convert into a new_player mob type.</span>"
|
||||
return
|
||||
|
||||
var/mob/M
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
if(href_list["late_join"])
|
||||
|
||||
if(SSticker.current_state != GAME_STATE_PLAYING)
|
||||
usr << "\red The round is either not ready, or has already finished..."
|
||||
usr << "<span class='warning'>The round is either not ready, or has already finished...</span>"
|
||||
return
|
||||
|
||||
// Cannot join without a saved character, if we're on SQL saves.
|
||||
@@ -314,7 +314,7 @@
|
||||
if(src != usr)
|
||||
return 0
|
||||
if(SSticker.current_state != GAME_STATE_PLAYING)
|
||||
usr << "\red The round is either not ready, or has already finished..."
|
||||
usr << "<span class='warning'>The round is either not ready, or has already finished...</span>"
|
||||
return 0
|
||||
if(!config.enter_allowed)
|
||||
usr << "<span class='notice'>There is an administrative lock on entering the game!</span>"
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
break
|
||||
|
||||
if(!found)
|
||||
usr << "\red Poll question details not found."
|
||||
usr << "<span class='warning'>Poll question details not found.</span>"
|
||||
return
|
||||
|
||||
switch(polltype)
|
||||
@@ -360,7 +360,7 @@
|
||||
break
|
||||
|
||||
if(!validpoll)
|
||||
usr << "\red Poll is not valid."
|
||||
usr << "<span class='warning'>Poll is not valid.</span>"
|
||||
return
|
||||
|
||||
var/DBQuery/select_query2 = dbcon.NewQuery("SELECT id FROM ss13_poll_option WHERE id = [optionid] AND pollid = [pollid]")
|
||||
@@ -373,7 +373,7 @@
|
||||
break
|
||||
|
||||
if(!validoption)
|
||||
usr << "\red Poll option is not valid."
|
||||
usr << "<span class='warning'>Poll option is not valid.</span>"
|
||||
return
|
||||
|
||||
var/alreadyvoted = 0
|
||||
@@ -387,11 +387,11 @@
|
||||
break
|
||||
|
||||
if(!multichoice && alreadyvoted)
|
||||
usr << "\red You already voted in this poll."
|
||||
usr << "<span class='warning'>You already voted in this poll.</span>"
|
||||
return
|
||||
|
||||
if(multichoice && (alreadyvoted >= multiplechoiceoptions))
|
||||
usr << "\red You already have more than [multiplechoiceoptions] logged votes on this poll. Enough is enough. Contact the database admin if this is an error."
|
||||
usr << "<span class='warning'>You already have more than [multiplechoiceoptions] logged votes on this poll. Enough is enough. Contact the database admin if this is an error.</span>"
|
||||
return
|
||||
|
||||
var/adminrank = "Player"
|
||||
@@ -402,7 +402,7 @@
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO ss13_poll_vote (id ,datetime ,pollid ,optionid ,ckey ,ip ,adminrank) VALUES (null, Now(), [pollid], [optionid], '[usr.ckey]', '[usr.client.address]', '[adminrank]')")
|
||||
insert_query.Execute()
|
||||
|
||||
usr << "\blue Vote successful."
|
||||
usr << "<span class='notice'>Vote successful.</span>"
|
||||
usr << browse(null,"window=playerpoll")
|
||||
|
||||
|
||||
@@ -427,7 +427,7 @@
|
||||
break
|
||||
|
||||
if(!validpoll)
|
||||
usr << "\red Poll is not valid."
|
||||
usr << "<span class='warning'>Poll is not valid.</span>"
|
||||
return
|
||||
|
||||
var/alreadyvoted = 0
|
||||
@@ -440,7 +440,7 @@
|
||||
break
|
||||
|
||||
if(alreadyvoted)
|
||||
usr << "\red You already sent your feedback for this poll."
|
||||
usr << "<span class='warning'>You already sent your feedback for this poll.</span>"
|
||||
return
|
||||
|
||||
var/adminrank = "Player"
|
||||
@@ -460,7 +460,7 @@
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO ss13_poll_textreply (id ,datetime ,pollid ,ckey ,ip ,replytext ,adminrank) VALUES (null, Now(), [pollid], '[usr.ckey]', '[usr.client.address]', '[replytext]', '[adminrank]')")
|
||||
insert_query.Execute()
|
||||
|
||||
usr << "\blue Feedback logging successful."
|
||||
usr << "<span class='notice'>Feedback logging successful.</span>"
|
||||
usr << browse(null,"window=playerpoll")
|
||||
|
||||
|
||||
@@ -485,7 +485,7 @@
|
||||
break
|
||||
|
||||
if(!validpoll)
|
||||
usr << "\red Poll is not valid."
|
||||
usr << "<span class='warning'>Poll is not valid.</span>"
|
||||
return
|
||||
|
||||
var/DBQuery/select_query2 = dbcon.NewQuery("SELECT id FROM ss13_poll_option WHERE id = [optionid] AND pollid = [pollid]")
|
||||
@@ -498,7 +498,7 @@
|
||||
break
|
||||
|
||||
if(!validoption)
|
||||
usr << "\red Poll option is not valid."
|
||||
usr << "<span class='warning'>Poll option is not valid.</span>"
|
||||
return
|
||||
|
||||
var/alreadyvoted = 0
|
||||
@@ -511,7 +511,7 @@
|
||||
break
|
||||
|
||||
if(alreadyvoted)
|
||||
usr << "\red You already voted in this poll."
|
||||
usr << "<span class='warning'>You already voted in this poll.</span>"
|
||||
return
|
||||
|
||||
var/adminrank = "Player"
|
||||
@@ -522,5 +522,5 @@
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO ss13_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()
|
||||
|
||||
usr << "\blue Vote successful."
|
||||
usr << "<span class='notice'>Vote successful.</span>"
|
||||
usr << browse(null,"window=playerpoll")
|
||||
@@ -10,7 +10,7 @@
|
||||
set name = "Say"
|
||||
set category = "IC"
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
usr << "\red Speech is currently admin-disabled."
|
||||
usr << "<span class='warning'>Speech is currently admin-disabled.</span>"
|
||||
return
|
||||
//Let's try to make users fix their errors - we try to detect single, out-of-place letters and 'unintended' words
|
||||
/*
|
||||
@@ -37,7 +37,7 @@
|
||||
set category = "IC"
|
||||
|
||||
if(say_disabled) //This is here to try to identify lag problems
|
||||
usr << "\red Speech is currently admin-disabled."
|
||||
usr << "<span class='warning'>Speech is currently admin-disabled.</span>"
|
||||
return
|
||||
|
||||
message = sanitize(message)
|
||||
|
||||
@@ -282,7 +282,7 @@
|
||||
var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") in mobtypes
|
||||
|
||||
if(!safe_animal(mobpath))
|
||||
usr << "\red Sorry but this mob type is currently unavailable."
|
||||
usr << "<span class='warning'>Sorry but this mob type is currently unavailable.</span>"
|
||||
return
|
||||
|
||||
if(transforming)
|
||||
@@ -316,7 +316,7 @@
|
||||
var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") in mobtypes
|
||||
|
||||
if(!safe_animal(mobpath))
|
||||
usr << "\red Sorry but this mob type is currently unavailable."
|
||||
usr << "<span class='warning'>Sorry but this mob type is currently unavailable.</span>"
|
||||
return
|
||||
|
||||
var/mob/new_mob = new mobpath(src.loc)
|
||||
|
||||
Reference in New Issue
Block a user