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

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