source: trunk/game/dialogue/innkeeper.yaml @ 504

Revision 504, 10.9 KB checked in by barra_parpg, 10 years ago (diff)

Patch by mvbarracuda:

  • Property svn:eol-style set to native
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#   NOTE:  This is not a "real" dialogue file, it is meant to be a template for
17#   Any generic fortified mall (techdemo location) denizen
18---
19NPC: Jacob
20AVATAR: gui/icons/innkeeper.png
21START: main_dialog
22
23SECTIONS:
24    main_dialog:
25        - say: "Hi there, Stranger!  Welcome to Jacob's.  How can I help you?"
26        - meet: jacob
27        - responses:
28            -
29              - "I'd like a drink."
30              - buy_drink
31            -
32              - "Nice place you got here.  What's your story?"
33              - inn_background
34            -
35              - "Who are those two women over there?"
36              - loose_women
37            -
38              - "I'm the bastard that's going to put you out of business!"
39              - ungratitude
40              - quest['beer'].getValue('beer_quality') >= 1
41            -
42              - "I'm looking for Pekko, you seen him?"
43              - help_fedex
44              - quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko')
45            -
46              - "Pekko's dead.  I found his body."
47              - pekko_dead
48              - quest['fedex'].isGoalValue('found_pekko')
49            -
50              - "Nothing for me, thanks."
51              - end
52
53    buy_drink:
54        - say: "Doesn't look like you got much to trade for any of my premium booze.  Come back later when you can pay."
55        - responses:
56           -
57             - "Alright, I'll scrounge something up."
58             - back
59           -
60             - "Can't I run up a tab?"
61             - credit_check
62
63    credit_check:
64        - say: "Your credit is no good here.  Now, get out before I have Dig run you out."
65        - responses:
66           -
67             - "OK, OK, I was just asking."
68             - main_dialog
69
70    inn_background:
71        - say: "Well... Dig, Enoch and I found this place some years back.  Kimmo and Pekko were here first, of course, but they obviously needed our help.  The girls took a liking to it, and with the improvements we made, it seemed like a good place as any to set up shop. "
72        - responses:
73           -
74             - "Who's Enoch?"
75             - explain_enoch
76           -
77             - "Who's Dig?"
78             - explain_dig
79           -
80             - "What improvements do you mean?"
81             - explain_steam
82           -
83             - "What girls?"
84             - explain_girls
85           -
86             - "Cool, this is probably the best bar in about 500 km."
87             - back
88
89    explain_enoch:
90        - say: "Enoch was my engineer.  He worked for me before the war.  He outfitted this place with the steam heating system."
91        - responses:
92           -
93             - "Oh wow, steam heat?  How does that work?"
94             - explain_steam
95           -
96             - "Where is Enoch now?  Can I meet him?"
97             - enochs_demise
98
99    enochs_demise:
100        - say: "Alas, he's no longer with us.  He met with an unfortunate accident.  Luckily, he taught me how to keep the system up and running."
101        - responses:
102           -
103             - "Accident?"
104             - enochs_accident
105           -
106             - "So you are the only one who can maintain the steam system?"
107             - steam_maintainance
108             
109    enochs_accident:
110        - say: "Oh, you know.  Just one of those things.  Dangerous world."
111        - responses:
112           -
113             - "Uh, I see."
114             - back
115
116    explain_steam:
117        - say: "Well it's pretty simple in principal.  We just have a big wood fire melting snow.  Some of it becomes drinking water, the rest gets vaporized and sent around in all these steam pipes.  The each have little radiator attachments.  As long as we have wood, the whole place stays quite cozy.  It's kind of a pain to keep up though."
118        - responses:
119           -
120             - "Can anyone just go get water there?"
121             - help_water
122             - quest.hasQuest('beer') and quest.hasQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko')
123           -
124             - "But you can keep it running indefinitely... and no one else knows how it works?"
125             - steam_maintainance
126           -
127             - "Pretty nifty."
128             - inn_background
129             
130    help_water:
131        - say: "Sure, doesn't cost us a thing.  No shortage of snow.  But I'll warn you, the water's been tasting a little funny lately"
132        - responses:
133           -
134             - "Thanks for the tip."
135             - back
136
137    steam_maintainance:
138        - say: "Yeah, just me.  I call it job security.  Like I said, it's a dangerous world."
139        - responses:
140           -
141             - "That must make you pretty popular around here."
142             - popularity
143           -
144             - "Interesting."
145             - inn_background
146
147    popularity:
148        - say: "Ha, Ha, very funny.  Let's just say it's our own version of checks-and-balances with Fearless Leader Kimmo over there."
149        - responses:
150           -
151             - "Well, we all do what we have to."
152             - inn_background
153
154    explain_girls:
155        - say: "My daughters: Camilla and Synnove.  They were just little girls when the whole world went to hell.  I hope they can still have some kind of life."
156        - responses:
157           -
158             - "Can I talk to Camilla?"
159             - talk_camilla
160           -
161             - "Can I talk to Synnove?"
162             - talk_synnove
163           -
164             - "At least you still have someone to call family.  Better than most of us."
165             - back
166
167    talk_camilla:
168        - say: "Can you talk to her?  Listen to her, more likely.  She's right over there and is usually handling the bar when I am busy."
169        - responses:
170           -
171             - "Oh, that's her?"
172             - back
173
174    talk_synnove:
175        - say: "Synnove?  Maybe you can talk some sense into her.  I know, she's been through a lot - but haven't we all.  She's wandering around somewhere."
176        - responses:
177           -
178             - "Alright, I will look around for her."
179             - back
180
181    explain_dig:
182        - say: "Dig and I go way back.  We owe each other our lives more times than we can count.  He takes care of 'difficulties' for me."
183        - responses:
184           -
185             - "Ah, I will stay out his way then."
186             - back
187
188    loose_women:
189        - say: "Candi and Kalli?  They're the hospitality squad.  Harmless fun, if you buy them a drink."
190        - responses:
191           -
192             - "Ah, I see."
193             - back
194
195    pekko_dead:
196        - say: "Dead, huh.  That's a shame.  A damn shame.  He was a positive force around here.  How did he die?"
197        - responses:
198           -
199             - "I am not sure, I found his body in the cistern."
200             - body_found
201           -
202             - "Someone murdered him, and shoved his body in the cistern."
203             - discuss_murder
204             - quest['fedex'].getValue('accused_of_murder') != ''
205             
206    body_found:
207        - say: "Well, if you ask me, that's a funny place to have an accident.  Enoch and I worked for a couple of weeks on that system.  There's really no way you could just fall in.  And Pekko's not the suicidal type."
208        - responses:
209           -
210             - "So you think someone killed him?"
211             - discuss_murder
212           -
213             - "No, I am sure it was an accident."
214             - main_dialog
215
216    discuss_murder:
217        - say: "Damn if doesn't look like it.  I know some folks were mad at him for stirring up trouble, but I didn't they were the type to just snuff him like that.  It's a cold world, alright."
218        - responses:
219           -
220             - "Who do you think killed him?"
221             - discuss_suspects
222           -
223             - "I think Bart, the drunkard killed him."
224             - accuse_bart
225           -
226             - "I think that dim-witted Matti killed him."
227             - accuse_matti
228           -
229             - "Bart killed him, and Kimmo put him up to it."
230             - accuse_kimmo
231             - quest['fedex'].isGoalValue('drunkard_confesses')
232
233    discuss_suspects:
234        - say: "I have my theories.  But I'll be keeping them to myself.  And if I were you, I would drop the subject."
235        - responses:
236           -
237             - "Really?"
238             - back
239
240    accuse_bart:
241       - set_value:
242            quest: 'fedex'
243            variable: 'accused_of_murder'
244            value: 'bart'
245       - say: "Bart, huh?  Why? What's in it for him?"
246       - responses:
247           -
248             - "I guess I should look into it more."
249             - back
250           -
251             - "Camilla said that she saw the two of them together out in the parking lot the night he disappeared."
252             - back
253             - quest['fedex'].isGoalValue('drunkard_evidence')
254
255    accuse_matti:
256       - set_value:
257            quest: 'fedex'
258            variable: 'accused_of_murder'
259            value: 'matti'
260       - say: "You are barking up the wrong tree."
261       - responses:
262           -
263             - "Is that what you think?  Why won't you talk about it?"
264             - back
265
266    accuse_kimmo:
267       - say: "So.  You figured it out, huh.  Big hero, proves the Fearless Leader himself had his own brother killed.  Did you ever stop to think that revealing this information could do even further damage?"
268       - responses:
269           -
270             - "So, this news doesn't shock you?"
271             - murder_fallout
272           -
273             - "I never thought of it that way before..."
274             - main_dialog
275             
276    murder_fallout:
277       - say: "Survival in this world is bigger than the life of any one man; even an innocent man.  Justice is not my - or anyone's - primary concern."
278       - responses:
279           -
280             - "Without justice, is survival worth anything at all?"
281             - main_dialog
282
283    help_fedex:
284       - say: "Ah, adventure boy.  Nope, haven't seem him in a couple of days.  Maybe check with one of the girls?"
285       - responses:
286           -
287             - "Girls?"
288             - explain_girls
289           -
290             - "Hmmm... no one seems to have seen him."
291             - back
292
293    ungratitude:
294       - say: "Well aren't you just a thick slice of awesome."
295       - responses:
296           -
297             - "I try, I try."
298             - main_dialog
299 
Note: See TracBrowser for help on using the repository browser.