1 | # This file is part of PARPG. |
---|
2 | |
---|
3 | # PARPG is free software: you can redistribute it and/or modify |
---|
4 | # it under the terms of the GNU General Public License as published by |
---|
5 | # the Free Software Foundation, either version 3 of the License, or |
---|
6 | # (at your option) any later version. |
---|
7 | |
---|
8 | # PARPG is distributed in the hope that it will be useful, |
---|
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
11 | # GNU General Public License for more details. |
---|
12 | |
---|
13 | # You should have received a copy of the GNU General Public License |
---|
14 | # along with PARPG. If not, see <http://www.gnu.org/licenses/>. |
---|
15 | |
---|
16 | --- |
---|
17 | NPC: Janie |
---|
18 | AVATAR: gui/icons/npc.png |
---|
19 | START: main_dialog |
---|
20 | |
---|
21 | SECTIONS: |
---|
22 | main_dialog: |
---|
23 | - say: "Halt, identify yourself!" |
---|
24 | - responses: |
---|
25 | - |
---|
26 | - "Whoa, easy with that weapon, sister" |
---|
27 | - first_impression |
---|
28 | - not pc.met('janie') |
---|
29 | - |
---|
30 | - "I'm the beer savior, remember?" |
---|
31 | - gratitude |
---|
32 | - pc.hasSatisfiedQuest('beer') |
---|
33 | - |
---|
34 | - "It's me - don't you remember?" |
---|
35 | - old_pals |
---|
36 | - pc.met('janie') |
---|
37 | # The 'end' section ends the conversation |
---|
38 | - |
---|
39 | - "Sorry, didn't mean to startle you. I'll just be moving along now." |
---|
40 | - end |
---|
41 | |
---|
42 | first_impression: |
---|
43 | - say: "Hey Stranger. You're new around here, I don't recognize your face..." |
---|
44 | - meet: janie |
---|
45 | - responses: |
---|
46 | - |
---|
47 | - "Yeah, just blew in with the last storm." |
---|
48 | - elaborate_fedex |
---|
49 | - pc.canAcceptQuest('fedex') |
---|
50 | # above should always be true since there is no other way to get the quest |
---|
51 | - |
---|
52 | - "But one night with me, babe, and you'll never forget it" |
---|
53 | - rude_comeon |
---|
54 | |
---|
55 | elaborate_fedex: |
---|
56 | - say: "Well, maybe you can do me a favor. I have this package I need delivered |
---|
57 | to Pekko. But you gotta be casual about it. No one can know you why you are looking for him." |
---|
58 | - responses: |
---|
59 | - |
---|
60 | - "Me? Why Me?" |
---|
61 | - why_me |
---|
62 | - |
---|
63 | - "Why the secrecy?" |
---|
64 | - why_secret |
---|
65 | - |
---|
66 | - "What's in it for me?" |
---|
67 | - what_do_i_get |
---|
68 | - |
---|
69 | - "Whatever, I need an excuse to wander around anyway." |
---|
70 | - quest_fedex |
---|
71 | - |
---|
72 | - "Find another errand boy." |
---|
73 | - end |
---|
74 | |
---|
75 | why_me: |
---|
76 | - say: "No one knows you. You're new here. You can be expected to be wandering around being nosy." |
---|
77 | - responses: |
---|
78 | - |
---|
79 | - "I'm still not convinced." |
---|
80 | - back |
---|
81 | - |
---|
82 | - "Beats watching nuthin' on TV." |
---|
83 | - quest_fedex |
---|
84 | |
---|
85 | why_secret: |
---|
86 | - say: "Look buddy, it's no questions asked. You think you are the only frozen bum to come wandering in here?" |
---|
87 | - responses: |
---|
88 | - |
---|
89 | - "Bum? You don't even know who I am." |
---|
90 | - why_me |
---|
91 | - |
---|
92 | - "Really. I remain unswayed by your logic, but you are pleasing to the eye so keep talking." |
---|
93 | - back |
---|
94 | - |
---|
95 | - "No need to get testy, I'll do it." |
---|
96 | - quest_fedex |
---|
97 | |
---|
98 | what_do_i_get: |
---|
99 | - say: "Everybody wants something, huh. I suppose my undying gratitude won't cut it? How about a beaver pelt? They make great hats..." |
---|
100 | - responses: |
---|
101 | - |
---|
102 | - "Naw, it's OK, your gratitude's enough for me." |
---|
103 | - quest_fedex |
---|
104 | - |
---|
105 | - "A beaver pelt it is, then!" |
---|
106 | - quest_fedex |
---|
107 | # perhaps assign this agreed upon payment to the quest object? |
---|
108 | - |
---|
109 | - "I already gotta hat. Deliver your own package." |
---|
110 | - end |
---|
111 | |
---|
112 | quest_fedex: |
---|
113 | # Need some way of triggering the change in game state; package moving from Janie's inventory to yours] |
---|
114 | - say: "You should be able to find Pekko in the main compound area. If anyone asks you why you are looking for him, 'say that he promised you something'. Pekko's always making promises. Oh, and don't open the box. [ Janie hands you the package ]" |
---|
115 | - start_quest: fedex |
---|
116 | - get_stuff: box |
---|
117 | - responses: |
---|
118 | - |
---|
119 | - "Why can't I open the box?" |
---|
120 | - why_no_open |
---|
121 | - |
---|
122 | - "You got it, boss." |
---|
123 | - old_pals |
---|
124 | |
---|
125 | why_no_open: |
---|
126 | - say: "You are the nosiest little mailman anywhere, ain'tcha? How about 'it's private.'? If I wanted you to know what it was, I wouldn't have wasted a perfectly good box it, now would I?" |
---|
127 | - responses: |
---|
128 | - |
---|
129 | - "I guess not." |
---|
130 | - old_pals |
---|
131 | |
---|
132 | old_pals: |
---|
133 | - say: "So what can I do for you?" |
---|
134 | - responses: |
---|
135 | - |
---|
136 | - "I'm trying to make beer, can you help me find some stuff?" |
---|
137 | - help_beer |
---|
138 | - pc.questIsCurrent("beer") |
---|
139 | - |
---|
140 | - "I guess I'll see if I can't find this Pekko character for you." |
---|
141 | - end |
---|
142 | - pc.questIsCurrent("fedex") |
---|
143 | - |
---|
144 | - "So long, Janie. Catch you later." |
---|
145 | - end |
---|
146 | - not pc.questIsCurrent("fedex") |
---|
147 | - |
---|
148 | - "Uh, I opened the box." |
---|
149 | - open_box |
---|
150 | #- pc.questIsCurrent('fedex') and 'box' in pc.inventory and box.isOpen |
---|
151 | - box.state == "open" |
---|
152 | - |
---|
153 | - "I have some bad news. I found your friend, Pekko. In the water tank. Dead." |
---|
154 | - dead_pekko |
---|
155 | - pc.questIsCurrent('fedex') |
---|
156 | # for this last conditional, we need some way of checking "partial" state of the |
---|
157 | # quest - that the PC has found the dead Pekko, but for now we'll assume it's true |
---|
158 | |
---|
159 | help_beer: |
---|
160 | - say: "Well, what do you need?" |
---|
161 | - responses: |
---|
162 | - |
---|
163 | - "Where do you folks get water from. The more pure, the better." |
---|
164 | - help_water |
---|
165 | - |
---|
166 | - "Some kind of grain, or fruit or something." |
---|
167 | - help_grain |
---|
168 | - |
---|
169 | - "I'm really looking for some brewer's yeast." |
---|
170 | - help_yeast |
---|
171 | - |
---|
172 | - "I need a pot to cook the mash in." |
---|
173 | - help_pot |
---|
174 | - |
---|
175 | - "It would be great if I had some bottles to put the brew in!" |
---|
176 | - help_bottles |
---|
177 | - |
---|
178 | - "I think I can handle it from here." |
---|
179 | - back |
---|
180 | |
---|
181 | help_water: |
---|
182 | - say: "Oh, that is the one thing we have plenty of. We have an old tanker trunk that we shovel the snow in and melt it. You can see it from up here, but you have to go downstairs to tap it. But the water's been tasting a little funny lately." |
---|
183 | - responses: |
---|
184 | - |
---|
185 | - "Great, that's a huge help." |
---|
186 | - back |
---|
187 | |
---|
188 | help_grain: |
---|
189 | - say: "You could try the farm, and there should be some food in the storerooms" |
---|
190 | - responses: |
---|
191 | - |
---|
192 | - "Thanks, I'll try that." |
---|
193 | - back |
---|
194 | |
---|
195 | help_yeast: |
---|
196 | - say: "You got me. I wonder if there is even any left at all." |
---|
197 | - responses: |
---|
198 | - |
---|
199 | - "Someone must have some!" |
---|
200 | - back |
---|
201 | |
---|
202 | help_pot: |
---|
203 | - say: "Did you try the kitchen? Or the storerooms?" |
---|
204 | - responses: |
---|
205 | - |
---|
206 | - "Uh, yeah. I guess that was obvious." |
---|
207 | - back |
---|
208 | |
---|
209 | help_bottles: |
---|
210 | - say: "All the random junk is downstairs in old parking lot. We have our own little junkyard." |
---|
211 | - responses: |
---|
212 | - |
---|
213 | - "Oooh... there is probably lots of good stuff down there." |
---|
214 | - back |
---|
215 | |
---|
216 | open_box: |
---|
217 | - say: "What! You little worm! Why did you do that!" |
---|
218 | - responses: |
---|
219 | - |
---|
220 | - "Well, I figured since Pekko was dead and all..." |
---|
221 | - dead_pekko |
---|
222 | - pc.questIsCurrent('fedex') |
---|
223 | # pc.hasQuest("fedex") == "deadPekko" again might be tested here |
---|
224 | - |
---|
225 | - "I'm sorry, I was just curious." |
---|
226 | - rewrap_box |
---|
227 | |
---|
228 | boot_gift: |
---|
229 | - say: "That's what was in the package. [Janie takes boots out of the package, and gives them to you]" |
---|
230 | - get_stuff: boots |
---|
231 | - responses: |
---|
232 | - |
---|
233 | - "Oh. I must be missing something..." |
---|
234 | - explain_boots |
---|
235 | |
---|
236 | discuss_murder: |
---|
237 | - say: "Look. Just stay out of it. It's not really your business anyway, Stranger. Just forget we ever talked." |
---|
238 | - responses: |
---|
239 | - |
---|
240 | - "Alright, Alright. But I don't like it." |
---|
241 | - end |
---|
242 | |
---|
243 | explain_boots: |
---|
244 | - say: "The boots were a signal that he should leave town... that he'd gone too far this time." |
---|
245 | - complete_quest: fedex |
---|
246 | - responses: |
---|
247 | - |
---|
248 | - "You knew about this? Who do you think killed him?" |
---|
249 | - discuss_murder |
---|
250 | - |
---|
251 | - "I think I know who killed him." |
---|
252 | - discuss_murder |
---|
253 | |
---|
254 | dead_pekko: |
---|
255 | - say: "He's dead? Well, I'm too late then. I guess you can keep the boots, then." |
---|
256 | - responses: |
---|
257 | - |
---|
258 | - "What boots?" |
---|
259 | - boot_gift |
---|
260 | - box.state == 'closed' |
---|
261 | - |
---|
262 | - "Yeah, I figured he wouldn't need them. Why did you send him boots, anyway?" |
---|
263 | - explain_boots |
---|
264 | - box.state == 'open' or 'boots' in pc.inventory |
---|
265 | |
---|
266 | rewrap_box: |
---|
267 | - say: "Give me that back! [Janie takes boots from PC and rewraps them]. Now, here. And don't open it again." |
---|
268 | - take_stuff: boots |
---|
269 | - get_stuff: box |
---|
270 | - responses: |
---|
271 | - |
---|
272 | - "OK, It will never happen again." |
---|
273 | - old_pals |
---|
274 | - box.close |
---|
275 | # (always returns true) |
---|
276 | # PC has to get a rewrapped box, and box must be set to "closed" again. |
---|
277 | |
---|
278 | gratitude: |
---|
279 | # if pc.hasSatisfiedQuest("beer") returns an integer representing |
---|
280 | # quality of beer, we can add more varied responses |
---|
281 | - say: "Well aren't you just a thick slice of awesome." |
---|
282 | - responses: |
---|
283 | - |
---|
284 | - "I try, I try." |
---|
285 | - old_pals |
---|
286 | |
---|
287 | rude_comeon: |
---|
288 | - say: "[fondles weapon] I hope you can take it as well as you give it..." |
---|
289 | - responses: |
---|
290 | - |
---|
291 | - "Any way you want it, that's the way you need it!" |
---|
292 | - end |
---|
293 | |
---|