From b650f12dad6222b88937beedfca2a73023ea92aa Mon Sep 17 00:00:00 2001 From: TheVekter Date: Mon, 18 Nov 2019 00:45:33 -0600 Subject: [PATCH 1/3] Fixes grammar issue in machine frame code. --- code/game/machinery/constructable_frame.dm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm index 4b62177d603..4c26d8e13ca 100644 --- a/code/game/machinery/constructable_frame.dm +++ b/code/game/machinery/constructable_frame.dm @@ -102,18 +102,18 @@ qdel(src) return if(P.tool_behaviour == TOOL_WRENCH) - to_chat(user, "You start [anchored ? "un" : ""]securing [name]...") + to_chat(user, "You start [anchored ? "un" : ""]securing \the [name]...") if(P.use_tool(src, user, 40, volume=75)) if(state == 1) - to_chat(user, "You [anchored ? "un" : ""]secure [name].") + to_chat(user, "You [anchored ? "un" : ""]secure \the [name].") setAnchored(!anchored) return if(2) if(P.tool_behaviour == TOOL_WRENCH) - to_chat(user, "You start [anchored ? "un" : ""]securing [name]...") + to_chat(user, "You start [anchored ? "un" : ""]securing \the [name]...") if(P.use_tool(src, user, 40, volume=75)) - to_chat(user, "You [anchored ? "un" : ""]secure [name].") + to_chat(user, "You [anchored ? "un" : ""]secure \the [name].") setAnchored(!anchored) return @@ -166,9 +166,9 @@ return if(P.tool_behaviour == TOOL_WRENCH && !circuit.needs_anchored) - to_chat(user, "You start [anchored ? "un" : ""]securing [name]...") + to_chat(user, "You start [anchored ? "un" : ""]securing \the [name]...") if(P.use_tool(src, user, 40, volume=75)) - to_chat(user, "You [anchored ? "un" : ""]secure [name].") + to_chat(user, "You [anchored ? "un" : ""]secure \the [name].") setAnchored(!anchored) return From 35caf9237c59f357069a850d4aff95ff08042e3b Mon Sep 17 00:00:00 2001 From: TheVekter Date: Mon, 18 Nov 2019 23:17:29 -0600 Subject: [PATCH 2/3] unga bunga me make code more efficient Efficiency changes --- code/game/machinery/constructable_frame.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm index 4c26d8e13ca..b8c786a3514 100644 --- a/code/game/machinery/constructable_frame.dm +++ b/code/game/machinery/constructable_frame.dm @@ -102,18 +102,18 @@ qdel(src) return if(P.tool_behaviour == TOOL_WRENCH) - to_chat(user, "You start [anchored ? "un" : ""]securing \the [name]...") + to_chat(user, "You start [anchored ? "un" : ""]securing [src]...") if(P.use_tool(src, user, 40, volume=75)) if(state == 1) - to_chat(user, "You [anchored ? "un" : ""]secure \the [name].") + to_chat(user, "You [anchored ? "un" : ""]secure [src].") setAnchored(!anchored) return if(2) if(P.tool_behaviour == TOOL_WRENCH) - to_chat(user, "You start [anchored ? "un" : ""]securing \the [name]...") + to_chat(user, "You start [anchored ? "un" : ""]securing [src]...") if(P.use_tool(src, user, 40, volume=75)) - to_chat(user, "You [anchored ? "un" : ""]secure \the [name].") + to_chat(user, "You [anchored ? "un" : ""]secure [src].") setAnchored(!anchored) return From ba7eeec1dd3894f9c88b2b153bf410a21acda7f3 Mon Sep 17 00:00:00 2001 From: TheVekter Date: Mon, 18 Nov 2019 23:18:01 -0600 Subject: [PATCH 3/3] Forgot one Forgot one --- code/game/machinery/constructable_frame.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm index b8c786a3514..6ff674556eb 100644 --- a/code/game/machinery/constructable_frame.dm +++ b/code/game/machinery/constructable_frame.dm @@ -166,9 +166,9 @@ return if(P.tool_behaviour == TOOL_WRENCH && !circuit.needs_anchored) - to_chat(user, "You start [anchored ? "un" : ""]securing \the [name]...") + to_chat(user, "You start [anchored ? "un" : ""]securing [src]...") if(P.use_tool(src, user, 40, volume=75)) - to_chat(user, "You [anchored ? "un" : ""]secure \the [name].") + to_chat(user, "You [anchored ? "un" : ""]secure [src].") setAnchored(!anchored) return