[
  {
    "type": "effect_type",
    "id": "u_met_prepnet_gardener"
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_1",
    "dynamic_line": {
      "u_has_var": "u_met_prepnet_gardener",
      "type": "general",
      "context": "meeting",
      "value": "yes",
      "yes": [ "Hey there.", "Hello.", "How are you?", "Welcome!", "How's the weather?" ],
      "no": "Howdy!  You seem new, what brings you here?"
    },
    "responses": [
      {
        "text": "Who are you?",
        "effect": { "u_add_var": "u_met_prepnet_gardener", "type": "general", "context": "meeting", "value": "yes" },
        "condition": { "not": { "u_has_var": "u_met_prepnet_gardener", "type": "general", "context": "meeting", "value": "yes" } },
        "topic": "TALK_PrepNet_gardener_firstmeet"
      },
      {
        "text": "What is this place?",
        "condition": { "u_has_var": "u_met_prepnet_gardener", "type": "general", "context": "meeting", "value": "yes" },
        "topic": "TALK_PrepNet_gardener_place"
      },
      {
        "text": "What's your story?",
        "condition": { "u_has_var": "u_met_prepnet_gardener", "type": "general", "context": "meeting", "value": "yes" },
        "topic": "TALK_PrepNet_gardener_ask_past"
      },
      {
        "text": "How are things here?",
        "condition": { "u_has_var": "u_met_prepnet_gardener", "type": "general", "context": "meeting", "value": "yes" },
        "topic": "TALK_PrepNet_gardener_ask_mood"
      },
      {
        "text": "Can I do anything for you?",
        "condition": { "u_has_var": "u_met_prepnet_gardener", "type": "general", "context": "meeting", "value": "yes" },
        "topic": "TALK_MISSION_LIST"
      },
      { "text": "How do I join the phyle?", "topic": "TALK_PrepNet_gardener_ask_membership" },
      { "text": "I'm going on my way now.", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_firstmeet",
    "dynamic_line": "I'm a gardener for PrepNet Phyle.  Who are you?",
    "responses": [
      { "text": "I am a beggar who really needs something to eat.", "topic": "TALK_PrepNet_gardener_food" },
      { "text": "I am just a fellow survivor.", "topic": "TALK_PrepNet_gardener_1" },
      { "text": "I'm bringing order back to the land.", "topic": "TALK_PrepNet_gardener_1" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_place",
    "dynamic_line": "This is a PrepNet Phyle orchard.  We were a community of survivalists gathering resources to prepare for climate change, but it left us better prepared for what actually happened than most.",
    "responses": [
      { "text": "Can you give me something to eat then?", "topic": "TALK_PrepNet_gardener_food" },
      { "text": "What can I buy here?", "topic": "TALK_PrepNet_gardener_ask_goods" },
      { "text": "Oh, okay.", "topic": "TALK_PrepNet_gardener_1" },
      { "text": "Only the insane will prosper, I guess.", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_food",
    "dynamic_line": "This food has to go back to our core communities.  But maybe we can trade some food for services",
    "responses": [
      { "text": "I can pay.", "topic": "TALK_PrepNet_gardener_ask_food_bribe" },
      { "text": "What do you need done?", "topic": "TALK_MISSION_LIST" },
      { "text": "Well I'm heading out then", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_ask_food_bribe",
    "dynamic_line": "You have to earn the right to trade with us.  Plus we created our own currency before the Cataclysm",
    "responses": [
      { "text": "It was worth a try.", "topic": "TALK_PrepNet_gardener_1" },
      { "text": "What kind of currency?", "topic": "TALK_PrepNet_gardener_currency" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_ask_membership",
    "dynamic_line": "This is just an outpost, you'd have to find our main camp and currently we don't want you to.",
    "responses": [ { "text": "I didn't want to join your club anyway.", "topic": "TALK_PrepNet_gardener_1" } ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_ask_goods",
    "dynamic_line": "Here?  Fruits and berries.  Maybe the occasional piece of farm equipment, but you need crypto coins",
    "responses": [
      { "text": "Ok.", "topic": "TALK_PrepNet_gardener_1" },
      {
        "text": "Crypto coins?  Are you insane, there isn't any global internet now.",
        "topic": "TALK_PrepNet_gardener_currency"
      },
      { "text": "What can I buy here?", "effect": "start_trade", "topic": "TALK_PrepNet_gardener_1" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_ask_past",
    "dynamic_line": "I got introduced to the movement through Mutual Aid Society.  From there it became an all consuming part of my life to prepare for a post consumption world.  It seems to have worked better for us than for many others.",
    "responses": [ { "text": "Let's talk about something else.", "topic": "TALK_PrepNet_gardener_1" } ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_ask_mood",
    "dynamic_line": "It can get lonely out here between caravans.  But there's plenty of work and my Cyber Mastiffs.  If a horde comes through we hunker down in a nearby shelter if it's too large for us.",
    "responses": [ { "text": "I'm glad you stay busy.", "topic": "TALK_PrepNet_gardener_1" } ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PrepNet_gardener_currency",
    "dynamic_line": "We use so-called crypto coins for money here.  They were a pre-Cataclysm attempt to abstract money even further and create electronic cash.  Now it's a joke because we use physical coins.  Barter only gets you so far.  And one day we'll have the Net back up.",
    "responses": [
      { "text": "Oh, okay.", "topic": "TALK_PrepNet_gardener_1" },
      { "text": "What can I buy here?", "effect": "start_trade", "topic": "TALK_PrepNet_gardener_1" }
    ]
  },
  {
    "id": "MISSION_PrepNet_gardener_FUR_1",
    "type": "mission_definition",
    "name": "Big Game Hunting",
    "description": "Find 50 fur pelts.",
    "goal": "MGOAL_FIND_ITEM",
    "difficulty": 1,
    "value": 0,
    "item": "fur",
    "count": 50,
    "origins": [ "ORIGIN_SECONDARY" ],
    "followup": "MISSION_PrepNet_gardener_FOOD_2",
    "dialogue": {
      "describe": "I need 50 fur pelts.",
      "offer": "I've got to maintain the orchard but at nights I work on prepping winter clothes.  Could you find about… 50 fur pelts for me?",
      "accepted": "Don't forget to tell me when you have them.",
      "rejected": "It's okay, I can do without them.  Just let me know if you reconsider.",
      "advice": "There's a lot of places to look.  The entire outdoors is full of wild animals.",
      "inquire": "How is the search going?  Have you found'em?",
      "success": "I really appreciate your help.  Don't worry, you won't leave empty-handed.",
      "success_lie": "Thanks for trying…  I guess.",
      "failure": "Don't worry about it, it's not that important."
    },
    "end": { "effect": [ { "u_buy_item": "crypto_coin", "count": 6 } ] }
  },
  {
    "id": "MISSION_PrepNet_gardener_FOOD_2",
    "type": "mission_definition",
    "name": "Bread",
    "description": "Find 50 flour.",
    "goal": "MGOAL_FIND_ITEM",
    "difficulty": 2,
    "value": 0,
    "item": "flour",
    "count": 50,
    "origins": [ "ORIGIN_SECONDARY" ],
    "followup": "MISSION_PrepNet_gardener_FOOD_3",
    "dialogue": {
      "describe": "I need 50 flour.",
      "offer": "Flour would let me break the monotony of fruit and meats.",
      "accepted": "Thanks for accepting this task.  Otherwise I might kill a stranger for a sandwich.  Just kidding.",
      "rejected": "Just let me know if you change your mind.",
      "advice": "Flour is not that hard to find.  I'd look for them in residential areas and professional kitchens or bakeries.",
      "inquire": "Have you found the flour?",
      "success": "Thank you for your help.  Here's your reward.",
      "success_lie": "Thanks for trying…  I guess.",
      "failure": "It's not a big deal, it isn't that urgent."
    },
    "end": { "effect": [ { "u_buy_item": "crypto_coin", "count": 5 } ] }
  },
  {
    "id": "MISSION_PrepNet_gardener_FOOD_3",
    "type": "mission_definition",
    "name": "Gallon Jugs",
    "description": "Find 5 gallon jugs.",
    "goal": "MGOAL_FIND_ITEM",
    "difficulty": 1,
    "value": 0,
    "item": "jug_plastic",
    "count": 5,
    "origins": [ "ORIGIN_SECONDARY" ],
    "followup": "MISSION_PrepNet_gardener_QUEST_4",
    "dialogue": {
      "describe": "I need storage for various liquid products when the fruits come in.",
      "offer": "Every season we produce so much fruit.  Some of it will be turned into juice and some into alcohol.  I need easy containers to load it on the caravan.",
      "accepted": "Thank you for accepting.  I'm almost out after the last caravan.",
      "rejected": "I guess I'll have to make stomach waterskins.",
      "advice": "Gallon jugs are not that rare to find.  They are commonly found in kitchens.",
      "inquire": "Do you have those jugs now?",
      "success": "I am grateful for the help you've done.  I have one more task to do.",
      "success_lie": "Thanks for trying…  I guess.",
      "failure": "Don't worry about it, it's not that important."
    },
    "end": { "effect": [ { "u_buy_item": "crypto_coin", "count": 3 } ] }
  },
  {
    "id": "MISSION_PrepNet_gardener_QUEST_4",
    "type": "mission_definition",
    "name": "Burnt Out CBMs",
    "description": "Find 5 burnt out CBMs.",
    "goal": "MGOAL_FIND_ITEM",
    "difficulty": 3,
    "value": 0,
    "item": "burnt_out_bionic",
    "count": 5,
    "origins": [ "ORIGIN_SECONDARY" ],
    "dialogue": {
      "describe": "We have the ability to manufacture CBMs but lack resources.",
      "offer": "If you can bring me burnt out CBMs we can recycle them into new ones.",
      "accepted": "Thank you for accepting.  You're really making yourself useful to the phyle.",
      "rejected": "These materials are often in dangerous areas.  I understand your decision.",
      "advice": "Zombie scientists, technicians, shocker zombies.  These are not undertaken lightly.",
      "inquire": "Do you have those CBMs now?",
      "success": "I am grateful for the help you've done.  I think we might be able to introduce you to others soon.",
      "success_lie": "Thanks for trying…  I guess.",
      "failure": "Don't worry about it, it's not that important."
    },
    "end": { "effect": [ { "u_buy_item": "crypto_coin", "count": 12 } ] }
  }
]
