Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - main
 - {
 - questname "Getting a fishingpole!"
 - version 1.0
 - }
 - State Begin
 - {
 - desc "Talk to The Fisher Bob!"
 - action AddNpcText(1, "Hello! Can you do favor? I give you my old fishingpole if you complete my task!");
 - action AddNpcInput(1, 1, "I will do it!");
 - action AddNpcInput(1, 2, "No, I am not doing it!");
 - rule InputNpc(1) goto GetWormsFromJerald
 - }
 - State GetWormsFromJerald
 - {
 - desc "Go get some worms from Jerald!"
 - action AddNpcText(1, "I am out of baits, go get some worms to me from Jerald, will ya? He sells some baits! or his son, Jr. Jerald.");
 - action AddNpcText(2, "Hello, what you need?");
 - action AddNpcInput(2, 1, "I need some baits!");
 - action AddNpcInput(2, 2, "Nothing, bye!");
 - rule InputNpc(1) goto GetWorms
 - }
 - State GetWorms
 - {
 - desc "Get 10 Worms!"
 - action AddNpcText(2, "I do not have any at the moment, but I know where you can get some!");
 - action AddNpcText(2, "There is house which is occupied by worms, kill them and you get some baits!" );
 - rule GotItems(3,10) goto GiveWorms
 - }
 - State GiveWorms
 - {
 - desc "Give 10 baits to Fisher Bob!"
 - action AddNpcText(1, "Hello, matey, did you got some baits for me?");
 - action AddNpcText(1, "Oh you have some! Can you give me those!?");
 - action AddNpcInput(1, 2, "Okay, here you go!");
 - action AddNpcInput(1, 1, "I won't give these, sorry!");
 - rule InputNpc(2) goto Thanks
 - rule LostItems(3,10) goto GetWorms
 - }
 - State Thanks
 - {
 - desc "Get fishingpole from Fishing Bob!"
 - action RemoveItem(3,10);
 - action AddNpcText(1, "Hey, thanks, Now I will give you my old fishing pole, its my lucky fishing pole, so use it carefully, maybe you will get that luck what I had. Do not lose it, I do not have another one if you lose that!");
 - rule TalkedToNpc(1) goto Reward
 - }
 - State Reward
 - {
 - action GiveExp(1000);
 - action GiveItem(22, 1);
 - action End();
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment