Changeset 406 for trunk/game


Ignore:
Timestamp:
11/28/09 21:49:27 (10 years ago)
Author:
zenbitz
Message:

many dialog and quest tweaks

Location:
trunk/game
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/dialogue/crazy_swede.yaml

    r397 r406  
    5555              - "Enough with the chop talk!  Do you have any yeast?" 
    5656              - end 
     57              - quest['beer'].isGoalValue('beer_instructions') 
    5758    b1: 
    5859        - say: "Ah, so you chop the chop... but do you Chop the Chop?" 
     
    7778              - "Yeast.  Y-E-A-S-T.  For making booze.  Do you understand me?" 
    7879              - end 
     80              - quest['beer'].isGoalValue('beer_instructions')               
    7981            - 
    8082              - "Screw this, you cannot argue with a Swede!" 
  • trunk/game/dialogue/drunkard.yaml

    r396 r406  
    3434              - "Same old Bart,  I see." 
    3535              - 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') 
    3741            - 
    3842              - "Ha, you better sleep it off, buddy." 
     
    106110               - "Did you hear about Pekko?" 
    107111               - 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') 
    109113             - 
    110114               - "Pekko was murdered.  And someone's responsible." 
    111115               - 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') 
    113117  
    114118    help_beer: 
     
    267271            - "I think we both know how he was killed, Bart.  The question remains, who do I tell." 
    268272            - blackmail_bart 
    269             #- need some conditional to test that PC has not already reported murder. 
     273            - ( 'nikko' not in quest['fedex'].getValue('reported_murder') ) 
    270274     
    271275    discuss_murder: 
     
    284288            quest: 'fedex' 
    285289            variable: 'accused_of_murder' 
    286             value: 'pekko' 
     290            value: 'bart' 
    287291        - responses: 
    288292            -  
     
    303307              - "That's a pretty nice coat you go there, I'll take that..." 
    304308              - light_blackmail 
     309              - not quest['fedex'].isGoalValue('got_barts_coat') 
    305310            - 
    306311              - "Hey, I'm not a greedy bastard.  How about you just owe me?" 
     
    319324    light_blackmail: 
    320325        - 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         
    321330        - get_stuff: coat 
    322331        - responses: 
  • trunk/game/dialogue/farmer.yaml

    r320 r406  
    2121SECTIONS: 
    2222    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: 
    23174        - say: "Get off mah land!" 
    24175        - responses: 
  • trunk/game/dialogue/fguard.yaml

    r396 r406  
    2828              - not pc.met('janie') 
    2929            -  
    30               - "I'm the beer savior, remember?" 
     30              - "I'm the beer savior, baby!" 
    3131              - gratitude 
    32               - quest.hasFinishedQuest('beer') and quest['beer'].getValue('beer_quality') >= 1 
     32              - quest['beer'].getValue('beer_quality') >= 1 
    3333            -  
    3434              - "It's me - don't you remember?" 
     
    105105             - "A beaver pelt it is, then!" 
    106106             - 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 
    108108           -  
    109109             - "I already gotta hat.  Deliver your own package." 
     
    137137             - "I'm trying to make beer, can you help me find some stuff?" 
    138138             - 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 
    140140           - 
    141141             - "I guess I'll see if I can't find this Pekko character for you." 
     
    153153             - "I have some bad news.  I found your friend, Pekko.  In the water tank.  Dead." 
    154154             - 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') 
    156161 
    157162    help_beer: 
     
    233238    discuss_murder: 
    234239       - 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 someone 
    236240       - responses: 
    237241           - 
    238242             - "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." 
    239305             - end 
    240306 
    241307    explain_boots: 
    242308       - say: "The boots were a signal that he should leave town... that he'd gone too far this time." 
    243        - complete_quest: fedex 
    244309       - responses: 
    245310           - 
     
    261326            - explain_boots 
    262327            - quest['fedex'].getValue('open_box') 
     328          - 
     329            - "Does this mean no beaver pelt?" 
     330            - no_beaver_pelt 
    263331     
     332    no_beaver_pelt: 
     333       - say: "No pelt." 
     334       - responses: 
     335          - 
     336            - "Awwwwww..." 
     337            - back 
     338 
    264339    rewrap_box: 
    265340       - 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  
    3232              - "I'm the beer savior, remember?" 
    3333              - gratitude 
    34               - quest.hasFinishedQuest('beer') and quest.['fedex'].getValue('beer_quality') >= 1 
     34              - quest.hasFinishedQuest('beer') and quest['fedex'].getValue('beer_quality') >= 1 
    3535            -  
    3636              - "I'm looking for Pekko, you seen him?" 
  • trunk/game/quests/beer.yaml

    r396 r406  
    2424        goal_value: 'Read' 
    2525 
     26    farmer_beer_convinced: 
     27        value: 0 
     28        goal_value: 1 
     29 
    2630    yeast_available: 
    2731        value: 1 
    2832        goal_value: 0 
    2933        # 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. 
    3040 
    3141QUEST_PROPERTIES: 
  • trunk/game/quests/fedex.yaml

    r396 r406  
    3333    accused_of_murder: 
    3434        value: '' 
    35         goal_value: 'pekko' 
     35        goal_value: 'bart' 
    3636        # 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 
    3843          
    3944    open_box: 
Note: See TracChangeset for help on using the changeset viewer.