diff --git a/code/__DEFINES/memory_defines.dm b/code/__DEFINES/memory_defines.dm index 31962b5a382..f35761fe82c 100644 --- a/code/__DEFINES/memory_defines.dm +++ b/code/__DEFINES/memory_defines.dm @@ -88,6 +88,8 @@ #define MEMORY_VENDING_CRUSHED "vending_crushed" /// Dusted by SM #define MEMORY_SUPERMATTER_DUSTED "supermatter_dusted" +/// Nuke ops nuke code memory +#define MEMORY_NUKECODE "nuke_code" /** * These are also memories, but they're examples of what I kinda don't want to be memories. They're stuff that I had to port @@ -141,5 +143,6 @@ #define DETAIL_STATION_NAME "STATION_NAME" #define DETAIL_MEDAL_TYPE "MEDAL_TYPE" #define DETAIL_MEDAL_REASON "MEDAL_REASON" +#define DETAIL_NUKE_CODE "NUKE_CODE" diff --git a/code/modules/antagonists/nukeop/nukeop.dm b/code/modules/antagonists/nukeop/nukeop.dm index 43000a1f418..6c41ca07e89 100644 --- a/code/modules/antagonists/nukeop/nukeop.dm +++ b/code/modules/antagonists/nukeop/nukeop.dm @@ -91,6 +91,7 @@ /datum/antagonist/nukeop/proc/memorize_code() if(nuke_team && nuke_team.tracked_nuke && nuke_team.memorized_code) antag_memory += "[nuke_team.tracked_nuke] Code: [nuke_team.memorized_code]
" + owner.add_memory(MEMORY_NUKECODE, list(DETAIL_NUKE_CODE = nuke_team.memorized_code, DETAIL_PROTAGONIST = owner.current), story_value = STORY_VALUE_AMAZING, memory_flags = MEMORY_FLAG_NOLOCATION | MEMORY_FLAG_NOMOOD | MEMORY_FLAG_NOPERSISTENCE) to_chat(owner, "The nuclear authorization code is: [nuke_team.memorized_code]") else to_chat(owner, "Unfortunately the syndicate was unable to provide you with nuclear authorization code.") diff --git a/strings/memories.json b/strings/memories.json index 41c601d97ef..b4035088d85 100644 --- a/strings/memories.json +++ b/strings/memories.json @@ -411,5 +411,12 @@ "supermatter_dusted_moods":[ "%PROTAGONIST %MOOD as they faded way.", "%PROTAGONIST %MOOD as they are reduced to atoms." + ], + "nuke_code_names":[ + "%PROTAGONIST learns the detonation codes for a nuclear weapon, %NUKE_CODE." + ], + "nuke_code_starts":[ + "The number %NUKE_CODE written on a sticky note with the words \"FOR SYNDICATE EYES ONLY\" scrawled next to it.", + "A piece of paper with the number %NUKE_CODE being handed to %PROTAGONIST from a figure in a blood-red hardsuit." ] }