Changeset 406
- Timestamp:
- 11/28/09 21:49:27 (10 years ago)
- Location:
- trunk/game
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/game/dialogue/crazy_swede.yaml
r397 r406 55 55 - "Enough with the chop talk! Do you have any yeast?" 56 56 - end 57 - quest['beer'].isGoalValue('beer_instructions') 57 58 b1: 58 59 - say: "Ah, so you chop the chop... but do you Chop the Chop?" … … 77 78 - "Yeast. Y-E-A-S-T. For making booze. Do you understand me?" 78 79 - end 80 - quest['beer'].isGoalValue('beer_instructions') 79 81 - 80 82 - "Screw this, you cannot argue with a Swede!" -
trunk/game/dialogue/drunkard.yaml
r396 r406 34 34 - "Same old Bart, I see." 35 35 - old_pals 36 - pc.met('bart') 36 - pc.met('bart') and not quest['fedex'].isGoalValue('accused_of_murder') 37 - 38 - "See you later, Killer." 39 - end 40 - pc.met('bart') and quest['fedex'].isGoalValue('accused_of_murder') 37 41 - 38 42 - "Ha, you better sleep it off, buddy." … … 106 110 - "Did you hear about Pekko?" 107 111 - dead_pekko 108 - quest ['fedex'].isGoalValue('found_pekko')112 - quest.hasQuest('fedex') and quest['fedex'].isGoalValue('found_pekko') and not quest['fedex'].isGoalValue('accused_of_murder') 109 113 - 110 114 - "Pekko was murdered. And someone's responsible." 111 115 - murder_accuse 112 - quest ['fedex'].isGoalValue('found_pekko')116 - quest.hasQuest('fedex') and quest['fedex'].isGoalValue('found_pekko') and not quest['fedex'].isGoalValue('accused_of_murder') 113 117 114 118 help_beer: … … 267 271 - "I think we both know how he was killed, Bart. The question remains, who do I tell." 268 272 - blackmail_bart 269 #- need some conditional to test that PC has not already reported murder.273 - ( 'nikko' not in quest['fedex'].getValue('reported_murder') ) 270 274 271 275 discuss_murder: … … 284 288 quest: 'fedex' 285 289 variable: 'accused_of_murder' 286 value: ' pekko'290 value: 'bart' 287 291 - responses: 288 292 - … … 303 307 - "That's a pretty nice coat you go there, I'll take that..." 304 308 - light_blackmail 309 - not quest['fedex'].isGoalValue('got_barts_coat') 305 310 - 306 311 - "Hey, I'm not a greedy bastard. How about you just owe me?" … … 319 324 light_blackmail: 320 325 - say: "My coat, huh. That's it? I guess life is pretty cheap these days. Here ya go." 326 - set_value: 327 quest: 'fedex' 328 variable: 'got_barts_coat' 329 value: 1 321 330 - get_stuff: coat 322 331 - responses: -
trunk/game/dialogue/farmer.yaml
r320 r406 21 21 SECTIONS: 22 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: 23 174 - say: "Get off mah land!" 24 175 - responses: -
trunk/game/dialogue/fguard.yaml
r396 r406 28 28 - not pc.met('janie') 29 29 - 30 - "I'm the beer savior, remember?"30 - "I'm the beer savior, baby!" 31 31 - gratitude 32 - quest .hasFinishedQuest('beer') and quest['beer'].getValue('beer_quality') >= 132 - quest['beer'].getValue('beer_quality') >= 1 33 33 - 34 34 - "It's me - don't you remember?" … … 105 105 - "A beaver pelt it is, then!" 106 106 - quest_fedex 107 # perhaps assign this agreed upon payment to the quest object?107 # This can never get delivered, since the delivery target is dead 108 108 - 109 109 - "I already gotta hat. Deliver your own package." … … 137 137 - "I'm trying to make beer, can you help me find some stuff?" 138 138 - help_beer 139 - quest['beer'].isGoalValue('beer_instructions') and not quest.hasFinishedQuest('beer') 139 - quest['beer'].isGoalValue('beer_instructions') and not quest.hasFinishedQuest('beer') and quest['beer'].getValue('beer_quality') < 1 140 140 - 141 141 - "I guess I'll see if I can't find this Pekko character for you." … … 153 153 - "I have some bad news. I found your friend, Pekko. In the water tank. Dead." 154 154 - dead_pekko 155 - quest['fedex'].isGoalValue('found_pekko') 155 - quest['fedex'].isGoalValue('found_pekko') and not quest['fedex'].getValue('accused_of_murder') 156 157 - 158 - "What are we going to do about Pekko's murder?" 159 - discuss_murder 160 - quest.hasQuest('fedex') and quest['fedex'].getValue('accused_of_murder') 156 161 157 162 help_beer: … … 233 238 discuss_murder: 234 239 - say: "Look. Just stay out of it. It's not really your business anyway, Stranger. Just forget we ever talked." 235 # this could possibly be expanded to allow PC to accuse someone236 240 - responses: 237 241 - 238 242 - "Alright, Alright. But I don't like it." 243 - give_up_quest 244 - 245 - "It was Bart." 246 - accuse_bart 247 - 248 - "It was Matti, the Snow Shoveler!" 249 - accuse_matti 250 - 251 - "Well, I'm going to talk to the boss about it." 252 - report_to_boss 253 254 give_up_quest: 255 - say: "You are making the right decision." 256 - responses: 257 - 258 - "If you want me to drop it, I'll drop it." 259 - drop_quest 260 - 261 - "No, I can't drop it. I have to talk to the authorities" 262 - report_to_boss 263 264 drop_quest: 265 - complete_quest: fedex 266 - say: "Drop it. It's bigger than than both of us." 267 - responses: 268 - 269 - "Consider it dropped. How about a date?" 270 - end 271 272 accuse_bart: 273 - say: "The town drunk??? ...really? Anyway... I don't want to know. He's dead. No one really liked him much anyway. Just drop it, please." 274 - set_value: 275 quest: 'fedex' 276 variable: 'accused_of_murder' 277 value: 'bart' 278 - responses: 279 - 280 - "You can't just allow folks to murder people! It's wrong! Someone must be informed!" 281 - report_to_boss 282 - 283 - "If you want me to, I'll forget about the whole thing..." 284 - give_up_quest 285 286 accuse_matti: 287 - say: "Matti? He looks mean, but I don't think he would hurt a fly. Anyway... I don't want to know. He's dead. No one really liked him much anyway. Just drop it, please." 288 - set_value: 289 quest: 'fedex' 290 variable: 'accused_of_murder' 291 value: 'matti' 292 - responses: 293 - 294 - "You can't just allow folks to murder people! It's wrong! Someone must be informed!" 295 - report_to_boss 296 - 297 - "If you want me to, I'll forget about the whole thing..." 298 - give_up_quest 299 300 report_to_boss: 301 - say: "You can talk to Nikko, but I don't think you'll find the justice you are looking for." 302 - responses: 303 - 304 - "Maybe. But I have to try, right? Otherwise, we are no better than wild animals." 239 305 - end 240 306 241 307 explain_boots: 242 308 - say: "The boots were a signal that he should leave town... that he'd gone too far this time." 243 - complete_quest: fedex244 309 - responses: 245 310 - … … 261 326 - explain_boots 262 327 - quest['fedex'].getValue('open_box') 328 - 329 - "Does this mean no beaver pelt?" 330 - no_beaver_pelt 263 331 332 no_beaver_pelt: 333 - say: "No pelt." 334 - responses: 335 - 336 - "Awwwwww..." 337 - back 338 264 339 rewrap_box: 265 340 - say: "Give me that back! [Janie takes boots from PC and rewraps them]. Now, here. And don't open it again." -
trunk/game/dialogue/mall_template.yaml
r379 r406 32 32 - "I'm the beer savior, remember?" 33 33 - gratitude 34 - quest.hasFinishedQuest('beer') and quest .['fedex'].getValue('beer_quality') >= 134 - quest.hasFinishedQuest('beer') and quest['fedex'].getValue('beer_quality') >= 1 35 35 - 36 36 - "I'm looking for Pekko, you seen him?" -
trunk/game/quests/beer.yaml
r396 r406 24 24 goal_value: 'Read' 25 25 26 farmer_beer_convinced: 27 value: 0 28 goal_value: 1 29 26 30 yeast_available: 27 31 value: 1 28 32 goal_value: 0 29 33 # If you get the yeast or say the wrong thing to the crazy swede, this gets set to 0 34 35 grain_available: 36 value: 1 37 goal_value: 0 38 # If you get the grain this gets set to 0, you only get 1. 39 # future versions might let you get the grain after you have completed a batch of "bad" beer. 30 40 31 41 QUEST_PROPERTIES: -
trunk/game/quests/fedex.yaml
r396 r406 33 33 accused_of_murder: 34 34 value: '' 35 goal_value: ' pekko'35 goal_value: 'bart' 36 36 # this is who the PC accuses of murder. Only 1 at a time. 37 # The goal value is set to "pekko" as he is the actual murderer 37 # The goal value is set to "bart" as he is the actual murderer 38 39 got_barts_coat: 40 value: 0 41 goal_value: 1 42 # You can blackmail bart to get his coat, but only once 38 43 39 44 open_box:
Note: See TracChangeset
for help on using the changeset viewer.