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

Revision 413, 12.9 KB checked in by zenbitz, 9 years ago (diff)

added Matti, snowshoveler, some other minor tweaks

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            # 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              - not quest.hasQuest('fedex') and not quest.hasFinishedQuest('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             # This can never get delivered, since the delivery target is dead
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: quests/fedex.yaml
116         - get_stuff: box
117         # I suspect the "get_box" should be rolled into start_quest
118         - responses:
119             -
120               - "Why can't I open the box?"
121               - why_no_open
122             -
123               - "You got it, boss."
124               - old_pals
125 
126    why_no_open:
127        - 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?"
128        - responses:
129           -
130             - "I guess not."
131             - old_pals       
132
133    old_pals:
134        - say: "So what can I do for you?"
135        - responses:
136           -
137             - "I'm trying to make beer, can you help me find some stuff?"
138             - help_beer
139             - quest['beer'].isGoalValue('beer_instructions') and not quest.hasFinishedQuest('beer') and quest['beer'].getValue('beer_quality') < 1
140           -
141             - "I guess I'll see if I can't find this Pekko character for you."
142             - end
143             - quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko')
144           -
145             - "So long, Janie.  Catch you later."
146             - end
147             - not quest.hasQuest('fedex') or quest.hasFinishedQuest('fedex')
148           -
149             - "Uh, I opened the box."
150             - open_box
151             - quest['fedex'].getValue('open_box')
152           -
153             - "I have some bad news.  I found your friend, Pekko.  In the water tank.  Dead."
154             - dead_pekko
155             - quest['fedex'].isGoalValue('found_pekko') and not quest['fedex'].getValue('accused_of_murder')
156
157           -
158             - "What are we going to do about Pekko's murder?"
159             - discuss_murder
160             - quest.hasQuest('fedex') and quest['fedex'].getValue('accused_of_murder')
161
162    help_beer:
163        - say: "Well, what do you need?"
164        - responses:
165           -
166             - "Where do you folks get water from.  The more pure, the better."
167             - help_water
168           -
169             - "Some kind of grain, or fruit or something."
170             - help_grain
171           -
172             - "I'm really looking for some brewer's yeast."
173             - help_yeast
174           -
175             - "I need a pot to cook the mash in."
176             - help_pot
177           -
178             - "It would be great if I had some bottles to put the brew in!"
179             - help_bottles
180           -
181             - "I think I can handle it from here."
182             - back
183
184    help_water:
185        - 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."
186        - responses:
187           -
188             - "Great, that's a huge help."
189             - back
190
191    help_grain:
192        - say: "You could try the farm, and there should be some food in the storerooms"
193        - responses:
194           -
195             - "Thanks, I'll try that."
196             - back
197
198    help_yeast:
199        - say: "You got me.  I wonder if there is even any left at all."
200        - responses:
201           -
202             - "Someone must have some!"
203             - back
204
205    help_pot:
206        - say: "Did you try the kitchen?  Or the storerooms?"
207        - responses:
208           -
209             - "Uh, yeah.  I guess that was obvious."
210             - back
211
212    help_bottles:
213        - say: "All the random junk is downstairs in old parking lot.  We have our own little junkyard."
214        - responses:
215           -
216             - "Oooh... there is probably lots of good stuff down there."
217             - back
218
219    open_box:
220        - say: "What!  You little worm!  Why did you do that!"
221        - responses:
222           -
223             - "Well, I figured since Pekko was dead and all..."
224             - dead_pekko
225             - quest['fedex'].isGoalValue('found_pekko')
226           -
227             - "I'm sorry, I was just curious."
228             - rewrap_box
229             
230    boot_gift:
231       - say: "That's what was in the package. [Janie takes boots out of the package, and gives them to you]"
232       - get_stuff: boots
233       - responses:
234          -
235            - "Oh.  I must be missing something..."
236            - explain_boots
237 
238    discuss_murder:
239       - say: "Look.  Just stay out of it.  It's not really your business anyway, Stranger.  Just forget we ever talked."
240       - responses:
241           -
242             - "Alright, Alright.  But I don't like it."
243             - give_up_quest
244           -
245             - "It was Bart."
246             - accuse_bart
247           -
248             - "It was Matti, the Snow Shoveler!"
249             - accuse_matti
250           -
251             - "Well, I'm going to talk to the boss about it."
252             - report_to_boss
253
254    give_up_quest:
255       - say: "You are making the right decision."
256       - responses:
257           -
258             - "If you want me to drop it, I'll drop it."
259             - drop_quest
260           -
261             - "No, I can't drop it.  I have to talk to the authorities"
262             - report_to_boss
263   
264    drop_quest:
265       - complete_quest: fedex
266       - say: "Drop it.  It's bigger than than both of us."
267       - responses:
268           -
269             - "Consider it dropped.  How about a date?"
270             - end
271   
272    accuse_bart:
273       - say: "The town drunk???  ...really?  Anyway... I don't want to know.  He's dead.  No one really liked him much anyway.  Just drop it, please."
274       - set_value:
275            quest: 'fedex'
276            variable: 'accused_of_murder'
277            value: 'bart'
278       - responses:
279           -
280             - "You can't just allow folks to murder people! It's wrong!  Someone must be informed!"
281             - report_to_boss
282           -
283             - "If you want me to, I'll forget about the whole thing..."
284             - give_up_quest
285
286    accuse_matti:
287       - 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.  No one really liked him much anyway.  Just drop it, please."
288       - set_value:
289            quest: 'fedex'
290            variable: 'accused_of_murder'
291            value: 'matti'
292       - responses:
293           -
294             - "You can't just allow folks to murder people! It's wrong!  Someone must be informed!"
295             - report_to_boss
296           -
297             - "If you want me to, I'll forget about the whole thing..."
298             - give_up_quest
299
300    report_to_boss:
301       - say: "You can talk to Kimmo, but I don't think you'll find the justice you are looking for."
302       - responses:
303           -
304             - "Maybe.  But I have to try, right?  Otherwise, we are no better than wild animals."
305             - end
306
307    explain_boots:
308       - say: "The boots were a signal that he should leave town... that he'd gone too far this time."
309       - responses:
310           -
311             - "You knew about this?  Who do you think killed him?"
312             - discuss_murder
313           -
314             - "I think I know who killed him."
315             - discuss_murder
316               
317    dead_pekko:
318       - say: "He's dead?  Well, I'm too late then. I guess you can keep the boots, then."
319       - responses:
320          -
321            - "What boots?"
322            - boot_gift
323            - not quest['fedex'].getValue('open_box')
324          -
325            - "Yeah, I figured he wouldn't need them.  Why did you send him boots, anyway?"
326            - explain_boots
327            - quest['fedex'].getValue('open_box')
328          -
329            - "Does this mean no beaver pelt?"
330            - no_beaver_pelt
331   
332    no_beaver_pelt:
333       - say: "No pelt."
334       - responses:
335          -
336            - "Awwwwww..."
337            - back
338
339    rewrap_box:
340       - say: "Give me that back! [Janie takes boots from PC and rewraps them].  Now, here.  And don't open it again."
341       # reset the quest: Note we need to make sure we don't generate an infinite supply of combat boots!
342       - take_stuff: boots
343       - delete_quest: fedex
344       - start_quest: quests/fedex.yaml
345       - get_stuff: box
346       # I suspect this should be rolled into "start_quest"
347       - responses:
348          -
349            - "OK, It will never happen again."
350            - old_pals
351
352    gratitude:
353        - say: "Well aren't you just a thick slice of awesome."
354        - responses:
355           -
356             - "I try, I try."
357             - old_pals
358   
359    rude_comeon:
360        - say: "[fondles weapon] I hope you can take it as well as you give it..."
361        - responses:
362            -
363              - "Any way you want it, that's the way you need it!"
364              - end
365 
Note: See TracBrowser for help on using the repository browser.