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

Revision 379, 10.3 KB checked in by zenbitz, 10 years ago (diff)

New techdemo dialogue files

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, remember?"
31              - gratitude
32              - quest.hasFinishedQuest('beer') and 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             # 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: 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.hasQuest('beer') and not quest.hasFinishedQuest('beer')
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')
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')
156
157    help_beer:
158        - say: "Well, what do you need?"
159        - responses:
160           -
161             - "Where do you folks get water from.  The more pure, the better."
162             - help_water
163           -
164             - "Some kind of grain, or fruit or something."
165             - help_grain
166           -
167             - "I'm really looking for some brewer's yeast."
168             - help_yeast
169           -
170             - "I need a pot to cook the mash in."
171             - help_pot
172           -
173             - "It would be great if I had some bottles to put the brew in!"
174             - help_bottles
175           -
176             - "I think I can handle it from here."
177             - back
178
179    help_water:
180        - 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."
181        - responses:
182           -
183             - "Great, that's a huge help."
184             - back
185
186    help_grain:
187        - say: "You could try the farm, and there should be some food in the storerooms"
188        - responses:
189           -
190             - "Thanks, I'll try that."
191             - back
192
193    help_yeast:
194        - say: "You got me.  I wonder if there is even any left at all."
195        - responses:
196           -
197             - "Someone must have some!"
198             - back
199
200    help_pot:
201        - say: "Did you try the kitchen?  Or the storerooms?"
202        - responses:
203           -
204             - "Uh, yeah.  I guess that was obvious."
205             - back
206
207    help_bottles:
208        - say: "All the random junk is downstairs in old parking lot.  We have our own little junkyard."
209        - responses:
210           -
211             - "Oooh... there is probably lots of good stuff down there."
212             - back
213
214    open_box:
215        - say: "What!  You little worm!  Why did you do that!"
216        - responses:
217           -
218             - "Well, I figured since Pekko was dead and all..."
219             - dead_pekko
220             - quest['fedex'].isGoalValue('found_pekko')
221           -
222             - "I'm sorry, I was just curious."
223             - rewrap_box
224             
225    boot_gift:
226       - say: "That's what was in the package. [Janie takes boots out of the package, and gives them to you]"
227       - get_stuff: boots
228       - responses:
229          -
230            - "Oh.  I must be missing something..."
231            - explain_boots
232 
233    discuss_murder:
234       - say: "Look.  Just stay out of it.  It's not really your business anyway, Stranger.  Just forget we ever talked."
235       # this could possibly be expanded to allow PC to accuse someone
236       - responses:
237           -
238             - "Alright, Alright.  But I don't like it."
239             - end
240
241    explain_boots:
242       - say: "The boots were a signal that he should leave town... that he'd gone too far this time."
243       - complete_quest: fedex
244       - responses:
245           -
246             - "You knew about this?  Who do you think killed him?"
247             - discuss_murder
248           -
249             - "I think I know who killed him."
250             - discuss_murder
251               
252    dead_pekko:
253       - say: "He's dead?  Well, I'm too late then. I guess you can keep the boots, then."
254       - responses:
255          -
256            - "What boots?"
257            - boot_gift
258            - not quest['fedex'].getValue('open_box')
259          -
260            - "Yeah, I figured he wouldn't need them.  Why did you send him boots, anyway?"
261            - explain_boots
262            - quest['fedex'].getValue('open_box')
263   
264    rewrap_box:
265       - say: "Give me that back! [Janie takes boots from PC and rewraps them].  Now, here.  And don't open it again."
266       # reset the quest: Note we need to make sure we don't generate an infinite supply of combat boots!
267       - take_stuff: boots
268       - delete_quest: fedex
269       - start_quest: quests/fedex.yaml
270       - get_stuff: box
271       # I suspect this should be rolled into "start_quest"
272       - responses:
273          -
274            - "OK, It will never happen again."
275            - old_pals
276
277    gratitude:
278        - say: "Well aren't you just a thick slice of awesome."
279        - responses:
280           -
281             - "I try, I try."
282             - old_pals
283   
284    rude_comeon:
285        - say: "[fondles weapon] I hope you can take it as well as you give it..."
286        - responses:
287            -
288              - "Any way you want it, that's the way you need it!"
289              - end
290 
Note: See TracBrowser for help on using the repository browser.