1[
2  {
3    "type": "npc",
4    "id": "refugee_GuneetSingh",
5    "name_unique": "Guneet Singh",
6    "gender": "male",
7    "name_suffix": "refugee",
8    "class": "NC_REFUGEE_Guneet",
9    "attitude": 0,
10    "mission": 7,
11    "chat": "TALK_REFUGEE_Guneet_1",
12    "faction": "free_merchants"
13  },
14  {
15    "type": "npc_class",
16    "id": "NC_REFUGEE_Guneet",
17    "name": { "str": "Refugee" },
18    "job_description": "I'm just trying to survive.",
19    "common": false,
20    "//": "Guneet is the Singhs' sixteen year old son.  Like his parents, he is wracked with survivor's guilt for his family having made it out intact.",
21    "bonus_str": { "rng": [ -2, 2 ] },
22    "bonus_dex": { "rng": [ -2, 2 ] },
23    "bonus_int": { "rng": [ -2, 2 ] },
24    "bonus_per": { "rng": [ -2, 2 ] },
25    "worn_override": "REFUGEE_Guneet_worn",
26    "carry_override": "REFUGEE_Guneet_carried",
27    "weapon_override": "REFUGEE_Guneet_wield",
28    "traits": [ { "group": "NPC_starting_traits" }, { "group": "Appearance_SouthAsian" } ],
29    "skills": [
30      { "skill": "ALL", "level": { "mul": [ { "one_in": 3 }, { "sum": [ { "dice": [ 2, 2 ] }, { "rng": [ 0, -5 ] } ] } ] } }
31    ]
32  },
33  {
34    "type": "item_group",
35    "id": "REFUGEE_Guneet_worn",
36    "subtype": "collection",
37    "entries": [
38      { "item": "boxer_shorts" },
39      { "item": "socks" },
40      { "item": "tshirt_text" },
41      { "item": "jeans_red" },
42      { "item": "turban" },
43      { "item": "sneakers" }
44    ]
45  },
46  {
47    "type": "item_group",
48    "id": "REFUGEE_Guneet_carried",
49    "subtype": "collection",
50    "entries": [ { "item": "portable_game" } ]
51  },
52  {
53    "type": "item_group",
54    "id": "REFUGEE_Guneet_wield",
55    "subtype": "distribution",
56    "entries": [
57      { "item": "scimitar_inferior", "container-item": "scabbard", "prob": 3 },
58      { "item": "scimitar", "container-item": "scabbard", "prob": 2 }
59    ]
60  },
61  {
62    "type": "talk_topic",
63    "//": "common talk responses",
64    "id": [ "TALK_REFUGEE_Guneet_2", "TALK_REFUGEE_Guneet_Background", "TALK_REFUGEE_Guneet_Situation" ],
65    "responses": [
66      {
67        "text": "I'm trying to put a cleanup crew together to tidy up the back room.  Can you help?",
68        "condition": {
69          "and": [
70            { "u_has_mission": "MISSION_REFUGEE_Boris_CLEANUP" },
71            {
72              "not": { "npc_has_var": "cleanup_asked", "type": "mission", "context": "Boris_mission_1", "value": "yes" }
73            }
74          ]
75        },
76        "trial": { "type": "PERSUADE", "difficulty": 15 },
77        "success": { "topic": "TALK_REFUGEE_Accept_Boris_Mission_1" },
78        "failure": { "topic": "TALK_REFUGEE_Refuse_Boris_Mission_1" }
79      },
80      { "text": "What's your story?", "topic": "TALK_REFUGEE_Guneet_Background" },
81      { "text": "How are things here?", "topic": "TALK_REFUGEE_Guneet_Situation" }
82    ]
83  },
84  {
85    "type": "talk_topic",
86    "id": "TALK_REFUGEE_Guneet_1",
87    "dynamic_line": {
88      "u_has_var": "u_met_Guneet_Singh",
89      "type": "general",
90      "context": "meeting",
91      "value": "yes",
92      "yes": [ "Hey there.", "Hi.", "Hey again.", "Oh, hi." ],
93      "no": "Oh, hello.  I don't think I've seen you around before.  I'm Guneet, people call me Gunny."
94    },
95    "responses": [
96      {
97        "text": "Nice to meet you, Gunny.",
98        "effect": { "u_add_var": "u_met_Guneet_Singh", "type": "general", "context": "meeting", "value": "yes" },
99        "condition": { "not": { "u_has_var": "u_met_Guneet_Singh", "type": "general", "context": "meeting", "value": "yes" } },
100        "topic": "TALK_REFUGEE_Guneet_1_firstmeet"
101      },
102      {
103        "text": "Hi, Gunny.  What's up?",
104        "topic": "TALK_REFUGEE_Guneet_2",
105        "condition": { "u_has_var": "u_met_Guneet_Singh", "type": "general", "context": "meeting", "value": "yes" }
106      },
107      {
108        "text": "Hi Gunny, nice to meet you.  I gotta go though.",
109        "effect": { "u_add_var": "u_met_Guneet_Singh", "type": "general", "context": "meeting", "value": "yes" },
110        "condition": { "not": { "u_has_var": "u_met_Guneet_Singh", "type": "general", "context": "meeting", "value": "yes" } },
111        "topic": "TALK_DONE"
112      },
113      {
114        "text": "Hi Gunny.  I can't stay to talk.",
115        "condition": { "u_has_var": "u_met_Guneet_Singh", "type": "general", "context": "meeting", "value": "yes" },
116        "topic": "TALK_DONE"
117      }
118    ]
119  },
120  {
121    "type": "talk_topic",
122    "id": "TALK_REFUGEE_Guneet_1_firstmeet",
123    "dynamic_line": "I guess we're still doing that stuff?  Cool.  Nice to meet you too.  What's up?",
124    "responses": [
125      { "text": "I just had some questions.", "topic": "TALK_REFUGEE_Guneet_2" },
126      { "text": "Actually I'm just heading out.", "topic": "TALK_DONE" }
127    ]
128  },
129  {
130    "type": "talk_topic",
131    "id": "TALK_REFUGEE_Guneet_2",
132    "dynamic_line": ".",
133    "responses": [ { "text": "I'd better get going.", "topic": "TALK_DONE" } ]
134  },
135  {
136    "type": "talk_topic",
137    "id": "TALK_REFUGEE_Guneet_Background",
138    "dynamic_line": "I was in high school, you know.  Most of the way through my junior year.  \"My story\"?  I got on a bus with my parents, the bus crashed, and everyone died except a few people, most of whom are crammed into this little shelter now.  Who knows when we're getting out.",
139    "responses": [
140      { "text": "What were you saying before?", "topic": "TALK_NONE" },
141      { "text": "I'd better get going.", "topic": "TALK_DONE" }
142    ]
143  },
144  {
145    "type": "talk_topic",
146    "id": "TALK_REFUGEE_Guneet_Situation",
147    "dynamic_line": "It sucks in here, there's no two ways about it.  People don't talk to us because we wear turbans and we still have each other.  They think because we're still together, we didn't lose anything.  My dad believes it, too, and I think my mom's on the fence.",
148    "responses": [
149      { "text": "What were you saying before?", "topic": "TALK_NONE" },
150      { "text": "I'd better get going.", "topic": "TALK_DONE" }
151    ]
152  }
153]
154