1[
2  {
3    "type": "npc",
4    "id": "refugee_PabloNunez",
5    "name_unique": "Pablo Nunez",
6    "gender": "male",
7    "name_suffix": "refugee",
8    "class": "NC_REFUGEE_Pablo",
9    "attitude": 0,
10    "mission": 7,
11    "chat": "TALK_REFUGEE_Pablo_1",
12    "faction": "free_merchants"
13  },
14  {
15    "type": "npc_class",
16    "id": "NC_REFUGEE_Pablo",
17    "name": { "str": "Refugee" },
18    "job_description": "I'm just trying to survive.",
19    "common": false,
20    "//": "Pablo is a young professional who survived with his wife, but she was pregnant and lost the baby.",
21    "bonus_str": { "rng": [ -1, 3 ] },
22    "bonus_dex": { "rng": [ -2, 2 ] },
23    "bonus_int": { "rng": [ -2, 2 ] },
24    "bonus_per": { "rng": [ -2, 2 ] },
25    "worn_override": "REFUGEE_Pablo_worn",
26    "carry_override": "REFUGEE_Pablo_carried",
27    "weapon_override": "REFUGEE_Pablo_wield",
28    "traits": [ { "trait": "QUICK" }, { "trait": "Exp_Bookkeeping1" }, { "group": "Appearance_Latin" } ],
29    "skills": [
30      { "skill": "ALL", "level": { "mul": [ { "one_in": 3 }, { "sum": [ { "dice": [ 2, 2 ] }, { "rng": [ 0, -5 ] } ] } ] } },
31      { "skill": "computer", "bonus": { "rng": [ 1, 2 ] } },
32      { "skill": "speech", "bonus": { "rng": [ 1, 2 ] } },
33      { "skill": "cooking", "bonus": { "rng": [ 0, 2 ] } }
34    ]
35  },
36  {
37    "type": "item_group",
38    "id": "REFUGEE_Pablo_worn",
39    "subtype": "collection",
40    "entries": [
41      { "item": "boxer_briefs" },
42      { "item": "socks" },
43      { "item": "tank_top" },
44      { "item": "striped_shirt" },
45      { "item": "pants" },
46      { "item": "jacket_evac" },
47      { "item": "porkpie" },
48      { "item": "dress_shoes" }
49    ]
50  },
51  {
52    "type": "item_group",
53    "id": "REFUGEE_Pablo_carried",
54    "subtype": "collection",
55    "entries": [ { "item": "knife_swissarmy" } ]
56  },
57  {
58    "type": "item_group",
59    "id": "REFUGEE_Pablo_wield",
60    "subtype": "collection",
61    "entries": [ { "item": "heavy_flashlight", "ammo-item": "battery", "charges": 200 } ]
62  },
63  {
64    "type": "talk_topic",
65    "//": "common talk responses",
66    "id": [
67      "TALK_REFUGEE_Pablo_1_firstmeet",
68      "TALK_REFUGEE_Pablo_2",
69      "TALK_REFUGEE_Pablo_Background1",
70      "TALK_REFUGEE_Pablo_Background2_pregnancy",
71      "TALK_REFUGEE_Pablo_Background2_sorry",
72      "TALK_REFUGEE_Pablo_Background2_survivors",
73      "TALK_REFUGEE_Pablo_Background2_cleared",
74      "TALK_REFUGEE_Pablo_Situation",
75      "TALK_REFUGEE_Pablo_Tacoma",
76      "TALK_REFUGEE_Pablo_Tacoma2",
77      "TALK_REFUGEE_Pablo_Recruit"
78    ],
79    "responses": [
80      {
81        "text": "I'm trying to put a cleanup crew together to tidy up the back room.  Can you help?",
82        "condition": {
83          "and": [
84            { "u_has_mission": "MISSION_REFUGEE_Boris_CLEANUP" },
85            {
86              "not": { "npc_has_var": "cleanup_asked", "type": "mission", "context": "Boris_mission_1", "value": "yes" }
87            }
88          ]
89        },
90        "topic": "TALK_REFUGEE_Refuse_Boris_Mission_1"
91      },
92      { "text": "What's your story?", "topic": "TALK_REFUGEE_Pablo_Background1" },
93      { "text": "How are things here?", "topic": "TALK_REFUGEE_Pablo_Situation" },
94      {
95        "text": "Dana wanted me to be the one to let you know: they've got work for you over at the ranch.  You could get out of here if you want.",
96        "topic": "TALK_REFUGEE_Pablo_Tacoma2",
97        "condition": { "u_has_var": "Nunez_Tacoma", "type": "recruit", "context": "general", "value": "phase_3" }
98      },
99      { "text": "What were you saying before?", "topic": "TALK_NONE" },
100      { "text": "I'd better get going.  Bye, Pablo.", "topic": "TALK_DONE" }
101    ]
102  },
103  {
104    "type": "talk_topic",
105    "id": "TALK_REFUGEE_Pablo_1",
106    "dynamic_line": {
107      "u_has_var": "u_met_Pablo_Nunez",
108      "type": "general",
109      "context": "meeting",
110      "value": "yes",
111      "yes": [ "Hello, nice to see you again.", "It's good to see you're still around." ],
112      "no": "Hi there.  I'm Pablo, nice to see a new face."
113    },
114    "responses": [
115      {
116        "text": "Pablo, hey?  Nice to meet you.",
117        "effect": { "u_add_var": "u_met_Pablo_Nunez", "type": "general", "context": "meeting", "value": "yes" },
118        "condition": { "not": { "u_has_var": "u_met_Pablo_Nunez", "type": "general", "context": "meeting", "value": "yes" } },
119        "topic": "TALK_REFUGEE_Pablo_1_firstmeet"
120      },
121      {
122        "text": "Hi, Pablo.  What's up?",
123        "topic": "TALK_REFUGEE_Pablo_2",
124        "condition": { "u_has_var": "u_met_Pablo_Nunez", "type": "general", "context": "meeting", "value": "yes" }
125      },
126      {
127        "text": "Hi Pablo, nice to meet you.  I gotta go though.",
128        "effect": { "u_add_var": "u_met_Pablo_Nunez", "type": "general", "context": "meeting", "value": "yes" },
129        "condition": { "not": { "u_has_var": "u_met_Pablo_Nunez", "type": "general", "context": "meeting", "value": "yes" } },
130        "topic": "TALK_DONE"
131      },
132      {
133        "text": "Hi Pablo, nice to see you too.  I gotta go though.",
134        "condition": { "u_has_var": "u_met_Pablo_Nunez", "type": "general", "context": "meeting", "value": "yes" },
135        "topic": "TALK_DONE"
136      }
137    ]
138  },
139  {
140    "type": "talk_topic",
141    "id": "TALK_REFUGEE_Pablo_1_firstmeet",
142    "dynamic_line": "We don't get many new faces around here.  How can I help you?"
143  },
144  {
145    "type": "talk_topic",
146    "id": "TALK_REFUGEE_Pablo_2",
147    "dynamic_line": "It's been a rough time, adapting to everything that's going on.  What would you like to know about?"
148  },
149  {
150    "type": "talk_topic",
151    "id": "TALK_REFUGEE_Pablo_Background1",
152    "dynamic_line": "I was an accountant before.  Just finished my CPA last year and I already had a position as a manager at my firm.  Everything was looking good.  We decided we were ready for a baby.  Hindsight makes us idiots, hey?",
153    "responses": [ { "text": "How did you wind up in this place?", "topic": "TALK_REFUGEE_Pablo_Background2" } ]
154  },
155  {
156    "type": "talk_topic",
157    "id": "TALK_REFUGEE_Pablo_Background2",
158    "dynamic_line": "Dana and I were evacuated early, because of her pregnancy.  They took us to a concentration center, and then we got on a bus to come here.  The bus though, it was rolled over by a giant monster, and many died.  We made it out along with a few others, and we kept going until we made it here.  It wasn't much farther, and for some reason the monster didn't chase us, just kept tearing at the bus.",
159    "responses": [
160      { "text": "What about the pregnancy?", "topic": "TALK_REFUGEE_Pablo_Background2_pregnancy" },
161      { "text": "What happened to the other crash survivors?", "topic": "TALK_REFUGEE_Pablo_Background2_survivors" },
162      { "text": "What were you saying before?", "topic": "TALK_NONE" },
163      { "text": "I'd better get going.  Bye, Pablo.", "topic": "TALK_DONE" }
164    ]
165  },
166  {
167    "type": "talk_topic",
168    "id": "TALK_REFUGEE_Pablo_Background2_pregnancy",
169    "dynamic_line": "The doctor did what she could but after the accident and the stress of the attack… No.",
170    "responses": [ { "text": "I'm sorry for your loss.", "topic": "TALK_REFUGEE_Pablo_Background2_sorry" } ]
171  },
172  {
173    "type": "talk_topic",
174    "id": "TALK_REFUGEE_Pablo_Background2_sorry",
175    "dynamic_line": "Thanks.  No, really, thank you.  Others have gone through so much I feel like we should suck it up, but Rhy says we should let ourselves mourn properly and she seems to know her stuff."
176  },
177  {
178    "type": "talk_topic",
179    "id": "TALK_REFUGEE_Pablo_Background2_survivors",
180    "dynamic_line": "From the bus?  A few of us made it in the end; the Singh family were on that bus with us.  We were some of the last refugees to arrive.  They put us into a room for processing, where a bunch of the wounded were being handled as best as they could manage.  They were short staffed though, and they missed one.  We all thought he was just having a nap, but he wasn't, and when he got back up as a zombie, there was a huge panic.  Gunshots in a small, crowded room, and trampling… it was really ugly.  We were close to the door and managed to get out right away, but then a couple panicking people closed the place off and left innocent people in there for what seemed like ages, calling it an 'outbreak'.  By the time leveler heads prevailed, there weren't many people left in there to recover.",
181    "responses": [
182      {
183        "text": "I've been back to the quarantined area, cleared it out.  It was ugly back there.",
184        "topic": "TALK_REFUGEE_Pablo_Background2_cleared",
185        "condition": { "u_has_var": "FMShopkeep_Mission1", "type": "mission", "context": "flag", "value": "yes" }
186      }
187    ]
188  },
189  {
190    "type": "talk_topic",
191    "id": "TALK_REFUGEE_Pablo_Background2_cleared",
192    "dynamic_line": "Thanks for that, both for taking away the constant worry about all those <zombies> close at hand, and for putting those poor souls at rest at last."
193  },
194  {
195    "type": "talk_topic",
196    "id": "TALK_REFUGEE_Pablo_Situation",
197    "dynamic_line": "It's pretty tough here.  We're packed into too small a location with too many people.  Everyone is dealing with their own trauma.  Rhy is trying to help out, but she can't be a proper counselor in these circumstances.  I don't know how we're going to survive for long.  As for me, I wish I could be anywhere but here.  I need to see the sky again, or I'm going to go insane.",
198    "responses": [
199      {
200        "text": "Why not move to the Tacoma Commune?",
201        "topic": "TALK_REFUGEE_Pablo_Tacoma",
202        "effect": { "u_add_var": "Pablo_ask_tacoma", "type": "recruit", "context": "general", "value": "yes" },
203        "condition": { "u_has_var": "tacoma_started", "type": "knowledge", "context": "flag", "value": "yes" }
204      },
205      {
206        "text": "I've got a secure base.  You and your wife could come with me.",
207        "topic": "TALK_REFUGEE_Pablo_Recruit",
208        "effect": { "u_add_var": "Pablo_ask_recruit", "type": "recruit", "context": "general", "value": "yes" },
209        "condition": "u_has_camp"
210      }
211    ]
212  },
213  {
214    "type": "talk_topic",
215    "id": "TALK_REFUGEE_Pablo_Tacoma",
216    "dynamic_line": "I heard about that place.  What use would they have for an accountant, though?  If they have work for my wife Dana and I, I'd definitely consider it."
217  },
218  {
219    "type": "talk_topic",
220    "id": "TALK_REFUGEE_Pablo_Tacoma2",
221    "dynamic_line": "This is amazing news!  Thank you so much!  I've talked to some of the traders who have been there and I really think I can help, mostly with the manual labor but also with the bookkeeping end.  It sounds so much better than this place.  Thanks, my friend!  We'll get packing, and see if we can get a place on the next caravan out.  It'll be a little while I'm sure, but at least our child won't be born in captivity."
222  },
223  {
224    "type": "talk_topic",
225    "id": "TALK_REFUGEE_Pablo_Recruit",
226    "dynamic_line": "Really?  I might consider it.  Talk to my wife, Dana.  She's put down a lot more roots here, it would be up to her I think.  I'd go anywhere right now."
227  }
228]
229