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

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