From 3ec255db369f2239abbaa9aa217e4c86e347dbd0 Mon Sep 17 00:00:00 2001 From: Geeves Date: Fri, 16 Jul 2021 22:48:28 +0200 Subject: [PATCH] Station Tag (#12162) --- code/_helpers/text.dm | 1 + html/changelogs/geeves-station_tag.yml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 html/changelogs/geeves-station_tag.yml diff --git a/code/_helpers/text.dm b/code/_helpers/text.dm index f9205104163..655a8a817bd 100644 --- a/code/_helpers/text.dm +++ b/code/_helpers/text.dm @@ -490,6 +490,7 @@ t = replacetext(t, "\[/large\]", "") t = replacetext(t, "\[small\]", "") t = replacetext(t, "\[/small\]", "") + t = replacetext(t, "\[station\]", current_map.station_name) // A break for signature customization code to use this proc as well. if (limited) diff --git a/html/changelogs/geeves-station_tag.yml b/html/changelogs/geeves-station_tag.yml new file mode 100644 index 00000000000..d01b374e176 --- /dev/null +++ b/html/changelogs/geeves-station_tag.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - rscadd: "You can now use the tag [station] in papercode to have it replaced with the map's current station name." \ No newline at end of file