// TMW2 scripts.
// Author:
// Jesusalva
// Description:
// Special Soul Menhir which only allows leaving the map.
001-11,37,31,0 script Soul Stone#001-11 NPC_SOUL_CLEAN,{
mesn;
mes l("(A mystical aura surrounds this stone. It probably can return you home. What do you do?)");
menu
l("Touch it."), L_Warp,
rif(!#VALENTINE_EQUIPMENT2020 && gettime(GETTIME_YEAR) == 2020, l("Obtain event equipment")), L_EVTC2020,
l("Leave it alone."), -;
close;
L_Warp:
warp "Save", 0, 0;
close;
// Special labels
L_EVTC2020:
showavatar NPC_BARD_TRUMP;
mes l("Welcome! Here to pick a weapon? You'll be able to select three skill cards as well.");
next;
inventoryplace NPCEyes, 4, Iten, 1;
mesc l("Are you sure you want to begin now? (Cannot be changed later)"), 1;
next;
if (askyesno() == ASK_NO)
close;
mes "";
mes l("Select your preferred play-style.");
select
l("A soldier, with a sword and a shield"),
l("A warrior, with a long blade"),
l("A ranger, with a powerful bow"),
l("A wizard, with a might wand");
mes "";
#VALENTINE_EQUIPMENT2020=true;
switch (@menu) {
case 1:
getitembound Event1HSword, 1, 1;
getitem FalkonCard, 1;
break;
case 2:
getitembound Event2HSword, 1, 1;
getitem FalkonCard, 1;
break;
case 3:
getitembound EventBow, 1, 1;
getitem ArrowShowerCard, 1;
break;
case 4:
getitembound EventWand, 1, 1;
getitem FireballCard, 1;
break;
}
getitem HealCard, 1;
mes "";
mes l("Select a set of skills:");
select
l("I need to survive anything!"),
l("I need support magic!"),
l("I need offensive magic!"),
l("I need supreme warrior skills!"),
l("I need supreme ranger skills!");
mes "";
switch (@menu) {
case 1: // Survival Magic
getitem LastStandCard, 1;
getitem CowardCard, 1;
break;
case 2: // Support Magic
getitem HighPriestCard, 1;
getitem FullPowerCard, 1;
break;
case 3: // Offensive Magic
getitem NatureWallCard, 1;
getitem MagicalMVPCard, 1;
break;
case 4: // Warrior Magic
getitem SupremeWarriorCard, 1;
getitem VersatileCard, 1;
break;
case 5: // Ranger Magic
getitem SupremeRangerCard, 1;
getitem VersatileCard, 1;
break;
}
mesn;
mes l("And, that's all.");
mesc l("Protip: You can trade the cards, but only before inserting them."), 9;
mesc l("You can make any build you want! But inserted cards cannot be removed!"), 9;
next;
mesn;
mes l("To insert a card, select the card and \"use\" it, or, drag and drop them to the weapon.");
mesc l("You can only insert up to 3 (three) cards per weapon!"), 1;
next;
mesn;
mes l("Event weapons and cards will be deleted once event ends.");
close;
OnInit:
.distance = 5;
end;
}