
Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
87 lines
3.0 KiB
Plaintext
87 lines
3.0 KiB
Plaintext
//===== rAthena Script =======================================
|
|
//= Children Week Event
|
|
//===== By: ==================================================
|
|
//= Samuray22
|
|
//===== Current Version: =====================================
|
|
//= 1.1
|
|
//===== Compatible With: =====================================
|
|
//= rAthena SVN
|
|
//===== Description: =========================================
|
|
//= [Aegis Conversion]
|
|
//= Indian Ro: Children Week Event
|
|
//===== Additional Comments: =================================
|
|
//= 1.1 First Beta. [Samuray22]
|
|
//============================================================
|
|
|
|
prontera,146,91,5 script Pandit chacha#child07 61,{
|
|
if(BaseLevel > 50) {
|
|
mes "[Pandit chacha]";
|
|
mes "Hahaha.";
|
|
mes "It is special day, comes only one time in a year.";
|
|
mes "If you see little adventurers around you send to me~";
|
|
mes "I will give the special gift.";
|
|
close;
|
|
} else if(BaseLevel < 20) {
|
|
mes "[Pandit chacha]";
|
|
mes "Hahaha.";
|
|
mes "You are a baby adventurer not little adventurer.";
|
|
mes "When you more grow up, come back again. hahaha.";
|
|
close;
|
|
} else if(oversea_event9 < 1) {
|
|
mes "[Pandit chacha]";
|
|
mes "Hahaha.";
|
|
mes "Welcome, little adventurers!";
|
|
mes "Today is special day, isn't it~?";
|
|
mes "I would like to give the small gift to little adventurer...";
|
|
mes "What about you? Do you want to take it?";
|
|
next;
|
|
if(select("No. I will take it later.","Sure, i want.") == 1) {
|
|
mes "[Pandit chacha]";
|
|
mes "That's too bad.... hum...";
|
|
mes "I gathered some stuffs from far a way world to make it....";
|
|
mes "Whenever come back again if you want it...";
|
|
close;
|
|
}
|
|
set oversea_event9,1;
|
|
getitem 11705,10; //Children's Potion
|
|
mes "[Pandit chacha]";
|
|
mes "Look. This is a child Potion.";
|
|
mes "The weight is just 1 but recover much HP.";
|
|
mes "If you want to get more, bring the 1 Wedding Bouquet and 1 Witherless Rose.";
|
|
close;
|
|
} else if(oversea_event9 == 1) {
|
|
if(countitem(745) > 0 && countitem(748) > 0) {
|
|
mes "[Pandit chacha]";
|
|
mes "Ahha!!";
|
|
mes "You have remembered my beautiful composition.";
|
|
mes "You did good work.";
|
|
mes "Could you give me 1 Wedding Bouquet and 1 Witherless Rose? ";
|
|
next;
|
|
if(select("Not yet.","Sure, take it.") == 1) {
|
|
mes "[Pandit chacha]";
|
|
mes "If you are not prepared yet, call me when you ready.";
|
|
close;
|
|
}
|
|
mes "[Pandit chacha]";
|
|
mes "Hahaha.";
|
|
mes "Oh~ you get it.";
|
|
mes "Here, I will exchange to the 50 child potion.";
|
|
mes "Once you get this 50 child potion, I won't give any more.";
|
|
close2;
|
|
delitem 745,1; //Wedding Bouquet
|
|
delitem 748,1; //Witherless Rose
|
|
set oversea_event9,2;
|
|
getitem 11705,50; //Children's Potion
|
|
end;
|
|
}
|
|
mes "[Pandit chacha]";
|
|
mes "Little adventurers, you should bring the 1 Wedding Bouquet and 1 Witherless Rose.";
|
|
mes "If you bring these stuffs I will exchange them for child Potion. ";
|
|
close;
|
|
}
|
|
mes "[Pandit chacha]";
|
|
mes "Hahaha.";
|
|
mes "Are you enjoying children week~? ";
|
|
close;
|
|
}
|