From 62f1eff6ff641c047395a443a15331f7f5e9d20f Mon Sep 17 00:00:00 2001 From: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> Date: Sun, 13 Oct 2024 23:18:50 +0200 Subject: [PATCH] Fixed secure storage not displaying the pin code correctly (#20047) Fixed secure storage not displaying the pin code correctly Fixes #20041 Fixes #20011 --- .../objects/items/weapons/storage/secure.dm | 4 +- .../fluffyghost-fixsecurestorage.yml | 58 +++++++++++++++++++ 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/fluffyghost-fixsecurestorage.yml diff --git a/code/game/objects/items/weapons/storage/secure.dm b/code/game/objects/items/weapons/storage/secure.dm index 8cce2cff7e3..9bda2e9b305 100644 --- a/code/game/objects/items/weapons/storage/secure.dm +++ b/code/game/objects/items/weapons/storage/secure.dm @@ -10,7 +10,7 @@ // ----------------------------- // Generic Item // ----------------------------- -/obj/item/storage/secure +ABSTRACT_TYPE(/obj/item/storage/secure) name = "secstorage" var/icon_locking = "secureb" var/icon_sparking = "securespark" @@ -87,7 +87,7 @@ dat += "

\nLOCKING SYSTEM ERROR - 1701" if (src.l_setshort) dat += "

\nALERT: MEMORY SYSTEM ERROR - 6040 201" - message = "src.code[]" + message = "[src.code]" if (!src.locked) message = "*****" dat += "


\n>[message]
\n1-2-3
\n4-5-6
\n7-8-9
\nR-0-E
\n" diff --git a/html/changelogs/fluffyghost-fixsecurestorage.yml b/html/changelogs/fluffyghost-fixsecurestorage.yml new file mode 100644 index 00000000000..efc9a8a4a44 --- /dev/null +++ b/html/changelogs/fluffyghost-fixsecurestorage.yml @@ -0,0 +1,58 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# - (fixes bugs) +# wip +# - (work in progress) +# qol +# - (quality of life) +# soundadd +# - (adds a sound) +# sounddel +# - (removes a sound) +# rscadd +# - (adds a feature) +# rscdel +# - (removes a feature) +# imageadd +# - (adds an image or sprite) +# imagedel +# - (removes an image or sprite) +# spellcheck +# - (fixes spelling or grammar) +# experiment +# - (experimental change) +# balance +# - (balance changes) +# code_imp +# - (misc internal code change) +# refactor +# - (refactors code) +# config +# - (makes a change to the config files) +# admin +# - (makes changes to administrator tools) +# server +# - (miscellaneous changes to server) +################################# + +# Your name. +author: FluffyGhost + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fixed secure storage not displaying the pin code correctly."