summaryrefslogtreecommitdiff
path: root/npc/001-11/event_soulmenhir.txt
blob: d2fe8bb14079af5c5277d40727def30c2019c0e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// 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.");
    next;
    mesn;
    mes l("Event weapons and cards will be deleted once event ends.");
    close;

OnInit:
    .distance = 5;
    end;
}