Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul and Flesh Out Barry Isherwood's Rescue Mission, part 2 #73388

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
2f00d37
Start of the PR
MNG-cataclysm Apr 29, 2024
899cbd2
Allow riot gear to be purchased from Hub01 for Barry's rescue mission
MNG-cataclysm May 4, 2024
ec61510
Allow the Exodii to trade the player riot gear
MNG-cataclysm May 4, 2024
4db2baa
Add Luke Isherwood's truck bomb mission
MNG-cataclysm May 6, 2024
8f8ae3a
Spread out dynamite spawns throughout the trailer
MNG-cataclysm May 14, 2024
7860829
Merge branch 'CleverRaven:master' into barry_rescue_mission_refinemen…
MNG-cataclysm May 19, 2024
0d58102
Add some dialogue trying Luke to Chris's plan.
MNG-cataclysm May 20, 2024
b0e926d
Spellchecking and bugfixes
MNG-cataclysm May 22, 2024
55bf39d
Update exodii_merchant_talk.json
MNG-cataclysm Jun 2, 2024
f0f11e3
Update exodii_merchant_talk.json
MNG-cataclysm Jul 9, 2024
37308a7
Update exodii_merchant_talk.json
MNG-cataclysm Jul 9, 2024
5cb2bb4
Update exodii_merchant_talk.json
MNG-cataclysm Jul 9, 2024
358e27b
Update exodii_merchant_talk.json
MNG-cataclysm Jul 9, 2024
9359fe6
Update exodii_merchant_talk.json
MNG-cataclysm Jul 9, 2024
381c819
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
8c31eb4
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
0eba81c
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
7d1a588
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
fe1cb58
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
d3cc4fa
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
ee44634
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
5332102
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
f3aad1e
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
6a672f7
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
a36785c
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
fef0c4d
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
13523d1
Update NPC_Luke_Isherwood.json
MNG-cataclysm Jul 9, 2024
9932a8e
Update robofac_intercom.json
MNG-cataclysm Jul 9, 2024
c99bba3
Update robofac_intercom_missions.json
MNG-cataclysm Jul 9, 2024
636c2ef
Update robofac_intercom_missions.json
MNG-cataclysm Jul 9, 2024
3460af5
Update robofac_intercom.json
MNG-cataclysm Jul 9, 2024
b19a7fa
Update robofac_intercom.json
MNG-cataclysm Jul 9, 2024
1c14393
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
bf19d78
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
9f5c887
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
6103033
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
36b24f9
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
fa0356e
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
97fe96c
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
ce68d5e
Update robofac_intercom_trades.json
MNG-cataclysm Jul 9, 2024
f5942e3
Apply suggestions from code review
Maleclypse Jul 9, 2024
9983227
Update dialogue and organize the spellchecker dictionary, add more wo…
MNG-cataclysm Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -379,5 +379,29 @@
"else": { "set_string_var": "blames_you", "target_var": { "global_val": "isherwood_barry_death_opinion" } }
}
]
},
{
"type": "effect_on_condition",
"eoc_type": "OM_MOVE",
"id": "EOC_HAVE_U_BEEN_TO_MIGOS",
"condition": {
"or": [
{ "u_near_om_location": "mi-go_portal", "range": 3 },
{ "u_near_om_location": "mi-go_camp1", "range": 3 },
{ "u_near_om_location": "mi-go_camp2", "range": 3 },
{ "u_near_om_location": "mi-go_camp2-1", "range": 3 },
{ "u_near_om_location": "mi-go_camp2-2", "range": 3 },
{ "u_near_om_location": "mi-go_scout_tower_1", "range": 3 },
{ "u_near_om_location": "mi-go_scout_tower_2", "range": 3 },
{ "u_near_om_location": "mi-go_scout_tower_3", "range": 3 },
{ "u_near_om_location": "mi-go_scout_tower_4", "range": 3 },
{ "u_near_om_location": "barry_mi-go_scout_tower_1", "range": 3 },
{ "u_near_om_location": "barry_mi-go_scout_tower_2", "range": 3 },
{ "u_near_om_location": "barry_mi-go_scout_tower_3", "range": 3 },
{ "u_near_om_location": "barry_mi-go_scout_tower_4", "range": 3 }
]
},
"deactivate_condition": { "u_has_var": "u_been_to_migos", "value": "yes" },
"effect": [ { "u_add_var": "u_been_to_migos", "value": "yes" } ]
}
]
6 changes: 6 additions & 0 deletions data/json/itemgroups/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -1065,5 +1065,11 @@
"//": "This group was created automatically and may contain errors.",
"container-item": "bottle_plastic_small",
"entries": [ { "item": "pur_tablets", "count": [ 75, 100 ] } ]
},
{
"type": "item_group",
"subtype": "collection",
"id": "dynamite_shipment",
"items": [ { "item": "dynamite", "count": [ 2, 3 ] } ]
}
]
25 changes: 25 additions & 0 deletions data/json/npcs/exodii/exodii_merchant_missions.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,5 +509,30 @@
"topic": "TALK_DONE"
}
]
},
{
"id": "MISSION_EXODII_PAY_BACK_RIOT_GEAR",
"type": "mission_definition",
"name": { "str": "Pay Back The Riot Gear to Rubik" },
"goal": "MGOAL_NULL",
"difficulty": 1,
"value": 0,
"fail": { "effect": { "math": [ "faction_trust('exodii')", "-=", "20" ] } },
"origins": [ "ORIGIN_SECONDARY" ],
"has_generic_rewards": false,
"deadline_low": 20,
"deadline_high": 20,
"//": "Dialogue for this mission is handled externally.",
"dialogue": {
"describe": ".",
"offer": ".",
"accepted": ".",
"rejected": ".",
"advice": ".",
"inquire": ".",
"success": ".",
"success_lie": ".",
"failure": "."
}
}
]
94 changes: 94 additions & 0 deletions data/json/npcs/exodii/exodii_merchant_talk.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,25 @@
]
},
"topic": "TALK_EXODII_MERCHANT_Talk_Intro2a"
},
{
"text": "Any chance I can buy some riot armor? I need five complete sets.",
"condition": {
"and": [
{ "u_has_faction_trust": 2 },
{ "u_has_mission": "MISSION_ISHERWOOD_CHRIS_1_GET_GEAR" },
{ "math": [ "isherwood_gear_status", "<", "1" ] },
{
"not": { "npc_has_var": "npc_bought_riot_gear", "type": "dialogue", "context": "exodii", "value": "yes" }
}
]
},
"topic": "TALK_EXODII_MERCHANT_You_Buy_Riot_Gear"
},
{
"text": "Remember that riot gear you gave me?",
"condition": { "u_has_mission": "MISSION_EXODII_PAY_BACK_RIOT_GEAR" },
"topic": "TALK_EXODII_MERCHANT_You_Buy_Riot_Gear_Payback"
}
]
},
Expand Down Expand Up @@ -1297,5 +1316,80 @@
{ "text": "I've got some stuff I'd like to install.", "topic": "TALK_DONE", "effect": "bionic_install" },
{ "text": "Would you be able to take out one of my implants?", "topic": "TALK_DONE", "effect": "bionic_remove" }
]
},
{
"id": "TALK_EXODII_MERCHANT_You_Buy_Riot_Gear",
"type": "talk_topic",
"dynamic_line": "Mayhaps this gear will do you better than it did the scuffers wot trained with it. [$400]",
"responses": [
{
"text": "I'll buy it.",
"effect": [
{
"u_spend_cash": 40000,
"true_eocs": {
"id": "exodii_buy_riot_gear_success",
"effect": [
{ "u_spawn_item": "armor_riot", "count": 5 },
{ "u_spawn_item": "helmet_riot", "count": 5 },
{ "u_spawn_item": "armor_riot_arm", "count": 5 },
{ "u_spawn_item": "armor_riot_leg", "count": 5 },
{ "npc_add_var": "npc_bought_riot_gear", "type": "dialogue", "context": "exodii", "value": "yes" }
]
}
}
],
"topic": "TALK_EXODII_MERCHANT_Talk"
},
{
"text": "Any chance I can buy gear this on layaway?",
"topic": "TALK_EXODII_MERCHANT_You_Buy_Riot_Gear_On_Credit"
},
{ "text": "Can we talk about something else?", "topic": "TALK_EXODII_MERCHANT_Talk" },
{ "text": "I've gotta go. See you later, Rubik.", "topic": "TALK_DONE" }
]
},
{
"id": "TALK_EXODII_MERCHANT_You_Buy_Riot_Gear_On_Credit",
"type": "talk_topic",
"dynamic_line": "If'n you survive, we can give you a fortnight and six odd days to pay us'n back.",
"responses": [
{
"text": "Thanks Rubik, I'll be back with your payment soon.",
"effect": [
{ "u_spawn_item": "armor_riot", "count": 5 },
{ "u_spawn_item": "helmet_riot", "count": 5 },
{ "u_spawn_item": "armor_riot_arm", "count": 5 },
{ "u_spawn_item": "armor_riot_leg", "count": 5 },
{ "assign_mission": "MISSION_EXODII_PAY_BACK_RIOT_GEAR" },
{ "npc_add_var": "npc_bought_riot_gear", "type": "dialogue", "context": "exodii", "value": "yes" }
],
"topic": "TALK_EXODII_MERCHANT_Talk"
},
{ "text": "Can we talk about something else?", "topic": "TALK_EXODII_MERCHANT_Talk" },
{ "text": "I've gotta go. See you later, Rubik.", "topic": "TALK_DONE" }
]
},
{
"id": "TALK_EXODII_MERCHANT_You_Buy_Riot_Gear_Payback",
"type": "talk_topic",
"dynamic_line": "Right and done, don't let whatever you are going after turn you into a pork loin well done. I's expectin' you back.",
"responses": [
{
"text": "Here's the money to pay off that debt.",
"effect": [
{
"u_spend_cash": 40000,
"true_eocs": {
"id": "exodii_pay_back_riot_gear_success",
"effect": [ { "finish_mission": "MISSION_EXODII_PAY_BACK_RIOT_GEAR", "success": true } ]
}
}
],
"topic": "TALK_EXODII_MERCHANT_Talk"
},
{ "text": "Can we talk about something else?", "topic": "TALK_EXODII_MERCHANT_Talk" },
{ "text": "I've gotta go. See you later, Rubik.", "topic": "TALK_DONE" }
]
}
]
50 changes: 50 additions & 0 deletions data/json/npcs/isherwood_farm/NPC_Chris_Isherwood.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,16 @@
},
"topic": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_PLAN_Wall"
},
{
"text": "We're going to need some way to breach the tower itself, possibly some form of explosives. Do you know anyone who could help us with that?",
"condition": {
"and": [
{ "u_has_var": "u_been_to_migos", "value": "yes" },
{ "not": { "u_has_var": "chris_planned_for_bomb", "value": "yes" } }
]
},
"topic": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_PLAN_Bomb"
},
{ "text": "Let's talk about something else.", "topic": "TALK_ISHERWOOD_CHRIS_TOPICS" },
{ "text": "I'd better get going.", "topic": "TALK_DONE" }
]
Expand Down Expand Up @@ -530,6 +540,16 @@
},
"topic": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_PLAN_Wall"
},
{
"text": "We're going to need some way to breach the tower itself, possibly some form of explosives. Do you know anyone who could help us with that?",
"condition": {
"and": [
{ "u_has_var": "u_been_to_migos", "value": "yes" },
{ "not": { "u_has_var": "chris_planned_for_bomb", "value": "yes" } }
]
},
"topic": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_PLAN_Bomb"
},
{ "text": "Let's talk about something else.", "topic": "TALK_ISHERWOOD_CHRIS_TOPICS" },
{ "text": "I'd better get going.", "topic": "TALK_DONE" }
]
Expand Down Expand Up @@ -648,6 +668,36 @@
{ "text": "I'll let you get on that, I've got my own preparations to take care of.", "topic": "TALK_DONE" }
]
},
{
"type": "talk_topic",
"id": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_PLAN_Bomb",
"dynamic_line": "* looks thoughtful for a moment, then becomes a bit nervous. \"Wait, won't that run the risk of injuring Barry, or possibly collapsing the tower? I don't want him hurt during this, or anyone else if this bomb sends back a bunch of shrapnel. What do you think about it?\"",
"responses": [
{
"text": "Don't worry, I know what I'm doing. I've taken a look at these sorts of towers before, and I know that the structure itself is pretty solid. If we tune it right, then the tower won't fall over.",
"topic": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_PLAN_Bomb_Luke"
},
{ "text": "Let's talk about something else.", "topic": "TALK_ISHERWOOD_CHRIS_TOPICS" },
{ "text": "I'd better get going.", "topic": "TALK_DONE" }
]
},
{
"type": "talk_topic",
"id": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_PLAN_Bomb_Luke",
"dynamic_line": "Well, I trust you on this. If you need a good hand with chemistry, go see Luke about it. He knows a lot, you'd be surprised. \" He pauses for a moment, and thinks as if trying to recall something. \"Luke should be over in the old outbuilding near the dairy, that's on the other end of the property.",
"responses": [
{
"text": "That sounds great, I'll go talk to him about it. Let's talk about something else first, though.",
"effect": { "u_add_var": "chris_planned_for_bomb", "value": "yes" },
"topic": "TALK_ISHERWOOD_CHRIS_TOPICS"
},
{
"text": "That sounds great, I'll go talk to him about it.",
"effect": { "u_add_var": "chris_planned_for_bomb", "value": "yes" },
"topic": "TALK_DONE"
}
]
},
{
"type": "talk_topic",
"id": "TALK_ISHERWOOD_CHRIS_RESCUE_BARRY_CHRIS_TRY_AGAIN",
Expand Down
Loading
Loading