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

Revision 406, 6.0 KB checked in by zenbitz, 10 years ago (diff)

many dialog and quest 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---
17NPC: Male farmer
18AVATAR: gui/icons/npc.png
19START: main_dialog
20
21SECTIONS:
22    main_dialog:
23        - say: "Who the hell are you??"
24        - responses:
25            -
26              - "I'm looking for stuff to make beer with "
27              - convince_farmer
28              - quest.hasQuest('beer') and quest['beer'].isGoalValue('beer_instructions') and not quest.hasFinishedQuest('beer') and not quest['beer'].isGoalValue('farmer_beer_convinced')
29            -
30              - "You can help me with the beer, thing, right?"
31              - help_beer
32              - quest.hasQuest('beer') and quest['beer'].isGoalValue('beer_instructions') and not quest.hasFinishedQuest('beer') and quest['beer'].isGoalValue('farmer_beer_convinced')
33            -
34              - "Hey, that wheat you gave me really made the brew work."
35              - gratitude
36              - quest['beer'].getValue('beer_quality') > 3
37            -
38              - "Have you tried my beer?"
39              - grumpitude
40              - quest['beer'].getValue('beer_quality') !=0 and quest['beer'].getValue('beer_quality') <= 3
41            -
42              - "I'm looking for Pekko, you seen him?"
43              - help_fedex
44              - quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex')
45            -
46              - "This is quite a nice farm you have here, can you tell me about it?"
47              - chat_farm
48            -
49              - "Hey, relax there old timer!"
50              - leave
51
52    convince_farmer:
53        - say: "Never touch the stuff."
54        - responses:
55           -
56             - "Come on -- have a heart.  Man cannot live on bread alone!"
57             -  leave
58           -
59             - "Well to be honest... we are trying to undermine Jacob's stranglehold on the booze in this town."
60             - inn_explain
61             
62    inn_explain:
63        - say: "Really.  What makes you think I'll help you."
64        - responses:
65           -
66             - "Well, you know, Bart, he's a good guy..."
67             -  leave
68           -
69             - "Because Jacob is the only guy here grumpier than you!"
70             - help_beer
71             
72             
73    help_beer:
74        - say: "He is a right old bastard, that Jacob... What are you looking for?"
75        - set_value:
76            quest: 'beer'
77            variable: "farmer_beer_convinced"
78            value: 1       
79        - responses:
80           -
81             - "First, I need some water."
82             - help_water
83           -
84             - "What I really need is some kind of grain, or fruit or something."
85             - help_grain
86             - not quest['beer'].isGoalValue('grain_available')
87           -
88             - "You wouldn't happen to know where I can find some yeast?"
89             - help_yeast
90           -
91             - "Well, I need a big pot to cook the mash in."
92             - help_pot
93           -
94             - "The final step is some thing to hold the final product in."
95             - help_bottles
96           -
97             - "You are the grumpiest old man ever."
98             - leave
99
100    help_water:
101        - say: "What are you an idiot?  We're surrounded by SNOW."
102        - responses:
103           -
104             - "Sorry, no need to be a jerk about it..."
105             - leave
106
107    help_grain:
108        - say: "Well, that is my department.  I'll give you a bushel if you promise to use your brew to cause Jacob trouble."
109        - get_stuff: bushel_of_grain
110        - set_value:
111            quest: 'beer'
112            variable: "grain_available"
113            value: 0
114        - responses:
115           -
116             - "Deal."
117             - back
118
119    help_yeast:
120        - say: "Yeast.  You really think someone is keeping around some kind of starter culture?"
121        - responses:
122           -
123             - "Uh... yeah?  Hey, how do you know so much about brewing if you don't even drink!"
124             - leave
125
126    help_pot:
127        - say: "Is there anything that you HAVE to make beer with?"
128        - responses:
129           -
130             - "Well, I have these instructions..."
131             - back
132
133    help_bottles:
134        - say: "Junkyard."
135        - responses:
136           -
137             - "Where's the junkyard?"
138             - explain_junkyard
139
140    explain_junkyard:
141        - say: "Downstairs.  Near the woodpile and the garbage dump."
142        - responses:
143           -
144             - "Wow, that was kind of helpful... maybe you aren't so bad after all! "
145             - leave
146
147    help_fedex:
148        - say: "Pekko... I thought he was out scouting?  Did you try the Inn?"
149        - responses:
150           -
151             - "OK, the Inn, thanks."
152             - back
153
154    gratitude:
155        - say: "I still think it's a waste of grain.  But anything that screws that bastard Jacob is OK by me."
156        - responses:
157           -
158             - "Couldn't have done it without you."
159             - leave
160             
161    grumpitude:
162        - say: "At least you didn't waste any of my grain on it.  Awful stuff."
163        - responses:
164           -
165             - "No thanks, to you old man."
166             - leave
167    chat_farm:
168        - say: "I don't have time for chit chat.  Talk to my assistants."
169        - responses:
170           -
171             - "OK, I'll do that."
172             - back
173    leave:
174        - say: "Get off mah land!"
175        - responses:
176            -
177              - "Bye!"
178              - end
Note: See TracBrowser for help on using the repository browser.