mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Nuclear Operatives will now see the nuke codes in memories (#61448)
This adds the ability for the nuclear operatives to check their memories for the nuke code. Memories are the successor to notes, the latter being where the nuke code was stored before. Many thanks to tralezab for helping me make this change. Also shoutout MrDoomBringer for making the messages suck less
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
/datum/antagonist/nukeop/proc/memorize_code()
|
||||
if(nuke_team && nuke_team.tracked_nuke && nuke_team.memorized_code)
|
||||
antag_memory += "<B>[nuke_team.tracked_nuke] Code</B>: [nuke_team.memorized_code]<br>"
|
||||
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: <B>[nuke_team.memorized_code]</B>")
|
||||
else
|
||||
to_chat(owner, "Unfortunately the syndicate was unable to provide you with nuclear authorization code.")
|
||||
|
||||
@@ -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."
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user