diff --git a/code/game/machinery/OpTable.dm b/code/game/machinery/OpTable.dm
index 7dd7f38a85e..13b09e50949 100644
--- a/code/game/machinery/OpTable.dm
+++ b/code/game/machinery/OpTable.dm
@@ -30,7 +30,7 @@
/obj/machinery/optable/examine(var/mob/user)
. = ..()
- to_chat(user, "The neural suppressors are switched [suppressing ? "on" : "off"].")
+ to_chat(user, span("notice", "The neural suppressors are switched [suppressing ? "on" : "off"]."))
/obj/machinery/optable/ex_act(severity)
@@ -50,26 +50,27 @@
else
return
-/obj/machinery/optable/attack_hand(mob/user as mob)
- if (HULK in usr.mutations)
- visible_message("\The [usr] destroys \the [src]!")
+/obj/machinery/optable/attack_hand(mob/user)
+ if (HULK in user.mutations)
+ visible_message(span("danger", "\The [user] destroys \the [src]!"))
src.density = 0
qdel(src)
return
if(!victim)
- to_chat(user, "There is nobody on \the [src]. It would be pointless to turn the suppressor on.")
+ to_chat(user, span("warning", "There is nobody on \the [src]. It would be pointless to turn the suppressor on."))
return TRUE
if(user != victim && !use_check_and_message(user)) // Skip checks if you're doing it to yourself or turning it off, this is an anti-griefing mechanic more than anything.
- user.visible_message("\The [user] begins switching [suppressing ? "off" : "on"] \the [src]'s neural suppressor.")
+ user.visible_message(span("warning", "\The [user] begins switching [suppressing ? "off" : "on"] \the [src]'s neural suppressor."))
if(!do_after(user, 30, src))
return
if(!victim)
- to_chat(user, "There is nobody on \the [src]. It would be pointless to turn the suppressor on.")
+ to_chat(user, span("warning", "There is nobody on \the [src]. It would be pointless to turn the suppressor on."))
suppressing = !suppressing
- user.visible_message("\The [user] switches [suppressing ? "on" : "off"] \the [src]'s neural suppressor.")
+ user.visible_message(span("notice", "\The [user] switches [suppressing ? "on" : "off"] \the [src]'s neural suppressor."))
+ playsound(src.loc, "switchsounds", 50, 1)
/obj/machinery/optable/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if(air_group || (height==0)) return 1
@@ -110,7 +111,7 @@
if (C == user)
user.visible_message("[user] climbs on \the [src].","You climb on \the [src].")
else
- visible_message("\The [C] has been laid on \the [src] by [user].")
+ visible_message(span("notice", "\The [C] has been laid on \the [src] by [user]."))
if (C.client)
C.client.perspective = EYE_PERSPECTIVE
C.client.eye = src
@@ -139,9 +140,9 @@
if(L == user)
- user.visible_message("[user] starts climbing onto [src].", "You start climbing onto [src].", range = 3)
+ user.visible_message(span("notice", "[user] starts climbing onto [src]."), span("notice", "You start climbing onto [src]."), range = 3)
else
- user.visible_message("[user] starts putting [L] onto [src].", "You start putting [L] onto [src].", range = 3)
+ user.visible_message(span("notice", "[user] starts putting [L] onto [src]."), span("notice", "You start putting [L] onto [src]."), range = 3)
if (do_mob(user, L, 10, needhand = 0))
if (bucklestatus == 2)
var/obj/structure/LB = L.buckled
@@ -164,7 +165,7 @@
if (istype(W, /obj/item/grab))
var/obj/item/grab/G = W
if (src.victim)
- to_chat(usr, "The table is already occupied!")
+ to_chat(usr, span("notice", "The table is already occupied!"))
return 0
var/mob/living/L = G.affecting
@@ -175,9 +176,9 @@
if(L == user)
- user.visible_message("[user] starts climbing onto [src].", "You start climbing onto [src].", range = 3)
+ user.visible_message(span("notice", "[user] starts climbing onto [src]."), span("notice", "You start climbing onto [src]."), range = 3)
else
- user.visible_message("[user] starts putting [L] onto [src].", "You start putting [L] onto [src].", range = 3)
+ user.visible_message(span("notice", "[user] starts putting [L] onto [src]."), span("notice", "You start putting [L] onto [src]."), range = 3)
if (do_mob(user, L, 10, needhand = 0))
if (bucklestatus == 2)
var/obj/structure/LB = L.buckled
@@ -195,9 +196,9 @@
/obj/machinery/optable/proc/check_table(mob/living/carbon/patient as mob)
check_victim()
if(src.victim && get_turf(victim) == get_turf(src) && victim.lying)
- to_chat(usr, "\The [src] is already occupied!")
+ to_chat(usr, span("warning", "\The [src] is already occupied!"))
return 0
if(patient.buckled)
- to_chat(usr, "Unbuckle \the [patient] first!")
+ to_chat(usr, span("notice", "Unbuckle \the [patient] first!"))
return 0
return 1
diff --git a/code/game/machinery/biogenerator.dm b/code/game/machinery/biogenerator.dm
index 10cc889dda5..bc27fb9f95a 100644
--- a/code/game/machinery/biogenerator.dm
+++ b/code/game/machinery/biogenerator.dm
@@ -333,7 +333,7 @@
/obj/machinery/biogenerator/emag_act(var/remaining_charges, var/mob/user)
if(!emagged)
emagged = 1
- visible_message("\The [src] makes a fizzling sound.")
+ visible_message(span("danger", "\The [src] makes a fizzling sound."))
return 1
/obj/machinery/biogenerator/Initialize()
@@ -364,47 +364,47 @@
return
if(istype(O, /obj/item/reagent_containers/glass))
if(beaker)
- to_chat(user, "]The [src] is already loaded.")
+ to_chat(user, span("notice", "\The [src] is already loaded."))
else
user.remove_from_mob(O)
O.forceMove(src)
beaker = O
updateUsrDialog()
else if(processing)
- to_chat(user, "\The [src] is currently processing.")
+ to_chat(user, span("notice", "\The [src] is currently processing."))
else if(istype(O, /obj/item/storage/bag/plants))
var/i = 0
var/obj/item/storage/bag/P = O
for(var/obj/item/reagent_containers/food/snacks/grown/G in contents)
i++
if(i >= capacity)
- to_chat(user, "\The [src] is already full! Activate it.")
+ to_chat(user, span("notice", "\The [src] is already full! Activate it."))
else
for(var/obj/item/reagent_containers/food/snacks/grown/G in P.contents)
P.remove_from_storage(G,src)
i++
if(i >= capacity)
- to_chat(user, "You fill \the [src] to its capacity.")
+ to_chat(user, span("notice", "You fill \the [src] to its capacity."))
break
CHECK_TICK
if(i < capacity)
- to_chat(user, "You empty \the [O] into \the [src].")
+ to_chat(user, span("notice", "You empty \the [O] into \the [src]."))
else if(!istype(O, /obj/item/reagent_containers/food/snacks/grown))
- to_chat(user, "You cannot put this in \the [src].")
+ to_chat(user, span("notice", "You cannot put this in \the [src]."))
else
var/i = 0
for(var/obj/item/reagent_containers/food/snacks/grown/G in contents)
i++
if(i >= capacity)
- to_chat(user, "\The [src] is full! Activate it.")
+ to_chat(user, span("notice", "\The [src] is full! Activate it."))
else
user.remove_from_mob(O)
O.forceMove(src)
- to_chat(user, "You put \the [O] in \the [src]")
+ to_chat(user, span("notice", "You put \the [O] in \the [src]"))
update_icon()
return
@@ -482,7 +482,7 @@
if (stat) //NOPOWER etc
return
if(processing)
- to_chat(usr, "The biogenerator is in the process of working.")
+ to_chat(usr, span("notice", "The biogenerator is in the process of working."))
return
var/S = 0
for(var/obj/item/reagent_containers/food/snacks/grown/I in contents)
@@ -532,7 +532,7 @@
points -= totake
use_power(totake * 0.25)
sleep( delay )
- playsound(src.loc, 'sound/machines/switch3.ogg', 50, 1)
+ playsound(src.loc, "switchsounds", 50, 1)
var/new_object = recipie_data["object"]
new new_object(loc)
diff --git a/code/game/objects/items/weapons/autopsy.dm b/code/game/objects/items/weapons/autopsy.dm
index 0f563a2e66a..43f10d0d6bd 100644
--- a/code/game/objects/items/weapons/autopsy.dm
+++ b/code/game/objects/items/weapons/autopsy.dm
@@ -5,8 +5,8 @@
/obj/item/autopsy_scanner
name = "autopsy scanner"
desc = "Extracts information on wounds."
- icon = 'icons/obj/autopsy_scanner.dmi'
- icon_state = ""
+ icon = 'icons/obj/device.dmi'
+ icon_state = "autopsy"
flags = CONDUCT
w_class = 2.0
origin_tech = list(TECH_MATERIAL = 1, TECH_BIO = 1)
@@ -150,7 +150,8 @@
scan_data += "
"
for(var/mob/O in viewers(usr))
- O.show_message("\The [src] rattles and prints out a sheet of paper.", 1)
+ O.show_message(span("notice", "\The [src] rattles and prints out a sheet of paper."), 1)
+ playsound(loc, "sound/bureaucracy/print_short.ogg", 50, 1)
sleep(10)
@@ -173,19 +174,19 @@
src.wdata = list()
src.chemtraces = list()
src.timeofdeath = null
- to_chat(user, "A new patient has been registered.. Purging data for previous patient.")
+ to_chat(user, span("notice", "A new patient has been registered. Purging data for previous patient."))
src.timeofdeath = M.timeofdeath
var/obj/item/organ/external/S = M.get_organ(user.zone_sel.selecting)
if(!S)
- to_chat(usr, "You can't scan this body part.")
+ to_chat(usr, span("warning", "You can't scan this body part."))
return
if(!S.open)
- to_chat(usr, "You have to cut the limb open first!")
+ to_chat(usr, span("warning", "You have to cut the limb open first!"))
return
for(var/mob/O in viewers(M))
- O.show_message("\The [user] scans the wounds on [M.name]'s [S.name] with \the [src]", 1)
+ O.show_message(span("notice", "\The [user] scans the wounds on [M.name]'s [S.name] with \the [src]"), 1)
src.add_data(S)
diff --git a/code/modules/mining/machine_processing.dm b/code/modules/mining/machine_processing.dm
index 835a483ab3a..4921f674125 100644
--- a/code/modules/mining/machine_processing.dm
+++ b/code/modules/mining/machine_processing.dm
@@ -248,9 +248,9 @@
P.stamped += /obj/item/stamp
P.add_overlay(stampoverlay)
P.stamps += "