summaryrefslogtreecommitdiff
path: root/npc/000-0-0/sailors.txt
blob: fbef0f3c39da41f1527126a06768ef6d90bbc8c6 (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
// TMW2 Script
// Modified by Jesusalva
// Evol scripts.
// Authors:
//    Ablu
//    Qwerty Dragon
//    Jesusalva
// Description:
//    Introduction scene where two sailors talk about how the player was found on his raft.
//    Elmo will handle dialogs between both NPCs. Modified for TMW2 by Jesusalva
// Translation 
// FR translated
000-0-0,29,45,0	script	Elmo#sailors	NPC_ELMO,{

OnTalk:
    deltimer("Elmo#sailors::OnSlow");
    setcamnpc;
    showavatar NPC_ELMO;
    mesn "Elmo";
    mesq l("Hey. You. You were in need of medical attention earlier. Do you remember how to walk, talk, attack, etc?");
    next;
    select
        l("Actually, a tutorial would be good!"),
        l("Yes, I do.");

    if (@menu == 2) {
        mesn l("Magic Arpan");
        mesq l("Yeye don't need to train here anymore! Let's head back to the ship before the sun sets, shall we?");
        next;
        goto L_Skip;
    }

    // TODO
    showavatar NPC_MAGIC_ARPAN;
    mesn "Magic Arpan";
    mesq "bug report me tuto:89012";

    showavatar;
    mesn "Narrator";
    mesc l("It seems like you're finally safe. You shut your eyes and fall asleep.");
    mesc l("(Protip: Use ##Barrow keys##b to walk around once you wake up.)");
    next;

L_Skip:
    getitem CreasedShirt, 1;
    getitem CreasedShorts, 1;
    equip(CreasedShirt);
    equip(CreasedShorts);

L_Ready:
    restorecam;
    adddefaultskills;
    setq General_Narrator, 0;
    percentheal 100,100;
    addtimer(45000,"Magic Arpan::OnSlow");
    LOCATION$ = "Candor";
    warp "002-1@Candor", 53, 38;
    savepoint "002-1", 55, 40;
    closedialog;
    close;

// Prevent players from forgetting what they were meant to do
// But if they logout, this will never trigger
OnSlow:
    npctalk3 l("Hey @@! You haven't clicked on me yet!", strcharinfo(0));
    addtimer(30000,"Elmo#sailors::OnSlow2");
    end;

OnSlow2:
    npctalk3 l("@@, do you need help? Are you lost? Click me!", strcharinfo(0));
    dispbottom l("Click on Elmo or Magic Arpan to continue and begin the game...");
    addtimer(60000,"Elmo#sailors::OnSlow");
    end;

OnInit:
    .sex = G_MALE;
    end;
}

000-0-0,29,34,0	script	Magic Arpan#sailors	NPC_MAGIC_ARPAN,{
    doevent "Elmo#sailors::OnTalk";
    close;

OnInit:
    .sex = G_MALE;
    end;
}