Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Old Forester
- 018-1.gat,51,61,0 script Old Forester 156,{
- if(Old == 2) goto L_Done;
- if(Old == 1) goto L_Progress;
- mes "[Old Forester]";
- mes "\"Oh, hello friend.";
- mes "What would you like?\"";
- menu
- "You looks so sad. What has happened?!", L_Q1,
- "Who are you?", L_Answ1,
- "Oh, nothing...", -;
- close;
- L_Answ1:
- mes "[Old Forester]";
- mes "\"Ah, it's very long story.";
- mes "Let me know if you have some time to listen to me.\"";
- menu
- "I have some free time.", L_Answ2,
- "Back.", L_main_menu,
- "I have no time", -;
- close;
- L_Answ2:
- mes "[Old Forester]";
- mes "\"Good, lets start.";
- mes "It happened today when I was getting items to make my own wooden shop.";
- mes "I was walking in a forest, when suddenly mouboo hit me with its leg.";
- mes "All mine small mushrooms and mouboos figurines fell on a ground and I ran to home.";
- mes "I lost all of mine items, but can you help me?.";
- mes "Also I saved Bunch of Parsley, and for me it's very lucky item.\"";
- menu
- "Exactly I can!.", L_Q1,
- "What the Bunch Of Parsley is?!", L_Bunch,
- "Never...", -;
- close;
- L_Q1:
- mes "[Old Forester]";
- mes "\"I lost my item and as I see you're ready to help.";
- mes "Lets start from the list of item I need:";
- mes "15 [Small Mushroom]s,";
- mes "5 [Mouboo Figurine]s,";
- mes "Can you get it?.\"";
- menu
- "Yes.", L_Q2,
- "To hard...", -;
- close;
- L_Q2:
- set @TEMP, rand(3);
- if(@TEMP == 0) goto L_Q3;
- if(@TEMP == 1) goto L_Q4;
- if(@TEMP == 2) goto L_Q5;
- L_Q3:
- mes "[Old Forester]";
- mes "\"Do you remember?";
- mes "15 Small Mushrooms and 5 Mouboo Figurines.\"";
- next;
- goto L_Set;
- L_Q4:
- mes "[Old Forester]";
- mes "\"Please, I'm to old and can't find my 15 [Small Mushroom]s and 5 [Mouboo Figurine]s.\"";
- next;
- goto L_Set;
- L_Q5:
- mes "[Old Forester]";
- mes "\"Please, bring me 15 [Small Mushroom]s and 5 [Mouboo Figurine]s and I'll give you a small gift.\"";
- next;
- goto L_Set;
- L_Set:
- set Old,1;
- mes "[Old Forester]";
- mes "\"Please bring me them!\"";
- close;
- L_Progress:
- if (countitem("SmallMushroom") < 15) goto L_NotEnough;
- if (countitem("MoubooFigurine") < 5) goto L_NotEnough;
- mes "[Old Forester]";
- mes "\"Great!";
- mes "Thank you for help very much!\"";
- getinventorylist;
- if ((@inventorylist_count - (countitem("SmallMushroom") == 15) - (countitem("MoubooFigurine") == 5)) > 99 - (countitem("BunchofParsley") == 0)) goto L_TooMany;
- delitem "SmallMushroom", 15;
- delitem "MoubooFigurine", 5;
- getitem "BunchofParsley", 1;
- set Old,2;
- close;
- L_NotEnough:
- mes "[Old Forester]";
- mes "\"Hurry up or you wouldn't like to get gift. Bring: 15 [Small Mushroom]s and 5 [Mouboo Figurine]s.\"";
- close;
- L_Done:
- mes "[Old Forester]";
- mes "\"Thank you, I made my own store!";
- mes "Thank you again!\"";
- close;
- L_TooMany:
- mes "[Old Forester]";
- mes "\"You don't have room for my reward. I'll wait until you do.\"";
- close;
- L_Bunch:
- mes "[Old Forester]";
- mes "\"Ok, I'll tell you about it.";
- mes "It began, when the god was living on the Earth.";
- mes "He was making wood for a fire, when suddenly he noticed very beautifull brunch.";
- mes "God touched it and it became smaller and smaller.";
- mes "God took it, and it became as a bunch.";
- mes "After this he gave it to people, and they called it parsley.";
- mes "So, as you see I have bunch of parsley, which god made himelf.";
- mes "Need something more?";
- next;
- goto L_main_menu;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement