Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.73 KB | None | 0 0
  1. //
  2.  
  3. 002-1.gat,15,67,0   script  Samuel  132,{
  4.     mes "[Samuel the Nomad]";
  5.     mes "\"This is really a nice place.\"";
  6.  
  7.     mes "Don't you think so?\"";
  8.     close;
  9. }
  10.  
  11. 002-1.gat,18,68,0   script  Elijah  128,{
  12.  
  13.     if(BaseLevel < 60) goto L_Nolvl;
  14.     if(TMW_Quest == 53) goto L_Done;
  15.     if(TMW_Quest == 52) goto L_SleepingBag;
  16.     if(TMW_Quest == 51) goto L_Rise;
  17.     if(TMW_Quest == 50) goto L_Bag;
  18.     if(TMW_Quest == 49) goto L_Patchs;
  19.     if(TMW_Quest == 48) goto L_Ingridients;
  20.     if(TMW_Quest == 47) goto L_Tent;
  21.     if(TMW_Quest == 45) goto L_Results;
  22.     if(TMW_Quest == 44) goto L_Weather;
  23.     if(TMW_Quest == 43) goto L_Answer;
  24.     if(TMW_Quest == 42) goto L_Message;
  25.     if(TMW_Quest == 41) goto L_Stones;
  26.  
  27.     mes "[Elijah the Nomad]";
  28.     mes "\"Hm, young traveler. As I see you're good in running, can you help me?\"";
  29.     menu
  30.         "I can", -,
  31.         "Nope", L_No;
  32.        
  33.     mes "[Elijah the Nomad]";
  34.     mes "\"Some days ago I have arrived from a trek and got a lot of interesting types of stones.\"";
  35.     next;
  36.     mes "[Elijah the Nomad]";
  37.     mes "\"My friend is scientist, and I wanted to give him my stones, but I'm to tired. Can you help me with it?\"";
  38.     menu
  39.         "Yes", L_Yes,
  40.         "No", L_No;
  41.  
  42. L_Yes:
  43.     mes "[Elijah the Nomad]";
  44.     set TMW_Quest, 41;
  45.     mes "\"He's living near Hurnscland. His name is Rasker, I hope you'll meet him. Good luck.\"";
  46.     close;
  47.  
  48. L_Nolvl:
  49.     mes "[Elijah the Nomad]";
  50.     mes "\"If I only had a tent...\"";
  51.     close;
  52.  
  53. L_Stones:
  54.     mes "[Elijah the Nomad]";
  55.     mes "\"Please, bring this stones to Rasker. He's near Hurnscland.\"";
  56.     close;
  57.  
  58. L_No:
  59.     close;
  60.  
  61. L_Message:
  62.     mes "[Elijah the Nomad]";
  63.     set TMW_Quest, 43;
  64.     mes "\"Hello! As I see you gave stones to Rasker, good.\"";
  65.     menu
  66.         "Wait, he asked me to bring you a message.", -;
  67.        
  68.     mes "[Elijah the Nomad]";
  69.     mes "\"Message? Can you show it to me?\"";
  70.     next;
  71.     mes "[Elijah the Nomad]";
  72.     mes "He reads the message and his eyes became very big.";
  73.     next;
  74.     mes "[Elijah the Nomad]";
  75.     mes "\"Hm, good. Can you bring him my answer?\"";
  76.     menu
  77.         "Sure!", -;
  78.        
  79.     mes "[Elijah the Nomad]";
  80.     mes "\"Thanks.\"";
  81.     close;
  82.  
  83. L_Answer:
  84.     mes "[Elijah the Nomad]";
  85.     mes "\"Please, bring my answer to Rasker. He's waiting near Hurnscland.\"";
  86.     close;
  87.  
  88. L_Weather:
  89.     mes "[Elijah the Nomad]";
  90.     mes "\"Interesting, why it's so cold in hot desert...\"";
  91.     close;
  92.  
  93. L_Results:
  94.     mes "[Elijah the Nomad]";
  95.     set TMW_Quest, 47;
  96.     mes "\"Great, you made it! You brought results!\"";
  97.     next;
  98.     mes "[Elijah the Nomad]";
  99.     mes "\"Hm, I have some problem with living in this desert. Can you ask one of my friends, how I can make a tent?\"";
  100.     next;
  101.     goto L_Tent;
  102.  
  103. L_Tent:
  104.     mes "[Elijah the Nomad]";
  105.     mes "\"He's living in one of the houses on the east of Tulimsar. His name is Swet.\"";
  106.     close;
  107.  
  108. L_Ingridients:
  109.     mes "[Elijah the Nomad]";
  110.     set TMW_Quest, 49;
  111.     mes "\"Did you ask him?\"";
  112.     menu
  113.         "Yes, hi asked me to give you this list", -;
  114.        
  115.     mes "[Elijah the Nomad]";
  116.     mes "\"Good. And now, can you help me with getting this ingredients?\"";
  117.     menu
  118.         "Sure", -;
  119.        
  120.     mes "[Elijah the Nomad]";
  121.     mes "\"I need 12 [Leather Patch]s for the tent. Please, get it.\"";
  122.     close;
  123.  
  124. L_Patchs:
  125.     if (countitem("leatherpatch") < 12) goto L_NotEnough;
  126.     mes "[Elijah the Nomad]";
  127.     set TMW_Quest, 50;
  128.     mes "\"Wow, thanks you! Now I'll need to have sleeping bag, because of it's to cold in desert.\"";
  129.     delitem "leatherpatch", 12;
  130.     next;
  131.     mes "[Elijah the Nomad]";
  132.     mes "\"Please, ask Swet, how can I make a sleeping bag.\"";
  133.     close;
  134.  
  135. L_Bag:
  136.     mes "[Elijah the Nomad]";
  137.     mes "\"Please, ask Swet, how can I make a sleeping bag.\"";
  138.     close;
  139.  
  140. L_NotEnough:
  141.     mes "[Elijah the Nomad]";
  142.     mes "\"I need 12 [Leather Patch]s for the tent. Please, get it.\"";
  143.     close;
  144.  
  145. L_Rise:
  146.     mes "[Elijah the Nomad]";
  147.     mes "\"Always when I'm sitting on this place, I always remember mountains and sun.\"";
  148.     close;
  149.  
  150. L_SleepingBag:
  151.     mes "[Elijah the Nomad]";
  152.     set TMW_Quest, 53;
  153.     mes "\"Looks good. Thanks you traveler. For all your honor I want to make a small present. Thanks for all again!\"";
  154.     getitem "blackboots", 12;
  155.     getexp 50000, 0;
  156.     close;
  157. }
  158.  
  159. //
  160.  
  161. 008-1.gat,121,18,0  script  Rasker  107,{
  162.  
  163.     if(TMW_Quest >= 46) goto L_Rest;
  164.     if(TMW_Quest == 45) goto L_Results;
  165.     if(TMW_Quest == 44) goto L_Scorpions;
  166.     if(TMW_Quest == 43) goto L_Answer;
  167.     if(TMW_Quest == 42) goto L_Message;
  168.     if(TMW_Quest == 41) goto L_Stones;
  169.    
  170.     mes "[Rasker]";
  171.     mes "\"It's so sunny and good day.\"";
  172.     close;
  173.  
  174. L_Stones:
  175.     mes "[Rasker]";
  176.     set TMW_Quest, 42;
  177.     mes "\"It's so sunny and good day.\"";
  178.     menu
  179.         "Hey, aren't you Rasker, the scientist?", -,
  180.         "Maybe", L_No;
  181.        
  182.     mes "[Rasker]";
  183.     mes "\"Who are you and why you know me? You are right, but you are to strange.\"";
  184.     menu
  185.         "Elijah asked me to give you some stones", -;
  186.        
  187.     mes "[Rasker]";
  188.     mes "\"Ah, Elijah. Yes, he told me that you'll come. Sorry me, I forgot.\"";
  189.     next;
  190.     mes "[Rasker]";
  191.     mes "\"I have a small message for him. Please, give it to him.\"";
  192.     menu
  193.         "I will", -;
  194.        
  195.     mes "[Rasker]";
  196.     mes "\"Good luck!\"";
  197.     close;
  198.  
  199. L_No:
  200.     close;
  201.  
  202. L_Message:
  203.     mes "[Rasker]";
  204.     mes "\"Please, bring this list of paper to Elijah.\"";
  205.     close;
  206.  
  207. L_Answer:
  208.     mes "[Rasker]";
  209.     set TMW_Quest, 44;
  210.     mes "\"Hi! Did Elijah received my letter?\"";
  211.     menu
  212.         "Yes. He asked me to give you an answer.", -;
  213.  
  214.     mes "[Rasker]";
  215.     mes "\"Please, give it to me.\"";
  216.     next;
  217.     mes "[Rasker]";
  218.     mes "\"Hm, he's asking me to look on lava ingredients. I need 5 [Scorpion Stinger]s for it.\"";
  219.     next;
  220.     mes "[Rasker]";
  221.     mes "\"Please, get 5 [Scorpion Stinger]s for me.\"";
  222.     close;
  223.  
  224. L_Scorpions:
  225.     if (countitem("scorpionstinger") < 5) goto L_NotEnough;
  226.     mes "[Rasker]";
  227.     set TMW_Quest, 45;
  228.     mes "\"Good, you brought it. Now, can you give this letter back to Elijah?\"";
  229.     delitem "scorpionstinger", 5;
  230.     menu
  231.         "Sure!", -;
  232.        
  233.     mes "[Rasker]";
  234.     mes "\"Thanks you!\"";
  235.     close;
  236.  
  237. L_Results:
  238.     mes "[Rasker]";
  239.     mes "\"Hey, I was working under this results. Bring them to Elijah!\"";
  240.     close;
  241.  
  242. L_Rest:
  243.     mes "[Rasker]";
  244.     mes "\"Science s so interesting!\"";
  245.     close;
  246.  
  247. L_NotEnough:
  248.     mes "[Rasker]";
  249.     mes "\"Please, get 5 [Scorpion Stinger]s for me.\"";
  250.     close;
  251.  
  252. L_Done:
  253.     mes "[Rasker]";
  254.     mes "\"Tent and sleeping bag are so good, thanks a lot!\"";
  255.     close;
  256. }
  257.  
  258. //
  259.  
  260. 021-1.gat,148,68,0  script  Swet    142,{
  261.  
  262.     if(TMW_Quest >= 52) goto L_Sun;
  263.     if(TMW_Quest == 51) goto L_Sleeping;
  264.     if(TMW_Quest == 50) goto L_Bag;
  265.     if(TMW_Quest == 49) goto L_Day;
  266.     if(TMW_Quest == 48) goto L_Ing;
  267.     if(TMW_Quest == 47) goto L_Tent;
  268.  
  269.     mes "[Swet]";
  270.     mes "\"Tulimsar is so big and beautiful!\"";
  271.     close;
  272.    
  273. L_Tent:
  274.     mes "[Swet]";
  275.     mes "\"Hello, what do you want?\"";
  276.     menu
  277.         "Elijah asked me to ask you, how he can make a tent.", L_Ingridients,
  278.         "Nothing", L_No;
  279.  
  280. L_No:
  281.     close;
  282.  
  283. L_Ingridients:
  284.     mes "[Swet]";
  285.     set TMW_Quest, 48;
  286.     mes "\"Ok, here you are instructions for him. Give it to him.\"";
  287.     close;
  288.  
  289. L_Ing:
  290.     mes "[Swet]";
  291.     mes "\"Please, give all instructions to Elijah.\"";
  292.     close;
  293.  
  294. L_Day:
  295.     mes "[Swet]";
  296.     mes "\"I hope it will help Elijah.\"";
  297.     close;
  298.  
  299. L_Bag:
  300.     mes "[Swet]";
  301.     mes "\"Hi, what do you want to know?\"";
  302.     menu
  303.         "How can Elijah get a sleeping bag?", L_Sleep,
  304.         "Nothing", L_No;
  305.  
  306. L_Sleep:
  307.     mes "[Swet]";
  308.     set TMW_Quest, 51;
  309.     mes "\"Ah, this one. For that he need a lot of experience of tailing. I'll make it for him.\"";
  310.     next;
  311.     mes "[Swet]";
  312.     mes "\"But for it I need 20 [Cotton Cloth]s and 40 [White Fur]s. Please, get it.\"";
  313.     close;
  314.  
  315. L_Sleeping:
  316.     if (countitem("CottonCloth") < 20) goto L_NotEnough;
  317.     if (countitem("WhiteFur") < 40) goto L_NotEnough;
  318.     mes "[Swet]";
  319.     set TMW_Quest, 52;
  320.     mes "\"Great, you made it. Now, give this sleeping bag to Elijah.\"";
  321.     delitem "CottonCloth", 20;
  322.     delitem "WhiteFur", 40;
  323.     close;
  324.  
  325. L_Sun:
  326.     mes "[Swet]";
  327.     mes "\"It's such a good day today, isn't it?\"";
  328.     close;
  329. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement