summaryrefslogtreecommitdiff
path: root/world/map/npc/029-2/sorfina.txt
blob: 3dc7845b3575f13515e1ed5bc56b0f7bbf12d71e (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
// This file is part of the Tutorial
// Author: Jenalya
029-2,27,27,0|script|Sorfina|154,0,1
{
    set @npc_distance, 2;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    goto L_Start;

L_Start:
    mes "Welcome to TMW Hardcore.";
    mes "This server is intented to provide a bigger challenge to players who have mastered the main server.";
    mes "";
    mes "The game rules are slightly different here:";
    mes "- Death is permanent.";
    mes "- Obtaining experience and leveling is much faster.";
    mes "- The level cap is 127 and stats can go to 120.";
    mes "- Killing other players is possible in most maps (except safe zones).";
    mes "- Upon killing a player, you obtain all of their belongings.";
    mes "";
    mes "If you die you may start over by creating a new character.";

    if (QL_BEGIN >= 8) goto L_Close;

    getitem "Knife", 1;
    getitem "SlingShot", 1;
    getitem "SlingBullet", 500;
    getitem "HitchhikersTowel", 1;
    getitem "CottonShirt", 1;
    getitem "RaggedShorts", 1;
    set Zeny, Zeny + 35;
    set QL_BEGIN, 8;
    set TUT_var, gettimetick(2);
    close;

L_Close:
    close;

OnTouch:
    if (QL_BEGIN > 0)
        end;
    goto L_Start;
}

029-2,44,31,0|script|#DoorOutTut1|45,0,0
{
    if (QL_BEGIN < 4)
        goto L_Block;
    mapmask getmask();
    warp "029-2", 112, 85;
    end;

L_Block:
    message strcharinfo(0), "Sorfina : ##BWait a moment! ##bYou're not ready to leave.";
    // FIXME: this should be changed to npctalk with strcharinfo(0) once we increase the view area
    end;
}