mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 16:09:15 +00:00
Adds missing spans, missing periods and missing span endings. Also changes spans to suit the situation better.
This commit is contained in:
@@ -207,7 +207,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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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='boldnotice'>Captainship not forced on anyone.</span>")
|
||||
CHECK_TICK
|
||||
|
||||
/datum/controller/subsystem/ticker/proc/transfer_characters()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -31,8 +31,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!", MSG_VISUAL, \
|
||||
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!")
|
||||
return COMPONENT_ITEM_NO_ATTACK
|
||||
INVOKE_ASYNC(src, .proc/startNeckSlice, source, H, user)
|
||||
return COMPONENT_ITEM_NO_ATTACK
|
||||
@@ -54,8 +54,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!", MSG_VISUAL, \
|
||||
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!")
|
||||
return
|
||||
|
||||
H.visible_message("<span class='danger'>[user] slits [H]'s throat!</span>", \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -807,8 +807,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>")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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='warning'>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='warning'>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)
|
||||
@@ -81,4 +81,4 @@
|
||||
if(prob(50))
|
||||
scramble_dna(affected_mob, 1, 0, rand(50,75))
|
||||
else
|
||||
scramble_dna(affected_mob, 0, 1, rand(50,75))
|
||||
scramble_dna(affected_mob, 0, 1, rand(50,75))
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -296,7 +296,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
|
||||
@@ -306,11 +306,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>"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -281,7 +281,7 @@
|
||||
name = "soothing sleeper"
|
||||
desc = "A large cryogenics unit built from brass. Its surface is pleasantly cool the touch."
|
||||
icon_state = "sleeper_clockwork"
|
||||
enter_message = "<span class='bold inathneq_small'>You hear the gentle hum and click of machinery, and are lulled into a sense of peace.</span>"
|
||||
enter_message = "<span class='inathneq_small'>You hear the gentle hum and click of machinery, and are lulled into a sense of peace.</span>"
|
||||
possible_chems = list(list(/datum/reagent/medicine/epinephrine, /datum/reagent/medicine/salbutamol, /datum/reagent/medicine/C2/libital, /datum/reagent/medicine/C2/aiuri, /datum/reagent/medicine/oculine, /datum/reagent/medicine/inacusiate, /datum/reagent/medicine/mannitol))
|
||||
|
||||
/obj/machinery/sleeper/clockwork/process()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
@@ -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)))
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -377,14 +377,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 ))
|
||||
@@ -642,7 +642,7 @@ What a mess.*/
|
||||
if("age")
|
||||
if(istype(active1, /datum/data/record))
|
||||
var/t1 = input("Please input age:", "Secure. records", active1.fields["age"], null) as num|null
|
||||
|
||||
|
||||
if (!t1)
|
||||
return
|
||||
|
||||
@@ -733,7 +733,7 @@ What a mess.*/
|
||||
if(istype(active1, /datum/data/record))
|
||||
var/t1 = stripped_input(usr, "Please input citation crime:", "Secure. records", "", null)
|
||||
var/fine = FLOOR(input(usr, "Please input citation fine:", "Secure. records", 50) as num|null, 1)
|
||||
|
||||
|
||||
if (isnull(fine))
|
||||
return
|
||||
|
||||
@@ -745,7 +745,7 @@ What a mess.*/
|
||||
|
||||
if(!canUseSecurityRecordsConsole(usr, t1, null, a2))
|
||||
return
|
||||
|
||||
|
||||
var/crime = GLOB.data_core.createCrimeEntry(t1, "", authenticated, station_time_timestamp(), fine)
|
||||
for (var/obj/item/pda/P in GLOB.PDAs)
|
||||
if(P.owner == active1.fields["name"])
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -686,43 +686,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
|
||||
@@ -1425,14 +1425,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)
|
||||
@@ -1445,17 +1445,17 @@
|
||||
. = TRUE
|
||||
if("idscan-on")
|
||||
if(wires.is_cut(WIRE_IDSCAN))
|
||||
to_chat(usr, "You can't enable IdScan - The IdScan wire has been cut.")
|
||||
to_chat(usr, "<span class='warning'>You can't enable IdScan - The IdScan wire has been cut.</span>")
|
||||
else if(aiDisabledIdScanner)
|
||||
aiDisabledIdScanner = FALSE
|
||||
else
|
||||
to_chat(usr, "The IdScan feature is not disabled.")
|
||||
to_chat(usr, "<span class='warning'>The IdScan feature is not disabled.</span>")
|
||||
. = TRUE
|
||||
if("idscan-off")
|
||||
if(wires.is_cut(WIRE_IDSCAN))
|
||||
to_chat(usr, "The IdScan wire has been cut - So, you can't disable it, but it is already disabled anyways.")
|
||||
to_chat(usr, "<span class='warning'>The IdScan wire has been cut - so, you can't disable it, but it is already disabled anyways.</span>")
|
||||
else if(aiDisabledIdScanner)
|
||||
to_chat(usr, "You've already disabled the IdScan feature.")
|
||||
to_chat(usr, "<span class='warning'>You've already disabled the IdScan feature.</span>")
|
||||
else
|
||||
aiDisabledIdScanner = TRUE
|
||||
. = TRUE
|
||||
@@ -1473,53 +1473,53 @@
|
||||
. = TRUE
|
||||
if("light-on")
|
||||
if(wires.is_cut(WIRE_LIGHT))
|
||||
to_chat(usr, "Control to door bolt lights has been severed.")
|
||||
to_chat(usr, "<span class='warning'>Control to door bolt lights has been severed.</span>")
|
||||
else if (!lights)
|
||||
lights = TRUE
|
||||
update_icon()
|
||||
else
|
||||
to_chat(usr, text("Door bolt lights are already enabled!"))
|
||||
to_chat(usr, text("<span class='warning'>Door bolt lights are already enabled!</span>"))
|
||||
. = TRUE
|
||||
if("light-off")
|
||||
if(wires.is_cut(WIRE_LIGHT))
|
||||
to_chat(usr, "Control to door bolt lights has been severed.")
|
||||
to_chat(usr, "<span class='warning'>Control to door bolt lights has been severed.</span>")
|
||||
else if (lights)
|
||||
lights = FALSE
|
||||
update_icon()
|
||||
else
|
||||
to_chat(usr, "Door bolt lights are already disabled!")
|
||||
to_chat(usr, "<span class='warning'>Door bolt lights are already disabled!</span>")
|
||||
. = TRUE
|
||||
if("safe-on")
|
||||
if(wires.is_cut(WIRE_SAFETY))
|
||||
to_chat(usr, "Control to door sensors is disabled.")
|
||||
to_chat(usr, "<span class='warning'>Control to door sensors is disabled.</span>")
|
||||
else if (!safe)
|
||||
safe = TRUE
|
||||
else
|
||||
to_chat(usr, "Firmware reports safeties already in place.")
|
||||
to_chat(usr, "<span class='warning'>Firmware reports safeties already in place.</span>")
|
||||
. = TRUE
|
||||
if("safe-off")
|
||||
if(wires.is_cut(WIRE_SAFETY))
|
||||
to_chat(usr, "Control to door sensors is disabled.")
|
||||
to_chat(usr, "<span class='warning'>Control to door sensors is disabled.</span>")
|
||||
else if (safe)
|
||||
safe = FALSE
|
||||
else
|
||||
to_chat(usr, "Firmware reports safeties already overridden.")
|
||||
to_chat(usr, "<span class='warning'>Firmware reports safeties already overridden.</span>")
|
||||
. = TRUE
|
||||
if("speed-on")
|
||||
if(wires.is_cut(WIRE_TIMING))
|
||||
to_chat(usr, "Control to door timing circuitry has been severed.")
|
||||
to_chat(usr, "<span class='warning'>Control to door timing circuitry has been severed.</span>")
|
||||
else if (!normalspeed)
|
||||
normalspeed = 1
|
||||
else
|
||||
to_chat(usr,"Door timing circuitry currently operating normally.")
|
||||
to_chat(usr,"<span class='warning'>Door timing circuitry currently operating normally.</span>")
|
||||
. = TRUE
|
||||
if("speed-off")
|
||||
if(wires.is_cut(WIRE_TIMING))
|
||||
to_chat(usr, "Control to door timing circuitry has been severed.")
|
||||
to_chat(usr, "<span class='warning'>Control to door timing circuitry has been severed.</span>")
|
||||
else if (normalspeed)
|
||||
normalspeed = 0
|
||||
else
|
||||
to_chat(usr, "Door timing circuitry already accelerated.")
|
||||
to_chat(usr, "<span class='warning'>Door timing circuitry already accelerated.</span>")
|
||||
|
||||
. = TRUE
|
||||
if("open-close")
|
||||
@@ -1533,7 +1533,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)
|
||||
|
||||
@@ -1541,7 +1541,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)
|
||||
|
||||
@@ -1549,7 +1549,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)
|
||||
|
||||
@@ -1560,7 +1560,7 @@
|
||||
emergency = TRUE
|
||||
update_icon()
|
||||
else
|
||||
to_chat(user, "Emergency access is already enabled!")
|
||||
to_chat(user, "<span class='warning'>Emergency access is already enabled!</span>")
|
||||
|
||||
/obj/machinery/door/airlock/proc/emergency_off(mob/user)
|
||||
if(!user_allowed(user))
|
||||
@@ -1569,26 +1569,26 @@
|
||||
emergency = FALSE
|
||||
update_icon()
|
||||
else
|
||||
to_chat(user, "Emergency access is already disabled!")
|
||||
to_chat(user, "<span class='warning'>Emergency access is already disabled!</span>")
|
||||
|
||||
/obj/machinery/door/airlock/proc/bolt_raise(mob/user)
|
||||
if(!user_allowed(user))
|
||||
return
|
||||
if(wires.is_cut(WIRE_BOLTS))
|
||||
to_chat(user, "The door bolt drop wire is cut - you can't raise the door bolts")
|
||||
to_chat(user, "<span class='warning'>The door bolt drop wire is cut - you can't raise the door bolts.</span>")
|
||||
else if(!locked)
|
||||
to_chat(user, "The door bolts are already up")
|
||||
to_chat(user, "<span class='warning'>The door bolts are already up.</span>")
|
||||
else
|
||||
if(hasPower())
|
||||
unbolt()
|
||||
else
|
||||
to_chat(user, "Cannot raise door bolts due to power failure")
|
||||
to_chat(user, "<span class='warning'>Cannot raise door bolts due to power failure.</span>")
|
||||
|
||||
/obj/machinery/door/airlock/proc/bolt_drop(mob/user)
|
||||
if(!user_allowed(user))
|
||||
return
|
||||
if(wires.is_cut(WIRE_BOLTS))
|
||||
to_chat(user, "You can't drop the door bolts - The door bolt dropping wire has been cut.")
|
||||
to_chat(user, "<span class='warning'>You can't drop the door bolts - The door bolt dropping wire has been cut.</span>")
|
||||
else
|
||||
bolt()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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"])
|
||||
|
||||
@@ -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.")
|
||||
|
||||
@@ -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
|
||||
..()
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
if (!isnull(chosen_colour))
|
||||
paint_color = chosen_colour
|
||||
. = TRUE
|
||||
else
|
||||
else
|
||||
. = FALSE
|
||||
if("enter_text")
|
||||
var/txt = stripped_input(usr,"Choose what to write.",
|
||||
@@ -393,7 +393,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)
|
||||
@@ -416,7 +416,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
|
||||
@@ -542,13 +542,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 ..()
|
||||
|
||||
@@ -669,7 +669,7 @@
|
||||
if(color_hex2num(paint_color) < 350 && !istype(target, /obj/structure/window) && !istype(target, /obj/effect/decal/cleanable/crayon)) //Colors too dark are rejected
|
||||
to_chat(usr, "<span class='warning'>A color that dark on an object like this? Surely not...</span>")
|
||||
return FALSE
|
||||
|
||||
|
||||
target.add_atom_colour(paint_color, WASHABLE_COLOUR_PRIORITY)
|
||||
|
||||
if(istype(target, /obj/structure/window))
|
||||
|
||||
@@ -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>")
|
||||
|
||||
@@ -930,7 +930,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())
|
||||
@@ -969,7 +969,7 @@ GLOBAL_LIST_EMPTY(PDAs)
|
||||
aiPDA.toff = !aiPDA.toff
|
||||
to_chat(usr, "<span class='notice'>PDA sender/receiver toggled [(aiPDA.toff ? "Off" : "On")]!</span>")
|
||||
else
|
||||
to_chat(usr, "You do not have a PDA. You should make an issue report about this.")
|
||||
to_chat(usr, "<span class='warning'>You do not have a PDA! You should make an issue report about this.</span>")
|
||||
|
||||
/mob/living/silicon/verb/cmd_toggle_pda_silent()
|
||||
set category = "AI Commands"
|
||||
@@ -981,7 +981,7 @@ GLOBAL_LIST_EMPTY(PDAs)
|
||||
aiPDA.silent = !aiPDA.silent
|
||||
to_chat(usr, "<span class='notice'>PDA ringer toggled [(aiPDA.silent ? "Off" : "On")]!</span>")
|
||||
else
|
||||
to_chat(usr, "You do not have a PDA. You should make an issue report about this.")
|
||||
to_chat(usr, "<span class='warning'>You do not have a PDA! You should make an issue report about this.</span>")
|
||||
|
||||
/mob/living/silicon/proc/cmd_show_message_log(mob/user)
|
||||
if(incapacitated())
|
||||
@@ -990,7 +990,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
|
||||
|
||||
@@ -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>")
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]"
|
||||
|
||||
@@ -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.</span> \"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.\"")
|
||||
|
||||
/obj/item/skub
|
||||
desc = "It's skub."
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -668,4 +668,4 @@
|
||||
if (.)
|
||||
var/obj/item/borg/apparatus/beaker/extra/E = locate() in R.module.modules
|
||||
if (E)
|
||||
R.module.remove_module(E, TRUE)
|
||||
R.module.remove_module(E, TRUE)
|
||||
|
||||
@@ -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]"
|
||||
|
||||
@@ -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>", \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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>")
|
||||
|
||||
@@ -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 ..()
|
||||
|
||||
@@ -318,7 +318,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
|
||||
|
||||
@@ -330,7 +330,7 @@ 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
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
/obj/structure/chair/greyscale
|
||||
material_flags = MATERIAL_ADD_PREFIX | MATERIAL_COLOR
|
||||
item_chair = /obj/item/chair/greyscale
|
||||
|
||||
|
||||
|
||||
/obj/structure/chair/wood
|
||||
icon_state = "wooden_chair"
|
||||
@@ -287,14 +287,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>")
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>",\
|
||||
|
||||
@@ -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)
|
||||
. = ..()
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
to_chat(user, "<span class'warning'>The [name] is already active!")
|
||||
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()
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
/obj/item/plunger/reinforced
|
||||
name = "reinforced plunger"
|
||||
desc = " It's an M. 7 Reinforced Plunger<65> for heavy duty plunging."
|
||||
desc = " It's an M. 7 Reinforced Plunger<65> for heavy duty plunging."
|
||||
icon_state = "reinforced_plunger"
|
||||
|
||||
reinforced = TRUE
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/obj/structure/mopbucket/attackby(obj/item/I, mob/user, params)
|
||||
if(istype(I, /obj/item/mop))
|
||||
if(reagents.total_volume < 1)
|
||||
to_chat(user, "[src] is out of water!</span>")
|
||||
to_chat(user, "<span class='warning'>[src] is out of water!</span>")
|
||||
else
|
||||
reagents.trans_to(I, 5, transfered_by = user)
|
||||
to_chat(user, "<span class='notice'>You wet [I] in [src].</span>")
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/obj/structure/noticeboard/attackby(obj/item/O, mob/user, params)
|
||||
if(istype(O, /obj/item/paper) || istype(O, /obj/item/photo))
|
||||
if(!allowed(user))
|
||||
to_chat(user, "<span class='info'>You are not authorized to add notices</span>")
|
||||
to_chat(user, "<span class='warning'>You are not authorized to add notices!</span>")
|
||||
return
|
||||
if(notices < 5)
|
||||
if(!user.transferItemToLoc(O, src))
|
||||
@@ -35,7 +35,7 @@
|
||||
icon_state = "nboard0[notices]"
|
||||
to_chat(user, "<span class='notice'>You pin the [O] to the noticeboard.</span>")
|
||||
else
|
||||
to_chat(user, "<span class='notice'>The notice board is full</span>")
|
||||
to_chat(user, "<span class='warning'>The notice board is full!</span>")
|
||||
else
|
||||
return ..()
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
add_fingerprint(usr)
|
||||
P.attackby(I, usr)
|
||||
else
|
||||
to_chat(usr, "<span class='notice'>You'll need something to write with!</span>")
|
||||
to_chat(usr, "<span class='warning'>You'll need something to write with!</span>")
|
||||
|
||||
if(href_list["read"])
|
||||
var/obj/item/I = locate(href_list["read"]) in contents
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/obj/structure/votebox
|
||||
name = "voting box"
|
||||
desc = "A automatic voting box."
|
||||
|
||||
|
||||
icon = 'icons/obj/votebox.dmi'
|
||||
icon_state = "votebox_maint"
|
||||
|
||||
|
||||
anchored = TRUE
|
||||
|
||||
var/obj/item/card/id/owner //Slapping the box with this ID starts/ends the vote.
|
||||
@@ -24,7 +24,7 @@
|
||||
if(voting_active)
|
||||
apply_vote(I,user)
|
||||
else
|
||||
to_chat(user,"<span class='notice'>[src] is in maintenance mode. Voting is not possible at the moment.</span>")
|
||||
to_chat(user,"<span class='warning'>[src] is in maintenance mode. Voting is not possible at the moment.</span>")
|
||||
return
|
||||
return ..()
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
var/mob/user = usr
|
||||
if(!is_operator(user))
|
||||
to_chat(user,"<span class='notice'>Voting box operator authorization required.</span>")
|
||||
to_chat(user,"<span class='warning'>Voting box operator authorization required!</span>")
|
||||
return
|
||||
|
||||
if(href_list["act"])
|
||||
@@ -99,7 +99,7 @@
|
||||
var/obj/item/card/id/voter_card = user.get_idcard()
|
||||
if(id_auth)
|
||||
if(!voter_card)
|
||||
to_chat(user,"<span class='warning'>[src] requires a valid id card to vote!</span>")
|
||||
to_chat(user,"<span class='warning'>[src] requires a valid ID card to vote!</span>")
|
||||
return
|
||||
if(voted && (voter_card in voted))
|
||||
to_chat(user,"<span class='warning'>[src] allows only one vote per person.</span>")
|
||||
@@ -123,7 +123,7 @@
|
||||
/obj/structure/votebox/crowbar_act(mob/living/user, obj/item/I)
|
||||
. = ..()
|
||||
if(voting_active)
|
||||
to_chat(user,"<span class='notice'>You can only retrieve votes if maintenance mode is active.</span>")
|
||||
to_chat(user,"<span class='warning'>You can only retrieve votes if maintenance mode is active!</span>")
|
||||
return FALSE
|
||||
dump_contents()
|
||||
to_chat(user,"<span class='notice'>You open vote retrieval hatch and dump all the votes.</span>")
|
||||
@@ -143,7 +143,7 @@
|
||||
for(var/obj/item/paper/P in contents)
|
||||
options += P
|
||||
if(!length(options))
|
||||
to_chat(user,"<span class='notice>[src] is empty!</span>")
|
||||
to_chat(user,"<span class='warning>[src] is empty!</span>")
|
||||
else
|
||||
var/obj/item/paper/P = pick(options)
|
||||
user.put_in_hands(P)
|
||||
@@ -187,8 +187,8 @@
|
||||
P.name = "Voting Results"
|
||||
P.update_icon()
|
||||
user.put_in_hands(P)
|
||||
to_chat(user,"<span class='notice'>[src] prints out the voting tally</span>")
|
||||
to_chat(user,"<span class='notice'>[src] prints out the voting tally.</span>")
|
||||
|
||||
/obj/structure/votebox/update_icon()
|
||||
. = ..()
|
||||
icon_state = "votebox_[voting_active ? "active" : "maint"]"
|
||||
icon_state = "votebox_[voting_active ? "active" : "maint"]"
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
return
|
||||
|
||||
if(busy)
|
||||
to_chat(user, "<span class='notice'>Someone's already washing here.</span>")
|
||||
to_chat(user, "<span class='warning'>Someone's already washing here!</span>")
|
||||
return
|
||||
var/selected_area = parse_zone(user.zone_selected)
|
||||
var/washing_face = 0
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
if(!dug)
|
||||
return TRUE
|
||||
if(user)
|
||||
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>")
|
||||
|
||||
/turf/open/floor/plating/asteroid/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
|
||||
return
|
||||
|
||||
@@ -14,9 +14,9 @@ GLOBAL_VAR(restart_counter)
|
||||
*
|
||||
* Note this happens after the Master subsystem is created (as that is a global datum), this means all the subsystems exist,
|
||||
* but they have not been Initialized at this point, only their New proc has run
|
||||
*
|
||||
* Nothing happens until something moves. ~Albert Einstein
|
||||
*
|
||||
*
|
||||
* Nothing happens until something moves. ~Albert Einstein
|
||||
*
|
||||
*/
|
||||
/world/New()
|
||||
|
||||
@@ -219,7 +219,7 @@ GLOBAL_VAR(restart_counter)
|
||||
if (usr)
|
||||
log_admin("[key_name(usr)] Has requested an immediate world restart via client side debugging tools")
|
||||
message_admins("[key_name_admin(usr)] Has requested an immediate world restart via client side debugging tools")
|
||||
to_chat(world, "<span class='boldannounce'>Rebooting World immediately due to host request</span>")
|
||||
to_chat(world, "<span class='boldannounce'>Rebooting World immediately due to host request.</span>")
|
||||
else
|
||||
to_chat(world, "<span class='boldannounce'>Rebooting world...</span>")
|
||||
Master.Shutdown() //run SS shutdowns
|
||||
|
||||
@@ -207,7 +207,7 @@
|
||||
return null
|
||||
|
||||
if (C) //user is already connected!.
|
||||
to_chat(C, "You are about to get disconnected for matching a sticky ban after you connected. If this turns out to be the ban evasion detection system going haywire, we will automatically detect this and revert the matches. if you feel that this is the case, please wait EXACTLY 6 seconds then reconnect using file -> reconnect to see if the match was automatically reversed.")
|
||||
to_chat(C, "<span class='redtext'>You are about to get disconnected for matching a sticky ban after you connected. If this turns out to be the ban evasion detection system going haywire, we will automatically detect this and revert the matches. if you feel that this is the case, please wait EXACTLY 6 seconds then reconnect using file -> reconnect to see if the match was automatically reversed.</span>")
|
||||
|
||||
var/desc = "\nReason:(StickyBan) You, or another user of this computer or connection ([bannedckey]) is banned from playing here. The ban reason is:\n[ban["message"]]\nThis ban was applied by [ban["admin"]]\nThis is a BanEvasion Detection System ban, if you think this ban is a mistake, please wait EXACTLY 6 seconds, then try again before filing an appeal.\n"
|
||||
. = list("reason" = "Stickyban", "desc" = desc)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
log_admin("[key_name(usr)] checked the individual player panel for [key_name(M)][isobserver(usr)?"":" while in game"].")
|
||||
|
||||
if(!M)
|
||||
to_chat(usr, "You seem to be selecting a mob that doesn't exist anymore.")
|
||||
to_chat(usr, "<span class='warning'>You seem to be selecting a mob that doesn't exist anymore.</span>")
|
||||
return
|
||||
|
||||
var/body = "<html><head><title>Options for [M.key]</title></head>"
|
||||
@@ -834,7 +834,7 @@
|
||||
/datum/admins/proc/dynamic_mode_options(mob/user)
|
||||
var/dat = {"
|
||||
<center><B><h2>Dynamic Mode Options</h2></B></center><hr>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Common options</h3>
|
||||
<i>All these options can be changed midround.</i> <br/>
|
||||
<br/>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
var/mob/dead/observer/C = pick_n_take(candidates)
|
||||
var/mob/living/body = pick_n_take(bodies)
|
||||
|
||||
to_chat(body, "Your mob has been taken over by a ghost!")
|
||||
to_chat(body, "<span class='warning'>Your mob has been taken over by a ghost!</span>")
|
||||
message_admins("[key_name_admin(C)] has taken control of ([key_name_admin(body)])")
|
||||
body.ghostize(0)
|
||||
body.key = C.key
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
var/mob/living/L = AM
|
||||
if(L.pulling && istype(L.pulling, /obj/item/bodypart/head))
|
||||
to_chat(L, "Your offering is accepted. You may pass.")
|
||||
to_chat(L, "<span class='notice'>Your offering is accepted. You may pass.</span>")
|
||||
qdel(L.pulling)
|
||||
var/turf/LA = get_turf(pick(warp_points))
|
||||
L.forceMove(LA)
|
||||
@@ -130,7 +130,7 @@
|
||||
for(var/obj/item/twohanded/required/chainsaw/doomslayer/chainsaw in L)
|
||||
qdel(chainsaw)
|
||||
else
|
||||
to_chat(L, "You are not yet worthy of passing. Drag a severed head to the barrier to be allowed entry to the hall of champions.")
|
||||
to_chat(L, "<span class='warning'>You are not yet worthy of passing. Drag a severed head to the barrier to be allowed entry to the hall of champions.</span>")
|
||||
|
||||
/obj/effect/landmark/shuttle_arena_safe
|
||||
name = "hall of champions"
|
||||
|
||||
@@ -240,7 +240,7 @@
|
||||
message_admins("[key_name_admin(usr)] [new_perma ? "stopped" : "started"] the arrivals shuttle")
|
||||
log_admin("[key_name(usr)] [new_perma ? "stopped" : "started"] the arrivals shuttle")
|
||||
else
|
||||
to_chat(usr, "<span class='admin'>There is no arrivals shuttle</span>")
|
||||
to_chat(usr, "<span class='admin'>There is no arrivals shuttle.</span>")
|
||||
if("showailaws")
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
@@ -423,7 +423,7 @@
|
||||
if(droptype == "Yes")
|
||||
ADD_TRAIT(I, TRAIT_NODROP, ADMIN_TRAIT)
|
||||
else
|
||||
to_chat(H, "You're not kawaii enough for this.")
|
||||
to_chat(H, "<span class='warning'>You're not kawaii enough for this!</span>")
|
||||
|
||||
if("whiteout")
|
||||
if(!check_rights(R_FUN))
|
||||
@@ -681,7 +681,7 @@
|
||||
var/list/prefs = settings["mainsettings"]
|
||||
|
||||
if (prefs["amount"]["value"] < 1 || prefs["portalnum"]["value"] < 1)
|
||||
to_chat(usr, "Number of portals and mobs to spawn must be at least 1")
|
||||
to_chat(usr, "<span class='warning'>Number of portals and mobs to spawn must be at least 1.</span>")
|
||||
return
|
||||
|
||||
var/mob/pathToSpawn = prefs["typepath"]["value"]
|
||||
@@ -689,7 +689,7 @@
|
||||
pathToSpawn = text2path(pathToSpawn)
|
||||
|
||||
if (!ispath(pathToSpawn))
|
||||
to_chat(usr, "Invalid path [pathToSpawn]")
|
||||
to_chat(usr, "<span class='notice'>Invalid path [pathToSpawn].</span>")
|
||||
return
|
||||
|
||||
var/list/candidates = list()
|
||||
|
||||
@@ -734,7 +734,7 @@
|
||||
for(var/client/i in GLOB.clients - C)
|
||||
if(i.address == old_ip || i.computer_id == old_cid)
|
||||
build_ban_cache(i)
|
||||
to_chat(i, "<span class='boldannounce'>[usr.client.key] has edited the [changes_keys_text] of a ban for your IP or CID.")
|
||||
to_chat(i, "<span class='boldannounce'>[usr.client.key] has edited the [changes_keys_text] of a ban for your IP or CID.</span>")
|
||||
unban_panel(player_key, null, null, null, page)
|
||||
|
||||
/datum/admins/proc/ban_log(ban_id)
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
log_directed_talk(mob, H, input, LOG_ADMIN, "reply")
|
||||
message_admins("[key_name_admin(src)] replied to [key_name_admin(H)]'s [sender] message with: \"[input]\"")
|
||||
to_chat(H, "You hear something crackle in your ears for a moment before a voice speaks. \"Please stand by for a message from [sender == "Syndicate" ? "your benefactor" : "Central Command"]. Message as follows[sender == "Syndicate" ? ", agent." : ":"] <span class='bold'>[input].</span> Message ends.\"")
|
||||
to_chat(H, "<span class='hear'>You hear something crackle in your ears for a moment before a voice speaks.</span> \"Please stand by for a message from [sender == "Syndicate" ? "your benefactor" : "Central Command"]. Message as follows[sender == "Syndicate" ? ", agent." : ":"] <span class='bold'>[input].</span> Message ends.\"")
|
||||
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Headset Message") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
|
||||
@@ -54,20 +54,20 @@
|
||||
H.set_machine(src)
|
||||
if(href_list["school"])
|
||||
if(used)
|
||||
to_chat(H, "You already used this contract!")
|
||||
to_chat(H, "<span class='warning'>You already used this contract!</span>")
|
||||
return
|
||||
var/list/candidates = pollCandidatesForMob("Do you want to play as a wizard's [href_list["school"]] apprentice?", ROLE_WIZARD, null, ROLE_WIZARD, 150, src)
|
||||
if(LAZYLEN(candidates))
|
||||
if(QDELETED(src))
|
||||
return
|
||||
if(used)
|
||||
to_chat(H, "You already used this contract!")
|
||||
to_chat(H, "<span class='warning'>You already used this contract!</span>")
|
||||
return
|
||||
used = TRUE
|
||||
var/mob/dead/observer/C = pick(candidates)
|
||||
spawn_antag(C.client, get_turf(src), href_list["school"],H.mind)
|
||||
else
|
||||
to_chat(H, "Unable to reach your apprentice! You can either attack the spellbook with the contract to refund your points, or wait and try again later.")
|
||||
to_chat(H, "<span class='warning'>Unable to reach your apprentice! You can either attack the spellbook with the contract to refund your points, or wait and try again later.</span>")
|
||||
|
||||
/obj/item/antag_spawner/contract/spawn_antag(client/C, turf/T, kind ,datum/mind/user)
|
||||
new /obj/effect/particle_effect/smoke(T)
|
||||
|
||||
@@ -673,7 +673,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
|
||||
if(viable)
|
||||
playsound(src, 'sound/effects/phasein.ogg', 50, TRUE)
|
||||
var/new_machine = new spawned_machine(loc)
|
||||
visible_message("<span class='notice'>[new_machine] warps on top of the beacon!")
|
||||
visible_message("<span class='notice'>[new_machine] warps on top of the beacon!</span>")
|
||||
qdel(src)
|
||||
else
|
||||
playsound(src, 'sound/machines/buzz-two.ogg', 50)
|
||||
|
||||
@@ -210,7 +210,7 @@ GLOBAL_LIST_EMPTY(blob_nodes)
|
||||
|
||||
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
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user