Skip to content

Commit

Permalink
adjust and add missions for isherwood faction (CleverRaven#33537)
Browse files Browse the repository at this point in the history
* adjust and add missions for isherwood faction

* remove pacified flag
  • Loading branch information
curstwist authored and misterprimus committed Sep 21, 2019
1 parent 930d7e7 commit 0b07aa9
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 19 deletions.
33 changes: 21 additions & 12 deletions data/json/npcs/isherwood_farm/NPC_Eddie_Isherwood.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@
},
"end": {
"opinion": { "trust": 1, "value": 1 },
"effect": { "u_add_var": "u_did_kiln_mission", "type": "general", "context": "mission", "value": "yes" },
"effect": [
{ "u_buy_item": "meat_smoked", "count": 12 },
{ "u_buy_item": "milk", "container": "jar_3l_glass_sealed", "count": 12 }
],
"update_mapgen": [
{
"om_terrain": "rural_outbuilding",
Expand All @@ -239,16 +242,19 @@
"item": "material_sand",
"count": 2000,
"followup": "MISSION_ISHERWOOD_EDDIE_3",
"end": { "opinion": { "trust": 1, "value": 1 } },
"end": {
"opinion": { "trust": 1, "value": 1 },
"effect": [ { "u_buy_item": "butter", "count": 6 }, { "u_buy_item": "milk", "container": "jar_3l_glass_sealed", "count": 12 } ]
},
"origins": [ "ORIGIN_SECONDARY" ],
"dialogue": {
"describe": "I do have some resource gathering I could use help with.",
"offer": "Now that the kilns are set up, we could use 2000 units of sand to get production going.",
"offer": "Now that the forge is set up, we could use 2000 units of sand to get production going.",
"accepted": "Thank you.",
"rejected": "Oh well. I'll try to find time to get it myself, thanks.",
"advice": "You can find it along river banks, or maybe landscaping supplies and hardware stores.",
"inquire": "How is the search going?",
"success": "Thanks, now Luke can get started.",
"success": "Thanks, now Luke can get started. Here's a token of my thanks.",
"success_lie": "What good does this do us?",
"failure": "I wonder where all the sand went..."
}
Expand All @@ -262,21 +268,24 @@
"value": 20000,
"item": "clay_lump",
"count": 1000,
"end": { "opinion": { "trust": 2, "value": 2 } },
"effect": [
{ "u_add_var": "u_did_eddie_missions", "type": "general", "context": "mission", "value": "yes" },
{ "u_buy_item": "rope_6", "count": 1 },
{ "u_buy_item": "cattlefodder", "count": 3 }
],
"end": {
"opinion": { "trust": 2, "value": 2 },
"effect": [
{ "u_add_var": "u_did_eddie_missions", "type": "general", "context": "mission", "value": "yes" },
{ "u_buy_item": "rope_6", "count": 1 },
{ "u_buy_monster": "mon_cow", "count": 1, "name": "Daisy" },
{ "u_buy_item": "cattlefodder", "count": 3 }
]
},
"origins": [ "ORIGIN_SECONDARY" ],
"dialogue": {
"describe": "I do have some resource gathering I could use help if you have time.",
"offer": "Now that the kilns are set up, we could use 1000 units of clay to get production going.",
"offer": "Now that the clay kiln is set up, we could use 1000 units of clay to get production going.",
"accepted": "Thank you.",
"rejected": "Oh well. I'll try to find time to get it myself, thanks.",
"advice": "You can find it along river banks, or maybe look for deposits in the forest.",
"inquire": "How is the search going?",
"success": "Thanks, now Luke can get started making jugs, We'd like to give you a cow if you want it. Here's a rope an some fodder, feel free to pick one out.",
"success": "Thanks, now Luke can get started making jugs, We'd like to give you a cow, Here's Daisy, take good care of her and she'll provide you with milk.",
"success_lie": "What good does this do us?",
"failure": "I wonder where all the sand went..."
}
Expand Down
39 changes: 32 additions & 7 deletions data/json/npcs/isherwood_farm/NPC_Jesse_Isherwood.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
{
"type": "talk_topic",
"id": "TALK_ISHERWOOD_JESSE_TIPS",
"dynamic_line": "We can't wait for someone else to fix things, we need to take care of ourselves. Horses make good all around companions. They can get places that cars can't and also help when all the engines fail. They become very trusting if you feed them some nice fodder.",
"dynamic_line": "Horses make good all around companions. They can get places that cars can't and also help when all the engines fail. They become very trusting if you feed them some nice fodder.",
"responses": [
{ "text": "Let's talk about something else.", "topic": "TALK_ISHERWOOD_JESSE_TOPICS" },
{ "text": "I'd better get going.", "topic": "TALK_DONE" }
Expand Down Expand Up @@ -188,27 +188,52 @@
"goal": "MGOAL_KILL_MONSTER",
"difficulty": 5,
"value": 50000,
"followup": "MISSION_ISHERWOOD_JESSE_2",
"start": {
"assign_mission_target": { "om_terrain": "forest_thick", "reveal_radius": 1, "random": true, "search_range": 20, "min_distance": 8 },
"update_mapgen": { "place_monster": [ { "monster": "mon_flying_polyp", "x": 11, "y": 11, "target": true } ] }
"update_mapgen": { "place_monster": [ { "monster": "mon_wolf", "pack_size": [ 4, 8 ], "x": 3, "y": 9, "target": true } ] }
},
"origins": [ "ORIGIN_ANY_NPC" ],
"dialogue": {
"describe": "We could use some help killing some wolves.",
"offer": "There's been some wolves that keep scaring our chickens and horses, I'd be grateful if you can kill them.",
"accepted": "Wonderful, let me know when it is done.",
"rejected": "Thanks anyway, we will try some traps.",
"advice": "A gun will probably help.",
"inquire": "Did you kill it?",
"success": "I appreciate it, I've got this old saddle I want you to have. I'll be happy to put a horse under it if you want to do some more heroics.",
"success_lie": "Show me the bodies.",
"failure": "It was a lost cause anyways..."
},
"end": { "opinion": { "trust": 1, "value": 1 }, "effect": [ { "u_buy_item": "riding_saddle", "count": 1 } ] }
},
{
"id": "MISSION_ISHERWOOD_JESSE_2",
"type": "mission_definition",
"name": "Kill monster",
"goal": "MGOAL_KILL_MONSTER",
"difficulty": 8,
"value": 80000,
"start": {
"assign_mission_target": { "om_terrain": "forest_thick", "reveal_radius": 1, "random": true, "search_range": 20, "min_distance": 15 },
"update_mapgen": { "place_monster": [ { "monster": "mon_flying_polyp", "pack_size": [ 3, 6 ], "x": 11, "y": 11, "target": true } ] }
},
"origins": [ "ORIGIN_SECONDARY" ],
"dialogue": {
"describe": "We could use some help killing some monsters.",
"offer": "I don't know what it is, but it is very fast, I'm willing to outfit you with a horse if you succeed.",
"offer": "We could use some help killing a pack of monsters. I don't know what they are, but they're very fast, I'm willing to outfit you with a horse if you succeed.",
"accepted": "Be ready for anything.",
"rejected": "Thanks anyway, we will try some traps.",
"advice": "A gun will probably help.",
"inquire": "Did you kill it?",
"success": "I appreciate it, this will help keep our animals safe, here's an extra saddle for you. Take this fodder and choose a horse for your bravery.",
"success_lie": "Show me the body.",
"success": "I appreciate it, this will help keep our animals safe. This is, Steve, he's a good, steady horse. You should talk to Carlos about some armor for him.",
"success_lie": "Show me the bodies.",
"failure": "It was a lost cause anyways..."
},
"end": {
"opinion": { "trust": 1, "value": 1 },
"effect": [
{ "u_buy_item": "riding_saddle", "count": 1 },
{ "u_buy_item": "cattlefodder", "count": 3 },
{ "u_buy_monster": "mon_horse", "count": 1, "name": "Steve" },
{ "u_add_var": "u_did_jesse_missions", "type": "general", "context": "recruit", "value": "yes" }
]
}
Expand Down

0 comments on commit 0b07aa9

Please sign in to comment.