source: trunk/game/dialogue/snowshoveler.yaml @ 416

Revision 413, 4.8 KB checked in by zenbitz, 10 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#   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: Matti
20AVATAR: gui/icons/npc.png
21START: opening_dialog
22
23SECTIONS:
24    opening_dialog:
25        - say: "Good to talk to someone, Matti could use a break"
26        - responses:
27           -
28             - "You are some kind of psycho-killer, aren't you?"
29             - end
30             - quest['fedex'].getValue('accused_of_murder') == 'matti'
31           -
32             - "Matti, I was wrong about Pekko's killer - I think it was someone else."
33             - unaccuse_matti
34             - quest['fedex'].getValue('accused_of_murder') == 'matti'
35           -
36             - "I found a body in your cistern there.  What do you know about it?"
37             - discuss_body
38             - not quest['fedex'].getValue('accused_of_murder') and quest['fedex'].isGoalValue('found_pekko')
39           -
40             - "Hey, what's going on here?"
41             - main_dialog
42
43    main_dialog:
44        - say: "Matti shovels the snow."
45        - responses:
46           -
47             - "Matti?  Oh, you must be Matti.  Where does all the snow... you know... go?"
48             - explain_shoveling
49           -
50             - "I'm looking for stuff to make beer with"
51             - help_beer
52             - quest.hasQuest('beer') and not quest.hasFinishedQuest('beer') and quest['beer'].isGoalValue('beer_instructions')
53           -
54             - "I'm looking for Pekko, you seen him?"
55             - help_fedex
56             - quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko')
57           -
58             - "Oh, were you working?  I'll let you get back to it"
59             - end
60
61    help_beer:
62        - say: "Whoa.  Whoa.  WHOA.  You can make beer?  Astounding."
63        - responses:
64           -
65             - "Never mind"
66             - back
67
68    help_fedex:
69        - say: "Uhhh... Pekko.. Um... Matti saw him.. some time... but Matti don't remember"
70        # perhaps someone else saw him hanging around here.
71        - responses:
72           -
73             - "Really?  You don't remember?  Weird."
74             - back
75
76    explain_shoveling:
77        - say: "Yeah, uh, Matti basically justs shovel all the snow into this here tank."
78        - responses:
79           -
80             - "And then what happens?"
81             - snow_tank
82
83    snow_tank:
84        - say: "Well, uh, it gets melted.. and magically turned into STEAM!!"
85        - responses:
86           -
87             - "Magically?  What?  Oh, that tanker must be a boiler or something"
88             - main_dialog
89
90    discuss_body:
91        - say: "A body?  You mean a Dead body?  How did that get there?"
92        - responses:
93           -
94             - "That's what I'm trying to figure out, Matti.  You are the guy who shovels stuff in there?"
95             - body_continued
96
97    body_continued:
98        - say: "But Matti only puts the snow into the tank!  Matti don't think dead things are allowed!"
99        - responses:
100           -
101             - "I don't really see how it could be anyone else..."
102             - accuse_matti
103           -
104             - "Who else has access?"
105             - drop_matti
106             
107    accuse_matti:
108        - say: "You think Matti killed Pekko?  No way!  Matti was framed!"
109        - set_value:
110            quest: 'fedex'
111            variable: 'accused_of_murder'
112            value: 'matti'             
113        - responses:
114           -
115             - "Sure, that's what they all say."
116             - end
117
118    drop_matti:
119        - say: "Matti doesn't know, but Matti has to sleep sometime"
120        - responses:
121           -
122             - "I guess that's true.  Still, are the closest person to it."
123             - opening_dialog
124             
125    unaccuse_matti:
126        - say: "Matti knew you would see the light!  Matti innocent."
127        - set_value:
128            quest: 'fedex'
129            variable: 'accused_of_murder'
130            value: ''             
131        - responses:
132           -
133             - "I'm sorry for my mistake, Matti.  I hope we can be friends again"
134             - opening_dialog
135
136 
Note: See TracBrowser for help on using the repository browser.