Merge pull request #47052 from kingofkosmos/misc_span_fixes1

Misc span fixes
This commit is contained in:
81Denton
2019-10-20 18:46:54 +02:00
committed by GitHub
249 changed files with 654 additions and 664 deletions
+1 -1
View File
@@ -222,7 +222,7 @@
screenmob.client.screen += module_store_icon //"store" icon
if(!R.module.modules)
to_chat(usr, "<span class='danger'>Selected module has no modules to select</span>")
to_chat(usr, "<span class='warning'>Selected module has no modules to select!</span>")
return
if(!R.robot_modules_background)
+2 -2
View File
@@ -72,14 +72,14 @@
if(awaygate)
user.forceMove(awaygate.loc)
else
to_chat(user, "[src] has no destination.")
to_chat(user, "<span class='boldwarning'>[src] has no destination.</span>")
return ..()
/obj/machinery/gateway/centeraway/attack_ghost(mob/user)
if(stationgate)
user.forceMove(stationgate.loc)
else
to_chat(user, "[src] has no destination.")
to_chat(user, "<span class='boldwarning'>[src] has no destination.</span>")
return ..()
/obj/machinery/teleport/hub/attack_ghost(mob/user)
+8 -8
View File
@@ -187,33 +187,33 @@ SUBSYSTEM_DEF(shuttle)
emergency = backup_shuttle
var/srd = CONFIG_GET(number/shuttle_refuel_delay)
if(world.time - SSticker.round_start_time < srd)
to_chat(user, "The emergency shuttle is refueling. Please wait [DisplayTimeText(srd - (world.time - SSticker.round_start_time))] before trying again.")
to_chat(user, "<span class='alert'>The emergency shuttle is refueling. Please wait [DisplayTimeText(srd - (world.time - SSticker.round_start_time))] before trying again.</span>")
return
switch(emergency.mode)
if(SHUTTLE_RECALL)
to_chat(user, "The emergency shuttle may not be called while returning to CentCom.")
to_chat(user, "<span class='alert'>The emergency shuttle may not be called while returning to CentCom.</span>")
return
if(SHUTTLE_CALL)
to_chat(user, "The emergency shuttle is already on its way.")
to_chat(user, "<span class='alert'>The emergency shuttle is already on its way.</span>")
return
if(SHUTTLE_DOCKED)
to_chat(user, "The emergency shuttle is already here.")
to_chat(user, "<span class='alert'>The emergency shuttle is already here.</span>")
return
if(SHUTTLE_IGNITING)
to_chat(user, "The emergency shuttle is firing its engines to leave.")
to_chat(user, "<span class='alert'>The emergency shuttle is firing its engines to leave.</span>")
return
if(SHUTTLE_ESCAPE)
to_chat(user, "The emergency shuttle is moving away to a safe distance.")
to_chat(user, "<span class='alert'>The emergency shuttle is moving away to a safe distance.</span>")
return
if(SHUTTLE_STRANDED)
to_chat(user, "The emergency shuttle has been disabled by CentCom.")
to_chat(user, "<span class='alert'>The emergency shuttle has been disabled by CentCom.</span>")
return
call_reason = trim(html_encode(call_reason))
if(length(call_reason) < CALL_SHUTTLE_REASON_LENGTH && seclevel2num(get_security_level()) > SEC_LEVEL_GREEN)
to_chat(user, "You must provide a reason.")
to_chat(user, "<span class='alert'>You must provide a reason.</span>")
return
var/area/signal_origin = get_area(user)
+1 -1
View File
@@ -377,7 +377,7 @@ SUBSYSTEM_DEF(ticker)
for(var/i in GLOB.new_player_list)
var/mob/dead/new_player/N = i
if(N.new_character)
to_chat(N, "Captainship not forced on anyone.")
to_chat(N, "<span class='notice'>Captainship not forced on anyone.</span>")
CHECK_TICK
/datum/controller/subsystem/ticker/proc/transfer_characters()
+1 -1
View File
@@ -509,7 +509,7 @@
return
//Box closing from here on out.
if(!isturf(owner.loc)) //Don't let the player use this to escape mechs/welded closets.
to_chat(owner, "<span class = 'notice'>You need more space to activate this implant.</span>")
to_chat(owner, "<span class='warning'>You need more space to activate this implant!</span>")
return
if(cooldown < world.time - 100)
var/box = new boxtype(owner.drop_location())
+1 -1
View File
@@ -142,7 +142,7 @@
if (src.client)
if(client.prefs.muted & MUTE_IC)
to_chat(src, "You cannot send IC messages (muted).")
to_chat(src, "<span class='boldwarning'>You cannot send IC messages (muted).</span>")
return
if (!(ignore_spam || forced) && src.client.handle_spam_prevention(message,MUTE_IC))
return
+1 -1
View File
@@ -27,7 +27,7 @@
/datum/component/archaeology/proc/Dig(datum/source, obj/item/I, mob/living/user)
if(dug)
to_chat(user, "<span class='notice'>Looks like someone has dug here already.</span>")
to_chat(user, "<span class='warning'>Looks like someone has dug here already!</span>")
return
if(!isturf(user.loc))
+1 -2
View File
@@ -34,7 +34,7 @@
apply_moodlet(M, impressiveness *(O.obj_integrity/O.max_integrity))
/datum/component/art/proc/on_attack_hand(datum/source, mob/M)
to_chat(M, "You start examining [parent].")
to_chat(M, "<span class='notice'>You start examining [parent]...</span>")
if(!do_after(M, 20, target = parent))
return
on_obj_examine(source, M)
@@ -49,4 +49,3 @@
SEND_SIGNAL(M, COMSIG_ADD_MOOD_EVENT, "artgreat", /datum/mood_event/artgreat)
else
SEND_SIGNAL(M, COMSIG_ADD_MOOD_EVENT, "artbad", /datum/mood_event/artbad)
+4 -4
View File
@@ -34,8 +34,8 @@
var/mob/living/carbon/human/H = M
if((H.health <= H.crit_threshold || (user.pulling == H && user.grab_state >= GRAB_NECK) || H.IsSleeping()) && user.zone_selected == BODY_ZONE_HEAD) // Only sleeping, neck grabbed, or crit, can be sliced.
if(H.has_status_effect(/datum/status_effect/neck_slice))
user.show_message("<span class='danger'>[H]'s neck has already been already cut, you can't make the bleeding any worse!", MSG_VISUAL, \
"<span class='danger'>Their neck has already been already cut, you can't make the bleeding any worse!")
user.show_message("<span class='warning'>[H]'s neck has already been already cut, you can't make the bleeding any worse!</span>", MSG_VISUAL, \
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!</span>")
return COMPONENT_ITEM_NO_ATTACK
INVOKE_ASYNC(src, .proc/startNeckSlice, source, H, user)
return COMPONENT_ITEM_NO_ATTACK
@@ -57,8 +57,8 @@
playsound(H.loc, butcher_sound, 50, TRUE, -1)
if(do_mob(user, H, CLAMP(500 / source.force, 30, 100)) && H.Adjacent(source))
if(H.has_status_effect(/datum/status_effect/neck_slice))
user.show_message("<span class='danger'>[H]'s neck has already been already cut, you can't make the bleeding any worse!", MSG_VISUAL, \
"<span class='danger'>Their neck has already been already cut, you can't make the bleeding any worse!")
user.show_message("<span class='warning'>[H]'s neck has already been already cut, you can't make the bleeding any worse!</span>", MSG_VISUAL, \
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!</span>")
return
H.visible_message("<span class='danger'>[user] slits [H]'s throat!</span>", \
+5 -5
View File
@@ -68,21 +68,21 @@ GLOBAL_LIST_EMPTY(GPS_list)
if(!user.canUseTopic(parent, BE_CLOSE))
return //user not valid to use gps
if(emped)
to_chat(user, "It's busted!")
to_chat(user, "<span class='warning'>It's busted!</span>")
return
var/atom/A = parent
if(tracking)
A.cut_overlay("working")
to_chat(user, "[parent] is no longer tracking, or visible to other GPS devices.")
to_chat(user, "<span class='notice'>[parent] is no longer tracking, or visible to other GPS devices.</span>")
tracking = FALSE
else
A.add_overlay("working")
to_chat(user, "[parent] is now tracking, and visible to other GPS devices.")
to_chat(user, "<span class='notice'>[parent] is now tracking, and visible to other GPS devices.</span>")
tracking = TRUE
/datum/component/gps/item/ui_interact(mob/user, ui_key = "gps", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state) // Remember to use the appropriate state.
if(emped)
to_chat(user, "[parent] fizzles weakly.")
to_chat(user, "<span class='hear'>[parent] fizzles weakly.</span>")
return
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
@@ -138,7 +138,7 @@ GLOBAL_LIST_EMPTY(GPS_list)
if("rename")
var/atom/parentasatom = parent
var/a = input("Please enter desired tag.", parentasatom.name, gpstag) as text|null
if (!a)
return
+1 -1
View File
@@ -42,7 +42,7 @@
RegisterSignal(parent, COMSIG_ADD_MOOD_EVENT_RND, .proc/add_event) //Mood events that are only for RnD members
/datum/component/mood/proc/print_mood(mob/user)
var/msg = "<span class='info'>*---------*\n<EM>Your current mood</EM>\n"
var/msg = "<span class='info'>*---------*\n<EM>Your current mood</EM></span>\n"
msg += "<span class='notice'>My mental status: </span>" //Long term
switch(sanity)
if(SANITY_GREAT to INFINITY)
+1 -1
View File
@@ -85,7 +85,7 @@ handles linking back and forth.
var/obj/item/multitool/M = I
if (!QDELETED(M.buffer) && istype(M.buffer, /obj/machinery/ore_silo))
if (silo == M.buffer)
to_chat(user, "<span class='notice'>[parent] is already connected to [silo].</span>")
to_chat(user, "<span class='warning'>[parent] is already connected to [silo]!</span>")
return COMPONENT_BLOCK_TOOL_ATTACK
if (silo)
silo.connected -= src
+3 -3
View File
@@ -48,9 +48,9 @@
else if(prob(30))
new/obj/item/instrument/trombone/spectral(T)
else
to_chat(H, "The spooky gods forgot to ship your instrument. Better luck next unlife.")
to_chat(H, "<B>You are the spooky skeleton!</B>")
to_chat(H, "A new life and identity has begun. Help your fellow skeletons into bringing out the spooky-pocalypse. You haven't forgotten your past life, and are still beholden to past loyalties.")
to_chat(H, "<span class='boldwarning'>The spooky gods forgot to ship your instrument. Better luck next unlife.</span>")
to_chat(H, "<span class='boldnotice'>You are the spooky skeleton!</span>")
to_chat(H, "<span class='boldnotice'>A new life and identity has begun. Help your fellow skeletons into bringing out the spooky-pocalypse. You haven't forgotten your past life, and are still beholden to past loyalties.</span>")
change_name(H) //time for a new name!
/datum/component/spooky/proc/change_name(mob/living/carbon/human/H)
@@ -17,7 +17,6 @@
playsound(src, dumping_sound, 40, TRUE)
M.Beam(dumping_location, icon_state="rped_upgrade", time=5)
return TRUE
to_chat(M, "The [A.name] buzzes.")
to_chat(M, "<span class='hear'>The [A.name] buzzes.</span>")
playsound(src, 'sound/machines/buzz-sigh.ogg', 50, FALSE)
return FALSE
+3 -3
View File
@@ -815,8 +815,8 @@
collection_mode = (collection_mode+1)%3
switch(collection_mode)
if(COLLECT_SAME)
to_chat(user, "[parent] now picks up all items of a single type at once.")
to_chat(user, "<span class='notice'>[parent] now picks up all items of a single type at once.</span>")
if(COLLECT_EVERYTHING)
to_chat(user, "[parent] now picks up all items in a tile at once.")
to_chat(user, "<span class='notice'>[parent] now picks up all items in a tile at once.</span>")
if(COLLECT_ONE)
to_chat(user, "[parent] now picks up one item at a time.")
to_chat(user, "<span class='notice'>[parent] now picks up one item at a time.</span>")
+1 -1
View File
@@ -248,7 +248,7 @@ GLOBAL_LIST_EMPTY(uplinks)
return
locked = FALSE
interact(null, user)
to_chat(user, "The PDA softly beeps.")
to_chat(user, "<span class='hear'>The PDA softly beeps.</span>")
user << browse(null, "window=pda")
master.mode = 0
return COMPONENT_STOP_RINGTONE_CHANGE
+2 -2
View File
@@ -52,7 +52,7 @@
if(!tongue && prob(5))
var/obj/item/organ/tongue/snail/new_tongue = new()
new_tongue.Insert(affected_mob)
to_chat(affected_mob, "<span class='userdanger'>You feel your speech slow down</span>")
to_chat(affected_mob, "<span class='userdanger'>You feel your speech slow down...</span>")
return
if(shell && eyes && tongue && prob(5))
affected_mob.set_species(/datum/species/snail)
@@ -82,4 +82,4 @@
if(istype(bag, /obj/item/storage/backpack/snail))
bag.emptyStorage()
H.doUnEquip(bag, TRUE, no_move = TRUE)
qdel(bag)
qdel(bag)
+2 -2
View File
@@ -38,7 +38,7 @@
if (prob(8))
to_chat(affected_mob, "<span class='danger'>Your head hurts.</span>")
if (prob(9))
to_chat(affected_mob, "You feel a tingling sensation in your chest.")
to_chat(affected_mob, "<span class='danger'>You feel a tingling sensation in your chest.</span>")
if (prob(9))
to_chat(affected_mob, "<span class='danger'>You feel angry.</span>")
if(2)
@@ -50,7 +50,7 @@
if (prob(8))
to_chat(affected_mob, "<span class='danger'>Your skin feels loose.</span>")
if (prob(10))
to_chat(affected_mob, "You feel very strange.")
to_chat(affected_mob, "<span class='danger'>You feel very strange.</span>")
if (prob(4))
to_chat(affected_mob, "<span class='danger'>You feel a stabbing pain in your head!</span>")
affected_mob.Unconscious(40)
+2 -2
View File
@@ -81,12 +81,12 @@
var/list/mob/dead/observer/candidates = pollCandidatesForMob("Do you want to play as [affected_mob.name]?", bantype, null, bantype, 50, affected_mob)
if(LAZYLEN(candidates))
var/mob/dead/observer/C = pick(candidates)
to_chat(affected_mob, "Your mob has been taken over by a ghost! Appeal your job ban if you want to avoid this in the future!")
to_chat(affected_mob, "<span class='userdanger'>Your mob has been taken over by a ghost! Appeal your job ban if you want to avoid this in the future!</span>")
message_admins("[key_name_admin(C)] has taken control of ([key_name_admin(affected_mob)]) to replace a jobbanned player.")
affected_mob.ghostize(0)
affected_mob.key = C.key
else
to_chat(new_mob, "Your mob has been claimed by death! Appeal your job ban if you want to avoid this in the future!")
to_chat(new_mob, "<span class='userdanger'>Your mob has been claimed by death! Appeal your job ban if you want to avoid this in the future!</span>")
new_mob.death()
if (!QDELETED(new_mob))
new_mob.ghostize(can_reenter_corpse = FALSE)
+1 -2
View File
@@ -26,7 +26,7 @@
to_chat(affected_mob, "<span class='danger'>You feel a cold sweat form.</span>")
if(4)
if(prob(2))
to_chat(affected_mob, "<span class='userdanger'>You see four of everything</span>")
to_chat(affected_mob, "<span class='userdanger'>You see four of everything!</span>")
affected_mob.Dizzy(5)
if(prob(2))
to_chat(affected_mob, "<span class='danger'>You feel a sharp pain from your lower chest!</span>")
@@ -57,4 +57,3 @@
to_chat(affected_mob, "<span class='danger'>[pick("You feel uncomfortably hot...", "You feel like unzipping your jumpsuit", "You feel like taking off some clothes...")]</span>")
affected_mob.adjust_bodytemperature(40)
return
+2 -2
View File
@@ -51,7 +51,7 @@
/datum/dog_fashion/head/chef
name = "Sous chef REAL_NAME"
desc = "Your food will be taste-tested. All of it."
desc = "Your food will be taste-tested. All of it."
/datum/dog_fashion/head/captain
@@ -114,7 +114,7 @@
/datum/dog_fashion/head/blue_wizard
name = "Grandwizard REAL_NAME"
speak = list("YAP", "Woof!", "Bark!", "AUUUUUU", "EI NATH!")
speak = list("YAP", "Woof!", "Bark!", "AUUUUUU", "EI NATH!")
/datum/dog_fashion/head/red_wizard
name = "Pyromancer REAL_NAME"
+2 -2
View File
@@ -241,10 +241,10 @@
record.caller_image = holodiskOriginal.record.caller_image
record.entries = holodiskOriginal.record.entries.Copy()
record.language = holodiskOriginal.record.language
to_chat(user, "You copy the record from [holodiskOriginal] to [src] by connecting the ports!")
to_chat(user, "<span class='notice'>You copy the record from [holodiskOriginal] to [src] by connecting the ports!</span>")
name = holodiskOriginal.name
else
to_chat(user, "[holodiskOriginal] has no record on it!")
to_chat(user, "<span class='warning'>[holodiskOriginal] has no record on it!</span>")
..()
/obj/item/disk/holodisk/proc/build_record()
+1 -1
View File
@@ -160,7 +160,7 @@
to_chat(A, "<span class='danger'>You [picked_hit_type] [D]!</span>")
log_combat(A, D, "[picked_hit_type]s (CQC)")
if(A.resting && !D.stat && !D.IsParalyzed())
D.visible_message("<span class='danger'>[A] leg sweeps [D]!", \
D.visible_message("<span class='danger'>[A] leg sweeps [D]!</span>", \
"<span class='userdanger'>Your legs are sweeped by [A]!</span>", "<span class='hear'>You hear a sickening sound of flesh hitting flesh!</span>", null, A)
to_chat(A, "<span class='danger'>You leg sweep [D]!</span>")
playsound(get_turf(A), 'sound/effects/hit_kick.ogg', 50, TRUE, -1)
+4 -4
View File
@@ -358,7 +358,7 @@
if (!uplink_loc)
if(!silent)
to_chat(traitor_mob, "Unfortunately, [employer] wasn't able to get you an Uplink.")
to_chat(traitor_mob, "<span class='boldwarning'>Unfortunately, [employer] wasn't able to get you an Uplink.</span>")
. = 0
else
. = uplink_loc
@@ -368,11 +368,11 @@
U.setup_unlock_code()
if(!silent)
if(uplink_loc == R)
to_chat(traitor_mob, "[employer] has cunningly disguised a Syndicate Uplink as your [R.name]. Simply dial the frequency [format_frequency(U.unlock_code)] to unlock its hidden features.")
to_chat(traitor_mob, "<span class='boldnotice'>[employer] has cunningly disguised a Syndicate Uplink as your [R.name]. Simply dial the frequency [format_frequency(U.unlock_code)] to unlock its hidden features.</span>")
else if(uplink_loc == PDA)
to_chat(traitor_mob, "[employer] has cunningly disguised a Syndicate Uplink as your [PDA.name]. Simply enter the code \"[U.unlock_code]\" into the ringtone select to unlock its hidden features.")
to_chat(traitor_mob, "<span class='boldnotice'>[employer] has cunningly disguised a Syndicate Uplink as your [PDA.name]. Simply enter the code \"[U.unlock_code]\" into the ringtone select to unlock its hidden features.</span>")
else if(uplink_loc == P)
to_chat(traitor_mob, "[employer] has cunningly disguised a Syndicate Uplink as your [P.name]. Simply twist the top of the pen [english_list(U.unlock_code)] from its starting position to unlock its hidden features.")
to_chat(traitor_mob, "<span class='boldnotice'>[employer] has cunningly disguised a Syndicate Uplink as your [P.name]. Simply twist the top of the pen [english_list(U.unlock_code)] from its starting position to unlock its hidden features.</span>")
if(uplink_owner)
uplink_owner.antag_memory += U.unlock_note + "<br>"
+3 -3
View File
@@ -26,16 +26,16 @@
qdel(src)
/datum/status_effect/freon/proc/owner_resist()
to_chat(owner, "You start breaking out of the ice cube!")
to_chat(owner, "<span class='notice'>You start breaking out of the ice cube...</span>")
if(do_mob(owner, owner, 40))
if(!QDELETED(src))
to_chat(owner, "You break out of the ice cube!")
to_chat(owner, "<span class='notice'>You break out of the ice cube!</span>")
owner.remove_status_effect(/datum/status_effect/freon)
owner.update_mobility()
/datum/status_effect/freon/on_remove()
if(!owner.stat)
to_chat(owner, "The cube melts!")
to_chat(owner, "<span class='notice'>The cube melts!</span>")
owner.cut_overlay(cube)
owner.adjust_bodytemperature(100)
owner.update_mobility()
@@ -91,7 +91,7 @@
/obj/item/melee/transforming/energy/sword/bananium/attackby(obj/item/I, mob/living/user, params)
if((world.time > next_trombone_allowed) && istype(I, /obj/item/melee/transforming/energy/sword/bananium))
next_trombone_allowed = world.time + 50
to_chat(user, "You slap the two swords together. Sadly, they do not seem to fit.")
to_chat(user, "<span class='warning'>You slap the two swords together. Sadly, they do not seem to fit!</span>")
playsound(src, 'sound/misc/sadtrombone.ogg', 50)
return TRUE
return ..()
@@ -179,7 +179,7 @@
bomb = new /obj/item/grenade/syndieminibomb(src)
bomb.det_time = det_time
if(iscarbon(loc))
to_chat(loc, "[src] begins to beep.")
to_chat(loc, "<span class='danger'>[src] begins to beep.</span>")
var/mob/living/carbon/C = loc
C.throw_mode_on()
bomb.preprime(loc, null, FALSE)
+1 -1
View File
@@ -815,7 +815,7 @@ GLOBAL_LIST_EMPTY(possible_items_special)
var/mob/new_target = input(admin,"Select target:", "Objective target") as null|anything in possible_targets
target = new_target.mind
else
to_chat(admin, "No active AIs with minds")
to_chat(admin, "<span class='boldwarning'>No active AIs with minds.</span>")
update_explanation_text()
/datum/objective/destroy/internal
+1 -1
View File
@@ -130,7 +130,7 @@ GLOBAL_VAR_INIT(hsboxspawn, TRUE)
if(sbac)
to_chat(world, "<span class='boldnotice'>Sandbox:</span> <b>\black [usr.key] has removed the object spawn limiter.</b>")
else
to_chat(world, "<span class='danger'>Sandbox:</span> <b>\black [usr.key] has added a limiter to object spawning. The window will now auto-close after use.</b>")
to_chat(world, "<span class='danger'>Sandbox:</span> <b>\black [usr.key] has added a limiter to object spawning. The window will now auto-close after use.</b>")
CONFIG_SET(flag/sandbox_autoclose, !sbac)
return
//
+2 -2
View File
@@ -65,7 +65,7 @@
default_deconstruction_screwdriver(user, "button-open", "[skin]",W)
update_icon()
else
to_chat(user, "<span class='danger'>Maintenance Access Denied</span>")
to_chat(user, "<span class='alert'>Maintenance Access Denied.</span>")
flick("[skin]-denied", src)
return
@@ -166,7 +166,7 @@
return
if(!allowed(user))
to_chat(user, "<span class='danger'>Access Denied</span>")
to_chat(user, "<span class='alert'>Access Denied.</span>")
flick("[skin]-denied", src)
return
+7 -7
View File
@@ -150,7 +150,7 @@
if (M.client.eye == src)
M.unset_machine()
M.reset_perspective(null)
to_chat(M, "The screen bursts into static.")
to_chat(M, "<span class='warning'>The screen bursts into static!</span>")
/obj/machinery/camera/proc/post_emp_reset(thisemp, previous_network)
if(QDELETED(src))
@@ -240,7 +240,7 @@
to_chat(user, "<span class='notice'>You attach [I] into [assembly]'s inner circuits.</span>")
qdel(I)
else
to_chat(user, "<span class='notice'>[src] already has that upgrade!</span>")
to_chat(user, "<span class='warning'>[src] already has that upgrade!</span>")
return
else if(istype(I, /obj/item/stack/sheet/mineral/plasma))
@@ -249,7 +249,7 @@
upgradeEmpProof(FALSE, TRUE)
to_chat(user, "<span class='notice'>You attach [I] into [assembly]'s inner circuits.</span>")
else
to_chat(user, "<span class='notice'>[src] already has that upgrade!</span>")
to_chat(user, "<span class='warning'>[src] already has that upgrade!</span>")
return
else if(istype(I, /obj/item/assembly/prox_sensor))
@@ -260,7 +260,7 @@
to_chat(user, "<span class='notice'>You attach [I] into [assembly]'s inner circuits.</span>")
qdel(I)
else
to_chat(user, "<span class='notice'>[src] already has that upgrade!</span>")
to_chat(user, "<span class='warning'>[src] already has that upgrade!</span>")
return
// OTHER
@@ -287,12 +287,12 @@
if(AI.control_disabled || (AI.stat == DEAD))
return
if(U.name == "Unknown")
to_chat(AI, "<b>[U]</b> holds <a href='?_src_=usr;show_paper=1;'>\a [itemname]</a> up to one of your cameras ...")
to_chat(AI, "<span class='name'>[U]</span> holds <a href='?_src_=usr;show_paper=1;'>\a [itemname]</a> up to one of your cameras ...")
else
to_chat(AI, "<b><a href='?src=[REF(AI)];track=[html_encode(U.name)]'>[U]</a></b> holds <a href='?_src_=usr;show_paper=1;'>\a [itemname]</a> up to one of your cameras ...")
AI.last_paper_seen = "<HTML><HEAD><TITLE>[itemname]</TITLE></HEAD><BODY><TT>[info]</TT></BODY></HTML>"
else if (O.client.eye == src)
to_chat(O, "[U] holds \a [itemname] up to one of the cameras ...")
to_chat(O, "<span class='name'>[U]</span> holds \a [itemname] up to one of the cameras ...")
O << browse(text("<HTML><HEAD><TITLE>[]</TITLE></HEAD><BODY><TT>[]</TT></BODY></HTML>", itemname, info), text("window=[]", itemname))
return
@@ -394,7 +394,7 @@
if (O.client.eye == src)
O.unset_machine()
O.reset_perspective(null)
to_chat(O, "The screen bursts into static.")
to_chat(O, "<span class='warning'>The screen bursts into static!</span>")
/obj/machinery/camera/proc/triggerCameraAlarm()
alarm_on = TRUE
+7 -7
View File
@@ -128,29 +128,29 @@
//Downloading AI from card to terminal.
if(interaction == AI_TRANS_FROM_CARD)
if(stat & (NOPOWER|BROKEN))
to_chat(user, "[src] is offline and cannot take an AI at this time!")
to_chat(user, "<span class='alert'>[src] is offline and cannot take an AI at this time.</span>")
return
AI.forceMove(src)
occupier = AI
AI.control_disabled = TRUE
AI.radio_enabled = FALSE
to_chat(AI, "You have been uploaded to a stationary terminal. Sadly, there is no remote access from here.")
to_chat(user, "<span class='boldnotice'>Transfer successful</span>: [AI.name] ([rand(1000,9999)].exe) installed and executed successfully. Local copy has been removed.")
to_chat(AI, "<span class='alert'>You have been uploaded to a stationary terminal. Sadly, there is no remote access from here.</span>")
to_chat(user, "<span class='notice'>Transfer successful</span>: [AI.name] ([rand(1000,9999)].exe) installed and executed successfully. Local copy has been removed.")
card.AI = null
update_icon()
else //Uploading AI from terminal to card
if(occupier && !active)
to_chat(occupier, "You have been downloaded to a mobile storage device. Still no remote access.")
to_chat(user, "<span class='boldnotice'>Transfer successful</span>: [occupier.name] ([rand(1000,9999)].exe) removed from host terminal and stored within local memory.")
to_chat(occupier, "<span class='notice'>You have been downloaded to a mobile storage device. Still no remote access.</span>")
to_chat(user, "<span class='notice'>Transfer successful</span>: [occupier.name] ([rand(1000,9999)].exe) removed from host terminal and stored within local memory.")
occupier.forceMove(card)
card.AI = occupier
occupier = null
update_icon()
else if (active)
to_chat(user, "<span class='boldannounce'>ERROR</span>: Reconstruction in progress.")
to_chat(user, "<span class='alert'>ERROR: Reconstruction in progress.</span>")
else if (!occupier)
to_chat(user, "<span class='boldannounce'>ERROR</span>: Unable to locate artificial intelligence.")
to_chat(user, "<span class='alert'>ERROR: Unable to locate artificial intelligence.</span>")
/obj/machinery/computer/aifixer/on_deconstruction()
if(occupier)
+5 -5
View File
@@ -132,11 +132,11 @@
if(bd)
current_arena_template = arena_template
loading = FALSE
message_admins("[key_name_admin(user)] loaded [arena_template] event arena for [arena_id] arena.")
log_admin("[key_name(user)] loaded [arena_template] event arena for [arena_id] arena.")
/obj/machinery/computer/arena/proc/add_new_arena_template(user,fname,friendly_name)
if(!fname)
@@ -193,7 +193,7 @@
M.equipOutfit(outfits[team] ? outfits[team] : default_outfit)
M.faction += team //In case anyone wants to add team based stuff to arena special effects
M.key = ckey
var/datum/atom_hud/antag/team_hud = team_huds[team]
team_hud.join_hud(M)
set_antag_hud(M,"arena",team_hud_index[team])
@@ -379,7 +379,7 @@
/// Team ID
var/team = "default"
/// only exist to cut down on glob.machines lookups, do not modify
var/obj/machinery/computer/arena/_controller
var/obj/machinery/computer/arena/_controller
/obj/machinery/arena_spawn/red
name = "Red Team Spawnpoint"
@@ -414,4 +414,4 @@
#undef ARENA_RED_TEAM
#undef ARENA_DEFAULT_ID
#undef ARENA_CORNER_A
#undef ARENA_CORNER_B
#undef ARENA_CORNER_B
+2 -2
View File
@@ -47,11 +47,11 @@
if("clear")
var/zone = params["zone"]
if(zone in priority_alarms)
to_chat(usr, "Priority alarm for [zone] cleared.")
to_chat(usr, "<span class='notice'>Priority alarm for [zone] cleared.</span>")
priority_alarms -= zone
. = TRUE
if(zone in minor_alarms)
to_chat(usr, "Minor alarm for [zone] cleared.")
to_chat(usr, "<span class='notice'>Minor alarm for [zone] cleared.</span>")
minor_alarms -= zone
. = TRUE
update_icon()
+1 -1
View File
@@ -537,7 +537,7 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0)
return
else
SSjob.prioritized_jobs += j
to_chat(usr, "<span class='notice'>[j.title] has been successfully [priority ? "prioritized" : "unprioritized"]. Potential employees will notice your request.</span>")
to_chat(usr, "<span class='notice'>[j.title] has been successfully [priority ? "prioritized" : "unprioritized"]. Potential employees will notice your request.</span>")
playsound(src, 'sound/machines/terminal_prompt_confirm.ogg', 50, FALSE)
if ("print")
@@ -128,7 +128,7 @@
if("crossserver")
if(authenticated==2)
if(!checkCCcooldown())
to_chat(usr, "<span class='warning'>Arrays recycling. Please stand by.</span>")
to_chat(usr, "<span class='warning'>Arrays recycling. Please stand by.</span>")
playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 50, FALSE)
return
var/input = stripped_multiline_input(usr, "Please choose a message to transmit to allied stations. Please be aware that this process is very expensive, and abuse will lead to... termination.", "Send a message to an allied station.", "")
@@ -151,12 +151,12 @@
var/datum/map_template/shuttle/S = locate(href_list["chosen_shuttle"]) in shuttles
if(S && istype(S))
if(SSshuttle.emergency.mode != SHUTTLE_RECALL && SSshuttle.emergency.mode != SHUTTLE_IDLE)
to_chat(usr, "It's a bit late to buy a new shuttle, don't you think?")
to_chat(usr, "<span class='alert'>It's a bit late to buy a new shuttle, don't you think?</span>")
return
if(SSshuttle.shuttle_purchased)
to_chat(usr, "A replacement shuttle has already been purchased.")
to_chat(usr, "<span class='alert'>A replacement shuttle has already been purchased.</span>")
else if(!S.prerequisites_met())
to_chat(usr, "You have not met the requirements for purchasing this shuttle.")
to_chat(usr, "<span class='alert'>You have not met the requirements for purchasing this shuttle.</span>")
else
var/points_to_check
var/datum/bank_account/D = SSeconomy.get_dep_account(ACCOUNT_CAR)
@@ -173,7 +173,7 @@
message_admins("[ADMIN_LOOKUPFLW(usr)] purchased [S.name].")
SSblackbox.record_feedback("text", "shuttle_purchase", 1, "[S.name]")
else
to_chat(usr, "Not enough credits.")
to_chat(usr, "<span class='alert'>Insufficient credits.</span>")
if("callshuttle")
state = STATE_DEFAULT
@@ -275,7 +275,7 @@
if("MessageCentCom")
if(authenticated)
if(!checkCCcooldown())
to_chat(usr, "<span class='warning'>Arrays recycling. Please stand by.</span>")
to_chat(usr, "<span class='warning'>Arrays recycling. Please stand by.</span>")
return
var/input = stripped_input(usr, "Please choose a message to transmit to CentCom via quantum entanglement. Please be aware that this process is very expensive, and abuse will lead to... termination. Transmission does not guarantee a response.", "Send a message to CentCom.", "")
if(!input || !(usr in view(1,src)) || !checkCCcooldown())
@@ -291,7 +291,7 @@
if("MessageSyndicate")
if((authenticated) && (obj_flags & EMAGGED))
if(!checkCCcooldown())
to_chat(usr, "<span class='warning'>Arrays recycling. Please stand by.</span>")
to_chat(usr, "<span class='warning'>Arrays recycling. Please stand by.</span>")
playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 50, FALSE)
return
var/input = stripped_input(usr, "Please choose a message to transmit to \[ABNORMAL ROUTING COORDINATES\] via quantum entanglement. Please be aware that this process is very expensive, and abuse will lead to... termination. Transmission does not guarantee a response.", "Send a message to /??????/.", "")
@@ -692,7 +692,7 @@
/obj/machinery/computer/communications/proc/make_announcement(mob/living/user, is_silicon)
if(!SScommunications.can_announce(user, is_silicon))
to_chat(user, "Intercomms recharging. Please stand by.")
to_chat(user, "<span class='alert'>Intercomms recharging. Please stand by.</span>")
return
var/input = stripped_input(user, "Please choose a message to announce to the station crew.", "What?")
if(!input || !user.canUseTopic(src, !issilicon(usr)))
+2 -2
View File
@@ -75,7 +75,7 @@
if(LAZYLEN(stored_chromosomes) < max_chromosomes)
I.forceMove(src)
stored_chromosomes += I
to_chat(user, "<span class='notice'>You insert [I]</span>")
to_chat(user, "<span class='notice'>You insert [I].</span>")
else
to_chat(user, "<span class='warning'>You cannot store any more chromosomes!</span>")
return
@@ -848,7 +848,7 @@
var/datum/mutation/human/HM = new A.type()
HM.copy_mutation(A)
stored_mutations += HM
to_chat(usr,"<span class='notice'>Successfully wrote [A.name] to storage.")
to_chat(usr,"<span class='notice'>Successfully wrote [A.name] to storage.</span>")
if("combine")
if(num && (LAZYLEN(stored_mutations) >= num))
if(LAZYLEN(stored_mutations) < max_storage)
+2 -2
View File
@@ -46,7 +46,7 @@
if (!current)
to_chat(user, "<span class='caution'>No active AIs detected!</span>")
else
to_chat(user, "[current.name] selected for law changes.")
to_chat(user, "<span class='notice'>[current.name] selected for law changes.</span>")
/obj/machinery/computer/upload/ai/can_upload_to(mob/living/silicon/ai/A)
if(!A || !isAI(A))
@@ -67,7 +67,7 @@
if(!current)
to_chat(user, "<span class='caution'>No active unslaved cyborgs detected!</span>")
else
to_chat(user, "[current.name] selected for law changes.")
to_chat(user, "<span class='notice'>[current.name] selected for law changes.</span>")
/obj/machinery/computer/upload/borg/can_upload_to(mob/living/silicon/robot/B)
if(!B || !iscyborg(B))
@@ -89,16 +89,16 @@
if(!new_goal)
new_goal = default_goal
if (new_goal > 1000)
to_chat(usr, "The entered amount of points is too large. Points have instead been set to the maximum allowed amount.")
to_chat(usr, "<span class='alert'>The entered amount of points is too large. Points have instead been set to the maximum allowed amount.</span>")
contained_id.goal = CLAMP(new_goal, 0, 1000) //maximum 1000 points
if("toggle_open")
if(teleporter.locked)
to_chat(usr, "The teleporter is locked")
to_chat(usr, "<span class='alert'>The teleporter must be unlocked first.</span>")
return
teleporter.toggle_open()
if("teleporter_lock")
if(teleporter.state_open)
to_chat(usr, "Close the teleporter before locking!")
to_chat(usr, "<span class='alert'>The teleporter must be closed first.</span>")
return
teleporter.locked = !teleporter.locked
if("teleport")
+3 -3
View File
@@ -376,14 +376,14 @@ What a mess.*/
else
var/diff = p.fine - p.paid
GLOB.data_core.payCitation(active2.fields["id"], text2num(href_list["cdataid"]), pay)
to_chat(usr, "<span class='notice'>You have paid [pay] credit\s towards your fine</span>")
to_chat(usr, "<span class='notice'>You have paid [pay] credit\s towards your fine.</span>")
if (pay == diff || pay > diff || pay >= diff)
investigate_log("Citation Paid off: <strong>[p.crimeName]</strong> Fine: [p.fine] | Paid off by [key_name(usr)]", INVESTIGATE_RECORDS)
to_chat(usr, "<span class='notice'>The fine has been paid in full</span>")
to_chat(usr, "<span class='notice'>The fine has been paid in full.</span>")
qdel(C)
playsound(src, "terminal_type", 25, FALSE)
else
to_chat(usr, "<span class='warning'>Fines can only be paid with holochips</span>")
to_chat(usr, "<span class='warning'>Fines can only be paid with holochips!</span>")
if("Print Record")
if(!( printing ))
+3 -3
View File
@@ -136,13 +136,13 @@
else
var/diff = p.fine - p.paid
GLOB.data_core.payCitation(current.fields["id"], text2num(href_list["cdataid"]), pay)
to_chat(M, "<span class='notice'>You have paid [pay] credit\s towards your fine</span>")
to_chat(M, "<span class='notice'>You have paid [pay] credit\s towards your fine.</span>")
if (pay == diff || pay > diff || pay >= diff)
investigate_log("Citation Paid off: <strong>[p.crimeName]</strong> Fine: [p.fine] | Paid off by [key_name(usr)]", INVESTIGATE_RECORDS)
to_chat(M, "<span class='notice'>The fine has been paid in full</span>")
to_chat(M, "<span class='notice'>The fine has been paid in full.</span>")
qdel(C)
playsound(src, "terminal_type", 25, FALSE)
else
to_chat(M, "<span class='warning'>Fines can only be paid with holochips</span>")
to_chat(M, "<span class='warning'>Fines can only be paid with holochips!</span>")
updateUsrDialog()
add_fingerprint(M)
+1 -1
View File
@@ -165,7 +165,7 @@
if(HORIZONTAL)
mode = SINGLE
to_chat(user, "[src] is now in [mode] mode.")
to_chat(user, "<span class='notice'>[src] is now in [mode] mode.</span>")
/obj/item/grenade/barrier/prime()
new /obj/structure/barricade/security(get_turf(src.loc))
+17 -17
View File
@@ -677,43 +677,43 @@
set waitfor = 0
if(!aiHacking)
aiHacking = TRUE
to_chat(user, "Airlock AI control has been blocked. Beginning fault-detection.")
to_chat(user, "<span class='warning'>Airlock AI control has been blocked. Beginning fault-detection.</span>")
sleep(50)
if(canAIControl(user))
to_chat(user, "Alert cancelled. Airlock control has been restored without our assistance.")
to_chat(user, "<span class='notice'>Alert cancelled. Airlock control has been restored without our assistance.</span>")
aiHacking = FALSE
return
else if(!canAIHack())
to_chat(user, "Connection lost! Unable to hack airlock.")
to_chat(user, "<span class='warning'>Connection lost! Unable to hack airlock.</span>")
aiHacking = FALSE
return
to_chat(user, "Fault confirmed: airlock control wire disabled or cut.")
to_chat(user, "<span class='notice'>Fault confirmed: airlock control wire disabled or cut.</span>")
sleep(20)
to_chat(user, "Attempting to hack into airlock. This may take some time.")
to_chat(user, "<span class='notice'>Attempting to hack into airlock. This may take some time.</span>")
sleep(200)
if(canAIControl(user))
to_chat(user, "Alert cancelled. Airlock control has been restored without our assistance.")
to_chat(user, "<span class='notice'>Alert cancelled. Airlock control has been restored without our assistance.</span>")
aiHacking = FALSE
return
else if(!canAIHack())
to_chat(user, "Connection lost! Unable to hack airlock.")
to_chat(user, "<span class='warning'>Connection lost! Unable to hack airlock.</span>")
aiHacking = FALSE
return
to_chat(user, "Upload access confirmed. Loading control program into airlock software.")
to_chat(user, "<span class='notice'>Upload access confirmed. Loading control program into airlock software.</span>")
sleep(170)
if(canAIControl(user))
to_chat(user, "Alert cancelled. Airlock control has been restored without our assistance.")
to_chat(user, "<span class='notice'>Alert cancelled. Airlock control has been restored without our assistance.</span>")
aiHacking = FALSE
return
else if(!canAIHack())
to_chat(user, "Connection lost! Unable to hack airlock.")
to_chat(user, "<span class='warning'>Connection lost! Unable to hack airlock.</span>")
aiHacking = FALSE
return
to_chat(user, "Transfer complete. Forcing airlock to execute program.")
to_chat(user, "<span class='notice'>Transfer complete. Forcing airlock to execute program.</span>")
sleep(50)
//disable blocked control
aiControlDisabled = 2
to_chat(user, "Receiving control information from airlock.")
to_chat(user, "<span class='notice'>Receiving control information from airlock.</span>")
sleep(10)
//bring up airlock dialog
aiHacking = FALSE
@@ -1419,14 +1419,14 @@
loseMainPower()
update_icon()
else
to_chat(usr, "Main power is already offline.")
to_chat(usr, "<span class='warning'>Main power is already offline.</span>")
. = TRUE
if("disrupt-backup")
if(!secondsBackupPowerLost)
loseBackupPower()
update_icon()
else
to_chat(usr, "Backup power is already offline.")
to_chat(usr, "<span class='warning'>Backup power is already offline.</span>")
. = TRUE
if("shock-restore")
shock_restore(usr)
@@ -1467,7 +1467,7 @@
if(!user_allowed(user))
return
if(wires.is_cut(WIRE_SHOCK))
to_chat(user, "Can't un-electrify the airlock - The electrification wire is cut.")
to_chat(user, "<span class='warning'>Can't un-electrify the airlock - The electrification wire is cut.</span>")
else if(isElectrified())
set_electrified(MACHINE_NOT_ELECTRIFIED, user)
@@ -1475,7 +1475,7 @@
if(!user_allowed(user))
return
if(wires.is_cut(WIRE_SHOCK))
to_chat(user, "The electrification wire has been cut")
to_chat(user, "<span class='warning'>The electrification wire has been cut.</span>")
else
set_electrified(MACHINE_DEFAULT_ELECTRIFY_TIME, user)
@@ -1483,7 +1483,7 @@
if(!user_allowed(user))
return
if(wires.is_cut(WIRE_SHOCK))
to_chat(user, "The electrification wire has been cut")
to_chat(user, "<span class='warning'>The electrification wire has been cut.</span>")
else
set_electrified(MACHINE_ELECTRIFIED_PERMANENT, user)
+1 -1
View File
@@ -57,7 +57,7 @@
occupant.forceMove(drop_location())
occupant = null
return
to_chat(occupant, "<span class='notice'>You enter [src]</span>")
to_chat(occupant, "<span class='notice'>You enter [src].</span>")
addtimer(CALLBACK(src, .proc/start_extracting), 20, TIMER_OVERRIDE|TIMER_UNIQUE)
update_icon()
+2 -2
View File
@@ -160,11 +160,11 @@ Possible to do for anyone motivated enough:
if(istype(P,/obj/item/disk/holodisk))
if(disk)
to_chat(user,"<span class='notice'>There's already a disk inside [src]</span>")
to_chat(user,"<span class='warning'>There's already a disk inside [src]!</span>")
return
if (!user.transferItemToLoc(P,src))
return
to_chat(user,"<span class='notice'>You insert [P] into [src]</span>")
to_chat(user,"<span class='notice'>You insert [P] into [src].</span>")
disk = P
updateDialog()
return
+1 -1
View File
@@ -211,7 +211,7 @@
if(usr.incapacitated())
return
mode = !mode
to_chat(usr, "The IV drip is now [mode ? "injecting" : "taking blood"].")
to_chat(usr, "<span class='notice'>The IV drip is now [mode ? "injecting" : "taking blood"].</span>")
update_icon()
/obj/machinery/iv_drip/examine(mob/user)
+3 -3
View File
@@ -790,7 +790,7 @@ GLOBAL_LIST_EMPTY(allCasters)
else
to_chat(user, "<span class='warning'>You cannot interface with silicon photo uploading!</span>")
if(!targetcam.stored.len)
to_chat(usr, "<span class='boldannounce'>No images saved</span>")
to_chat(usr, "<span class='boldannounce'>No images saved.</span>")
return
var/datum/picture/selection = targetcam.selectpicture(user)
if(selection)
@@ -963,7 +963,7 @@ GLOBAL_LIST_EMPTY(allCasters)
human_user << browse(dat, "window=newspaper_main;size=300x400")
onclose(human_user, "newspaper_main")
else
to_chat(user, "The paper is full of unintelligible symbols!")
to_chat(user, "<span class='warning'>The paper is full of unintelligible symbols!</span>")
/obj/item/newspaper/proc/notContent(list/L)
if(!L.len)
@@ -1013,7 +1013,7 @@ GLOBAL_LIST_EMPTY(allCasters)
to_chat(user, "<span class='notice'>You scribble illegibly on [src]!</span>")
return
if(scribble_page == curr_page)
to_chat(user, "<span class='notice'>There's already a scribble in this page... You wouldn't want to make things too cluttered, would you?</span>")
to_chat(user, "<span class='warning'>There's already a scribble in this page... You wouldn't want to make things too cluttered, would you?</span>")
else
var/s = stripped_input(user, "Write something", "Newspaper")
if (!s)
@@ -197,7 +197,7 @@
if(anchored) //you can't turn a turret on/off if it's not anchored/secured
on = !on //toggle on/off
else
to_chat(usr, "<span class='notice'>It has to be secured first!</span>")
to_chat(usr, "<span class='warning'>It has to be secured first!</span>")
interact(usr)
return
@@ -275,7 +275,7 @@
locked = !locked
to_chat(user, "<span class='notice'>Controls are now [locked ? "locked" : "unlocked"].</span>")
else
to_chat(user, "<span class='notice'>Access denied.</span>")
to_chat(user, "<span class='alert'>Access denied.</span>")
else if(I.tool_behaviour == TOOL_MULTITOOL && !locked)
if(!multitool_check_buffer(user, I))
return
@@ -289,7 +289,7 @@
if(obj_flags & EMAGGED)
return
to_chat(user, "<span class='warning'>You short out [src]'s threat assessment circuits.</span>")
visible_message("<span class='hear'>[src] hums oddly...</span>")
audible_message("<span class='hear'>[src] hums oddly...</span>")
obj_flags |= EMAGGED
controllock = TRUE
on = FALSE //turns off the turret temporarily
@@ -572,7 +572,7 @@
popDown()
src.mode = mode
power_change()
/datum/action/turret_toggle
name = "Toggle Mode"
@@ -827,7 +827,7 @@
for(var/obj/machinery/porta_turret/T in control_area)
turrets |= T
T.cp = src
/obj/machinery/turretid/examine(mob/user)
. += ..()
if(issilicon(user) && (!stat & BROKEN))
@@ -844,7 +844,7 @@
var/obj/item/multitool/M = I
if(M.buffer && istype(M.buffer, /obj/machinery/porta_turret))
turrets |= M.buffer
to_chat(user, "You link \the [M.buffer] with \the [src]")
to_chat(user, "<span class='notice'>You link \the [M.buffer] with \the [src].</span>")
return
if (issilicon(user))
@@ -853,7 +853,7 @@
if ( get_dist(src, user) == 0 ) // trying to unlock the interface
if (allowed(usr))
if(obj_flags & EMAGGED)
to_chat(user, "<span class='notice'>The turret control is unresponsive.</span>")
to_chat(user, "<span class='warning'>The turret control is unresponsive!</span>")
return
locked = !locked
@@ -866,12 +866,12 @@
if (user.machine==src)
attack_hand(user)
else
to_chat(user, "<span class='warning'>Access denied.</span>")
to_chat(user, "<span class='alert'>Access denied.</span>")
/obj/machinery/turretid/emag_act(mob/user)
if(obj_flags & EMAGGED)
return
to_chat(user, "<span class='danger'>You short out the turret controls' access analysis module.</span>")
to_chat(user, "<span class='notice'>You short out the turret controls' access analysis module.</span>")
obj_flags |= EMAGGED
locked = FALSE
if(user && user.machine == src)
@@ -881,7 +881,7 @@
if(!ailock || IsAdminGhost(user))
return attack_hand(user)
else
to_chat(user, "<span class='notice'>There seems to be a firewall preventing you from accessing this device.</span>")
to_chat(user, "<span class='warning'>There seems to be a firewall preventing you from accessing this device!</span>")
/obj/machinery/turretid/ui_interact(mob/user)
. = ..()
@@ -912,7 +912,7 @@
return
if (locked)
if(!(issilicon(usr) || IsAdminGhost(usr)))
to_chat(usr, "Control panel is locked!")
to_chat(usr, "<span class='warning'>Control panel is locked!</span>")
return
if (href_list["toggleOn"])
toggle_on(usr)
+5 -5
View File
@@ -137,10 +137,10 @@ GLOBAL_LIST_INIT(dye_registry, list(
if(busy)
return
if(state_open)
to_chat(user, "<span class='notice'>Close the door first</span>")
to_chat(user, "<span class='warning'>Close the door first!</span>")
return
if(bloody_mess)
to_chat(user, "<span class='warning'>[src] must be cleaned up first.</span>")
to_chat(user, "<span class='warning'>[src] must be cleaned up first!</span>")
return
busy = TRUE
update_icon()
@@ -182,7 +182,7 @@ GLOBAL_LIST_INIT(dye_registry, list(
color_source = null
update_icon()
/obj/item/proc/dye_item(dye_color, dye_key_override)
/obj/item/proc/dye_item(dye_color, dye_key_override)
var/dye_key_selector = dye_key_override ? dye_key_override : dying_key
if(undyeable)
return FALSE
@@ -280,7 +280,7 @@ GLOBAL_LIST_INIT(dye_registry, list(
return TRUE
if(bloody_mess)
to_chat(user, "<span class='warning'>[src] must be cleaned up first.</span>")
to_chat(user, "<span class='warning'>[src] must be cleaned up first!</span>")
return TRUE
if(contents.len >= max_wash_capacity)
@@ -303,7 +303,7 @@ GLOBAL_LIST_INIT(dye_registry, list(
if(.)
return
if(busy)
to_chat(user, "<span class='warning'>[src] is busy.</span>")
to_chat(user, "<span class='warning'>[src] is busy!</span>")
return
if(user.pulling && user.a_intent == INTENT_GRAB && isliving(user.pulling))
+7 -7
View File
@@ -15,29 +15,29 @@
if(.)
return
if(charges <= 0)
to_chat(user, "The Wish Granter lies silent.")
to_chat(user, "<span class='boldnotice'>The Wish Granter lies silent.</span>")
return
else if(!ishuman(user))
to_chat(user, "You feel a dark stirring inside of the Wish Granter, something you want nothing of. Your instincts are better than any man's.")
to_chat(user, "<span class='boldnotice'>You feel a dark stirring inside of the Wish Granter, something you want nothing of. Your instincts are better than any man's.</span>")
return
else if(is_special_character(user))
to_chat(user, "Even to a heart as dark as yours, you know nothing good will come of this. Something instinctual makes you pull away.")
to_chat(user, "<span class='boldnotice'>Even to a heart as dark as yours, you know nothing good will come of this. Something instinctual makes you pull away.</span>")
else if (!insisting)
to_chat(user, "Your first touch makes the Wish Granter stir, listening to you. Are you really sure you want to do this?")
to_chat(user, "<span class='boldnotice'>Your first touch makes the Wish Granter stir, listening to you. Are you really sure you want to do this?</span>")
insisting++
else
to_chat(user, "You speak. [pick("I want the station to disappear","Humanity is corrupt, mankind must be destroyed","I want to be rich", "I want to rule the world","I want immortality.")]. The Wish Granter answers.")
to_chat(user, "Your head pounds for a moment, before your vision clears. You are the avatar of the Wish Granter, and your power is LIMITLESS! And it's all yours. You need to make sure no one can take it from you. No one can know, first.")
to_chat(user, "<span class='boldnotice'>You speak. [pick("I want the station to disappear","Humanity is corrupt, mankind must be destroyed","I want to be rich", "I want to rule the world","I want immortality.")]. The Wish Granter answers.</span>")
to_chat(user, "<span class='boldnotice'>Your head pounds for a moment, before your vision clears. You are the avatar of the Wish Granter, and your power is LIMITLESS! And it's all yours. You need to make sure no one can take it from you. No one can know, first.</span>")
charges--
insisting = 0
user.mind.add_antag_datum(/datum/antagonist/wishgranter)
to_chat(user, "You have a very bad feeling about this.")
to_chat(user, "<span class='warning'>You have a very bad feeling about this.</span>")
return
@@ -508,7 +508,7 @@
if(..())
return
if(!processed_reagents.len || reagents.total_volume >= reagents.maximum_volume || !chassis.has_charge(energy_drain))
occupant_message("<span class=\"alert\">Reagent processing stopped.</a>")
occupant_message("<span class='alert'>Reagent processing stopped.</span>")
log_message("Reagent processing stopped.", LOG_MECHA)
STOP_PROCESSING(SSobj, src)
return
+2 -2
View File
@@ -762,7 +762,7 @@
AI.controlled_mech = null
AI.remote_control = null
icon_state = initial(icon_state)+"-open"
to_chat(AI, "You have been downloaded to a mobile storage device. Wireless connection offline.")
to_chat(AI, "<span class='notice'>You have been downloaded to a mobile storage device. Wireless connection offline.</span>")
to_chat(user, "<span class='boldnotice'>Transfer successful</span>: [AI.name] ([rand(1000,9999)].exe) removed from [name] and stored within local memory.")
if(AI_MECH_HACK) //Called by AIs on the mech
@@ -1005,7 +1005,7 @@
/obj/mecha/Exited(atom/movable/M, atom/newloc)
if(occupant && occupant == M) // The occupant exited the mech without calling go_out()
go_out(TRUE, newloc)
if(cell && cell == M)
cell = null
return
+5 -5
View File
@@ -167,9 +167,9 @@
if(istype(W, /obj/item/mmi))
if(mmi_move_inside(W,user))
to_chat(user, "[src]-[W] interface initialized successfully.")
to_chat(user, "<span class='notice'>[src]-[W] interface initialized successfully.</span>")
else
to_chat(user, "[src]-[W] interface initialization failed.")
to_chat(user, "<span class='warning'>[src]-[W] interface initialization failed.</span>")
return
if(istype(W, /obj/item/mecha_ammo))
@@ -203,7 +203,7 @@
cell = C
log_message("Powercell installed", LOG_MECHA)
else
to_chat(user, "<span class='notice'>There's already a power cell installed.</span>")
to_chat(user, "<span class='warning'>There's already a power cell installed!</span>")
return
if(istype(W, /obj/item/stock_parts/scanning_module))
@@ -217,7 +217,7 @@
log_message("[W] installed", LOG_MECHA)
update_part_values()
else
to_chat(user, "<span class='notice'>There's already a scanning module installed.</span>")
to_chat(user, "<span class='warning'>There's already a scanning module installed!</span>")
return
if(istype(W, /obj/item/stock_parts/capacitor))
@@ -231,7 +231,7 @@
log_message("[W] installed", LOG_MECHA)
update_part_values()
else
to_chat(user, "<span class='notice'>There's already a capacitor installed.</span>")
to_chat(user, "<span class='warning'>There's already a capacitor installed!</span>")
return
if(istype(W, /obj/item/stack/cable_coil))
+2 -2
View File
@@ -251,10 +251,10 @@
return
if(construction_state == MECHA_LOCKED)
construction_state = MECHA_SECURE_BOLTS
to_chat(usr, "The securing bolts are now exposed.")
to_chat(usr, "<span class='notice'>The securing bolts are now exposed.</span>")
else if(construction_state == MECHA_SECURE_BOLTS)
construction_state = MECHA_LOCKED
to_chat(usr, "The securing bolts are now hidden.")
to_chat(usr, "<span class='notice'>The securing bolts are now hidden.</span>")
output_maintenance_dialog(id_card,usr)
return
if(href_list["drop_cell"])
+3 -3
View File
@@ -63,7 +63,7 @@
return
var/type = pick(welder_salvage)
var/N = new type(get_turf(user))
user.visible_message("[user] cuts [N] from [src].", "<span class='notice'>You cut [N] from [src].</span>")
user.visible_message("<span class='notice'>[user] cuts [N] from [src].</span>", "<span class='notice'>You cut [N] from [src].</span>")
if(!istype(N, /obj/item/stack))
welder_salvage -= type
salvage_num--
@@ -75,7 +75,7 @@
to_chat(user, "<span class='notice'>You don't see anything that can be cut with [I]!</span>")
return
var/N = new /obj/item/stack/cable_coil(get_turf(user), rand(1,3))
user.visible_message("[user] cuts [N] from [src].", "<span class='notice'>You cut [N] from [src].</span>")
user.visible_message("<span class='notice'>[user] cuts [N] from [src].</span>", "<span class='notice'>You cut [N] from [src].</span>")
wires_removed = TRUE
/obj/structure/mecha_wreckage/crowbar_act(mob/living/user, obj/item/I)
@@ -103,7 +103,7 @@
AI.forceMove(card) //Move the dead AI to the card.
card.AI = AI
if(AI.client) //AI player is still in the dead AI and is connected
to_chat(AI, "The remains of your file system have been recovered on a mobile storage device.")
to_chat(AI, "<span class='notice'>The remains of your file system have been recovered on a mobile storage device.</span>")
else //Give the AI a heads-up that it is probably going to get fixed.
AI.notify_ghost_cloning("You have been recovered from the wreckage!", source = card)
to_chat(user, "<span class='boldnotice'>Backup files recovered</span>: [AI.name] ([rand(1000,9999)].exe) salvaged from [name] and stored within local memory.")
+3 -3
View File
@@ -161,7 +161,7 @@ AI MODULES
/obj/item/aiModule/supplied/safeguard/install(datum/ai_laws/law_datum, mob/user)
if(!targetName)
to_chat(user, "No name detected on module, please enter one.")
to_chat(user, "<span class='alert'>No name detected on module, please enter one.</span>")
return 0
..()
@@ -187,7 +187,7 @@ AI MODULES
/obj/item/aiModule/zeroth/oneHuman/install(datum/ai_laws/law_datum, mob/user)
if(!targetName)
to_chat(user, "No name detected on module, please enter one.")
to_chat(user, "<span class='alert'>No name detected on module, please enter one.</span>")
return 0
..()
@@ -253,7 +253,7 @@ AI MODULES
/obj/item/aiModule/supplied/freeform/install(datum/ai_laws/law_datum, mob/user)
if(laws[1] == "")
to_chat(user, "No law detected on module, please create one.")
to_chat(user, "<span class='alert'>No law detected on module, please create one.</span>")
return 0
..()
+5 -5
View File
@@ -134,7 +134,7 @@ RLD
else
if(silo_mats.on_hold())
if(user)
to_chat(user, "Mineral access is on hold, please contact the quartermaster.")
to_chat(user, "<span class='alert'>Mineral access is on hold, please contact the quartermaster.</span>")
return FALSE
if(!silo_mats.mat_container.has_materials(list(/datum/material/iron = 500), amount))
if(user)
@@ -151,7 +151,7 @@ RLD
else
if(silo_mats.on_hold())
if(user)
to_chat(user, "Mineral access is on hold, please contact the quartermaster.")
to_chat(user, "<span class='alert'>Mineral access is on hold, please contact the quartermaster.</span>")
return FALSE
. = silo_mats.mat_container.has_materials(list(/datum/material/iron = 500), amount)
if(!. && user)
@@ -854,10 +854,10 @@ RLD
///index, used in the attack self to get the type. stored here since it doesnt change
var/list/choices = list()
///index, used in the attack self to get the type. stored here since it doesnt change
var/list/name_to_type = list()
var/list/name_to_type = list()
///
var/list/machinery_data = list("cost" = list(), "delay" = list())
/obj/item/construction/plumbing/attack_self(mob/user)
..()
if(!choices.len)
@@ -872,7 +872,7 @@ RLD
var/choice = show_radial_menu(user, src, choices, custom_check = CALLBACK(src, .proc/check_menu, user), require_near = TRUE, tooltips = TRUE)
if(!check_menu(user))
return
blueprint = name_to_type[choice]
playsound(src, 'sound/effects/pop.ogg', 50, FALSE)
to_chat(user, "<span class='notice'>You change [name]s blueprint to '[choice]'.</span>")
+17 -17
View File
@@ -29,12 +29,12 @@ RSF
/obj/item/rsf/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/rcd_ammo))
if((matter + 10) > 30)
to_chat(user, "The RSF can't hold any more matter.")
to_chat(user, "<span class='warning'>The RSF can't hold any more matter!</span>")
return
qdel(W)
matter += 10
playsound(src.loc, 'sound/machines/click.ogg', 10, TRUE)
to_chat(user, "The RSF now holds [matter]/30 fabrication-units.")
to_chat(user, "<span class='notice'>The RSF now holds [matter]/30 fabrication-units.</span>")
else
return ..()
@@ -43,19 +43,19 @@ RSF
switch(mode)
if(5)
mode = 1
to_chat(user, "Changed dispensing mode to 'Drinking Glass'")
to_chat(user, "<span class='notice'>Changed dispensing mode to 'Drinking Glass'.</span>")
if(1)
mode = 2
to_chat(user, "Changed dispensing mode to 'Paper'")
to_chat(user, "<span class='notice'>Changed dispensing mode to 'Paper'.</span>")
if(2)
mode = 3
to_chat(user, "Changed dispensing mode to 'Pen'")
to_chat(user, "<span class='notice'>Changed dispensing mode to 'Pen'.</span>")
if(3)
mode = 4
to_chat(user, "Changed dispensing mode to 'Dice Pack'")
to_chat(user, "<span class='notice'>Changed dispensing mode to 'Dice Pack'.</span>")
if(4)
mode = 5
to_chat(user, "Changed dispensing mode to 'Cigarette'")
to_chat(user, "<span class='notice'>Changed dispensing mode to 'Cigarette'.</span>")
// Change mode
/obj/item/rsf/afterattack(atom/A, mob/user, proximity)
@@ -78,23 +78,23 @@ RSF
playsound(src.loc, 'sound/machines/click.ogg', 10, TRUE)
switch(mode)
if(1)
to_chat(user, "Dispensing Drinking Glass...")
to_chat(user, "<span class='notice'>Dispensing Drinking Glass...</span>")
new /obj/item/reagent_containers/food/drinks/drinkingglass(T)
use_matter(20, user)
if(2)
to_chat(user, "Dispensing Paper Sheet...")
to_chat(user, "<span class='notice'>Dispensing Paper Sheet...</span>")
new /obj/item/paper(T)
use_matter(10, user)
if(3)
to_chat(user, "Dispensing Pen...")
to_chat(user, "<span class='notice'>Dispensing Pen...</span>")
new /obj/item/pen(T)
use_matter(50, user)
if(4)
to_chat(user, "Dispensing Dice Pack...")
to_chat(user, "<span class='notice'>Dispensing Dice Pack...</span>")
new /obj/item/storage/pill_bottle/dice(T)
use_matter(200, user)
if(5)
to_chat(user, "Dispensing Cigarette...")
to_chat(user, "<span class='notice'>Dispensing Cigarette...</span>")
new /obj/item/clothing/mask/cigarette(T)
use_matter(10, user)
@@ -104,7 +104,7 @@ RSF
R.cell.charge -= charge
else
matter--
to_chat(user, "The RSF now holds [matter]/30 fabrication-units.")
to_chat(user, "<span class='notice'>The RSF now holds [matter]/30 fabrication-units.</span>")
/obj/item/cookiesynth
name = "Cookie Synthesizer"
@@ -140,13 +140,13 @@ RSF
P = user
if((obj_flags & EMAGGED)&&!toxin)
toxin = 1
to_chat(user, "Cookie Synthesizer Hacked")
to_chat(user, "<span class='alert'>Cookie Synthesizer hacked.</span>")
else if(P.emagged&&!toxin)
toxin = 1
to_chat(user, "Cookie Synthesizer Hacked")
to_chat(user, "<span class='alert'>Cookie Synthesizer hacked.</span>")
else
toxin = 0
to_chat(user, "Cookie Synthesizer Reset")
to_chat(user, "<span class='notice'>Cookie Synthesizer reset.</span>")
/obj/item/cookiesynth/process()
if(matter < 10)
@@ -170,7 +170,7 @@ RSF
return
var/turf/T = get_turf(A)
playsound(src.loc, 'sound/machines/click.ogg', 10, TRUE)
to_chat(user, "Fabricating Cookie..")
to_chat(user, "<span class='notice'>Fabricating Cookie...</span>")
var/obj/item/reagent_containers/food/snacks/cookie/S = new /obj/item/reagent_containers/food/snacks/cookie(T)
if(toxin)
S.reagents.add_reagent(/datum/reagent/toxin/chloralhydrate, 10)
+3 -3
View File
@@ -35,10 +35,10 @@
//because you're expecting user input.
/obj/item/airlock_painter/proc/can_use(mob/user)
if(!ink)
to_chat(user, "<span class='notice'>There is no toner cartridge installed in [src]!</span>")
to_chat(user, "<span class='warning'>There is no toner cartridge installed in [src]!</span>")
return 0
else if(ink.charges < 1)
to_chat(user, "<span class='notice'>[src] is out of ink!</span>")
to_chat(user, "<span class='warning'>[src] is out of ink!</span>")
return 0
else
return 1
@@ -108,7 +108,7 @@
/obj/item/airlock_painter/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/toner))
if(ink)
to_chat(user, "<span class='notice'>[src] already contains \a [ink].</span>")
to_chat(user, "<span class='warning'>[src] already contains \a [ink]!</span>")
return
if(!user.transferItemToLoc(W, src))
return
+1 -1
View File
@@ -186,7 +186,7 @@
if(!str || !length(str) || str==prevname) //cancel
return
if(length(str) > 50)
to_chat(usr, "<span class='warning'>The given name is too long. The area's name is unchanged.</span>")
to_chat(usr, "<span class='warning'>The given name is too long. The area's name is unchanged.</span>")
return
rename_area(A, str)
+6 -6
View File
@@ -28,13 +28,13 @@
/obj/item/station_charter/attack_self(mob/living/user)
if(used)
to_chat(user, "The [name_type] has already been named.")
to_chat(user, "<span class='warning'>The [name_type] has already been named!</span>")
return
if(!ignores_timeout && (world.time-SSticker.round_start_time > STATION_RENAME_TIME_LIMIT)) //5 minutes
to_chat(user, "The crew has already settled into the shift. It probably wouldn't be good to rename the [name_type] right now.")
to_chat(user, "<span class='warning'>The crew has already settled into the shift. It probably wouldn't be good to rename the [name_type] right now.</span>")
return
if(response_timer_id)
to_chat(user, "You're still waiting for approval from your employers about your proposed name change, it'd be best to wait for now.")
to_chat(user, "<span class='warning'>You're still waiting for approval from your employers about your proposed name change, it'd be best to wait for now.</span>")
return
var/new_name = stripped_input(user, message="What do you want to name \
@@ -43,7 +43,7 @@
will automatically be accepted.", max_length=MAX_CHARTER_LEN)
if(response_timer_id)
to_chat(user, "You're still waiting for approval from your employers about your proposed name change, it'd be best to wait for now.")
to_chat(user, "<span class='warning'>You're still waiting for approval from your employers about your proposed name change, it'd be best to wait for now.</span>")
return
if(!new_name)
@@ -52,11 +52,11 @@
[new_name]")
if(standard_station_regex.Find(new_name))
to_chat(user, "Your name has been automatically approved.")
to_chat(user, "<span class='notice'>Your name has been automatically approved.</span>")
rename_station(new_name, user.name, user.real_name, key_name(user))
return
to_chat(user, "Your name has been sent to your employers for approval.")
to_chat(user, "<span class='notice'>Your name has been sent to your employers for approval.</span>")
// Autoapproves after a certain time
response_timer_id = addtimer(CALLBACK(src, .proc/rename_station, new_name, user.name, user.real_name, key_name(user)), approval_time, TIMER_STOPPABLE)
to_chat(GLOB.admins, "<span class='adminnotice'><b><font color=orange>CUSTOM STATION RENAME:</font></b>[ADMIN_LOOKUPFLW(user)] proposes to rename the [name_type] to [new_name] (will autoapprove in [DisplayTimeText(approval_time)]). [ADMIN_SMITE(user)] (<A HREF='?_src_=holder;[HrefToken(TRUE)];reject_custom_name=[REF(src)]'>REJECT</A>) [ADMIN_CENTCOM_REPLY(user)]</span>")
@@ -38,7 +38,7 @@
/obj/item/circuitboard/computer/card/minor/examine(user)
..()
to_chat(user, "Currently set to \"[dept_list[target_dept]]\".")
to_chat(user, "<span class='notice'>Currently set to \"[dept_list[target_dept]]\".</span>")
//obj/item/circuitboard/computer/shield
@@ -446,7 +446,7 @@
contraband = !contraband
to_chat(user, "<span class='notice'>Receiver spectrum set to [contraband ? "Broad" : "Standard"].</span>")
else
to_chat(user, "<span class='notice'>The spectrum chip is unresponsive.</span>")
to_chat(user, "<span class='alert'>The spectrum chip is unresponsive.</span>")
/obj/item/circuitboard/computer/cargo/emag_act(mob/living/user)
if(!(obj_flags & EMAGGED))
@@ -461,7 +461,7 @@
/obj/item/circuitboard/computer/cargo/express/multitool_act(mob/living/user)
. = ..()
if (!(obj_flags & EMAGGED))
to_chat(user, "<span class='notice'>Routing protocols are already set to: \"factory defaults\".</span>")
to_chat(user, "<span class='alert'>Routing protocols are already set to: \"factory defaults\".</span>")
else
to_chat(user, "<span class='notice'>You reset the routing protocols to: \"factory defaults\".</span>")
obj_flags &= ~EMAGGED
+1 -1
View File
@@ -28,7 +28,7 @@
mode = WAND_EMERGENCY
if(WAND_EMERGENCY)
mode = WAND_OPEN
to_chat(user, "Now in mode: [mode].")
to_chat(user, "<span class='notice'>Now in mode: [mode].</span>")
// Airlock remote works by sending NTNet packets to whatever it's pointed at.
/obj/item/door_remote/afterattack(atom/A, mob/user)
+5 -5
View File
@@ -394,7 +394,7 @@
SStgui.update_uis(src)
if(post_noise)
audible_message("<span class='notice'>You hear spraying.</span>")
audible_message("<span class='hear'>You hear spraying.</span>")
playsound(user.loc, 'sound/effects/spray.ogg', 5, TRUE, 5)
var/fraction = min(1, . / reagents.maximum_volume)
@@ -417,7 +417,7 @@
if(covered)
to_chat(C, "<span class='warning'>You have to remove your [covered] first!</span>")
return
to_chat(user, "You take a bite of the [src.name]. Delicious!")
to_chat(user, "<span class='notice'>You take a bite of the [src.name]. Delicious!</span>")
var/eaten = use_charges(user, 5, FALSE)
if(check_empty(user)) //Prevents divsion by zero
return
@@ -543,13 +543,13 @@
var/obj/item/toy/crayon/C = W
switch(C.crayon_color)
if("mime")
to_chat(usr, "This crayon is too sad to be contained in this box.")
to_chat(usr, "<span class='warning'>This crayon is too sad to be contained in this box!</span>")
return
if("rainbow")
to_chat(usr, "This crayon is too powerful to be contained in this box.")
to_chat(usr, "<span class='warning'>This crayon is too powerful to be contained in this box!</span>")
return
if(istype(W, /obj/item/toy/crayon/spraycan))
to_chat(user, "Spraycans are not crayons.")
to_chat(user, "<span class='warning'>Spraycans are not crayons!</span>")
return
return ..()
+2 -2
View File
@@ -125,7 +125,7 @@
else if(istype(W, /obj/item/stock_parts/cell))
var/obj/item/stock_parts/cell/C = W
if(cell)
to_chat(user, "<span class='notice'>[src] already has a cell.</span>")
to_chat(user, "<span class='warning'>[src] already has a cell!</span>")
else
if(C.maxcharge < paddles.revivecost)
to_chat(user, "<span class='notice'>[src] requires a higher capacity cell.</span>")
@@ -589,7 +589,7 @@
if (H.suiciding)
failed = "<span class='warning'>[req_defib ? "[defib]" : "[src]"] buzzes: Resuscitation failed - Recovery of patient impossible. Further attempts futile.</span>"
else if (H.hellbound)
failed = "<span class='warning'>[req_defib ? "[defib]" : "[src]"] buzzes: Resuscitation failed - Patient's soul appears to be on another plane of existence. Further attempts futile.</span>"
failed = "<span class='warning'>[req_defib ? "[defib]" : "[src]"] buzzes: Resuscitation failed - Patient's soul appears to be on another plane of existence. Further attempts futile.</span>"
else if (tplus > tlimit)
failed = "<span class='warning'>[req_defib ? "[defib]" : "[src]"] buzzes: Resuscitation failed - Body has decayed for too long. Further attempts futile.</span>"
else if (!heart)
+2 -2
View File
@@ -957,7 +957,7 @@ GLOBAL_LIST_EMPTY(PDAs)
var/list/namecounts = list()
if(aiPDA.toff)
to_chat(user, "Turn on your receiver in order to send messages.")
to_chat(user, "<span class='alert'>Turn on your receiver in order to send messages.</span>")
return
for (var/obj/item/pda/P in get_viewable_pdas())
@@ -993,7 +993,7 @@ GLOBAL_LIST_EMPTY(PDAs)
var/HTML = "<html><head><title>AI PDA Message Log</title></head><body>[aiPDA.tnote]</body></html>"
user << browse(HTML, "window=log;size=400x444;border=1;can_resize=1;can_close=1;can_minimize=0")
else
to_chat(user, "You do not have a PDA. You should make an issue report about this.")
to_chat(user, "<span class='warning'>You do not have a PDA! You should make an issue report about this.</span>")
// Pass along the pulse to atoms in contents, largely added so pAIs are vulnerable to EMP
/obj/item/pda/emp_act(severity)
@@ -32,7 +32,7 @@
to_chat(U, "<span class='notice'>Virus Sent!</span>")
target.honkamt = (rand(15,20))
else
to_chat(U, "PDA not found.")
to_chat(U, "<span class='alert'>PDA not found.</span>")
/obj/item/cartridge/virus/mime
name = "\improper Gestur-O 1000 cartridge"
@@ -41,7 +41,7 @@
/obj/item/cartridge/virus/mime/send_virus(obj/item/pda/target, mob/living/U)
if(charges <= 0)
to_chat(U, "<span class='notice'>Out of charges.</span>")
to_chat(U, "<span class='alert'>Out of charges.</span>")
return
if(!isnull(target) && !target.toff)
charges--
@@ -49,7 +49,7 @@
target.silent = TRUE
target.ttone = "silence"
else
to_chat(U, "PDA not found.")
to_chat(U, "<span class='alert'>PDA not found.</span>")
/obj/item/cartridge/virus/syndicate
name = "\improper Detomatix cartridge"
@@ -78,7 +78,7 @@
U.show_message("<span class='notice'>Success!</span>", MSG_VISUAL)
target.explode()
else
to_chat(U, "PDA not found.")
to_chat(U, "<span class='alert'>PDA not found.</span>")
/obj/item/cartridge/virus/frame
name = "\improper F.R.A.M.E. cartridge"
@@ -87,12 +87,12 @@
/obj/item/cartridge/virus/frame/send_virus(obj/item/pda/target, mob/living/U)
if(charges <= 0)
to_chat(U, "<span class='notice'>Out of charges.</span>")
to_chat(U, "<span class='alert'>Out of charges.</span>")
return
if(!isnull(target) && !target.toff)
charges--
var/lock_code = "[rand(100,999)] [pick(GLOB.phonetic_alphabet)]"
to_chat(U, "<span class='notice'>Virus Sent! The unlock code to the target is: [lock_code]</span>")
to_chat(U, "<span class='notice'>Virus Sent! The unlock code to the target is: [lock_code]</span>")
var/datum/component/uplink/hidden_uplink = target.GetComponent(/datum/component/uplink)
if(!hidden_uplink)
hidden_uplink = target.AddComponent(/datum/component/uplink)
@@ -103,4 +103,4 @@
telecrystals = 0
hidden_uplink.active = TRUE
else
to_chat(U, "PDA not found.")
to_chat(U, "<span class='alert'>PDA not found.</span>")
+3 -3
View File
@@ -86,7 +86,7 @@
if(confirm == "Yes" && !..())
flush = TRUE
if(AI && AI.loc == src)
to_chat(AI, "Your core files are being wiped!")
to_chat(AI, "<span class='userdanger'>Your core files are being wiped!</span>")
while(AI.stat != DEAD && flush)
AI.adjustOxyLoss(1)
AI.updatehealth()
@@ -95,10 +95,10 @@
. = TRUE
if("wireless")
AI.control_disabled = !AI.control_disabled
to_chat(AI, "[src]'s wireless port has been [AI.control_disabled ? "disabled" : "enabled"]!")
to_chat(AI, "<span class='warning'>[src]'s wireless port has been [AI.control_disabled ? "disabled" : "enabled"]!</span>")
. = TRUE
if("radio")
AI.radio_enabled = !AI.radio_enabled
to_chat(AI, "Your Subspace Transceiver has been [AI.radio_enabled ? "enabled" : "disabled"]!")
to_chat(AI, "<span class='warning'>Your Subspace Transceiver has been [AI.radio_enabled ? "enabled" : "disabled"]!</span>")
. = TRUE
update_icon()
@@ -243,7 +243,7 @@
if(!same_z_level(C))
return
if(!C.can_use())
to_chat(usr, "<span class='warning'>Something's wrong with that camera! You can't get a feed.</span>")
to_chat(usr, "<span class='warning'>Something's wrong with that camera! You can't get a feed.</span>")
return
current = C
spawn(6)
@@ -306,7 +306,7 @@
to_chat(user, "<span class='warning'>[src] is out of fuel!</span>")
return
if(on)
to_chat(user, "<span class='notice'>[src] is already on.</span>")
to_chat(user, "<span class='warning'>[src] is already on!</span>")
return
. = ..()
@@ -407,7 +407,7 @@
"<span class='userdanger'>[user] blinks \the [src] at you.</span>")
else
A.visible_message("<span class='danger'>[user] blinks \the [src] at \the [A].</span>")
to_chat(user, "\The [src] now has [emp_cur_charges] charge\s.</span>")
to_chat(user, "<span class='notice'>\The [src] now has [emp_cur_charges] charge\s.</span>")
A.emp_act(EMP_HEAVY)
else
to_chat(user, "<span class='warning'>\The [src] needs time to recharge!</span>")
@@ -474,7 +474,7 @@
to_chat(user, "<span class='notice'>[src] is spent.</span>")
return
if(on)
to_chat(user, "<span class='notice'>[src] is already lit.</span>")
to_chat(user, "<span class='warning'>[src] is already lit!</span>")
return
. = ..()
@@ -46,7 +46,7 @@
diode = W
to_chat(user, "<span class='notice'>You install a [diode.name] in [src].</span>")
else
to_chat(user, "<span class='notice'>[src] already has a diode installed.</span>")
to_chat(user, "<span class='warning'>[src] already has a diode installed!</span>")
else if(W.tool_behaviour == TOOL_SCREWDRIVER)
if(diode)
@@ -212,7 +212,7 @@
return
else
to_chat(U, "\The [src]'s refill light blinks red.")
to_chat(U, "<span class='warning'>\The [src]'s refill light blinks red.</span>")
return
else
to_chat(U, "<span class='warning'>There is a working [target.fitting] already inserted!</span>")
@@ -250,7 +250,7 @@
ReplaceLight(A, U)
if(!used)
to_chat(U, "\The [src]'s refill light blinks red.")
to_chat(U, "<span class='warning'>\The [src]'s refill light blinks red.</span>")
/obj/item/lightreplacer/proc/janicart_insert(mob/user, obj/structure/janitorialcart/J)
J.put_in_cart(src, user)
@@ -56,7 +56,7 @@
/obj/item/pressure_plate/attack_self(mob/living/L)
if(removable_signaller && istype(sigdev))
to_chat(L, "<span class='notice'>You remove [sigdev] from [src]</span>")
to_chat(L, "<span class='notice'>You remove [sigdev] from [src].</span>")
if(!L.put_in_hands(sigdev))
sigdev.forceMove(get_turf(src))
sigdev = null
@@ -78,4 +78,3 @@
active = FALSE
if(tile_overlay)
loc.overlays -= tile_overlay
@@ -300,7 +300,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
to_chat(user, "<span class='notice'>You pop out the encryption keys in the headset.</span>")
else
to_chat(user, "<span class='warning'>This headset doesn't have any unique encryption keys! How useless...</span>")
to_chat(user, "<span class='warning'>This headset doesn't have any unique encryption keys! How useless...</span>")
else if(istype(W, /obj/item/encryptionkey))
if(keyslot && keyslot2)
+2 -2
View File
@@ -301,7 +301,7 @@ GENE SCANNER
major_damage += ", "
major_damage += organ.name
else
major_damage = "\t<span class='info'>Severely Damaged Organs: "
major_damage = "\t<span class='info'>Severely Damaged Organs: </span>"
major_damage += organ.name
else if(organ.damage > organ.low_threshold)
report_organs = TRUE
@@ -309,7 +309,7 @@ GENE SCANNER
minor_damage += ", "
minor_damage += organ.name
else
minor_damage = "\t<span class='info'>Mildly Damaged Organs: "
minor_damage = "\t<span class='info'>Mildly Damaged Organs: </span>"
minor_damage += organ.name
if(report_organs) //we either finish the list, or set it to be empty if no organs were reported in that category
+1 -1
View File
@@ -64,7 +64,7 @@
"<span class='userdanger'>[user] is trying to inject you with [src]!</span>")
if(!do_mob(user, target) || used)
return
target.visible_message("<span class='danger'>[user] injects [target] with the syringe with [src]!", \
target.visible_message("<span class='danger'>[user] injects [target] with the syringe with [src]!</span>", \
"<span class='userdanger'>[user] injects you with the syringe with [src]!</span>")
else
+3 -3
View File
@@ -72,7 +72,7 @@
return TRUE
for(var/datum/action/A in user.actions)
if(A.type == granted_action)
to_chat(user, "<span class='notice'>You already know all about [actionname].</span>")
to_chat(user, "<span class='warning'>You already know all about [actionname]!</span>")
return TRUE
return FALSE
@@ -125,9 +125,9 @@
if(knownspell.type == spell)
if(user.mind)
if(iswizard(user))
to_chat(user,"<span class='notice'>You're already far more versed in this spell than this flimsy how-to book can provide.</span>")
to_chat(user,"<span class='warning'>You're already far more versed in this spell than this flimsy how-to book can provide!</span>")
else
to_chat(user,"<span class='notice'>You've already read this one.</span>")
to_chat(user,"<span class='warning'>You've already read this one!</span>")
return TRUE
return FALSE
+4 -4
View File
@@ -440,7 +440,7 @@
if(possessed)
return
to_chat(user, "You attempt to wake the spirit of the blade...")
to_chat(user, "<span class='notice'>You attempt to wake the spirit of the blade...</span>")
possessed = TRUE
@@ -459,12 +459,12 @@
name = input
S.fully_replace_character_name(null, "The spirit of [input]")
else
to_chat(user, "The blade is dormant. Maybe you can try again later.")
to_chat(user, "<span class='warning'>The blade is dormant. Maybe you can try again later.</span>")
possessed = FALSE
/obj/item/nullrod/scythe/talking/Destroy()
for(var/mob/living/simple_animal/shade/S in contents)
to_chat(S, "You were destroyed!")
to_chat(S, "<span class='userdanger'>You were destroyed!</span>")
qdel(S)
return ..()
@@ -606,7 +606,7 @@
/obj/item/nullrod/carp/attack_self(mob/living/user)
if(used_blessing)
else if(user.mind && (user.mind.isholy))
to_chat(user, "You are blessed by Carp-Sie. Wild space carp will no longer attack you.")
to_chat(user, "<span class='boldnotice'>You are blessed by Carp-Sie. Wild space carp will no longer attack you.</span>")
user.faction |= "carp"
used_blessing = TRUE
+2 -2
View File
@@ -22,7 +22,7 @@
/obj/item/hourglass/proc/toggle(mob/user)
if(!timing_id)
to_chat(user,"<span class='notice'>You flip the [src]</span>")
to_chat(user,"<span class='notice'>You flip the [src].</span>")
start()
flick("hourglass_flip",src)
else
@@ -79,4 +79,4 @@
if(user.client && user.client.holder)
toggle(user)
#undef HOURGLASS_STATES
#undef HOURGLASS_STATES
@@ -9,7 +9,7 @@
/obj/item/implant/freedom/activate()
. = ..()
uses--
to_chat(imp_in, "You feel a faint click.")
to_chat(imp_in, "<span class='hear'>You feel a faint click.</span>")
if(iscarbon(imp_in))
var/mob/living/carbon/C_imp_in = imp_in
C_imp_in.uncuff()
+2 -2
View File
@@ -83,7 +83,7 @@
update_icon()
return
else
to_chat(user, "<span class='notice'>[src] already has \a [cell] installed!</span>")
to_chat(user, "<span class='warning'>[src] already has \a [cell] installed!</span>")
return
if(cantbeused(user))
@@ -105,7 +105,7 @@
var/obj/O
var/coefficient = 1
if(istype(A, /obj/item/gun/energy))
to_chat(user,"Error unable to interface with device")
to_chat(user, "<span class='alert'>Error unable to interface with device.</span>")
return FALSE
if(istype(A, /obj))
O = A
+5 -5
View File
@@ -237,7 +237,7 @@
add_fingerprint(user)
if((HAS_TRAIT(user, TRAIT_CLUMSY)) && prob(50))
to_chat(user, "<span class ='danger'>You hit yourself over the head.</span>")
to_chat(user, "<span class ='userdanger'>You hit yourself over the head!</span>")
user.Paralyze(knockdown_time_carbon * force)
user.adjustStaminaLoss(stamina_damage)
@@ -609,14 +609,14 @@
return
if (is_type_in_typecache(target, ovens))
if (held_sausage && held_sausage.roasted)
to_chat("Your [held_sausage] has already been cooked.")
to_chat("<span class='warning'>Your [held_sausage] has already been cooked!</span>")
return
if (istype(target, /obj/singularity) && get_dist(user, target) < 10)
to_chat(user, "You send [held_sausage] towards [target].")
to_chat(user, "<span class='notice'>You send [held_sausage] towards [target].</span>")
playsound(src, 'sound/items/rped.ogg', 50, TRUE)
beam = user.Beam(target,icon_state="rped_upgrade",time=100)
else if (user.Adjacent(target))
to_chat(user, "You extend [src] towards [target].")
to_chat(user, "<span class='notice'>You extend [src] towards [target].</span>")
playsound(src.loc, 'sound/weapons/batonextend.ogg', 50, TRUE)
else
return
@@ -627,7 +627,7 @@
playsound(src, 'sound/weapons/batonextend.ogg', 50, TRUE)
/obj/item/melee/roastingstick/proc/finish_roasting(user, atom/target)
to_chat(user, "You finish roasting [held_sausage]")
to_chat(user, "<span class='notice'>You finish roasting [held_sausage].</span>")
playsound(src,'sound/items/welder2.ogg',50,TRUE)
held_sausage.add_atom_colour(rgb(103,63,24), FIXED_COLOUR_PRIORITY)
held_sausage.name = "[target.name]-roasted [held_sausage.name]"
+1 -1
View File
@@ -129,7 +129,7 @@
/obj/item/choice_beacon/augments/spawn_option(obj/choice,mob/living/M)
new choice(get_turf(M))
to_chat(M, "You hear something crackle from the beacon for a moment before a voice speaks. \"Please stand by for a message from S.E.L.F. Message as follows: <span class='bold'>Item request received. Your package has been transported, use the autosurgeon supplied to apply the upgrade.</span> Message ends.\"")
to_chat(M, "<span class='hear'>You hear something crackle from the beacon for a moment before a voice speaks. \"Please stand by for a message from S.E.L.F. Message as follows: <b>Item request received. Your package has been transported, use the autosurgeon supplied to apply the upgrade.</b> Message ends.\"</span>")
/obj/item/skub
desc = "It's skub."
+3 -3
View File
@@ -97,7 +97,7 @@
head = null
to_chat(user, "<span class='notice'>You disassemble the cyborg shell.</span>")
else
to_chat(user, "<span class='notice'>There is nothing to remove from the endoskeleton.</span>")
to_chat(user, "<span class='warning'>There is nothing to remove from the endoskeleton!</span>")
update_icon()
/obj/item/robot_suit/proc/put_in_hand_or_drop(mob/living/user, obj/item/I) //normal put_in_hands() drops the item ontop of the player, this drops it at the suit's loc
@@ -112,7 +112,7 @@
return TRUE
if(!chest) //can't remove a cell if there's no chest to remove it from.
to_chat(user, "<span class='notice'>[src] has no attached torso.</span>")
to_chat(user, "<span class='warning'>[src] has no attached torso!</span>")
return
var/obj/item/stock_parts/cell/temp_cell = user.is_holding_item_of_type(/obj/item/stock_parts/cell)
@@ -131,7 +131,7 @@
to_chat(user, "<span class='notice'>You remove [chest.cell] from [src].</span>")
chest.cell = null
else
to_chat(user, "<span class='notice'>The power cell slot in [src]'s torso is empty.</span>")
to_chat(user, "<span class='warning'>The power cell slot in [src]'s torso is empty!</span>")
return
to_chat(user, "<span class='notice'>You [chest.cell ? "replace [src]'s [chest.cell.name] with [temp_cell]" : "insert [temp_cell] into [src]"].</span>")
+15 -15
View File
@@ -16,11 +16,11 @@
/obj/item/borg/upgrade/proc/action(mob/living/silicon/robot/R, user = usr)
if(R.stat == DEAD)
to_chat(user, "<span class='notice'>[src] will not function on a deceased cyborg.</span>")
to_chat(user, "<span class='warning'>[src] will not function on a deceased cyborg!</span>")
return FALSE
if(module_type && !is_type_in_list(R.module, module_type))
to_chat(R, "Upgrade mounting error! No suitable hardpoint detected!")
to_chat(user, "There's no mounting point for the module!")
to_chat(R, "<span class='alert'>Upgrade mounting error! No suitable hardpoint detected.</span>")
to_chat(user, "<span class='warning'>There's no mounting point for the module!</span>")
return FALSE
return TRUE
@@ -77,11 +77,11 @@
if(.)
var/obj/item/gun/energy/disabler/cyborg/T = locate() in R.module.modules
if(!T)
to_chat(user, "<span class='notice'>There's no disabler in this unit!</span>")
to_chat(user, "<span class='warning'>There's no disabler in this unit!</span>")
return FALSE
if(T.charge_delay <= 2)
to_chat(R, "<span class='notice'>A cooling unit is already installed!</span>")
to_chat(user, "<span class='notice'>There's no room for another cooling unit!</span>")
to_chat(R, "<span class='warning'>A cooling unit is already installed!</span>")
to_chat(user, "<span class='warning'>There's no room for another cooling unit!</span>")
return FALSE
T.charge_delay = max(2 , T.charge_delay - 4)
@@ -103,7 +103,7 @@
. = ..()
if(.)
if(R.ionpulse)
to_chat(user, "<span class='notice'>This unit already has ion thrusters installed!</span>")
to_chat(user, "<span class='warning'>This unit already has ion thrusters installed!</span>")
return FALSE
R.ionpulse = TRUE
@@ -282,7 +282,7 @@
if(.)
var/obj/item/borg/upgrade/selfrepair/U = locate() in R
if(U)
to_chat(user, "<span class='warning'>This unit is already equipped with a self-repair module.</span>")
to_chat(user, "<span class='warning'>This unit is already equipped with a self-repair module!</span>")
return FALSE
icon_state = "selfrepair_off"
@@ -333,12 +333,12 @@
if(istype(cyborg) && (cyborg.stat != DEAD) && on)
if(!cyborg.cell)
to_chat(cyborg, "<span class='warning'>Self-repair module deactivated. Please, insert the power cell.</span>")
to_chat(cyborg, "<span class='alert'>Self-repair module deactivated. Please insert power cell.</span>")
deactivate_sr()
return
if(cyborg.cell.charge < powercost * 2)
to_chat(cyborg, "<span class='warning'>Self-repair module deactivated. Please recharge.</span>")
to_chat(cyborg, "<span class='alert'>Self-repair module deactivated. Please recharge.</span>")
deactivate_sr()
return
@@ -501,7 +501,7 @@
if(.)
if(R.hasExpanded)
to_chat(usr, "<span class='notice'>This unit already has an expand module installed!</span>")
to_chat(usr, "<span class='warning'>This unit already has an expand module installed!</span>")
return FALSE
R.notransform = TRUE
@@ -545,7 +545,7 @@
var/obj/item/storage/part_replacer/cyborg/RPED = locate() in R
if(RPED)
to_chat(user, "<span class='warning'>This unit is already equipped with a RPED module.</span>")
to_chat(user, "<span class='warning'>This unit is already equipped with a RPED module!</span>")
return FALSE
RPED = new(R.module)
@@ -574,7 +574,7 @@
var/obj/item/pinpointer/crew/PP = locate() in R.module
if(PP)
to_chat(user, "<span class='warning'>This unit is already equipped with a pinpointer module.</span>")
to_chat(user, "<span class='warning'>This unit is already equipped with a pinpointer module!</span>")
return FALSE
PP = new(R.module)
@@ -630,7 +630,7 @@
if(.)
var/obj/item/borg/apparatus/circuit/C = locate() in R.module.modules
if(C)
to_chat(user, "<span class='warning'>This unit is already equipped with a circuit apparatus.</span>")
to_chat(user, "<span class='warning'>This unit is already equipped with a circuit apparatus!</span>")
return FALSE
C = new(R.module)
@@ -656,7 +656,7 @@
if(.)
var/obj/item/borg/apparatus/beaker/extra/E = locate() in R.module.modules
if(E)
to_chat(user, "<span class='warning'>This unit has no room for additional beaker storage.</span>")
to_chat(user, "<span class='warning'>This unit has no room for additional beaker storage!</span>")
return FALSE
E = new(R.module)
+4 -4
View File
@@ -45,7 +45,7 @@
cooldown = world.time
else if(istype(W, /obj/item/stack/sheet/mineral/titanium))
if (obj_integrity >= max_integrity)
to_chat(user, "<span class='notice'>[src] is already in perfect condition.</span>")
to_chat(user, "<span class='warning'>[src] is already in perfect condition.</span>")
else
var/obj/item/stack/sheet/mineral/titanium/T = W
T.use(1)
@@ -148,10 +148,10 @@
if(istype(W, /obj/item/assembly/flash/handheld))
var/obj/item/assembly/flash/handheld/flash = W
if(flash.burnt_out)
to_chat(user, "No sense replacing it with a broken bulb.")
to_chat(user, "<span class='warning'>No sense replacing it with a broken bulb!</span>")
return
else
to_chat(user, "You begin to replace the bulb.")
to_chat(user, "<span class='notice'>You begin to replace the bulb...</span>")
if(do_after(user, 20, target = user))
if(flash.burnt_out || !flash || QDELETED(flash))
return
@@ -211,7 +211,7 @@
/obj/item/shield/energy/attack_self(mob/living/carbon/human/user)
if(clumsy_check && HAS_TRAIT(user, TRAIT_CLUMSY) && prob(50))
to_chat(user, "<span class='warning'>You beat yourself in the head with [src].</span>")
to_chat(user, "<span class='userdanger'>You beat yourself in the head with [src]!</span>")
user.take_bodypart_damage(5)
active = !active
icon_state = "[base_icon_state][active]"
@@ -32,7 +32,7 @@
return
cart.telecrystals += amount
use(amount)
to_chat(user, "<span class='notice'>You slot [src] into [cart]. The next time it's used, it will also give telecrystals.</span>")
to_chat(user, "<span class='notice'>You slot [src] into [cart]. The next time it's used, it will also give telecrystals.</span>")
/obj/item/stack/telecrystal/five
amount = 5
+2 -2
View File
@@ -78,7 +78,7 @@
if(istype(W, /obj/item/stock_parts/cell))
var/obj/item/stock_parts/cell/C = W
if(cell)
to_chat(user, "<span class='notice'>[src] already has a cell.</span>")
to_chat(user, "<span class='warning'>[src] already has a cell!</span>")
else
if(C.maxcharge < hitcost)
to_chat(user, "<span class='notice'>[src] requires a higher capacity cell.</span>")
@@ -138,7 +138,7 @@
if(baton_effect(M, user))
user.do_attack_animation(M)
return
else
else
to_chat(user, "<span class='danger'>The baton is still charging!</span>")
else
M.visible_message("<span class='warning'>[user] has prodded [M] with [src]. Luckily it was off.</span>", \
+4 -4
View File
@@ -234,7 +234,7 @@
/obj/item/extinguisher/mini/nozzle/doMove(atom/destination)
if(destination && (destination != tank.loc || !ismob(destination)))
if(loc != tank)
to_chat(tank.loc, "<span class='notice'>The nozzle snaps back onto the tank!</span>")
to_chat(tank.loc, "<span class='notice'>The nozzle snaps back onto the tank.</span>")
destination = tank
..()
@@ -243,17 +243,17 @@
if(EXTINGUISHER)
nozzle_mode = RESIN_LAUNCHER
tank.icon_state = "waterbackpackatmos_1"
to_chat(user, "Swapped to resin launcher")
to_chat(user, "<span class='notice'>Swapped to resin launcher.</span>")
return
if(RESIN_LAUNCHER)
nozzle_mode = RESIN_FOAM
tank.icon_state = "waterbackpackatmos_2"
to_chat(user, "Swapped to resin foamer")
to_chat(user, "<span class='notice'>Swapped to resin foamer.</span>")
return
if(RESIN_FOAM)
nozzle_mode = EXTINGUISHER
tank.icon_state = "waterbackpackatmos_0"
to_chat(user, "Swapped to water extinguisher")
to_chat(user, "<span class='notice'>Swapped to water extinguisher.</span>")
return
return
+1 -1
View File
@@ -134,7 +134,7 @@
if(istype(W, /obj/item/hemostat/supermatter))
var/obj/item/hemostat/supermatter/tongs = W
if (tongs.sliver)
to_chat(user, "<span class='notice'>\The [tongs] is already holding a supermatter sliver!</span>")
to_chat(user, "<span class='warning'>\The [tongs] is already holding a supermatter sliver!</span>")
return FALSE
forceMove(tongs)
tongs.sliver = src
+3 -3
View File
@@ -348,13 +348,13 @@
/obj/item/toy/windupToolbox/attack_self(mob/user)
if(!active)
icon_state = "his_grace_awakened"
to_chat(user, "<span class='warning'>You wind up [src], it begins to rumble.</span>")
to_chat(user, "<span class='notice'>You wind up [src], it begins to rumble.</span>")
active = TRUE
playsound(src, 'sound/effects/pope_entry.ogg', 100)
Rumble()
addtimer(CALLBACK(src, .proc/stopRumble), 600)
else
to_chat(user, "[src] is already active.")
to_chat(user, "<span class='warning'>[src] is already active!</span>")
/obj/item/toy/windupToolbox/proc/Rumble()
var/static/list/transforms
@@ -1424,7 +1424,7 @@
if(!new_name)
return
doll_name = new_name
to_chat(user, "You name the dummy as \"[doll_name]\"")
to_chat(user, "<span class='notice'>You name the dummy as \"[doll_name]\".</span>")
name = "[initial(name)] - [doll_name]"
/obj/item/toy/dummy/talk_into(atom/movable/A, message, channel, list/spans, datum/language/language)
+1 -1
View File
@@ -568,7 +568,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
..()
return
if(homerun_ready)
to_chat(user, "<span class='notice'>You're already ready to do a home run!</span>")
to_chat(user, "<span class='warning'>You're already ready to do a home run!</span>")
..()
return
to_chat(user, "<span class='warning'>You begin gathering strength...</span>")
+4 -4
View File
@@ -75,7 +75,7 @@
/obj/structure/AIcore/latejoin_inactive/attackby(obj/item/P, mob/user, params)
if(P.tool_behaviour == TOOL_MULTITOOL)
active = !active
to_chat(user, "You [active? "activate" : "deactivate"] \the [src]'s transmitters.")
to_chat(user, "<span class='notice'>You [active? "activate" : "deactivate"] \the [src]'s transmitters.</span>")
return
return ..()
@@ -316,7 +316,7 @@ That prevents a few funky behaviors.
/atom/proc/transfer_ai(interaction, mob/user, mob/living/silicon/ai/AI, obj/item/aicard/card)
if(istype(card))
if(card.flush)
to_chat(user, "<span class='boldannounce'>ERROR</span>: AI flush is in progress, cannot execute transfer protocol.")
to_chat(user, "<span class='alert'>ERROR: AI flush is in progress, cannot execute transfer protocol.</span>")
return FALSE
return TRUE
@@ -328,13 +328,13 @@ That prevents a few funky behaviors.
AI.control_disabled = FALSE
AI.radio_enabled = TRUE
AI.forceMove(loc) // to replace the terminal.
to_chat(AI, "You have been uploaded to a stationary terminal. Remote device connection restored.")
to_chat(AI, "<span class='notice'>You have been uploaded to a stationary terminal. Remote device connection restored.</span>")
to_chat(user, "<span class='boldnotice'>Transfer successful</span>: [AI.name] ([rand(1000,9999)].exe) installed and executed successfully. Local copy has been removed.")
card.AI = null
AI.battery = circuit.battery
qdel(src)
else //If for some reason you use an empty card on an empty AI terminal.
to_chat(user, "There is no AI loaded on this terminal!")
to_chat(user, "<span class='alert'>There is no AI loaded on this terminal.</span>")
/obj/item/circuitboard/aicore
name = "AI core (AI Core Board)" //Well, duh, but best to be consistent
@@ -288,14 +288,14 @@
/obj/item/chair/proc/plant(mob/user)
var/turf/T = get_turf(loc)
if(!isfloorturf(T))
to_chat(user, "<span class='danger'>You need ground to plant this on!</span>")
to_chat(user, "<span class='warning'>You need ground to plant this on!</span>")
return
for(var/obj/A in T)
if(istype(A, /obj/structure/chair))
to_chat(user, "<span class='danger'>There is already a chair here.</span>")
to_chat(user, "<span class='warning'>There is already a chair here!</span>")
return
if(A.density && !(A.flags_1 & ON_BORDER_1))
to_chat(user, "<span class='danger'>There is already something here.</span>")
to_chat(user, "<span class='warning'>There is already something here!</span>")
return
user.visible_message("<span class='notice'>[user] rights \the [src.name].</span>", "<span class='notice'>You right \the [name].</span>")
@@ -434,7 +434,7 @@
"<span class='notice'>You [locked ? null : "un"]lock [src].</span>")
update_icon()
else if(!silent)
to_chat(user, "<span class='notice'>Access Denied</span>")
to_chat(user, "<span class='alert'>Access Denied.</span>")
else if(secure && broken)
to_chat(user, "<span class='warning'>\The [src] is broken!</span>")
+7 -7
View File
@@ -104,13 +104,13 @@
to_chat(user, "<span class='notice'>You [open ? "close":"open"] [src].</span>")
toggle_lock(user)
else
to_chat(user, "<span class='warning'>Access denied.</span>")
to_chat(user, "<span class='alert'>Access denied.</span>")
else if(W.tool_behaviour == TOOL_WELDER && user.a_intent == INTENT_HELP && !broken)
if(obj_integrity < max_integrity)
if(!W.tool_start_check(user, amount=5))
return
to_chat(user, "<span class='notice'>You begin repairing [src].</span>")
to_chat(user, "<span class='notice'>You begin repairing [src]...</span>")
if(W.use_tool(src, user, 40, amount=5, volume=50))
obj_integrity = max_integrity
update_icon()
@@ -121,19 +121,19 @@
else if(!alert && W.tool_behaviour == TOOL_CROWBAR && openable) //Only applies to the lab cage and player made display cases
if(broken)
if(showpiece)
to_chat(user, "<span class='notice'>Remove the displayed object first.</span>")
to_chat(user, "<span class='warning'>Remove the displayed object first!</span>")
else
to_chat(user, "<span class='notice'>You remove the destroyed case</span>")
to_chat(user, "<span class='notice'>You remove the destroyed case.</span>")
qdel(src)
else
to_chat(user, "<span class='notice'>You start to [open ? "close":"open"] [src].</span>")
to_chat(user, "<span class='notice'>You start to [open ? "close":"open"] [src]...</span>")
if(W.use_tool(src, user, 20))
to_chat(user, "<span class='notice'>You [open ? "close":"open"] [src].</span>")
toggle_lock(user)
else if(open && !showpiece)
if(user.transferItemToLoc(W, src))
showpiece = W
to_chat(user, "<span class='notice'>You put [W] on display</span>")
to_chat(user, "<span class='notice'>You put [W] on display.</span>")
update_icon()
else if(istype(W, /obj/item/stack/sheet/glass) && broken)
var/obj/item/stack/sheet/glass/G = W
@@ -268,7 +268,7 @@
if(user.is_holding_item_of_type(/obj/item/key/displaycase))
if(added_roundstart)
is_locked = !is_locked
to_chat(user, "You [!is_locked ? "un" : ""]lock the case.")
to_chat(user, "<span class='notice'>You [!is_locked ? "un" : ""]lock the case.</span>")
else
to_chat(user, "<span class='warning'>The lock is stuck shut!</span>")
return
+2 -2
View File
@@ -63,11 +63,11 @@
to_chat(user, "<span class='warning'>This section of the fence can't be cut!</span>")
return
if(invulnerable)
to_chat(user, "<span class='notice'>This fence is too strong to cut through.</span>")
to_chat(user, "<span class='warning'>This fence is too strong to cut through!</span>")
return
var/current_stage = hole_size
if(current_stage >= MAX_HOLE_SIZE)
to_chat(user, "<span class='notice'>This fence has too much cut out of it already.</span>")
to_chat(user, "<span class='warning'>This fence has too much cut out of it already!</span>")
return
user.visible_message("<span class='danger'>\The [user] starts cutting through \the [src] with \the [W].</span>",\
@@ -358,7 +358,7 @@
/obj/effect/mob_spawn/human/demonic_friend/Initialize(mapload, datum/mind/owner_mind, obj/effect/proc_holder/spell/targeted/summon_friend/summoning_spell)
. = ..()
owner = owner_mind
flavour_text = "<span class='big bold'>You have been given a reprieve from your eternity of torment, to be [owner.name]'s friend for [owner.p_their()] short mortal coil.</span><b> Be aware that if you do not live up to [owner.name]'s expectations, they can send you back to hell with a single thought. [owner.name]'s death will also return you to hell.</b>"
flavour_text = "<span class='big bold'>You have been given a reprieve from your eternity of torment, to be [owner.name]'s friend for [owner.p_their()] short mortal coil.</span><b> Be aware that if you do not live up to [owner.name]'s expectations, they can send you back to hell with a single thought. [owner.name]'s death will also return you to hell.</b>"
var/area/A = get_area(src)
if(!mapload && A)
notify_ghosts("\A friendship shell has been completed in \the [A.name].", source = src, action=NOTIFY_ATTACK, flashwindow = FALSE)
@@ -379,7 +379,7 @@
id.registered_name = L.real_name
id.update_label()
else
to_chat(L, "<span class='userdanger'>Your owner is already dead! You will soon perish.</span>")
to_chat(L, "<span class='userdanger'>Your owner is already dead! You will soon perish.</span>")
addtimer(CALLBACK(L, /mob.proc/dust, 150)) //Give em a few seconds as a mercy.
/datum/outfit/demonic_friend
+2 -2
View File
@@ -35,7 +35,7 @@
/obj/structure/guillotine/attackby(obj/item/I, mob/user)
if(istype(I, /obj/item/stack/sheet/plasteel))
to_chat(user, "<span class='notice'>You start repairing the guillotine with the plasteel.</span>")
to_chat(user, "<span class='notice'>You start repairing the guillotine with the plasteel...</span>")
if(blade_sharpness<10)
if(do_after(user,100,target=user))
blade_sharpness = min(10,blade_sharpness+3)
@@ -44,7 +44,7 @@
else
to_chat(user, "<span class='notice'>You stop repairing the guillotine with the plasteel.</span>")
else
to_chat(user, "<span class='notice'>The guillotine is already fully repaired!</span>")
to_chat(user, "<span class='warning'>The guillotine is already fully repaired!</span>")
/obj/structure/guillotine/examine(mob/user)
. = ..()
@@ -35,10 +35,10 @@
to_chat(user, "<span class='warning'>The [P.name] isn't strong enough!</span>")
return
if(activated)
to_chat(user, "<span class'warning'>The [name] is already active!")
to_chat(user, "<span class'warning'>The [name] is already active!</span>")
return
to_chat(user, "<span class='notice'>You start vigorously plunging [src]!")
to_chat(user, "<span class='notice'>You start vigorously plunging [src]!</span>")
if(do_after(user, 50*P.plunge_mod, target = src) && !activated)
start_chemming()
@@ -67,7 +67,7 @@
/obj/item/plunger/reinforced
name = "reinforced plunger"
desc = " It's an M. 7 Reinforced Plunger© for heavy duty plunging."
desc = "It's an M. 7 Reinforced Plunger© for heavy duty plunging."
icon_state = "reinforced_plunger"
reinforced = TRUE
@@ -164,7 +164,7 @@
user.visible_message("<span class='notice'>[user] starts to weld apart [src]!</span>", "<span class='notice'>You start welding apart [src].</span>")
if(!I.use_tool(src, user, 60, 5, 50))
to_chat(user, "<span class='warning'>You failed to weld apart [src]!/span>")
to_chat(user, "<span class='warning'>You failed to weld apart [src]!</span>")
return
user.visible_message("<span class='notice'>[user] welded [src] into pieces!</span>", "<span class='notice'>You welded apart [src]!</span>")
@@ -178,7 +178,7 @@
user.visible_message("<span class='notice'>[user] starts to pry apart [src]!</span>", "<span class='notice'>You start prying apart [src].</span>")
if(!I.use_tool(src, user, 60, volume = 50))
to_chat(user, "<span class='warning'>You failed to pry apart [src]!/span>")
to_chat(user, "<span class='warning'>You failed to pry apart [src]!</span>")
return
user.visible_message("<span class='notice'>[user] pried [src] into pieces!</span>", "<span class='notice'>You pried apart [src]!</span>")

Some files were not shown because too many files have changed in this diff Show More