summaryrefslogtreecommitdiff
path: root/npc/001-1/portal.txt
blob: 3dbcc32dea32b40a758f7ef9dfa37f9e35162345 (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  Manages warps at Aeros

001-1,235,25,0	script	Worlds Gate	NPC_HIDDEN,1,0,{

OnTouch:
    mesn;
    mes l("This Portal can send your soul back to the world, along any items, money and/or experience gained.");
    mes l("Would you like to leave this place?");
    menu
        l("No."), L_Close,
        rif(is_master() && !$@GM_EVENT, l("Enable Event")), L_Enable,
        rif(is_master() && $@GM_EVENT, l("Disable Event")), L_Disable,
        l("Yes."), L_Leave;

L_Leave:
    warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
    goto L_Close;

L_Enable:
    mesc l("WARNING: Deprecated!"), 1;
    mesc l("Please don't use this function in future!");
    $@GM_EVENT=1;
    close;

L_Disable:
    $@GM_EVENT=0;
    $@MK_SCENE=MK_NONE;
    close;

// Uses l() to translate utilities
L_TranslationFix:
    // Mobs
    mes l("Magic Maggot");
    mes l("Monster");
    mes l("Monster King");
    mes l("Monster General");
    mes l("Monster Admiral");
    mes l("Monster Major");
    mes l("Monster Captain");
    mes l("Monster Lieutenant");
    mes l("Monster Sergeant");
    mes l("Monster Soldier");
    mes l("Random Bif");
    mes l("Summoned Monster");
    mes l("Scout");
    mes l("Desert Pirate");
    mes l("Marsh Pirate");
    mes l("Buccaneer");
    mes l("Corsair");
    mes l("Pirate Lord");
    mes l("Duck Soldier");
    mes l("Duck Initiate");
    // Configs
	mes l("Human");
	mes l("Ukar");
	mes l("Redy");
	mes l("Elf");
	mes l("Orc");
	mes l("Raijin");
	mes l("Tritan");
    // Messages
    mes l("All monsters summoned!");
    mes l("Mercy has been granted.");
    mes l("Judgement has passed.");
    mes l("Warping to save point.");
    mes l("Your save point has been changed.");
    mes l("Warped.");
    mes l("Item created.");
    mes l("Welcome to TMW-2: Moubootaur Legends! We hope you have a great time in our server!");
    mes l("You have been jailed by a GM.");
    mes l("A GM has discharged you from jail.");
    mes l("This item cannot be dropped.");
    mes l("This item cannot be sold.");
    mes l("This item cannot be auctioned.");
    mes l("This item cannot be traded.");
    mes l("This item cannot be stored.");
    // Announcements
    mes l("I can't handle it anymore! NO MORE!");
    mes l("Come, my minions! Lay siege to towns! LEAVE NO OPPOSITION TO ME!");
    mes l("Burn, destroy, do whatever you need, until your last breath, my lieutenants and colonels!");
    mes l("The event is over!");
    mes l("The mana bridge to Aeros is open! To participate on event, talk to ##BSoul Menhir##b!");
    mes l("WARNING: Server will go down for scheduled maintenance in 15 minutes!");
    mes l("WARNING: Server will go down for scheduled maintenance in 10 minutes!");
    mes l("WARNING: Server will go down for scheduled maintenance in 5 minutes!");
    mes l("WARNING! WARNING! Monster Army is moving towards Hurnscald!!");
    mes l("WARNING! WARNING! Monster Army is moving towards Halinarzo!!");
    mes l("WARNING! WARNING! Monster Army is moving towards Nivalis!!");
    mes l("WARNING! WARNING! Monster Army is moving towards Tulimshar!!");
    mes l("People failed to rescue Cindy!");
    mes l("Players failed to defend the city!!");
    mes l("The city was defended with success! GG, everyone!");
    mes l("EVENT CANCELLED DUE TO PLAYER INACTIVITY");
    mes l("%s has EXILED %s from %s.", "", "", "");
    mes l("Aurora Events");
    mes l("Map cleared!");
    mes l("Moubootaur (Sealed)");
    mes l("Level Boss");
    // Legendary Messages
    mesc l("WARNING: The %s is a %s. Besides being insanely powerful, no duplicate of them exist in the world. They can be tweaked freely and can hold multiple cards as well, and scale according to your level. Use its powers wisely. However, beware: This weapon cannot be traded except with \"@grantpower\" command, and if you abandon the world, the weapon will abandon you as well!", getitemlink(Acorn), b(l("legendary weapon"))), 1;
    mesc l("%s, you did your best to avenge a fallen comrade. It is my wish that you continue protecting this world. Therefore, I bestow upon you, the legendary %s. Please use its powers to protect your friend and the world peace!", "", getitemlink(Acorn)), 2;
    mesc l("%s, you did your best to protect this world inhabitants. It is my wish that you continue protecting this world. Therefore, I bestow upon you, the legendary %s. Please use its powers to protect your friend and the world peace!", "", getitemlink(Acorn)), 2;
    mesc l("%s, you did your best to entertain me. It is my wish that you continue protecting this world. Therefore, I bestow upon you, the legendary %s. Please use its powers to protect your friend and the world peace!", "", getitemlink(Acorn)), 2;
    mesc l("%s, you proved your worth today. It is my wish that you continue protecting this world. Therefore, I bestow upon you, the legendary %s. Please use its powers to protect your friend and the world peace!", "", getitemlink(Acorn)), 2;
    mesc l("%s, your dedication is touching. It is my wish that you continue protecting this world. Therefore, I bestow upon you, the legendary %s. Please use its powers to protect your friend and the world peace!", "", getitemlink(Acorn)), 2;

    // Internal
    mesc b(l("        0 This file is automatically generated. Editing it will have no effect.")), 1; // ;- TRANSLATORS: Do not translate
    mesc b(l("        1 Please translate at https://transifex.com/arctic-games/moubootaur-legends/ instead.")), 1; // ;- TRANSLATORS: Do not translate
    mes l("sample");
    close;

L_Close:
    closedialog;
    close;
}

// This is a copy for west Aeros
001-1,23,107,0	script	World Gate 2	NPC_HIDDEN,1,0,{
OnTouch:
    mesn;
    mes l("This Portal can send your soul back to the world, along any items, money and/or experience gained.");
    mes l("Would you like to leave this place?");
    select
        l("No."),
        l("Yes.");

    if (@menu == 2)
        warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
    closedialog;
    close;
}