source: trunk/game/dialogue/fguard.yaml @ 454

Revision 454, 14.1 KB checked in by zenbitz, 9 years ago (diff)

many dialog edits, untested, in lieu of backup

Line 
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---
17NPC: Janie
18AVATAR: gui/icons/npc.png
19START: main_dialog
20
21SECTIONS:
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, baby!"
31              - gratitude
32              - quest['beer'].getValue('beer_quality') >= 1
33            -
34              - "It's me - don't you remember?"
35              - old_pals
36              - pc.met('janie')
37            -
38              - "Sorry, didn't mean to startle you. I'll just be moving along now."
39              - end
40
41    first_impression:
42        - say: "Hey Stranger.  You're new around here, I don't recognize your face..."
43        - meet: janie
44        - responses:
45            -
46              - "Yeah, just blew in with the last storm."
47              - elaborate_fedex
48              - not quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex')
49            # above should always be true since there is no other way to get the quest 
50            -
51              - "But one night with me, babe, and you'll never forget it"
52              - rude_comeon
53 
54    elaborate_fedex:
55        - say: "Well, maybe you can do me a favor.   I have this package I need delivered
56        to Pekko.  But you gotta be casual about it.  No one can know you why you are looking for him."
57        - responses:
58            -
59              - "Me?  Why Me?"
60              - why_me
61            - 
62              - "Why the secrecy?"
63              - why_secret
64            -
65              - "What's in it for me?"
66              - what_do_i_get
67            -
68              - "Whatever, I need an excuse to wander around anyway."
69              - quest_fedex
70            -
71              - "Find another errand boy."
72              - end
73 
74    why_me:
75        - say: "No one knows you.  You're new here.  You can be expected to be wandering around being nosy."
76        - responses:
77           -
78             - "I'm still not convinced."
79             - back
80           -
81             - "Beats watching nuthin' on TV."
82             - quest_fedex
83 
84    why_secret:
85        - say: "Look buddy, it's no questions asked.  You think you are the only frozen bum to come wandering in here?"
86        - responses:
87           -
88             - "Bum?  You don't even know who I am."
89             - why_me
90           -
91             - "Really.  I remain unswayed by your logic, but you are pleasing to the eye so keep talking."
92             - back
93           -
94             - "No need to get testy, I'll do it."
95             - quest_fedex
96 
97    what_do_i_get:
98        - say:  "Everybody wants something, huh.  I suppose my undying gratitude won't cut it?  How about a beaver pelt?  They make great hats..."
99        - responses:
100           -
101             - "Naw, it's OK, your gratitude's enough for me."
102             - quest_fedex
103           -
104             - "A beaver pelt it is, then!"
105             - quest_fedex
106             # This can never get delivered, since the delivery target is dead
107           -
108             - "I already gotta hat.  Deliver your own package."
109             - end
110       
111    quest_fedex:           
112         # Need some way of triggering the change in game state; package moving from Janie's inventory to yours]
113         - 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 ]"
114         # above line cuts off after 'making promises'
115         # get_stuff is broken, that's why!
116         - start_quest: quests/fedex.yaml
117         - get_stuff: box
118         # I suspect the "get_box" should be rolled into start_quest
119         - responses:
120             -
121               - "Why can't I open the box?"
122               - why_no_open
123             -
124               - "You got it, boss."
125               - old_pals
126 
127    why_no_open:
128        - 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?"
129        - responses:
130           -
131             - "I guess not."
132             - old_pals       
133
134    old_pals:
135        - say: "So what can I do for you?"
136        - responses:
137           -
138             - "I'm trying to make beer, can you help me find some stuff?"
139             - help_beer
140             - quest['beer'].isGoalValue('beer_instructions') and not quest.hasFinishedQuest('beer') and quest['beer'].getValue('beer_quality') < 1
141           -
142             - "I guess I'll see if I can't find this Pekko character for you."
143             - end
144             - quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko')
145           -
146             - "So long, Janie.  Catch you later."
147             - end
148             - not quest.hasQuest('fedex') or quest.hasFinishedQuest('fedex')
149           -
150             - "Uh, I opened the box."
151             - open_box
152             - quest['fedex'].getValue('open_box')
153           -
154             - "Hey, some folks seem to think Pekko left the compound.  Would you have seen him?"
155             - pekko_left
156             - quest['fedex'].getValue('check_pekko_left') and not quest['fedex'].isGoalValue('found_pekko')
157           -
158             - "I have some bad news.  I found your friend, Pekko.  In the water tank.  Dead."
159             - dead_pekko
160             - quest['fedex'].isGoalValue('found_pekko') and not quest['fedex'].getValue('accused_of_murder')
161           -
162             - "What are we going to do about Pekko's murder?"
163             - discuss_murder
164             - quest.hasQuest('fedex') and quest['fedex'].getValue('accused_of_murder')
165
166    help_beer:
167        - say: "Well, what do you need?"
168        - responses:
169           -
170             - "Where do you folks get water from.  The more pure, the better."
171             - help_water
172           -
173             - "Some kind of grain, or fruit or something."
174             - help_grain
175           -
176             - "I'm really looking for some brewer's yeast."
177             - help_yeast
178           -
179             - "I need a pot to cook the mash in."
180             - help_pot
181           -
182             - "It would be great if I had some bottles to put the brew in!"
183             - help_bottles
184           -
185             - "I think I can handle it from here."
186             - back
187
188    help_water:
189        - 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."
190        - responses:
191           -
192             - "Great, that's a huge help."
193             - back
194
195    help_grain:
196        - say: "You could try the farm, and there should be some food in the storerooms"
197        - responses:
198           -
199             - "Thanks, I'll try that."
200             - back
201
202    help_yeast:
203        - say: "You got me.  I wonder if there is even any left at all."
204        - responses:
205           -
206             - "Someone must have some!"
207             - back
208
209    help_pot:
210        - say: "Did you try the kitchen?  Or the storerooms?"
211        - responses:
212           -
213             - "Uh, yeah.  I guess that was obvious."
214             - back
215
216    help_bottles:
217        - say: "All the random junk is downstairs in old parking lot.  We have our own little junkyard."
218        - responses:
219           -
220             - "Oooh... there is probably lots of good stuff down there."
221             - back
222
223    open_box:
224        - say: "What!  You little worm!  Why did you do that!"
225        - responses:
226           -
227             - "Well, I figured since Pekko was dead and all..."
228             - dead_pekko
229             - quest['fedex'].isGoalValue('found_pekko')
230           -
231             - "I'm sorry, I was just curious."
232             - rewrap_box
233             
234    boot_gift:
235       - say: "That's what was in the package. [Janie takes boots out of the package, and gives them to you]"
236       - get_stuff: boots
237       - responses:
238          -
239            - "Oh.  I must be missing something..."
240            - explain_boots
241 
242    pekko_left:
243       - say: "Left?  No, he's here.  I didn't see him leave, and there's no entry in the log.  He's definitly here.  I'd know."
244       - responses:
245          -
246            - "Boy, that's strange."
247            - back
248 
249    discuss_murder:
250       - say: "Look.  Just stay out of it.  It's not really your business anyway, Stranger.  Just forget we ever talked."
251       - set_value:
252            quest: 'fedex'
253            variable: 'report_murder_to_janie'
254            value: True
255       - responses:
256           -
257             - "Alright, Alright.  But I don't like it."
258             - give_up_quest
259           -
260             - "It was Bart."
261             - accuse_bart
262           -
263             - "It was Matti, the Snow Shoveler!"
264             - accuse_matti
265           -
266             - "I think it was an accident."
267             - report_accident
268           -
269             - "Well, I'm going to talk to the boss about it."
270             - report_to_boss
271
272    give_up_quest:
273       - say: "You are making the right decision."
274       - responses:
275           -
276             - "If you want me to drop it, I'll drop it."
277             - drop_quest
278           -
279             - "No, I can't drop it.  I have to talk to the authorities"
280             - report_to_boss
281   
282    drop_quest:
283       - complete_quest: fedex
284       - say: "Drop it.  It's bigger than than both of us."
285       - responses:
286           -
287             - "Consider it dropped.  How about a date?"
288             - end
289   
290    accuse_bart:
291       - say: "The town drunk???  ...really?  Anyway... I don't want to know.  He's dead.  I knew his big mouth and goofy ideas were going to get him in trouble.  Just drop it, please."
292       - set_value:
293            quest: 'fedex'
294            variable: 'accused_of_murder'
295            value: 'bart'
296       - responses:
297           -
298             - "You can't just allow folks to murder people! It's wrong!  Someone must be informed!"
299             - report_to_boss
300           -
301             - "If you want me to, I'll forget about the whole thing..."
302             - give_up_quest
303
304    accuse_matti:
305       - say: "Matti?  He looks mean, but I don't think he would hurt a fly.  Anyway...  I don't want to know.  He's dead. He saved me you, know.  I guess he needed to pay more attention to himself.  Just drop it, please."
306       - set_value:
307            quest: 'fedex'
308            variable: 'accused_of_murder'
309            value: 'matti'
310       - responses:
311           -
312             - "You can't just allow folks to murder people! It's wrong!  Someone must be informed!"
313             - report_to_boss
314           -
315             - "If you want me to, I'll forget about the whole thing..."
316             - give_up_quest
317
318    report_accident:
319       - say: "An accident?  That's... convenient.  For someone."
320       - set_value:
321            quest: 'fedex'
322            variable: 'accused_of_murder'
323            value: ''
324       - responses:
325           -
326             - "Well, uh, you know.  It's a dangerous world.  I guess he slipped and fell in the cistern."
327             - old_pals
328             
329    report_to_boss:
330       - say: "You can talk to Kimmo, but I don't think you'll find the justice you are looking for."
331       - responses:
332           -
333             - "Maybe.  But I have to try, right?  Otherwise, we are no better than wild animals."
334             - end
335
336    explain_boots:
337       - say: "The boots were a signal that he should leave town... that he'd gone too far this time."
338       - responses:
339           -
340             - "You knew about this?  Who do you think killed him?"
341             - discuss_murder
342           -
343             - "I think I know who killed him."
344             - discuss_murder
345               
346    dead_pekko:
347       - say: "He's dead?  Well, I'm too late then. I guess you can keep the boots, then."
348       - responses:
349          -
350            - "What boots?"
351            - boot_gift
352            - not quest['fedex'].getValue('open_box')
353          -
354            - "Yeah, I figured he wouldn't need them.  Why did you send him boots, anyway?"
355            - explain_boots
356            - quest['fedex'].getValue('open_box')
357          -
358            - "Does this mean no beaver pelt?"
359            - no_beaver_pelt
360   
361    no_beaver_pelt:
362       - say: "No pelt."
363       - responses:
364          -
365            - "Awwwwww..."
366            - back
367
368    rewrap_box:
369       - say: "Give me that back! [Janie takes boots from PC and rewraps them].  Now, here.  And don't open it again."
370       # reset the quest: Note we need to make sure we don't generate an infinite supply of combat boots!
371       - give_stuff: boots
372       - delete_quest: fedex
373       - start_quest: quests/fedex.yaml
374       - get_stuff: box
375       # I suspect this should be rolled into "start_quest"
376       - responses:
377          -
378            - "OK, It will never happen again."
379            - old_pals
380
381    gratitude:
382        - say: "Well aren't you just a thick slice of awesome."
383        - responses:
384           -
385             - "I try, I try."
386             - old_pals
387   
388    rude_comeon:
389        - say: "[fondles weapon] I hope you can take it as well as you give it..."
390        - responses:
391            -
392              - "Any way you want it, that's the way you need it!"
393              - end
394 
Note: See TracBrowser for help on using the repository browser.