-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more things to Defense Mode (#67894)
* Add the stuff * Update TALK_DM_MERCHANT.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update npcs.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Spellchecking * Add a space --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ae4082e
commit ef57fb4
Showing
6 changed files
with
251 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[ | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_DM_MERCHANT", | ||
"dynamic_line": "Nice to see you again. Would you like to buy something, hire someone, or somethin' else?", | ||
"responses": [ | ||
{ | ||
"text": "I'll buy something.", | ||
"topic": "TALK_DM_MERCHANT_2", | ||
"effect": [ { "run_eocs": "defense_mode_money_add_npc" }, "start_trade" ] | ||
}, | ||
{ "text": "What'll it cost me to get some help around here?", "topic": "TALK_DM_MERCHANT_HIRE_COST" }, | ||
{ | ||
"text": "I'd like to hire some help.", | ||
"topic": "TALK_DM_MERCHANT_2", | ||
"effect": [ | ||
{ "u_buy_item": "mercenary_contract", "cost": 50000, "true_eocs": "defense_mode_hire_merc_true" }, | ||
{ "run_eocs": "defense_mode_money_add_npc" } | ||
] | ||
}, | ||
{ "text": "Nevermind, I don't want anything.", "topic": "TALK_DONE" } | ||
] | ||
}, | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_DM_MERCHANT_HIRE_COST", | ||
"dynamic_line": "It's usually $500. You can pay me up front in either goods or money, then we'll talk.", | ||
"responses": [ | ||
{ | ||
"text": "I'll buy something.", | ||
"topic": "TALK_DM_MERCHANT_2", | ||
"effect": [ { "run_eocs": "defense_mode_money_add_npc" }, "start_trade" ] | ||
}, | ||
{ | ||
"text": "I'd like to hire some help.", | ||
"topic": "TALK_DM_MERCHANT_2", | ||
"effect": [ | ||
{ "u_buy_item": "mercenary_contract", "cost": 50000, "true_eocs": "defense_mode_hire_merc_true" }, | ||
{ "run_eocs": "defense_mode_money_add_npc" } | ||
] | ||
}, | ||
{ "text": "Nevermind, I don't want anything.", "topic": "TALK_DONE" } | ||
] | ||
}, | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_DM_MERCHANT_2", | ||
"dynamic_line": "Anything else I can do for you?", | ||
"responses": [ | ||
{ | ||
"text": "I'll buy something.", | ||
"topic": "TALK_DM_MERCHANT_2", | ||
"effect": [ { "run_eocs": "defense_mode_money_add_npc" }, "start_trade" ] | ||
}, | ||
{ "text": "What'll it cost me to get some help around here?", "topic": "TALK_DM_MERCHANT_HIRE_COST" }, | ||
{ | ||
"text": "I'd like to hire some help.", | ||
"topic": "TALK_DM_MERCHANT_2", | ||
"effect": [ | ||
{ "u_buy_item": "mercenary_contract", "cost": 50000, "true_eocs": "defense_mode_hire_merc_true" }, | ||
{ "run_eocs": "defense_mode_money_add_npc" } | ||
] | ||
}, | ||
{ "text": "Nevermind, I don't want anything.", "topic": "TALK_DONE" } | ||
] | ||
} | ||
] |
82 changes: 82 additions & 0 deletions
82
data/mods/Defense_Mode/dialogue/TALK_WANDERING_SURVIVOR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
[ | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_NPC_DEFENSE_WANDERER", | ||
"dynamic_line": { | ||
"npc_has_var": "knows_u", | ||
"type": "dialogue", | ||
"context": "first_meeting", | ||
"value": "yes", | ||
"yes": "<greet>", | ||
"no": "Freeze you <swear> <zombies>!" | ||
}, | ||
"speaker_effect": { "effect": { "npc_add_var": "knows_u", "type": "dialogue", "context": "first_meeting", "value": "yes" } }, | ||
"responses": [ | ||
{ | ||
"text": "&Hold up your hands. \"Don't worry, I'm not going to hurt you\"", | ||
"topic": "TALK_NPC_DEFENSE_WANDERER_CALM", | ||
"condition": { "not": { "npc_has_var": "knows_u", "type": "dialogue", "context": "first_meeting", "value": "yes" } } | ||
}, | ||
{ | ||
"text": "Hand over your stuff! Don't make any sudden moves, or you die!", | ||
"trial": { "type": "INTIMIDATE", "difficulty": 30 }, | ||
"success": { "topic": "TALK_WEAPON_DROPPED", "effect": "drop_weapon", "opinion": { "trust": -4, "fear": 3 } }, | ||
"failure": { "topic": "TALK_DONE", "effect": "hostile" }, | ||
"condition": { "not": { "npc_has_var": "knows_u", "type": "dialogue", "context": "first_meeting", "value": "yes" } } | ||
}, | ||
{ | ||
"text": "Nice to see you.", | ||
"topic": "TALK_NPC_DEFENSE_WANDERER_INTRO", | ||
"condition": { "npc_has_var": "knows_u", "type": "dialogue", "context": "first_meeting", "value": "yes" } | ||
}, | ||
{ "text": "Bye.", "topic": "TALK_DONE" } | ||
] | ||
}, | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_NPC_DEFENSE_WANDERER_CALM", | ||
"dynamic_line": "Oh, you're not one of the <zombies>. I'm glad to see another survivor out here, such a relief.", | ||
"responses": [ | ||
{ "text": "Alright, let's chat.", "topic": "TALK_NPC_DEFENSE_WANDERER_INTRO" }, | ||
{ "text": "I'll be back later.", "topic": "TALK_DONE" } | ||
] | ||
}, | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_NPC_DEFENSE_WANDERER_INTRO", | ||
"dynamic_line": [ "What's up?", "What do you need?", "What can I do for you?" ], | ||
"responses": [ | ||
{ "text": "What are you doing out here in the sticks?", "topic": "TALK_NPC_DEFENSE_WANDERER_STORY" }, | ||
{ "text": "Care to trade?", "topic": "TALK_NPC_DEFENSE_WANDERER_INTRO", "effect": "start_trade" }, | ||
{ | ||
"text": "Why don't you come with me, maybe we can hold out here?", | ||
"trial": { "type": "PERSUADE", "difficulty": -35, "mod": [ [ "value", 2 ] ] }, | ||
"success": { "topic": "TALK_AGREE_FOLLOW", "effect": "follow", "opinion": { "trust": 1, "value": 1 } }, | ||
"failure": { "topic": "TALK_DENY_FOLLOW", "effect": "deny_follow", "opinion": { "trust": 0, "fear": 0 } } | ||
}, | ||
{ "text": "I gotta go.", "topic": "TALK_DONE" } | ||
] | ||
}, | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_NPC_DEFENSE_WANDERER_STORY", | ||
"dynamic_line": "I can't remember, actually. I have a fague sense of being in my house, asleep, before I woke up in the middle of a field. I have this strange feeling that something's after me, keep seeing things out in the woods, so I had to keep moving.", | ||
"//": "Potential lore? This could be a good mystery.", | ||
"responses": [ | ||
{ "text": "Seems like a hard life.", "topic": "TALK_NPC_DEFENSE_WANDERER_INTRO" }, | ||
{ "text": "Where'd you get all your stuff at?", "topic": "TALK_NPC_DEFENSE_WANDERER_STUFF" }, | ||
{ | ||
"text": "I guess we're both in a similar predicament, then. Why not team up with me? We can hold out together and try to stay alive.", | ||
"trial": { "type": "PERSUADE", "difficulty": -35, "mod": [ [ "value", 2 ] ] }, | ||
"success": { "topic": "TALK_AGREE_FOLLOW", "effect": "follow", "opinion": { "trust": 1, "value": 1 } }, | ||
"failure": { "topic": "TALK_DENY_FOLLOW", "effect": "deny_follow", "opinion": { "trust": 0, "fear": 0 } } | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "talk_topic", | ||
"id": "TALK_NPC_DEFENSE_WANDERER_STUFF", | ||
"dynamic_line": "I just found it near where I woke up at. Who's it was and where it came from I have no idea, but I couldn't find anyone else around, and it seemed like it'd all been left there for someone to pick up.", | ||
"responses": [ { "text": "Makes sense.", "topic": "TALK_NPC_DEFENSE_WANDERER_INTRO" } ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.