rathena/npc/re/other/CashShop_Functions.txt
Atemo 031c522c8a - Fixed F_CashSiegeTele typo in item_db.
- Moved VIP_Third_Class function from other/CashShop_Functions into other/re/CashShop_Functions (only used in re folder).
- Fixed a mistake in quests/quests_nameless.txt blame me  36f337ea41a876ef471bfbb78128e35fa0d9aa56
- re/quest/quests_eclage clean-up and bug fix

Signed-off-by: Atemo <capucrath@gmail.com>
2015-08-04 15:16:56 +02:00

41 lines
1.3 KiB
Plaintext

//===== rAthena Script =======================================
//= Cash Shop Functions
//===== Description: =========================================
//= Functions related to the VIP system.
//===== Changelogs: ==========================================
//= 1.0 Moved VIP_Third_Class function
//= from other/CashShop_Functions. [Capuche]
//============================================================
// VIP Functions
//============================================================
function script VIP_Third_Class {
if (!vip_status(1)) {
mes "[Voice from nowhere]";
mes "Access to Premium content is only available to those who possess a certain amount of Reset Stones.";
next;
if (countitem(6320) < 1) {
mes "[Voice from nowhere]";
mes "In order to change to third class, you must bring 1 ^0000CCReset Stone^000000 or have a Premium account.";
//mes "Please visit our iShop to purchase the ^0000CCReset Stone^000000.";
close;
} else {
mes "[Voice from nowhere]";
mes "Would you like to participate in this quest for 1 ^0000CCReset Stone^000000?";
next;
switch(select("Yes:No")) {
case 1:
mes "[Voice from nowhere]";
mes "Good luck, adventurer.";
delitem 6320,1; //Premium_Reset_Stone
next;
break;
case 2:
mes "[Voice from nowhere]";
mes "Very well.";
close;
}
}
}
return;
}