From e9c50345d223dcf908abea6099af4ea43fbc3a31 Mon Sep 17 00:00:00 2001 From: Maleclypse <54345792+Maleclypse@users.noreply.github.com> Date: Thu, 21 Jan 2021 09:55:21 -0600 Subject: [PATCH] Add Find Isherwood Farm mission (#46821) --- data/json/npcs/holdouts/Mr_Lapin.json | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/data/json/npcs/holdouts/Mr_Lapin.json b/data/json/npcs/holdouts/Mr_Lapin.json index 111126676181c..905a7966f1d47 100644 --- a/data/json/npcs/holdouts/Mr_Lapin.json +++ b/data/json/npcs/holdouts/Mr_Lapin.json @@ -69,9 +69,32 @@ "dynamic_line": "People come to me to learn how to keep rabbits. They learn and they go. I like to think I'm making the world better.", "responses": [ { "text": "…", "topic": "TALK_WARRENER" }, + { "text": "Anyone nearby I should meet?", "topic": "TALK_WARRENER_ISHERWOOD" }, { "text": "That sounds optimistic?", "topic": "TALK_WARRENER_WORLD_OPTIMISTIC" } ] }, + { + "id": "TALK_WARRENER_ISHERWOOD", + "type": "talk_topic", + "dynamic_line": "There is a family of nearby farmers that I trade with. I'd appreciate it if you could go check on them.", + "responses": [ + { + "text": "Seems like a deal to me.", + "topic": "TALK_WARRENER_ISHERWOOD_MISSION_ACCEPTED", + "effect": { "add_mission": "MISSION_Warrener_ISHERWOOD" } + }, + { "text": "That seems rather dangerous, I think I'll pass.", "topic": "TALK_EVAC_MERCHANT" } + ] + }, + { + "id": "TALK_WARRENER_ISHERWOOD_MISSION_ACCEPTED", + "type": "talk_topic", + "dynamic_line": "It can be quite a hike depending on your transportation. Lot of bad news between here and there.", + "responses": [ + { "text": "Don't worry, I'll be careful.", "topic": "TALK_DONE" }, + { "text": "Just a walk in the woods.", "topic": "TALK_DONE" } + ] + }, { "type": "talk_topic", "id": "TALK_WARRENER_WORLD_OPTIMISTIC", @@ -189,5 +212,36 @@ "failure": "It's not a big deal, it isn't that urgent." }, "end": { "effect": [ { "u_buy_item": "petpack", "count": 1 } ] } + }, + { + "id": "MISSION_Warrener_ISHERWOOD", + "type": "mission_definition", + "name": { "str": "Visit the Isherwoods" }, + "description": "There is a family that nearby that I'd like you to check in on.", + "goal": "MGOAL_GO_TO", + "difficulty": 3, + "start": { + "assign_mission_target": { + "om_terrain": "farm_isherwood_2", + "om_special": "Isherwood Farms", + "reveal_radius": 3, + "random": true, + "search_range": 560 + } + }, + "goal_condition": { "u_has_var": "u_met_carlos_isherwood", "type": "dialogue", "context": "isherwood", "value": "yes" }, + "value": 5000, + "origins": [ "ORIGIN_SECONDARY" ], + "dialogue": { + "describe": "…", + "offer": "…", + "accepted": "…", + "rejected": "…", + "advice": "…", + "inquire": "Have you checked on them?", + "success": "Good, that's one less thing to worry about.", + "success_lie": "I'm glad to hear they are fine. Why haven't they been by then?", + "failure": "At least you came back with your life…" + } } ]