[
  {
    "id": "MISSION_BLACKSMITH_1",
    "type": "mission_definition",
    "name": { "str": "Find the gun" },
    "description": "Cody wants you to go to a gun show and find a rare gun that Jay wanted to see.  It was an AK of some kind with a weird name… something like CARD or CORE.",
    "goal": "MGOAL_CONDITION",
    "goal_condition": { "u_has_items": { "item": "kord", "count": 1 } },
    "difficulty": 5,
    "item": "kord",
    "value": 1000,
    "start": {
      "assign_mission_target": { "om_special": "gun_show", "om_terrain": "gunshow_0", "reveal_radius": 2, "random": true, "search_range": 400 }
    },
    "origins": [ "ORIGIN_SECONDARY" ],
    "has_generic_rewards": false,
    "dialogue": {
      "describe": "…",
      "offer": "Before everything went to hell Jay was talking about going to some gun show.  There was a guy there who had managed to sneak some Russian gun into the US.  It was a massive deal for Jay, it was all he could talk about.  I know it's a long shot but maybe that guy was already at the gun show?  If you find the gun you can keep it, but it would mean a lot to Jay if he could take a look all he wanted was to pull it apart and put it back together.",
      "accepted": "Thanks.  I'll start working on an apology.",
      "rejected": "Let me know if you change your mind.",
      "advice": "I'd be careful there; Jay was saying they were bringing some new autonomous hardware to the show.  You're looking for a Russian rifle that should be modded to the moon.  CARD, CORE rifle, something like that.",
      "inquire": "Any luck finding that gun show?  I think it was a Russian gun, maybe a CARD or CORE rifle?  Something like that.",
      "success": "Thanks, darlin'.  If you could show it to Jay, that would mean a lot to me.  If there's anything I could ever make for you as payment after that, just let me know.",
      "success_lie": "That's great!  Make sure to show it to Jay.",
      "failure": "Well you tried at least…"
    }
  },
  {
    "id": "MISSION_GUNSMITH_1",
    "type": "mission_definition",
    "name": { "str": "Find the debug software" },
    "description": "Jay wants you to go to someone's house and get some software that they had taken home.",
    "goal": "MGOAL_FIND_ITEM",
    "difficulty": 5,
    "item": "usb_drive_nano",
    "value": 1000,
    "start": {
      "assign_mission_target": { "om_terrain": "house_garage", "reveal_radius": 2, "random": true, "search_range": 200 },
      "update_mapgen": {
        "rows": [
          "                        ",
          "                        ",
          "                        ",
          "                   M @  ",
          "                     C  ",
          "                     W  ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        ",
          "                        "
        ],
        "terrain": { "M": "t_thconc_floor" },
        "furniture": { "C": "f_console_broken", "W": "f_machinery_light", "@": "f_table" },
        "monster": { "M": { "monster": "mon_zombie_nullfield" } },
        "item": { "@": [ { "item": "usb_drive_nano", "amount": 1 } ] }
      }
    },
    "end": {
      "effect": [
        { "u_spawn_item": "casket74mag", "count": 1 },
        { "u_spawn_item": "545_ap", "count": 200 },
        { "u_add_var": "artisans_made_up", "type": "dialogue", "context": "artisans", "value": "yes" }
      ]
    },
    "origins": [ "ORIGIN_SECONDARY" ],
    "has_generic_rewards": false,
    "dialogue": {
      "describe": "…",
      "offer": "Alright, so Cody has talked about some cutting-edge tech she's seen displayed.  This thing is called a nano-fabricator.  It's like a complicated, robotic 3D printer.  Cody used to run with some hackers that steal IP, schematics, that sort of thing.  I guess a problem they were running into was the newest tech stuff is all encrypted as templates for these printers.  Well, I know of a colleague who went home with debug software for the system.  You get that for her, and we're in business.",
      "accepted": "Thanks.  I'll start working on an apology.",
      "rejected": "Let me know if you change your mind.",
      "advice": "I'd be careful.  Guy was a bit of a nut, I don't know what he was planning to do with that software.",
      "inquire": "Any luck finding that USB?",
      "success": "Thanks bud, I'll take it from here.  Enjoy those bullets.",
      "success_lie": "Shame.  Shame, shame.",
      "failure": "Well fuck me then."
    }
  }
]
