Advertisement
hendra814

Santa Quest

Oct 1st, 2014
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.68 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////////////////////////////
  2. //= Santa Quest                                       //
  3. //======= By =============================================================================//
  4. //= Custody                                           //
  5. ////////////////////////////////////////////////////////////////////////////////////////////
  6. //= 1st Part Tooth Fairy                                  //
  7. ////////////////////////////////////////////////////////////////////////////////////////////
  8. prontera,164,174,3  script  Tooth Fairy 718,{
  9.     if(SG_QUEST1 == 1) goto L_SG_Q1_Done;
  10.     mes "[Tooth Fairy]";
  11.     mes "I know Santa was looking for someone who can help him to find his stuffs for this comming Christmas.";
  12.     mes "If he do not find all his stuff this is the most lonely chirstmas ever.";
  13.     mes "Will you help please help him to get all his stuff for this comming christmas?";
  14.     next;
  15.     menu "Yes, I will.",-,"Nah, I dont care.",L_SG_No;
  16.    
  17.     mes "[Tooth Fairy]";
  18.     mes "Thank you. I know where to find him. I will tell you if you help me to find a few stuff of Santa.";
  19.     mes "If you do it I will tell him that you are coming to help him.";
  20.     next;
  21.     menu "Yeah, I will help.",L_SG_1,"No way, I will find her with myself!",-;
  22.  
  23.     mes "[Tooth Fairy]";
  24.     mes "Sadness is in your heart.";
  25.     mes "I am the only one who knows where to find him.";
  26.     next;
  27.     mes "[Tooth Fairy]";
  28.     mes "Come back to me, when you given up.";
  29.     close;
  30. L_SG_1:
  31.     mes "[Tooth Fairy]";
  32.     mes "Ok before I tell you where to find him please look for this stuff: ";
  33.     mes "50 Candy Cane, ";
  34.     mes "50 Candy, ";
  35.     mes "100 Dead Branch, ";
  36.     mes "And 5.000.000.";
  37.     next;
  38.     menu "Alright, Over here.",L_SG_1_Check,"Nah, I cannot Afford it!",-;
  39.    
  40.     mes "[Tooth Fairy]";
  41.     mes "Sadness is in your heart.";
  42.     close;
  43. L_SG_1_Check:
  44.     if (countitem(530) < 50) goto L_SG_CC;
  45.     if (countitem(529) < 50) goto L_SG_C;
  46.     if (countitem(604) < 100) goto L_SG_DB;
  47.     if (zeny<5000000) goto L_SG_Funds;
  48.     delitem 530,50;
  49.     delitem 529,50;
  50.     delitem 604,100;
  51.     set zeny,zeny-5000000;
  52.     set SG_QUEST1,1;
  53.     mes "[Tooth Fairy]";
  54.     mes "Great Job, Now listen Carefully.";
  55.     next;
  56.     mes "[Tooth Fairy]";
  57.     mes "Look for Santa at the Snow City where he lived.";
  58.     mes "I have already send him a letter that you will help to find his stuff.";
  59.     close;
  60. L_SG_CC:
  61.     mes "[Tooth Fairy]";
  62.     mes "You do not bring what i need. Please come back later.";
  63.     close;
  64. L_SG_C:
  65.     mes "[Tooth Fairy]";
  66.     mes "You do not bring what i need. Please come back later.";
  67.     close;
  68. L_SG_DB:
  69.     mes "[Tooth Fairy]";
  70.     mes "You do not bring what i need. Please come back later.";
  71.     close;
  72. L_SG_Funds:
  73.     mes "[Tooth Fairy]";
  74.     mes "You do not bring what i need. Please come back later.";
  75.     close;
  76. L_SG_Q1_Done:
  77.     mes "[Tooth Fairy]";
  78.     mes "Ok, I have already tell you what I know go now and help him.";
  79.     next;
  80.     mes "[Tooth Fairy]";
  81.     mes "Go look for Santa, Dont waste your time, Hurry !.";
  82.     close;
  83. L_SG_No:
  84.     mes "[Tooth Fairy]";
  85.     mes "Sadness is in you heart.";
  86.     close;
  87. }
  88.  
  89. ////////////////////////////////////////////////////////////////////////////////////////////
  90. //= 2nd Part Santa                                        //
  91. ////////////////////////////////////////////////////////////////////////////////////////////
  92.  
  93. xmas,201,245,5  script  Santa   718,{
  94.     if(SG_QUEST1 == 1) goto L_SG_2;
  95.     mes "[Santa]";
  96.     mes "I dont have gift for you now.";
  97.     mes "I am still looking for my stuff.";
  98.     close;
  99. L_SG_2:
  100.     mes "[Santa]";
  101.     mes "Hello, Good day!.";
  102.     next;
  103.     mes "[Santa]";
  104.     mes "You came to help me to find my stuff, right?";
  105.     menu "Yes",L_SG_2_Start,"No, sorry to bother you.",-;
  106.  
  107.     mes "[Santa]";
  108.     mes "Sadness is in your heart";
  109.     close;
  110.  
  111. L_SG_2_Start:
  112.     mes "[Santa]";
  113.     mes "To make all the chilren happy, You need to find 50 Gift Box and 5000000z.";
  114.     next;
  115.     menu "Here you go.",L_SG_Q2_Check,"No, thanks.",-;
  116.  
  117.     mes "[Santa]";
  118.     mes "Sadness is in your heart.";
  119.     close;
  120.  
  121. L_SG_Q2_Check:
  122.     if (countitem(644) < 50) goto L_SG_GB;
  123.     if (zeny<5000000) goto L_SG_Funds;
  124.     delitem 644,50;
  125.     set zeny,zeny-5000000;
  126.     mes "[Santa]";
  127.     mes "Thank you for your help, I will give you a special gift for this christmas.";
  128.     next;
  129.     mes "[Santa]";
  130.     mes "There you go.";
  131.     getitem 12103,10;
  132.     getitem 12208,10;
  133.     getitem 7539,10;
  134. ////////////////////////////////////////////////////////////////////////////////////////////
  135. //= Quest Reset                                       //
  136. ////////////////////////////////////////////////////////////////////////////////////////////
  137.     set SG_QUEST1,0;
  138.     set Quest_natal,0;
  139.     next;
  140.     mes "[Santa]";
  141.     mes "Enjoy it.";
  142.     close;
  143. L_SG_GB:
  144.     mes "[Santa]";
  145.     mes "You dont have what i looking for.";
  146.     mes "Please continue finding my stuff.";
  147.     close;
  148. L_SG_Funds:
  149.     mes "[Santa]";
  150.     mes "You dont have what i looking for.";
  151.     mes "Please continue finding my stuff.";
  152.     close;
  153. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement