Skip to content

Commit

Permalink
aforementioned point reached
Browse files Browse the repository at this point in the history
yet to be playtested
  • Loading branch information
Kamejeir committed Nov 1, 2024
1 parent b9b3cfa commit 0a71a70
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 13 deletions.
54 changes: 42 additions & 12 deletions data/json/npcs/tacoma_ranch/NPC_ranch_foreman.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,29 @@
"id": "TALK_RANCH_FOREMAN",
"type": "talk_topic",
"dynamic_line": {
"u_is_wearing": "badge_marshal",
"yes": "Can I help you, marshal?",
"no": { "u_male": true, "yes": "Morning sir, how can I help you?", "no": "Morning ma'am, how can I help you?" }
"compare_string": [ "no", { "u_val": "mission_flag_Bartender_rewarded" } ],
"no": "Hello again. If you have no other business with me, I'd like to talk to you about something.",
"yes": {
"compare_string": [ "no", { "u_val": "mission_flag_Doctor_rewarded" } ],
"no": "Hello again. If you have no other business with me, I'd like to talk to you about something.",
"yes": {
"u_is_wearing": "badge_marshal",
"yes": "Can I help you, marshal?",
"no": { "u_male": true, "yes": "Morning sir, how can I help you?", "no": "Morning ma'am, how can I help you?" }
}
}
},
"responses": [
{
"text": "What is it?",
"topic": "TALK_RANCH_FOREMAN_reward",
"condition": {
"or": [
{ "compare_string": [ "no", { "u_val": "mission_flag_Bartender_rewarded" } ] },
{ "compare_string": [ "no", { "u_val": "mission_flag_Doctor_rewarded" } ] }
]
}
},
{
"text": "The merchant at the Refugee Center sent me to get a prospectus from you.",
"topic": "TALK_RANCH_FOREMAN_PROSPECTUS",
Expand Down Expand Up @@ -147,25 +165,37 @@
"dynamic_line": "we're still in early stages of getting set up, but we're not overly flush for hands, that's for sure. I don't think we'd turn many people away, of course, but besides strong hands and willing labor, we could really use someone who could cook. I can't tell you what it'd do for morale. You could try asking some of the people staying on the surface in the refugee center maybe, I don't think they were part of most of the original discussions about the ranch.",
"responses": [ { "text": "I'll keep an eye out.", "topic": "TALK_RANCH_FOREMAN" } ]
},
{
"type": "talk_topic",
"id": "TALK_RANCH_FOREMAN_reward",
"dynamic_line": "You've done a lot for the ranch, by generally helping both community with both wellness and trade. As the project lead, I want to make sure these efforts don't go unnoticed.",
"responses": [
{
"text": "You mean setting up the doctor's office?",
"topic": "TALK_RANCH_FOREMAN_Doctor_done",
"condition": { "compare_string": [ "no", { "u_val": "mission_flag_Doctor_rewarded" } ] }
},
{
"text": "Is this about bootstrapping the trade relating to the bar?",
"topic": "TALK_RANCH_FOREMAN_Bartender_done",
"condition": { "compare_string": [ "no", { "u_val": "mission_flag_Bartender_rewarded" } ] }
},
{ "text": "Understood. Back to business.", "topic": "TALK_RANCH_FOREMAN" }
]
},
{
"type": "talk_topic",
"id": "TALK_RANCH_FOREMAN_Bartender_done",
"dynamic_line": "Ever since you got the bartender set up, our liquor business has been running so much better! As thanks for your efforts, I wanted to reward you with a portion of recent profits.",
"speaker_effect": { "effect": [ { "u_spawn_item": "FMCNote", "count": 75 }, { "u_lose_var": "mission_flag_Bartender_rewarded" } ] },
"responses": [ { "text": "Thanks.", "topic": "TALK_RANCH_FOREMAN" } ]
"responses": [ { "text": "Thanks.", "topic": "TALK_RANCH_FOREMAN_reward" } ]
},
{
"type": "talk_topic",
"id": "TALK_RANCH_FOREMAN_Doctor_done",
"dynamic_line": "I heard you helped jumpstart our local medical services. With that basic need covered, everyone has been able to focus on their work a lot more, so to thank you for your efforts, I wanted to reward you.",
"speaker_effect": {
"effect": [
{ "u_spawn_item": "FMCNote", "count": 25 },
{ "u_lose_var": "mission_flag_Doctor_rewarded" },
{ "u_lose_var": "mission_flag_Nurse_rewarded" }
]
},
"responses": [ { "text": "Thanks.", "topic": "TALK_RANCH_FOREMAN" } ]
"speaker_effect": { "effect": [ { "u_spawn_item": "FMCNote", "count": 25 }, { "u_lose_var": "mission_flag_Doctor_rewarded" } ] },
"responses": [ { "text": "Thanks.", "topic": "TALK_RANCH_FOREMAN_reward" } ]
},
{
"id": "MISSION_RANCH_FOREMAN_1",
Expand Down
1 change: 0 additions & 1 deletion data/json/npcs/tacoma_ranch/NPC_ranch_nurse.json
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,6 @@
"failure": "It was a lost cause anyways…"
},
"end": {
"effect": { "u_add_var": "mission_flag_Nurse_rewarded", "value": "no" },
"update_mapgen": [
{
"om_terrain": "ranch_camp_59",
Expand Down

0 comments on commit 0a71a70

Please sign in to comment.