1[
2  {
3    "type": "npc",
4    "id": "refugee_beggar4",
5    "//": "Sickly beggar in the refugee center.",
6    "name_unique": "Brandon Garder",
7    "gender": "male",
8    "name_suffix": "beggar",
9    "class": "NC_BEGGAR_4",
10    "attitude": 0,
11    "mission": 7,
12    "chat": "TALK_REFUGEE_BEGGAR_4",
13    "faction": "lobby_beggars"
14  },
15  {
16    "type": "npc_class",
17    "id": "NC_BEGGAR_4",
18    "name": { "str": "Beggar" },
19    "job_description": "I'm just trying to survive.",
20    "common": false,
21    "//": "All the beggars have been camping inside the evac shelter because they're too weak and unskilled to make it on their own.",
22    "bonus_str": { "rng": [ -4, -1 ] },
23    "bonus_dex": { "rng": [ -4, -1 ] },
24    "bonus_int": { "rng": [ -6, -2 ] },
25    "bonus_per": { "rng": [ -3, -1 ] },
26    "worn_override": "NC_BEGGAR_4_worn",
27    "carry_override": "EMPTY_GROUP",
28    "weapon_override": "EMPTY_GROUP",
29    "traits": [
30      { "trait": "GLASSJAW" },
31      { "trait": "ASTHMA" },
32      { "trait": "SLOWHEALER3" },
33      { "trait": "SLOWRUNNER" },
34      { "trait": "HEAVYSLEEPER" },
35      { "trait": "FLIMSY3" },
36      { "trait": "WEAKSTOMACH" },
37      { "trait": "MYOPIC" },
38      { "trait": "HYPEROPIC" },
39      { "trait": "JITTERY" },
40      { "trait": "SMELLY" },
41      { "trait": "PROJUNK" },
42      { "trait": "BADBACK" },
43      { "trait": "BADKNEES" },
44      { "trait": "BADCARDIO" },
45      { "group": "Appearance_demographics" }
46    ],
47    "skills": [ { "skill": "fabrication", "bonus": { "rng": [ 2, 6 ] } } ]
48  },
49  {
50    "type": "item_group",
51    "id": "NC_BEGGAR_4_worn",
52    "subtype": "collection",
53    "items": [
54      { "item": "socks" },
55      { "item": "briefs" },
56      { "item": "tank_top" },
57      { "item": "long_underpants" },
58      { "item": "slippers" },
59      { "item": "house_coat" }
60    ]
61  },
62  {
63    "type": "talk_topic",
64    "id": "TALK_REFUGEE_BEGGAR_4",
65    "dynamic_line": {
66      "npc_has_effect": "beggar_has_eaten",
67      "yes": "Thanks again for the grub, my friend.",
68      "no": "Hey, are you a big fan of survival of the fittest?"
69    },
70    "responses": [
71      {
72        "condition": { "not": { "npc_has_effect": "beggar_has_eaten" } },
73        "text": "Why do you ask?",
74        "topic": "TALK_REFUGEE_BEGGAR_4_TALK1"
75      },
76      {
77        "condition": { "not": { "npc_has_effect": "beggar_has_eaten" } },
78        "text": "Sorry, not interested.",
79        "topic": "TALK_DONE"
80      },
81      {
82        "condition": { "npc_has_effect": "beggar_has_eaten" },
83        "text": "Nice to see you too, what's up?",
84        "topic": "TALK_REFUGEE_BEGGAR_4_TALK1"
85      },
86      {
87        "condition": { "npc_has_effect": "beggar_has_eaten" },
88        "text": "Nice to see you.  I gotta be going though.",
89        "topic": "TALK_DONE"
90      }
91    ]
92  },
93  {
94    "type": "talk_topic",
95    "id": "TALK_REFUGEE_BEGGAR_4_TALK1",
96    "dynamic_line": {
97      "npc_has_effect": "beggar_has_eaten",
98      "yes": "Oh you know, the usual: sittin' out here until I starve to death, playin' cards with Dave, that kinda thing.",
99      "no": "Because I sure ain't fit, so I'm sittin' out here until I starve to death.  Help a poor sickly soul out?"
100    },
101    "responses": [
102      {
103        "condition": { "u_has_var": "beggars_recruited", "type": "general", "context": "recruit", "value": "yes" },
104        "text": "I've talked to the others, and they're all willing to come.  So, you joining us?",
105        "topic": "TALK_REFUGEE_BEGGAR_4_RECRUITED"
106      },
107      { "text": "I could maybe help you out… want something to eat?", "topic": "TALK_REFUGEE_BEGGAR_4_GIVE_FOOD" },
108      { "text": "What's wrong with you?", "topic": "TALK_REFUGEE_BEGGAR_4_TALK2" },
109      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
110      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
111      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
112      { "text": "I'd better get going.", "topic": "TALK_DONE" }
113    ]
114  },
115  {
116    "type": "talk_topic",
117    "id": "TALK_REFUGEE_BEGGAR_4_GIVE_FOOD",
118    "dynamic_line": {
119      "npc_has_effect": "beggar_has_eaten",
120      "yes": "That's awful kind of you, you really are a wonderful person.",
121      "no": "Oh, wow!  You're a real gem, you know that?  Thanks for even thinking of it."
122    },
123    "responses": [
124      { "text": "Actually can I ask you something else?", "topic": "TALK_NONE" },
125      { "text": "I'm sorry, I was wrong.  I can't help you.", "topic": "TALK_DONE" }
126    ],
127    "repeat_responses": [
128      {
129        "for_category": [ "food" ],
130        "response": {
131          "text": "Here, you can have this <topic_item>.",
132          "topic": "TALK_REFUGEE_BEGGAR_4_GAVE_FOOD",
133          "opinion": { "trust": 1, "value": 1, "fear": -1, "anger": -1, "owed": 2 }
134        }
135      }
136    ]
137  },
138  {
139    "type": "talk_topic",
140    "id": "TALK_REFUGEE_BEGGAR_4_GAVE_FOOD",
141    "dynamic_line": "It's good to know there are still people like you in the world, it really is.",
142    "speaker_effect": [ { "effect": { "npc_add_effect": "beggar_has_eaten", "duration": 3600 } } ],
143    "responses": [
144      { "text": "What are you up to?", "topic": "TALK_REFUGEE_BEGGAR_4_TALK1", "effect": { "u_bulk_donate": 1 } },
145      { "text": "No problem.  See you around.", "topic": "TALK_DONE", "effect": { "u_bulk_donate": 1 } }
146    ]
147  },
148  {
149    "type": "talk_topic",
150    "id": "TALK_REFUGEE_BEGGAR_4_TALK2",
151    "dynamic_line": "You name it!  Asthma, diabetes, arthritis.  Diabetes hasn't been so bad since I stopped, y'know, eating regularly.  Well, I assume it hasn't.  Not like I can check that ol' whatchamacallit, the blood test the docs used to bug me about every couple months.",
152    "responses": [
153      { "text": "What did you do before <the_cataclysm>?", "topic": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE1" },
154      { "text": "You seem awfully happy considering the situation.", "topic": "TALK_REFUGEE_BEGGAR_4_HAPPY" },
155      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
156      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
157      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
158      { "text": "I'd better get going.", "topic": "TALK_DONE" }
159    ]
160  },
161  {
162    "type": "talk_topic",
163    "id": "TALK_REFUGEE_BEGGAR_4_SICKLY",
164    "dynamic_line": "They got enough mouths to feed that can pull their own weight.  I got a lot of weight and I'm too weak to pull it, so I'm out here.",
165    "responses": [
166      { "text": "What did you do before <the_cataclysm>?", "topic": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE1" },
167      { "text": "You seem awfully happy considering the situation.", "topic": "TALK_REFUGEE_BEGGAR_4_HAPPY" },
168      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
169      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
170      { "text": "What were you saying before?", "topic": "TALK_NONE" },
171      { "text": "I'd better get going.", "topic": "TALK_DONE" }
172    ]
173  },
174  {
175    "type": "talk_topic",
176    "id": "TALK_REFUGEE_BEGGAR_4_ARRIVAL",
177    "dynamic_line": "Came with a small group quite a while ago.  The others were young and fit, they got in.  They were some of the last ones to get in actually.  I didn't make the cutoff.",
178    "responses": [
179      { "text": "What did you do before <the_cataclysm>?", "topic": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE1" },
180      { "text": "You seem awfully happy considering the situation.", "topic": "TALK_REFUGEE_BEGGAR_4_HAPPY" },
181      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
182      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
183      { "text": "What were you saying before?", "topic": "TALK_NONE" },
184      { "text": "I'd better get going.", "topic": "TALK_DONE" }
185    ]
186  },
187  {
188    "type": "talk_topic",
189    "id": "TALK_REFUGEE_BEGGAR_4_CAMPOUT",
190    "dynamic_line": "This is a mercy.  I get shelter, light, and heat, and those guards will help us if any zombies show up.  It ain't so bad.  If I was out on my own I'd have none of this and still have to look for food… in other words, I'd be dead as a doornail.  Or I guess undead.",
191    "responses": [
192      { "text": "What did you do before <the_cataclysm>?", "topic": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE1" },
193      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
194      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
195      { "text": "What were you saying before?", "topic": "TALK_NONE" },
196      { "text": "I'd better get going.", "topic": "TALK_DONE" }
197    ]
198  },
199  {
200    "type": "talk_topic",
201    "id": "TALK_REFUGEE_BEGGAR_4_HAPPY",
202    "dynamic_line": "What's the alternative?  You take the hand you're dealt.  I've given eulogies for two of the people I love most on this earth, and the third wrote me off.  I've already been through the end of the world.  Came out the other side with my bits intact.  And you know, I've been pretty lonely since my wife passed.  Here I've got friends.  We might be hungry but we're close.  Reena's been teaching me math and science, Luo is one of the smartest folks I've ever met - she's got a doctorate you know - and Yusuke is the only one here that can beat me at poker.  And Dave, well, he's Dave.  There's more goin' on under the surface there, mark my words.  We may be unfit, but we aren't worthless.",
203    "speaker_effect": [ { "effect": [ { "u_add_var": "luo_doctorate", "type": "general", "context": "conversation", "value": "yes" } ] } ],
204    "responses": [
205      { "text": "What did you do before <the_cataclysm>?", "topic": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE1" },
206      { "text": "You seem awfully happy considering the situation.", "topic": "TALK_REFUGEE_BEGGAR_4_HAPPY" },
207      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
208      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
209      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
210      { "text": "What were you saying before?", "topic": "TALK_NONE" },
211      { "text": "I'd better get going.", "topic": "TALK_DONE" }
212    ]
213  },
214  {
215    "type": "talk_topic",
216    "id": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE1",
217    "dynamic_line": "Well, I used to be a roofer, but I had a bad fall and wrecked my back around '06.  Tried to get into other kinds of carpentry but I just don't have the head for it.  My wife managed to support both of us with the extra bit I made from odd jobs, but she had a stroke in 2016 and left me on my own the last few years slowly draining my savings dry while I work whatever junk jobs I can handle.  Couple days before <the_cataclysm> I got the notice that the bank was going to foreclose on my crappy little trailer.",
218    "responses": [
219      { "text": "You have any kids?", "topic": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE2" },
220      {
221        "condition": { "not": "u_has_camp" },
222        "text": "Would you like to travel with me?  Someone good with a trade could be helpful, and it's got to be better than wasting away here.",
223        "topic": "TALK_REFUGEE_BEGGAR_4_JOIN"
224      },
225      {
226        "condition": "u_has_camp",
227        "text": "I have a camp.  It's a damn sight better than those place, and there are regular meals.  Someone with your trades experience would be welcome, even if you can't do the big jobs anymore.",
228        "topic": "TALK_REFUGEE_BEGGAR_4_RECRUIT1"
229      },
230      { "text": "You seem awfully happy considering the situation.", "topic": "TALK_REFUGEE_BEGGAR_4_HAPPY" },
231      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
232      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
233      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
234      { "text": "What were you saying before?", "topic": "TALK_NONE" },
235      { "text": "I'd better get going.", "topic": "TALK_DONE" }
236    ]
237  },
238  {
239    "type": "talk_topic",
240    "id": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE2",
241    "dynamic_line": "Yeah, we had two.  My daughter died of an OD right at the start of that fentanyl stuff.  It did a real number on my son - they were twins you see - and he cut ties to me and my wife.  Wasn't even there for her funeral.  I can't blame him, it messed us all up pretty fierce.  As far as I'm concerned he's still out there with my grandkids, hiding away somewhere safe.  These days, no news is good news.",
242    "responses": [
243      { "text": "What did you do before <the_cataclysm>?", "topic": "TALK_REFUGEE_BEGGAR_4_LIFEBEFORE1" },
244      {
245        "condition": { "not": "u_has_camp" },
246        "text": "Would you like to travel with me?  Someone good with a trade could be helpful, and it's got to be better than wasting away here.",
247        "topic": "TALK_REFUGEE_BEGGAR_4_JOIN"
248      },
249      {
250        "condition": "u_has_camp",
251        "text": "I have a camp.  It's a damn sight better than those place, and there are regular meals.  Someone with your trades experience would be welcome, even if you can't do the big jobs anymore.",
252        "topic": "TALK_REFUGEE_BEGGAR_4_RECRUIT1"
253      },
254      { "text": "You seem awfully happy considering the situation.", "topic": "TALK_REFUGEE_BEGGAR_4_HAPPY" },
255      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
256      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
257      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
258      { "text": "What were you saying before?", "topic": "TALK_NONE" },
259      { "text": "I'd better get going.", "topic": "TALK_DONE" }
260    ]
261  },
262  {
263    "type": "talk_topic",
264    "id": "TALK_REFUGEE_BEGGAR_4_JOIN",
265    "dynamic_line": "It's sweet of you to say that, but I'm just not up to the wandering life, not with these knees.",
266    "responses": [
267      { "text": "You seem awfully happy considering the situation.", "topic": "TALK_REFUGEE_BEGGAR_4_HAPPY" },
268      { "text": "They won't let you in because you're sick?", "topic": "TALK_REFUGEE_BEGGAR_4_SICKLY" },
269      { "text": "How did you even get here if you're so sick?", "topic": "TALK_REFUGEE_BEGGAR_4_ARRIVAL" },
270      { "text": "Why are you camped out here if they won't let you in?", "topic": "TALK_REFUGEE_BEGGAR_4_CAMPOUT" },
271      { "text": "What were you saying before?", "topic": "TALK_NONE" },
272      { "text": "I'd better get going.", "topic": "TALK_DONE" }
273    ]
274  },
275  {
276    "type": "talk_topic",
277    "id": "TALK_REFUGEE_BEGGAR_4_RECRUIT1",
278    "dynamic_line": "That's awful nice of you.  Tell you what: if you can help Dave get himself sorted out, so I don't feel like I've gotta stay here keeping an eye on the poor fella, then I'll come along.",
279    "responses": [
280      {
281        "condition": { "u_has_var": "dave_happy", "type": "general", "context": "recruit", "value": "yes" },
282        "text": "I think I've sorted Dave out pretty well, don't you?  Would you consider coming with me now?",
283        "topic": "TALK_REFUGEE_BEGGAR_4_RECRUIT2"
284      },
285      { "text": "What were you saying before?", "topic": "TALK_NONE" },
286      { "text": "I'd better get going.", "topic": "TALK_DONE" }
287    ]
288  },
289  {
290    "type": "talk_topic",
291    "id": "TALK_REFUGEE_BEGGAR_4_RECRUIT2",
292    "dynamic_line": "Well… I'll be honest, I didn't even think Dave could be sorted out, and you've gone and called my bluff!  It's a darn fine thing you've done for that poor soul.  Listen, I wasn't… entirely serious about wanting to come with you, but if you can convince the others to go, then I guess I'll come along.",
293    "speaker_effect": [ { "effect": { "u_add_var": "brendan_recruited", "type": "general", "context": "recruit", "value": "yes" } } ],
294    "responses": [
295      { "text": "What were you saying before?", "topic": "TALK_NONE" },
296      { "text": "I'd better get going.", "topic": "TALK_DONE" }
297    ]
298  },
299  {
300    "type": "talk_topic",
301    "id": "TALK_REFUGEE_BEGGAR_4_RECRUITED",
302    "dynamic_line": "Golly.  I didn't expect that, but I'm as good as my word.  Let's get going.",
303    "responses": [ { "text": "Let's get going.", "topic": "TALK_DONE", "effect": "follow" } ]
304  }
305]
306