From fca1a3f06773b4252b258778a908d4f28710d324 Mon Sep 17 00:00:00 2001 From: FalseIncarnate Date: Tue, 12 Sep 2017 23:06:01 -0400 Subject: [PATCH] visible message and styling tweaks --- code/game/objects/structures/mirror.dm | 6 +++--- code/game/objects/structures/watercloset.dm | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/game/objects/structures/mirror.dm b/code/game/objects/structures/mirror.dm index b6162bf8f45..4dcccb2145d 100644 --- a/code/game/objects/structures/mirror.dm +++ b/code/game/objects/structures/mirror.dm @@ -55,13 +55,13 @@ /obj/structure/mirror/attackby(obj/item/I, mob/living/user, params) if(isscrewdriver(I)) - visible_message("[user] begins to unfasten the [src].", "You begin to unfasten the [name].") + user.visible_message("[user] begins to unfasten [src].", "You begin to unfasten [src].") if(do_after(user, 30 * I.toolspeed, target = src)) if(shattered) - visible_message("[user] drops the broken shards to the floor.", "You drop the broken shards on the floor.") + user.visible_message("[user] drops the broken shards to the floor.", "You drop the broken shards on the floor.") new /obj/item/weapon/shard(get_turf(user)) else - visible_message("[user] carefully places [src] on the floor.", "You carefully place [src] on the floor.") + user.visible_message("[user] carefully places [src] on the floor.", "You carefully place [src] on the floor.") new /obj/item/mounted/mirror(get_turf(user)) qdel(src) return diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm index 6844f27f475..54784c7948f 100644 --- a/code/game/objects/structures/watercloset.dm +++ b/code/game/objects/structures/watercloset.dm @@ -614,7 +614,7 @@ update_icon() if("Rotate") var/list/dir_choices = list("North" = NORTH, "East" = EAST, "South" = SOUTH, "West" = WEST) - var/selected = input(user,"Select a direction for the connector.", "Connector Direction") in dir_choices + var/selected = input(user, "Select a direction for the connector.", "Connector Direction") in dir_choices dir = dir_choices[selected] update_icon() //is this necessary? probably not return @@ -696,7 +696,7 @@ return if(proximity_flag != 1) //if we aren't next to the wall return - if(!(get_dir(on_wall,user) in cardinal)) + if(!(get_dir(on_wall, user) in cardinal)) to_chat(user, "You need to be standing next to a wall to place \the [src].") return return 1 @@ -738,7 +738,7 @@ if(result in T.contents) to_chat(user, "There's already \an [result_name] here.") return - visible_message("[user] begins assembling a new [result_name].", "You begin assembling a new [result_name].") + user.visible_message("[user] begins assembling a new [result_name].", "You begin assembling a new [result_name].") if(do_after(user, 30, target = user)) visible_message("[user] finishes building a new [result_name]!", "You finish building a new [result_name]!") var/obj/structure/S = new result(T)