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

Revision 504, 3.8 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: Anyone
20AVATAR: gui/icons/npc.png
21START: main_dialog
22
23SECTIONS:
24    main_dialog:
25        - say: "Hello.  How can I help you?"
26        - responses:
27            -
28              - "I'm looking for stuff to make beer with "
29              - help_beer
30              - quest.hasQuest('beer') and not quest.hasFinishedQuest('beer') and quest['beer'].isGoalValue('beer_instructions')
31            -
32              - "I'm the beer savior, remember?"
33              - gratitude
34              - quest['beer'].getValue('beer_quality') >= 1
35            -
36              - "I'm looking for Pekko, you seen him?"
37              - help_fedex
38              - quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko')
39            -
40              - "Whoa!  It talks!  Never mind"
41              - end
42
43    help_beer:
44        - say: "I am always happy to give intimate details of our home to strangers, shoot!"
45        - responses:
46           -
47             - "Where do you folks get water from.  The more pure, the better."
48             - help_water
49           -
50             - "Some kind of grain, or fruit or something."
51             - help_grain
52           -
53             - "I'm really looking for some brewer's yeast."
54             - help_yeast
55           -
56             - "I need a pot to cook the mash in."
57             - help_pot
58           -
59             - "It would be great if I had some bottles to put the brew in!"
60             - help_bottles
61           -
62             - "I think I can handle it from here."
63             - back
64
65    help_water:
66        - 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."
67        - responses:
68           -
69             - "Great, that's a huge help."
70             - back
71
72    help_grain:
73        - say: "You could try the farm, and there should be some food in the storerooms"
74        - responses:
75           -
76             - "Thanks, I'll try that."
77             - back
78
79    help_yeast:
80        - say: "You got me.  I wonder if there is even any left at all."
81        - responses:
82           -
83             - "Someone must have some!"
84             - back
85
86    help_pot:
87        - say: "Did you try the kitchen?  Or the storerooms?"
88        - responses:
89           -
90             - "Uh, yeah.  I guess that was obvious."
91             - back
92
93    help_bottles:
94        - say: "All the random junk is downstairs in old parking lot.  We have our own little junkyard."
95        - responses:
96           -
97             - "Oooh... there is probably lots of good stuff down there."
98             - back
99
100    help_fedex:
101        - say: "Pekko... I thought he was out scouting?  Did you try the Inn?"
102        - responses:
103           -
104             - "OK, the Inn, thanks."
105             - back
106
107    gratitude:
108        - say: "Well aren't you just a thick slice of awesome."
109        - responses:
110           -
111             - "I try, I try."
112             - main_dialog
113 
Note: See TracBrowser for help on using the repository browser.