From cf693dde91183c719a21bdcfb2efc584fb636726 Mon Sep 17 00:00:00 2001 From: deelite34 Date: Fri, 5 Mar 2021 14:48:15 +0100 Subject: [PATCH 1/4] Fix coordinates not showing up in logs, when you create new area with station plans --- code/game/objects/items/blueprints.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index ccdce20f5e4..f31458274ea 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -228,8 +228,8 @@ FD.CalculateAffectingAreas() interact() - message_admins("A new room was made by [ADMIN_LOOKUPFLW(usr)] at [ADMIN_VERBOSEJMP(src)] with the name [str]") - log_game("A new room was made by [key_name(usr)] at [AREACOORD(src)] with the name [str]") + message_admins("A new room was made by [ADMIN_LOOKUPFLW(usr)] at [ADMIN_VERBOSEJMP(usr)] with the name [str]") + log_game("A new room was made by [key_name(usr)] at [AREACOORD(usr)] with the name [str]") area_created = TRUE return area_created From 7fe8e28fa80943e57aa3348d6ac0f604d6da892d Mon Sep 17 00:00:00 2001 From: deelite34 Date: Mon, 8 Mar 2021 16:51:24 +0100 Subject: [PATCH 2/4] Fix duplicate ? and FLW appearing --- code/game/objects/items/blueprints.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index f31458274ea..39e4f3012fd 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -228,8 +228,8 @@ FD.CalculateAffectingAreas() interact() - message_admins("A new room was made by [ADMIN_LOOKUPFLW(usr)] at [ADMIN_VERBOSEJMP(usr)] with the name [str]") - log_game("A new room was made by [key_name(usr)] at [AREACOORD(usr)] with the name [str]") + message_admins("A new room was made by [key_name_admin(usr)] at [ADMIN_VERBOSEJMP(usr)] with the name [str]") + log_game("A new room was made by [key_name_admin(usr)] at [AREACOORD(usr)] with the name [str]") area_created = TRUE return area_created @@ -250,8 +250,8 @@ FD.CalculateAffectingAreas() to_chat(usr, "You rename the '[prevname]' to '[str]'.") interact() - message_admins("A room was renamed by [ADMIN_LOOKUPFLW(usr)] at [ADMIN_VERBOSEJMP(usr)] changing the name from [prevname] to [str]") - log_game("A room was renamed by [key_name(usr)] at [AREACOORD(usr)] changing the name from [prevname] to [str] ") + message_admins("A room was renamed by [key_name_admin(usr)] at [ADMIN_VERBOSEJMP(usr)] changing the name from [prevname] to [str]") + log_game("A room was renamed by [key_name_admin(usr)] at [AREACOORD(usr)] changing the name from [prevname] to [str] ") return 1 From f7c5eb274a38e9e54d4206bd31e356583d9f2f88 Mon Sep 17 00:00:00 2001 From: Deelite34 <35972878+Deelite34@users.noreply.github.com> Date: Mon, 8 Mar 2021 19:44:45 +0100 Subject: [PATCH 3/4] Revert log_game change Co-authored-by: Farie82 --- code/game/objects/items/blueprints.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index 39e4f3012fd..a48af14409f 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -229,7 +229,7 @@ interact() message_admins("A new room was made by [key_name_admin(usr)] at [ADMIN_VERBOSEJMP(usr)] with the name [str]") - log_game("A new room was made by [key_name_admin(usr)] at [AREACOORD(usr)] with the name [str]") + log_game("A new room was made by [key_name(usr)] at [AREACOORD(usr)] with the name [str]") area_created = TRUE return area_created @@ -341,4 +341,3 @@ fluffnotice = "Intellectual Property of Nanotrasen. For use in engineering cyborgs only. Wipe from memory upon departure from the station." /obj/item/areaeditor/blueprints/ce - From 8015d59f82577479bcf8337178eb9dedbc2f743e Mon Sep 17 00:00:00 2001 From: Deelite34 <35972878+Deelite34@users.noreply.github.com> Date: Mon, 8 Mar 2021 19:45:01 +0100 Subject: [PATCH 4/4] Revert log_game change2 Co-authored-by: Farie82 --- code/game/objects/items/blueprints.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index a48af14409f..50e3c833c1e 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -251,7 +251,7 @@ to_chat(usr, "You rename the '[prevname]' to '[str]'.") interact() message_admins("A room was renamed by [key_name_admin(usr)] at [ADMIN_VERBOSEJMP(usr)] changing the name from [prevname] to [str]") - log_game("A room was renamed by [key_name_admin(usr)] at [AREACOORD(usr)] changing the name from [prevname] to [str] ") + log_game("A room was renamed by [key_name(usr)] at [AREACOORD(usr)] changing the name from [prevname] to [str] ") return 1