1[
2  {
3    "id": "MISSION_EXPLORE_SARCOPHAGUS",
4    "type": "mission_definition",
5    "name": { "str": "Follow Sarcophagus Team" },
6    "goal": "MGOAL_GO_TO_TYPE",
7    "difficulty": 2,
8    "value": 50000,
9    "start": {
10      "effect": [ "follow", { "u_buy_item": "sarcophagus_access_code" } ],
11      "assign_mission_target": {
12        "om_terrain": "haz_sar_1_1",
13        "om_special": "Hazardous Waste Sarcophagus",
14        "reveal_radius": 3,
15        "search_range": 240,
16        "min_distance": 60
17      }
18    },
19    "origins": [ "ORIGIN_SECONDARY" ],
20    "destination": "haz_sar_b_1",
21    "dialogue": {
22      "describe": "You wouldn't believe what I found…",
23      "offer": "Holy hell, the crash you recovered the black box from wasn't as old as I thought.  Check this out, it was on its approach to pick up a team sent to secure and destroy something called a 'Hazardous Waste Sarcophagus' in the middle of nowhere.  If the bird never picked up the team then we may still have a chance to meet up with them.  It includes an access code for the elevator and an encoded message for the team leader, I guess.  If we want to join up with what remains of the government then now may be our only chance.",
24      "accepted": "Fuck ya, America!",
25      "rejected": "Are you going to forfeit your duty when the country needs you the most?",
26      "advice": "If there is a military team down there then we better go in prepared if we want to impress them.  Carry as much ammo as you can and prepare to ditch this place if they have a second bird coming to pick them up.",
27      "inquire": "Having any trouble following the map?",
28      "success": "We got this shit!",
29      "success_lie": "What?!  I out'ta whip your ass.",
30      "failure": "Damn, we were so close."
31    }
32  },
33  {
34    "id": "MISSION_GET_INHALER",
35    "type": "mission_definition",
36    "name": { "str": "Find Inhaler" },
37    "goal": "MGOAL_CONDITION",
38    "goal_condition": { "u_has_item": "inhaler" },
39    "difficulty": 2,
40    "value": 150000,
41    "urgent": true,
42    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
43    "deadline_low": 30,
44    "deadline_high": 48,
45    "dialogue": {
46      "describe": "I'm… short… of breath…",
47      "offer": "I'm asthmatic.  I need you to get an inhaler for me…",
48      "accepted": "Oh, thank god, thank you so much!  I won't last more than a couple of days, so hurry…",
49      "rejected": "What?!  Please, <ill_die> without your help!",
50      "advice": "There's a town nearby.  Check pharmacies; it'll be behind the counter.",
51      "inquire": "Find any inhaler yet?",
52      "success": "Oh thank god!  I'll be right as rain in no time.",
53      "success_lie": "What?!  You're lying, I can tell!  Ugh, forget it!",
54      "failure": "How am I not dead already?!"
55    },
56    "start": {
57      "effect": [
58        { "npc_add_trait": "ASTHMA" },
59        { "npc_remove_item_with": "inhaler" },
60        "assign_guard",
61        { "clear_npc_rule": "investigate_noises" }
62      ]
63    },
64    "end": { "effect": [ "stop_guard", { "set_npc_rule": "investigate_noises" }, { "u_sell_item": "inhaler" }, "npc_thankful" ] },
65    "fail": { "effect": "npc_die" }
66  },
67  {
68    "id": "MISSION_GET_ANTIBIOTICS",
69    "type": "mission_definition",
70    "name": { "str": "Find Antibiotics" },
71    "goal": "MGOAL_CONDITION",
72    "difficulty": 2,
73    "value": 150000,
74    "urgent": true,
75    "goal_condition": { "or": [ { "u_has_item": "antibiotics" }, { "u_has_item": "strong_antibiotic" }, { "u_has_item": "panacea" } ] },
76    "origins": [ "ORIGIN_OPENER_NPC" ],
77    "deadline_low": 24,
78    "deadline_high": 48,
79    "dialogue": {
80      "describe": "This infection is bad, <very> bad…",
81      "offer": "I'm infected.  Badly.  I need you to get some good antibiotics for me…",
82      "accepted": "Oh, thank god, thank you so much!  I won't last more than a couple of days, so hurry…",
83      "rejected": "What?!  Please, <ill_die> without your help!",
84      "advice": "There's a town nearby.  Check pharmacies; it'll be behind the counter, either antibiotics or broad-spectrum antibiotics will do.",
85      "inquire": "Find any antibiotics yet?",
86      "success": "Oh thank god!  I'll be right as rain in no time.",
87      "success_lie": "What?!  You're lying, I can tell!  Ugh, forget it!",
88      "failure": "How am I not dead already?!"
89    },
90    "start": {
91      "effect": [
92        { "npc_add_effect": "infection", "duration": "PERMANENT" },
93        { "npc_remove_item_with": "antibiotics" },
94        "assign_guard",
95        { "clear_npc_rule": "investigate_noises" }
96      ]
97    },
98    "end": {
99      "effect": [ { "npc_lose_effect": "infection" }, "stop_guard", { "set_npc_rule": "investigate_noises" }, "npc_thankful" ]
100    },
101    "fail": { "effect": "npc_die" }
102  },
103  {
104    "id": "MISSION_GET_BLACK_BOX",
105    "type": "mission_definition",
106    "name": { "str": "Retrieve Military Black Box" },
107    "goal": "MGOAL_FIND_ITEM",
108    "difficulty": 2,
109    "value": 100000,
110    "item": "black_box",
111    "origins": [ "ORIGIN_SECONDARY" ],
112    "followup": "MISSION_GET_BLACK_BOX_TRANSCRIPT",
113    "dialogue": {
114      "describe": "We've got the flag, now we need to locate US forces.",
115      "offer": "We have the flag but now we need to locate US troops to see what we can do to help.  I haven't seen any but I'm figure'n one of those choppers that were fly'n round during th' outbreak would have a good idea.  If you can get me a black box from one of the wrecks I'll look into where we might open'er at.",
116      "accepted": "Fuck ya, America!",
117      "rejected": "Do you have any better ideas?",
118      "advice": "Survivors were talking about them crashing but I don't know where.  If I were a pilot I'd avoid crash landing in a city or forest though.",
119      "inquire": "How 'bout that black box?",
120      "success": "America, fuck ya!",
121      "success_lie": "What?!  I out'ta whip you're ass.",
122      "failure": "Damn, I'll have to find'er myself."
123    }
124  },
125  {
126    "id": "MISSION_GET_BLACK_BOX_TRANSCRIPT",
127    "type": "mission_definition",
128    "name": { "str": "Retrieve Black Box Transcript" },
129    "goal": "MGOAL_FIND_ITEM",
130    "difficulty": 2,
131    "value": 150000,
132    "item": "black_box_transcript",
133    "start": {
134      "effect": { "u_buy_item": "black_box" },
135      "assign_mission_target": { "om_terrain": "lab_stairs", "om_special": "Lab", "reveal_radius": 3, "random": true, "search_range": 240, "z": 0 }
136    },
137    "origins": [ "ORIGIN_SECONDARY" ],
138    "followup": "MISSION_EXPLORE_SARCOPHAGUS",
139    "dialogue": {
140      "describe": "With the black box in hand, we need to find a lab.",
141      "offer": "Thanks to your searching we've got the black box but now we need to have a look'n-side her.  Now, most buildings don't have power anymore but there are a few that might be of use.  Have you ever seen one of those science labs that have popped up in the middle of nowhere?  Them suckers have a glowing terminal out front so I know they have power somewhere inside'em.  If you can get inside and find a computer lab that still works you ought to be able to find out what's in the black box.",
142      "accepted": "Fuck ya, America!",
143      "rejected": "Do you have any better ideas?",
144      "advice": "When I was play'n with the terminal for the one I ran into it kept asking for an ID card.  Finding one would be the first order of business.",
145      "inquire": "How 'bout that black box?",
146      "success": "America, fuck ya!  I was in the guard a few years back so I'm confident I can make heads-or-tails of these transmissions.",
147      "success_lie": "What?!  I out'ta whip you're ass.",
148      "failure": "Damn, I maybe we can find an egg-head to crack the terminal."
149    }
150  },
151  {
152    "id": "MISSION_GET_DEPUTY_BADGE",
153    "type": "mission_definition",
154    "name": { "str": "Find Deputy Badge" },
155    "goal": "MGOAL_FIND_ITEM",
156    "difficulty": 2,
157    "value": 150000,
158    "item": "badge_deputy",
159    "origins": [ "ORIGIN_SECONDARY" ],
160    "dialogue": {
161      "describe": "Those twisted snakes…",
162      "offer": "I hope you will find use from what you got out of the deposit box but I also have another job for you that might lead you to an opportunity to deal out justice for those who cannot.  First things first, we can't just look like ruffians.  Find us a deputy badge, easy enough?",
163      "accepted": "I'd check the police station.",
164      "rejected": "We're also official… just hang in there and I'll show you what we can really do.",
165      "advice": "They shouldn't be that hard to find… should they?",
166      "inquire": "Any luck?",
167      "success": "Great work, Deputy.  We're in business.",
168      "success_lie": "Thanks for trying…  I guess.",
169      "failure": "The day of reckoning will come for the criminals if it hasn't already."
170    }
171  },
172  {
173    "id": "MISSION_GET_FLAG",
174    "type": "mission_definition",
175    "name": { "str": "Find Flag" },
176    "goal": "MGOAL_FIND_ITEM",
177    "difficulty": 2,
178    "value": 100000,
179    "item": "american_flag",
180    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
181    "followup": "MISSION_GET_BLACK_BOX",
182    "dialogue": {
183      "describe": "Does our flag still yet wave?",
184      "offer": "Does our flag still yet wave?  We're battered but not yet out of the fight, we need the old colors!",
185      "accepted": "Hell ya!  Find me one of those big ol' American flags.",
186      "rejected": "Seriously?  God damned commie…",
187      "advice": "Find a large federal building or school, they must have one.",
188      "inquire": "Rescued the standard yet?",
189      "success": "America, fuck ya!",
190      "success_lie": "What?!  You liar!",
191      "failure": "You give up?  This country fell apart because no one could find a good man to rely on… might as well give up, I guess."
192    }
193  },
194  {
195    "id": "MISSION_GET_RECORD_ACCOUNTING",
196    "type": "mission_definition",
197    "name": { "str": "Find Corporate Accounts" },
198    "goal": "MGOAL_FIND_ITEM",
199    "difficulty": 2,
200    "value": 140000,
201    "item": "record_accounting",
202    "start": { "reveal_om_ter": "office_tower" },
203    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
204    "followup": "MISSION_GET_SAFE_BOX",
205    "dialogue": {
206      "describe": "Those twisted snakes…",
207      "offer": "Our world fell apart because our leaders were as crooked as the con-men that paid for their elections.  Just find me one of those corporate accounting books and I'll show you and the rest of the world just who is at fault.",
208      "accepted": "You'll see, I know I'm right.",
209      "rejected": "I know it isn't pressing but the big corporations didn't get a chance to destroy the evidence yet.",
210      "advice": "Try a big corporate building of some sort, they're bound to have an accounting department.",
211      "inquire": "Any luck?",
212      "success": "Great, let's see… uh… hmmm…  Fine, I didn't even do my own taxes but I'm sure this will prove their guilt if we get an expert to examine it.",
213      "success_lie": "Thanks for trying…  I guess.",
214      "failure": "The day of reckoning will come for the corporations if it hasn't already."
215    }
216  },
217  {
218    "id": "MISSION_GET_RECORD_PATIENT",
219    "type": "mission_definition",
220    "name": { "str": "Find Patient Records" },
221    "goal": "MGOAL_FIND_ITEM",
222    "difficulty": 2,
223    "value": 60000,
224    "item": "record_patient",
225    "start": { "reveal_om_ter": [ "office_doctor", "hospital_2" ] },
226    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
227    "followup": "MISSION_REACH_FEMA_CAMP",
228    "dialogue": {
229      "describe": "I hope I don't see many names I know…",
230      "offer": "I've lost so many friends… please find me a patient list from the regional hospital or doctor's office.  I just want to know who might still be out there.",
231      "accepted": "Thank you, I suppose it won't change what has already happened but it will bring me closure.",
232      "rejected": "Please, I just want to know what happened to everyone.",
233      "advice": "I bet you'll run into a lot of those things in the hospital, please be careful.",
234      "inquire": "Any luck?",
235      "success": "Oh dear, I thought Timmy would have made it…",
236      "success_lie": "Thanks for trying…  I guess.",
237      "failure": "I bet some of them are still out there…"
238    }
239  },
240  {
241    "id": "MISSION_GET_RECORD_WEATHER",
242    "type": "mission_definition",
243    "name": { "str": "Find Weather Log" },
244    "goal": "MGOAL_FIND_ITEM",
245    "difficulty": 2,
246    "value": 50000,
247    "item": "record_weather",
248    "start": { "reveal_om_ter": "station_radio" },
249    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
250    "dialogue": {
251      "describe": "I wonder if a retreat might exist…",
252      "offer": "Everyone who dies gets back up, right?  Which means that whatever is causing this it must be airborne to have infected everyone.  I believe that if that is the case then there should be regions that were not downwind from where-ever the disease was released.  We need to find a record of all the weather patterns leading up to the outbreak.",
253      "accepted": "Thanks so much, you may save both of us yet.",
254      "rejected": "Ya, it was a long shot I admit.",
255      "advice": "I'm not sure, maybe a news station would have what we are looking for?",
256      "inquire": "Any luck?",
257      "success": "These look more complicated than I thought, just give me some time.",
258      "success_lie": "This isn't what we need.",
259      "failure": "If only we could find a great valley or something."
260    }
261  },
262  {
263    "id": "MISSION_GET_RELIC",
264    "type": "mission_definition",
265    "name": { "str": "Find Relic" },
266    "goal": "MGOAL_FIND_ITEM",
267    "difficulty": 2,
268    "value": 100000,
269    "item": "small_relic",
270    "start": { "reveal_om_ter": [ "cathedral_1", "museum" ] },
271    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
272    "followup": "MISSION_RECOVER_PRIEST_DIARY",
273    "dialogue": {
274      "describe": "St. Michael the archangel defend me in battle…",
275      "offer": "As the world seems to abandon the reality that we once knew, it becomes plausible that the old superstitions that were cast aside may have had some truth to them.  Please go and find me a religious relic…  I doubt it will be of much use but I've got to hope in something.",
276      "accepted": "I wish you the best of luck, may whatever god you please guide your path.",
277      "rejected": "Ya, I guess the stress may just be getting to me…",
278      "advice": "I suppose a large church or cathedral may have something.",
279      "inquire": "Any luck?  Please find me a small relic.  Any relic will do.",
280      "success": "Thank you, I need some time alone now…",
281      "success_lie": "What good does this do us?",
282      "failure": "It was a lost cause anyways…"
283    }
284  },
285  {
286    "id": "MISSION_GET_SAFE_BOX",
287    "type": "mission_definition",
288    "name": { "str": "Retrieve Deposit Box" },
289    "goal": "MGOAL_FIND_ITEM",
290    "difficulty": 2,
291    "value": 30000,
292    "item": "safe_box",
293    "start": "place_deposit_box",
294    "end": "deposit_box",
295    "origins": [ "ORIGIN_SECONDARY" ],
296    "followup": "MISSION_GET_DEPUTY_BADGE",
297    "dialogue": {
298      "describe": "Those twisted snakes…",
299      "offer": "Now I don't mean to upset you but I'm not sure what I can do with the accounting ledger at the moment.  We do have a new lead though, the ledger has a safe deposit box under the regional manager's name.  Guess what, dumb sucker wrote down his combination.  Come with me to retrieve the box and you can keep any of the goodies in it that I can't use to press charges against these bastards.",
300      "accepted": "You may make a tidy profit from this.",
301      "rejected": "I know it isn't pressing but the world is going to be just as corrupt when we start rebuilding unless we take measure to stop those who seek to rule over us.",
302      "advice": "This shouldn't be hard unless we run into a horde.",
303      "inquire": "Any luck?",
304      "success": "Great, anything I can't use to prosecute the bastards is yours, as promised.",
305      "success_lie": "Thanks for trying…  I guess.",
306      "failure": "The day of reckoning will come for the corporations if it hasn't already."
307    }
308  },
309  {
310    "id": "MISSION_GET_SOFTWARE",
311    "type": "mission_definition",
312    "name": { "str": "Retrieve Software" },
313    "goal": "MGOAL_FIND_ANY_ITEM",
314    "difficulty": 2,
315    "value": 80000,
316    "place": "near_town",
317    "start": "place_npc_software",
318    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
319    "dialogue": {
320      "describe": "Oh man, I can't believe I forgot to download it…",
321      "offer": "There's some important software on my computer that I need on USB.",
322      "accepted": "Thanks!  Just pull the data onto this USB drive and bring it to me.",
323      "rejected": "Seriously?  It's an easy job…",
324      "advice": "Take this USB drive.  Use the console, and download the software.",
325      "inquire": "So, do you have my software yet?",
326      "success": "Excellent, thank you!",
327      "success_lie": "What?!  You liar!",
328      "failure": "Wow, you failed?  All that work, down the drain…"
329    }
330  },
331  {
332    "id": "MISSION_GET_ZOMBIE_BLOOD_ANAL",
333    "type": "mission_definition",
334    "name": { "str": "Analyze Zombie Blood" },
335    "goal": "MGOAL_FIND_ITEM",
336    "difficulty": 8,
337    "value": 250000,
338    "item": "software_blood_data",
339    "start": {
340      "effect": [ { "u_buy_item": "vacutainer" }, { "u_buy_item": "usb_drive" } ],
341      "assign_mission_target": { "om_terrain": "hospital_2", "om_special": "hospital", "reveal_radius": 3, "search_range": 120 }
342    },
343    "origins": [ "ORIGIN_SECONDARY" ],
344    "dialogue": {
345      "describe": "It could be very informative to perform an analysis of zombie blood…",
346      "offer": "I need someone to get a sample of zombie blood, take it to a hospital, and perform a centrifuge analysis of it.",
347      "accepted": "Excellent.  Take this blood draw kit; once you've produced a zombie corpse, use it to extract blood from the body, then take it to a hospital for analysis.",
348      "rejected": "Are you sure?  The scientific value of that blood data could be priceless…",
349      "advice": "The centrifuge is a bit technical; you might want to study up on the usage of computers before completing that part.",
350      "inquire": "Well, do you have the data yet?",
351      "success": "Excellent!  This may be the key to removing the infection.",
352      "success_lie": "Wait, you couldn't possibly have the data!  Liar!",
353      "failure": "What a shame, that data could have proved invaluable…"
354    }
355  },
356  {
357    "id": "MISSION_INVESTIGATE_CULT",
358    "type": "mission_definition",
359    "name": { "str": "Investigate Cult" },
360    "goal": "MGOAL_FIND_ITEM",
361    "difficulty": 2,
362    "value": 150000,
363    "item": "etched_skull",
364    "start": {
365      "assign_mission_target": { "om_terrain": "cabin_strange", "om_special": "Strange Cabin", "reveal_radius": 3, "search_range": 120 }
366    },
367    "origins": [ "ORIGIN_SECONDARY" ],
368    "followup": "MISSION_INVESTIGATE_PRISON_VISIONARY",
369    "dialogue": {
370      "describe": "St. Michael the archangel defend me in battle…",
371      "offer": "You have no idea how interesting this diary is.  I have two very promising leads…  First things first, the Catholic Church has been performing its own investigations into global cult phenomenon and it appears to have become very interested in a local cult as of recently.  Could you investigate a location for me?  I'm not sure what was going on here but the priest seemed fairly worried about it.",
372      "accepted": "I wish you the best of luck, may whatever god you please guide your path…  You may need it this time more than the past excursions you have gone on.  There is a note about potential human sacrifice in the days immediately before and after the outbreak.  The name of the cult is believed to be the Church of Starry Wisdom but it is noted that accounts differ.",
373      "rejected": "Ya, I guess the stress may just be getting to me…",
374      "advice": "I doubt the site is still occupied but I'd carry a firearm at least…  I'm not sure what you might be looking for but I'm positive you'll find something out of the ordinary if you look long enough.",
375      "inquire": "I'm positive there is something there… there has to be, any luck?",
376      "success": "Thank you, your account of these… demonic creations proves the fears the churches had were well founded.  Our priority should be routing out any survivors of this cult…  I don't known if they are responsible for the outbreak but they certainly know more about it than I do.",
377      "success_lie": "What good does this do us?",
378      "failure": "It was a lost cause anyways…"
379    }
380  },
381  {
382    "id": "MISSION_INVESTIGATE_PRISON_VISIONARY",
383    "type": "mission_definition",
384    "name": { "str": "Prison Visionary" },
385    "goal": "MGOAL_FIND_ITEM",
386    "difficulty": 2,
387    "value": 150000,
388    "item": "visions_solitude",
389    "start": {
390      "assign_mission_target": { "om_terrain": "prison_1_4", "om_special": "Prison", "reveal_radius": 3, "search_range": 180 },
391      "update_mapgen": { "om_terrain": "prison_1_4", "place_item": [ { "item": "visions_solitude", "x": 15, "y": 22 } ] }
392    },
393    "origins": [ "ORIGIN_SECONDARY" ],
394    "dialogue": {
395      "describe": "St. Michael the archangel defend me in battle…",
396      "offer": "I have another task if you are feeling up to it.  There is a prisoner that the priest made special mention of.  I was wondering if you could see what may have happened to him or if he left anything in his cell.  The priest admits the individual is rather unstable, to put it lightly, but the priest personally believed the man was some kind of repentant visionary.  I'm not in a position to cast out the account just yet… it seems the man has prophesied events accurately before concerning the Church of Starry Wisdom.",
397      "accepted": "I wish you the best of luck, may whatever god you please guide your path…  I can only imagine that the prison will be a little slice of hell.  I'm not sure what they would have decided to do with the inmates when they knew death was almost certain.",
398      "rejected": "Ya, I guess the stress may just be getting to me…",
399      "advice": "The worst case scenario will probably be that the prisoners have escaped their cells and turned the building into their own little fortress.  Best case, the building went into lock-down and secured the prisoners in their cells.  Either way, navigating the building will pose its own difficulties.",
400      "inquire": "Any luck?",
401      "success": "Thank you, I'm not sure what to make of this but I'll ponder your account.",
402      "success_lie": "What good does this do us?",
403      "failure": "It was a lost cause anyways…"
404    }
405  },
406  {
407    "id": "MISSION_JOIN_TRACKER",
408    "type": "mission_definition",
409    "name": { "str": "Find Deputy Badge" },
410    "goal": "MGOAL_FIND_ITEM",
411    "difficulty": 5,
412    "value": 0,
413    "urgent": true,
414    "item": "badge_deputy",
415    "start": { "effect": "follow" },
416    "origins": [ "ORIGIN_SECONDARY" ],
417    "dialogue": {
418      "describe": "Well damn, you must be the guys here to pick me up…",
419      "offer": "I got the brief so I know what I'm getting into.  Let me be upfront, treat me like shit and I'm going to cover my own hide.  However, you treat me well and give me something to believe in, even if it's just a shiny bit of metal, and I'll do you right.  Without a strong band a man doesn't stand a chance in this world.  You ready to take charge boss?  This world could use a Sheriff just about now.",
420      "accepted": "Before we get into a major fight just make sure we have the gear we need, boss.",
421      "rejected": "I don't think you're going to find many other survivors who haven't taken up a faction yet.",
422      "advice": "I'm a pretty good shot with a rifle or pistol.",
423      "inquire": "Any problems boss?",
424      "success": "Wait… are you really making me a deputy?",
425      "success_lie": "I don't think so…",
426      "failure": "Quitting already?"
427    }
428  },
429  {
430    "id": "MISSION_KILL_100_Z",
431    "type": "mission_definition",
432    "name": { "str": "Kill 100 Zombies" },
433    "goal": "MGOAL_KILL_MONSTER_SPEC",
434    "monster_species": "ZOMBIE",
435    "monster_kill_goal": 100,
436    "difficulty": 5,
437    "value": 250000,
438    "start": { "effect": "follow_only" },
439    "end": { "effect": "stop_following" },
440    "origins": [ "ORIGIN_SECONDARY" ],
441    "followup": "MISSION_KILL_HORDE_MASTER",
442    "dialogue": {
443      "describe": "You seem to know this new world better than most…",
444      "offer": "You're kitted out better than most… would you be interested in making this world a little better for the rest of us?  The towns have enough supplies for us survivors to start securing a foothold but we don't have anyone with the skills and equipment to thin the masses of undead.  I'll lend you a hand to the best of my ability but you really showed promise taking out that other beast.  You, I, and a 100 zombies laid to rest, what do you say?",
445      "accepted": "Hell ya, we may get ourselves killed but we'll be among the first legends of the apocalypse.",
446      "rejected": "Hey, I know I wouldn't volunteer for it either… but then I remember that most of us survivors won't make it unless someone decides to take the initiative.",
447      "advice": "I'd secure an ammo cache and try to sweep a town in multiple passes.",
448      "inquire": "Got this knocked out?",
449      "success": "Man… you're a goddamn machine.  It was a pleasure working with you.  You know, you may just change our little neck of the world if you keep this up.",
450      "success_lie": "I don't think that was quite a hundred dead zeds.",
451      "failure": "Quitting already?"
452    }
453  },
454  {
455    "id": "MISSION_KILL_HORDE_MASTER",
456    "type": "mission_definition",
457    "name": { "str": "Kill Horde Master" },
458    "goal": "MGOAL_KILL_MONSTER",
459    "difficulty": 5,
460    "value": 250000,
461    "urgent": true,
462    "start": "kill_horde_master",
463    "end": { "effect": "stop_following" },
464    "origins": [ "ORIGIN_SECONDARY" ],
465    "followup": "MISSION_RECRUIT_TRACKER",
466    "dialogue": {
467      "describe": "I've heard some bad rumors so I hope you are up for another challenge…",
468      "offer": "Apparently one of the other survivors picked up on an unusually dense horde of undead moving into the area.  At the center of this throng there was a 'leader' of some sort.  The short of it is, kill the son of a bitch.  We don't know what it is capable of or why it is surrounded by other zombies but this thing reeks of trouble.  Do whatever it takes but we can't risk it getting away.",
469      "accepted": "I'll lend you a hand but I'd try and recruit another gunslinger if you can.",
470      "rejected": "What's the use of walking away, they'll track you down eventually.",
471      "advice": "Don't risk torching the building it may be hiding in if it has a basement.  The sucker may still be alive under the rubble and ash.",
472      "inquire": "Got this knocked out?",
473      "success": "May that bastard never get up again.",
474      "success_lie": "I don't think we got it yet.",
475      "failure": "Quitting already?"
476    }
477  },
478  {
479    "id": "MISSION_KILL_JABBERWOCK",
480    "type": "mission_definition",
481    "name": { "str": "Kill Jabberwock" },
482    "goal": "MGOAL_KILL_MONSTER",
483    "difficulty": 5,
484    "value": 200000,
485    "urgent": true,
486    "start": {
487      "assign_mission_target": {
488        "om_terrain": "forest_thick",
489        "om_terrain_replace": "forest",
490        "reveal_radius": 1,
491        "random": true,
492        "search_range": 60,
493        "min_distance": 5,
494        "z": 0
495      },
496      "update_mapgen": { "place_monster": [ { "monster": "mon_jabberwock", "x": 11, "y": 11, "target": true } ] }
497    },
498    "end": { "effect": "npc_thankful" },
499    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
500    "followup": "MISSION_KILL_100_Z",
501    "dialogue": {
502      "describe": "The eater of the dead… something was ripping zombies to shreds and only leaving a few scattered limbs…",
503      "offer": "A few days ago another survivor and I were trying to avoid the cities by staying in the woods during the day and foraging for gear at night.  It worked well against the normal zed's but one night something caught onto our trail and chased us for ten minutes or so until we decided to split up and meet-up back here.  My buddy never showed up and I don't have the means to kill whatever it was.  Can you lend a hand?",
504      "accepted": "Thanks, make sure you're ready for whatever the beast is.",
505      "rejected": "Hey, I know I wouldn't volunteer for it either.",
506      "advice": "I'd carry a shotgun at least, it sounded pretty big.",
507      "inquire": "Any luck?",
508      "success": "You look a little shaken up, I can't tell you how glad I am that you killed it though.",
509      "success_lie": "Something in the shadows still seems to stare at me when I look at the woods.",
510      "failure": "I'm glad you came back alive…  I wasn't sure if I had sent you to your death."
511    }
512  },
513  {
514    "id": "MISSION_KILL_ZOMBIE_MOM",
515    "type": "mission_definition",
516    "name": { "str": "Kill Zombie Mom" },
517    "goal": "MGOAL_KILL_MONSTER",
518    "difficulty": 5,
519    "value": 120000,
520    "urgent": true,
521    "place": "near_town",
522    "start": "place_zombie_mom",
523    "end": { "effect": "npc_thankful" },
524    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
525    "dialogue": {
526      "describe": "Oh god, I can't believe it happened…",
527      "offer": "My mom… she's… she was killed, but then she just got back up… she's one of those things now.  Can you put her out of her misery for me?",
528      "accepted": "Thank you… she would've wanted it this way.",
529      "rejected": "Please reconsider, I know she's suffering…",
530      "advice": "Find a gun if you can, make it quick…",
531      "inquire": "Well…?  Did you… finish things for my mom?",
532      "success": "Thank you.  I couldn't rest until I knew that was finished.",
533      "success_lie": "What?!  You're lying, I can tell!  Ugh, forget it!",
534      "failure": "Really… that's too bad."
535    }
536  },
537  {
538    "id": "MISSION_NULL",
539    "type": "mission_definition",
540    "name": { "str": "Null mission" },
541    "goal": "MGOAL_NULL",
542    "difficulty": 0,
543    "value": 0,
544    "place": "never"
545  },
546  {
547    "id": "MISSION_REACH_FARM_HOUSE",
548    "type": "mission_definition",
549    "name": { "str": "Reach Farm House" },
550    "goal": "MGOAL_GO_TO_TYPE",
551    "difficulty": 2,
552    "value": 60000,
553    "start": { "effect": "follow_only" },
554    "end": { "effect": "stop_following" },
555    "origins": [ "ORIGIN_SECONDARY" ],
556    "destination": "farm_2",
557    "dialogue": {
558      "describe": "I just need a place to start over…",
559      "offer": "I've accepted that everyone I used to know is dead… one way or another.  I really wish I could have done something to save my brother but he was one of the first to go.  I'd like to start over, just rebuild at one of the farms in the countryside.  Can you help me secure one?",
560      "accepted": "Thank you, let's find a remote one so we don't have to worry about many zombies.",
561      "rejected": "Please, I just don't know what to do otherwise.",
562      "advice": "Traveling the backroads would be a good way to search for one.",
563      "inquire": "Shall we keep looking for a farm house?",
564      "success": "Well, my adventuring days are over.  I can't thank you enough.  Trying to make this place self sustaining will take some work but the future is looking brighter.  At least it ought to be safe for now.  You'll always be welcome here.",
565      "success_lie": "Thanks for trying…  I guess.",
566      "failure": "I guess it was just a pipe dream."
567    }
568  },
569  {
570    "id": "MISSION_REACH_FEMA_CAMP",
571    "type": "mission_definition",
572    "name": { "str": "Reach FEMA Camp" },
573    "goal": "MGOAL_GO_TO_TYPE",
574    "difficulty": 2,
575    "value": 60000,
576    "start": { "effect": "follow_only" },
577    "origins": [ "ORIGIN_SECONDARY" ],
578    "followup": "MISSION_REACH_FARM_HOUSE",
579    "destination": "fema",
580    "dialogue": {
581      "describe": "Maybe they escaped to one of the camps…",
582      "offer": "I can't thank you enough for bringing me the patient records but I do have another request.  You seem to know your way around… could you take me to one of the FEMA camps?  I know some were overrun but I don't want to believe all of them could have fallen.",
583      "accepted": "Thank you, just bring me to the camp…  I just want to see.",
584      "rejected": "Please, I don't know what else to do.",
585      "advice": "We should go at night, if it is overrun then we can quickly make our escape.",
586      "inquire": "Any leads on where a camp might be?",
587      "success": "I guess this wasn't as bright an idea as I thought.",
588      "success_lie": "Thanks for trying…  I guess.",
589      "failure": "I bet some of them are still out there…"
590    }
591  },
592  {
593    "id": "MISSION_REACH_SAFETY",
594    "type": "mission_definition",
595    "name": { "str": "Reach Safety" },
596    "goal": "MGOAL_GO_TO",
597    "difficulty": 1,
598    "value": 0,
599    "start": "find_safety",
600    "origins": [ "ORIGIN_NULL" ]
601  },
602  {
603    "id": "MISSION_LAST_DELIVERY",
604    "type": "mission_definition",
605    "name": { "str": "Reach The Mansion And Finish This Delivery" },
606    "goal": "MGOAL_GO_TO_TYPE",
607    "destination": "mansion_c3",
608    "difficulty": 1,
609    "value": 0,
610    "start": { "assign_mission_target": { "om_terrain": "mansion_c3", "om_special": "Mansion_Wild", "search_range": 200 } },
611    "origins": [ "ORIGIN_GAME_START" ]
612  },
613  {
614    "id": "MISSION_HELICOPTER_REFUEL",
615    "type": "mission_definition",
616    "name": { "str": "Refuel your helicopter." },
617    "description": "You were flying towards a nearby private airport before your forced landing.  You could still reach it by ground, and scavenge it for fuel.",
618    "goal": "MGOAL_GO_TO_TYPE",
619    "destination": "s_air_hangars",
620    "difficulty": 1,
621    "value": 0,
622    "start": {
623      "assign_mission_target": { "om_terrain": "s_air_hangars", "reveal_radius": 5, "om_special": "o_airport", "search_range": 120 }
624    },
625    "origins": [ "ORIGIN_GAME_START" ]
626  },
627  {
628    "id": "MISSION_RECOVER_PRIEST_DIARY",
629    "type": "mission_definition",
630    "name": { "str": "Recover Priest's Diary" },
631    "goal": "MGOAL_FIND_ITEM",
632    "difficulty": 2,
633    "value": 70000,
634    "item": "priest_diary",
635    "start": "place_priest_diary",
636    "origins": [ "ORIGIN_SECONDARY" ],
637    "followup": "MISSION_INVESTIGATE_CULT",
638    "dialogue": {
639      "describe": "St. Michael the archangel defend me in battle…",
640      "offer": "From what I understand, the creatures you encountered surrounding this relic were unlike anything I've heard of.  It is laughable that I now consider the living dead to be part of our ordinary reality.  Never-the-less, the church must have some explanation for these events.  I have located the residence of a local clergy man, could you go to this address and recover any items that may reveal what the church's stance is on these events?",
641      "accepted": "I wish you the best of luck, may whatever god you please guide your path.",
642      "rejected": "Ya, I guess the stress may just be getting to me…",
643      "advice": "If the information is confidential the priest must have it hidden within his own home.",
644      "inquire": "Any luck?",
645      "success": "Thank you, a diary is exactly what I was looking for.",
646      "success_lie": "What good does this do us?",
647      "failure": "It was a lost cause anyways…"
648    }
649  },
650  {
651    "id": "MISSION_RECRUIT_TRACKER",
652    "type": "mission_definition",
653    "name": { "str": "Recruit Tracker" },
654    "goal": "MGOAL_RECRUIT_NPC_CLASS",
655    "difficulty": 5,
656    "value": 70000,
657    "start": {
658      "assign_mission_target": { "om_terrain": "cabin", "om_special": "Cabin", "reveal_radius": 2, "search_range": 60 },
659      "effect": "follow",
660      "update_mapgen": { "place_npcs": [ { "class": "tracker_gunslinger", "x": 11, "y": 11, "target": true } ] }
661    },
662    "origins": [ "ORIGIN_SECONDARY" ],
663    "dialogue": {
664      "describe": "You seem to know this new world better than most…",
665      "offer": "We've got another problem to deal with but I don't think we can handle it on our own.  So, I sent word out and found us a volunteer… of sorts.  He's vain as hell but has a little skill with firearms.  He was supposed to collect whatever he had of value and is going to meet us at a cabin in the woods.  Wasn't sure how long we were going to be so I told him to just camp there until we picked him up.",
666      "accepted": "Rodger, if he's a no-show then any other gunslinger will do… but I doubt he'll quit before we even begin.",
667      "rejected": "Hey, I know I wouldn't volunteer for it either… but then I remember that most of us survivors won't make it unless someone decides to take the initiative.",
668      "advice": "I hope the bastard is packing heat… else we'll need to grab him a gun before we hit our next target.",
669      "inquire": "Found a gunslinger?",
670      "success": "Great, just let me know when you are ready to wade knee-deep in an ocean of blood.",
671      "success_lie": "I don't think so…",
672      "failure": "Quitting already?"
673    }
674  },
675  {
676    "id": "MISSION_RESCUE_DOG",
677    "type": "mission_definition",
678    "name": { "str": "Find Lost Dog" },
679    "goal": "MGOAL_FIND_MONSTER",
680    "difficulty": 3,
681    "value": 100000,
682    "place": "near_town",
683    "start": "place_dog",
684    "origins": [ "ORIGIN_OPENER_NPC" ],
685    "dialogue": {
686      "describe": "Oh, my poor puppy…",
687      "offer": "I left my poor dog in a house, not far from here.  Can you retrieve it?",
688      "accepted": "Thank you!  Please hurry back!",
689      "rejected": "Please, think of my poor little puppy!",
690      "advice": "Take my dog whistle; if the dog starts running off, blow it and he'll return to your side.",
691      "inquire": "Have you found my dog yet?",
692      "success": "Thank you so much for finding him!",
693      "success_lie": "What?!  You're lying, I can tell!  Ugh, forget it!",
694      "failure": "Oh no!  My poor puppy…"
695    }
696  },
697  {
698    "id": "MISSION_GET_CITY_COP_MOMENTO",
699    "type": "mission_definition",
700    "name": { "str": "Break into armory to retrieve family photo" },
701    "goal": "MGOAL_FIND_ITEM",
702    "difficulty": 2,
703    "value": 800,
704    "item": "family_photo",
705    "origins": [ "ORIGIN_SECONDARY" ],
706    "dialogue": {
707      "describe": "I need you to get my family photo from the armory safe.",
708      "offer": "I left the only photo I have from my family in the armory.  I don't have the code, can you get in?",
709      "accepted": "Thanks, it's great to see someone willing to help a out.",
710      "rejected": "Well, I'll find someone else to do it for me, real shame with all those guns locked up too…",
711      "advice": "You look like a resourceful sort, maybe you can hack it or something.",
712      "inquire": "Got the photo?  Should've been in my gun safe.",
713      "success": "Thanks!  I'll be sure to put in a good word for you around town.",
714      "success_lie": "OK, then hand it over.",
715      "failure": "Shit happens."
716    }
717  },
718  {
719    "id": "MISSION_INFECTED_START_FIND_ANTIBIOTICS",
720    "type": "mission_definition",
721    "name": { "str": "Find Antibiotics Before You Die!" },
722    "goal": "MGOAL_FIND_ITEM",
723    "difficulty": 1,
724    "value": 0,
725    "origins": [ "ORIGIN_GAME_START" ],
726    "item": "antibiotics"
727  },
728  {
729    "id": "MISSION_PROVE_YOUR_WORTH",
730    "type": "mission_definition",
731    "name": { "str": "Prove your worth to Foodperson" },
732    "goal": "MGOAL_FIND_ITEM",
733    "item": "fp_loyalty_card",
734    "count": 10,
735    "difficulty": 1,
736    "value": 0,
737    "end": {
738      "effect": [
739        { "npc_add_var": "npc_foodperson_impressed", "type": "dialogue", "context": "foodperson", "value": "yes" },
740        { "u_buy_item": "badge_foodkid" }
741      ]
742    },
743    "origins": [ "ORIGIN_SECONDARY" ],
744    "dialogue": {
745      "describe": "Prove your dedication to Foodplace.",
746      "offer": "Show me the proof of your loyalty to the great Foodplace, and I'll consider you worthy of my friendship.  Ten loyalty cards should be enough, I'm sure you already have much more than that waiting for you at home, right?",
747      "accepted": "That's the spirit!  Good luck kid.",
748      "rejected": "That's alright not everyone is cutout for this.",
749      "advice": "Those are very precious, people would probably keep them on their person or in bank vaults.  And definitely not throw them in the trash!",
750      "inquire": "How is it going?  Do you have them?",
751      "success": "YES!  I knew you could do it!  You proved your worth and I'm proud to call you a friend.",
752      "success_lie": "Well…  where are they?",
753      "failure": "I'm so disappointed in you kid…"
754    }
755  },
756  {
757    "id": "MISSION_PROVE_YOU_ARE_A_SURVIVOR",
758    "type": "mission_definition",
759    "name": { "str": "Prove You're A Survivor" },
760    "description": "Prove you're a survivor by surviving for 10 days after the Cataclysm, and then returning to the person who gave you this mission.",
761    "goal": "MGOAL_CONDITION",
762    "goal_condition": { "days_since_cataclysm": 10 },
763    "difficulty": 1,
764    "value": 0,
765    "origins": [ "ORIGIN_OPENER_NPC" ],
766    "end": { "effect": "follow" },
767    "dialogue": {
768      "describe": "It's hard to tell who actually has the skills to survive these days…",
769      "offer": "It's hard surviving out here on our own, and we'd probably have a better chance working together.  Problem is, I don't really know you and what you're capable of.  You might have what it takes, or you might not.  Either way, I'm going to need some proof.  Come back in a few days and I'll gladly follow you.  It's basically a win-win for me: either you come back and I'll know you've got what it takes, or you don't and I'll know that I was right not to follow you.",
770      "accepted": "I'll see you then… or I won't, and then I'll know I made the right decision.",
771      "rejected": "Ya, it was a long shot I admit.",
772      "advice": "Don't die.  If you're asking me for advice, that doesn't bode well for you.",
773      "inquire": "Well, you're not dead… yet.",
774      "success": "I'll be honest, I wasn't really expecting to see you again.  A promise is a promise, I'll follow you now!",
775      "success_lie": "I know time is relative and all that.",
776      "failure": "I'm not quite sure how you failed to survive AND are talking to me."
777    }
778  },
779  {
780    "id": "MISSION_LEARN_ABOUT_CATTAIL_JELLY",
781    "type": "mission_definition",
782    "name": { "str": "Gather cattail stalks to create cattail jelly" },
783    "description": "Gather <color_light_blue>80 cattail stalks</color> from the swamp and bring them back to <color_light_red>learn how to craft cattail jelly</color>.  Raise your <color_light_blue>survival skill to at least 1</color> by harvesting cattail stalks.  <color_light_blue>Bring back the provided bag</color> as well.",
784    "goal": "MGOAL_CONDITION",
785    "goal_condition": {
786      "and": [
787        { "u_has_item": "duffelbag" },
788        { "u_has_items": { "item": "cattail_stalk", "count": 80 } },
789        { "u_has_skill": { "skill": "survival", "level": 1 } }
790      ]
791    },
792    "difficulty": 1,
793    "value": 0,
794    "has_generic_rewards": false,
795    "origins": [ "ORIGIN_OPENER_NPC", "ORIGIN_ANY_NPC" ],
796    "start": {
797      "effect": [ { "u_buy_item": "duffelbag" } ],
798      "assign_mission_target": { "om_terrain": "forest_water", "reveal_radius": 3 }
799    },
800    "end": {
801      "effect": [
802        { "u_sell_item": "duffelbag" },
803        { "u_sell_item": "cattail_stalk", "count": 80 },
804        { "npc_consume_item": "cattail_stalk", "count": 80 },
805        { "u_learn_recipe": "cattail_jelly" },
806        { "u_buy_item": "cattail_jelly", "container": "bag_zipper", "count": 7 }
807      ]
808    },
809    "dialogue": {
810      "describe": "Medical services are a little sparse following <the_cataclysm>, but people have been surviving using their wits and the bounty of Mother Nature for a long time.  Care to learn a little?",
811      "offer": "Did you know that cattails are a source of a jelly that works as an antiseptic and analgesic?  Something like that is likely to be mighty helpful out here.  I want you to take this bag, head to the nearest swamp, collect 80 cattail stalks, and bring them back here.  In exchange, I'll show you how to harvest the jelly.",
812      "accepted": "Great!  This bag should be big enough to hold all of the stalks we'll need.  Don't forget to bring it back.",
813      "rejected": "Your loss.",
814      "advice": "The cattails grow in the fresh water in swamps.  You can't miss them.",
815      "inquire": "Got those cattail stalks yet?  Don't forget to bring back my bag and improve your survival skill to at least 1 as well.",
816      "success": "Great!  Hand them over and I'll show you how this works.",
817      "success_lie": "OK, then hand them over.",
818      "failure": "Well, that's a shame."
819    }
820  }
821]
822