diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-07-19 07:25:25 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-07-19 07:25:25 -0700 |
commit | 2b41e3b7e1d22c4f230e78b725f17c0a9efd77dc (patch) | |
tree | 35396bdab69734348e23a66383ac718bfd60f01c /npcs | |
parent | Fix the tailored tuxedo being marked as made from kevlar instead of leather (diff) | |
download | cataclysm-dda-mod_battle-maid-redone-2b41e3b7e1d22c4f230e78b725f17c0a9efd77dc.tar.xz |
Add a background type for the maid npc
Diffstat (limited to 'npcs')
-rw-r--r-- | npcs/TALK_MAID_ALLY.json | 2 | ||||
-rw-r--r-- | npcs/backgrounds.json | 32 | ||||
-rw-r--r-- | npcs/classes.json | 1 |
3 files changed, 34 insertions, 1 deletions
diff --git a/npcs/TALK_MAID_ALLY.json b/npcs/TALK_MAID_ALLY.json index f0107a9..6ccb492 100644 --- a/npcs/TALK_MAID_ALLY.json +++ b/npcs/TALK_MAID_ALLY.json @@ -48,7 +48,7 @@ "topic": "TALK_MAID_CONVERSATION", "condition": "at_safe_space", "switch": true, - "effect": { "npc_add_trait": "BGSS_Confused_1" }, + "effect": { "npc_add_trait": "BGSS_MAID_KAWAII_1" }, "//": "If the NPC doesn't have a BG survival story flagged trait, and didn't start the game as a static NPC, give them a BG story.", "//2": "This is a stand-in for some kind of better system to add a random trait." }, diff --git a/npcs/backgrounds.json b/npcs/backgrounds.json new file mode 100644 index 0000000..230de14 --- /dev/null +++ b/npcs/backgrounds.json @@ -0,0 +1,32 @@ +[ + { + "type": "mutation", + "id": "BGSS_MAID_KAWAII_1", + "name": { "str": "Survivor Story" }, + "points": 0, + "description": "This NPC could tell you about how they survived the Cataclysm", + "player_display": false, + "valid": false, + "purifiable": false, + "types": [ "BACKGROUND_SURVIVAL_STORY" ], + "flags": [ "BG_SURVIVAL_STORY" ] + }, + { + "id": "BGSS_MAID_KAWAII_1_STORY1", + "type": "talk_topic", + "dynamic_line": "My history? You mean before I served you? ...I'm sorry, but...", + "responses": [ { "text": "<done_conversation_section>", "topic": "TALK_FRIEND" }, { "text": "<end_talking>", "topic": "TALK_DONE" } ] + }, + { + "id": "TALK_FRIEND_CONVERSATION", + "type": "talk_topic", + "responses": [ + { + "text": "<BGSS_intro_question>", + "topic": "BGSS_MAID_KAWAII_1_STORY1", + "condition": { "npc_has_trait": "BGSS_MAID_KAWAII_1" }, + "switch": true + } + ] + } +] diff --git a/npcs/classes.json b/npcs/classes.json index 5598937..c072550 100644 --- a/npcs/classes.json +++ b/npcs/classes.json @@ -17,6 +17,7 @@ "traits": [ { "group": "NPC_starting_traits" }, { "group": "Appearance_Germanic" }, + [ "BGSS_MAID_KAWAII_1", 100 ], [ "PROF_MA_MAID", 100 ], [ "DEFT", 100 ], [ "FLEET", 100 ], |