summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/class.txt30
-rw-r--r--npc/functions/clientversion.txt26
2 files changed, 28 insertions, 28 deletions
diff --git a/npc/functions/class.txt b/npc/functions/class.txt
index b4d1466e3..09db90013 100644
--- a/npc/functions/class.txt
+++ b/npc/functions/class.txt
@@ -160,11 +160,11 @@ L_T2_Fail:
delitem SunnyCrystal, 1;
} else {
mesn;
- mes col(l("WARNING. YOU ARE CHEATING THE SUNNY CRYSTAL QUEST."), 1);
+ mesc l("WARNING. YOU ARE CHEATING THE SUNNY CRYSTAL QUEST."), 1;
next;
mesn;
- mes col(l("YOU WILL BE PENALIZED WITH 60% OF HEALTH."), 1);
- mes col(l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1);
+ mesc l("YOU WILL BE PENALIZED WITH 60% OF HEALTH."), 1;
+ mesc l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1;
percentheal -60, -100;
close;
}
@@ -175,18 +175,18 @@ L_T2_Fail:
delitem JesusalvaGrimorium, 1;
} else {
mesn;
- mes col(l("WARNING. YOU ARE CHEATING THE GRIMORIE QUEST."), 1);
+ mesc l("WARNING. YOU ARE CHEATING THE GRIMORIE QUEST."), 1;
next;
mesn;
- mes col(l("YOU WILL BE PENALIZED WITH 70% OF HEALTH."), 1);
- mes col(l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1);
+ mesc l("YOU WILL BE PENALIZED WITH 70% OF HEALTH."), 1;
+ mesc l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1;
percentheal -70, -100;
close;
}
}
- mes col(l(".:: Mission Failed ::."), 1);
- mes col(l("You ran out of time."), 1);
+ mesc l(".:: Mission Failed ::."), 1;
+ mesc l("You ran out of time."), 1;
mes "";
mes l("You should have gotten here @@.", FuzzyTime(QUEST_ELEVARTEMPO,0,2));
ST_TIER=1;
@@ -203,7 +203,7 @@ L_T2_S0:
if (getskilllv(.@CLASS) == 1 && MAGIC_LVL >= 2 && ST_TIER == 6) goto L_T2_S6;
if (getskilllv(.@CLASS) == 1 && MAGIC_LVL >= 2 && ST_TIER <= 9) goto L_T2_S7;
if (getskilllv(.@CLASS) == 1 && MAGIC_LVL >= 2 && ST_TIER == 10) goto L_T2_Final;
- mes col(l("Error, error, L_T2_S0 General Error, REPORT ME"), 9);
+ mesc l("Error, error, L_T2_S0 General Error, REPORT ME");
close;
L_T2_S1:
@@ -241,10 +241,10 @@ L_T2_S1:
set QUEST_ELEVARTEMPO, gettimetick(2) + (60 * 35);
getexp 400, 0;
mesn;
- mes col(l("The class master mix the powder with the slime inside the bottle, and makes some weird mixture."), 9);
+ mesc l("The class master mix the powder with the slime inside the bottle, and makes some weird mixture.");
next;
mesn;
- mes col(l("He pours something on it, you're not sure what. He then utters some magic words."), 9);
+ mesc l("He pours something on it, you're not sure what. He then utters some magic words.");
next;
// Reset timer, this is the place where it should really happen.
set QUEST_ELEVARTEMPO, gettimetick(2) + (60 * 35);
@@ -275,7 +275,7 @@ L_T2_S3:
mesq l("Good, you did it!");
next;
mesn;
- mes col(l("*chants more words, while the crystal hovers the potion*"), 9);
+ mesc l("*chants more words, while the crystal hovers the potion*");
next;
L_T2_S4:
@@ -303,7 +303,7 @@ L_T2_S4:
getexp .@r*3, 0;
//getitem MagicPotion, 1;
- mes col(l("You quickly give him the herbs, and he skillfully mix them on a potion."), 9);
+ mesc l("You quickly give him the herbs, and he skillfully mix them on a potion.");
next;
// You'll get a random amount of time, based on spent herbs
// Usually, 10~73 sec, being 73 sec = 1m13s
@@ -340,8 +340,8 @@ L_T2_Final:
skill(SM_PROVOKE, 1, 0);
addtoskill(.@CLASS,2,0);
getexp 40000, 0; // Yes, 40k experience points. Waw.
- mes col(l(".:: Congratulations! ::."), 2);
- mes col(l("You advanced your tier!"), 2);
+ mesc l(".:: Congratulations! ::."), 2;
+ mesc l("You advanced your tier!"), 2;
next;
mesn;
mesq l("Keep the Grimorie with you. It's the proof you are now Tier 2. The book shall guide your advances!");
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 6b49a15e2..043777d08 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -18,8 +18,8 @@ function script checkclientversion {
UPDATE=gettimetick(2);
Lang=0;
mesn "Jesus Saves";
- mes col(l("Oh, noes! Due lack of translators, some languages were removed from this project."), 9);
- mes col(l("You might have been affected. Please, select your desired language."), 9);
+ mesc l("Oh, noes! Due lack of translators, some languages were removed from this project.");
+ mesc l("You might have been affected. Please, select your desired language.");
asklanguage(LANG_IN_SHIP);
if (!#ADD_LVL)
close;
@@ -27,19 +27,19 @@ function script checkclientversion {
// #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted.
if (#ADD_LVL) {
mesn "Jesus Saves";
- mes col(l("Oh - Welcome to TMW2: Moubootaur Legends!"), 3);
+ mesc l("Oh - Welcome to TMW2: Moubootaur Legends!"), 3;
next;
mesn "Jesus Saves";
- mes col(l("Please, fell at home. You can use ##B#world##b channel to speak to everyone on Discord, IRC and ingame."), 3);
+ mesc l("Please, fell at home. You can use ##B#world##b channel to speak to everyone on Discord, IRC and ingame."), 3;
next;
mesn "Jesus Saves";
- mes col(l("Our mission statement is to bring fun to all players. You'll get some levels automatically. We advise you to join a guild."), 3);
+ mesc l("Our mission statement is to bring fun to all players. You'll get some levels automatically. We advise you to join a guild."), 3;
next;
mesn "Jesus Saves";
- mes col(l("If you have any trouble or doubt, don't hesit to call us. There are some cooperative quests, and more of them are being added."), 3);
+ mesc l("If you have any trouble or doubt, don't hesit to call us. There are some cooperative quests, and more of them are being added."), 3;
next;
mesn "Jesus Saves";
- mes col(l("Anyway, ##Bwelcome##b, and have fun! If you need anything, we are a keypress from distance!"), 3);
+ mesc l("Anyway, ##Bwelcome##b, and have fun! If you need anything, we are a keypress from distance!"), 3;
atcommand "@blvl "+#ADD_LVL;
#ADD_LVL=0;
// TODO: Use @super debug functions and force player to join a guild. We will need the guild ID, though.
@@ -47,7 +47,7 @@ function script checkclientversion {
if (ClientVersion >= 24) close;
next;
mesn "Failsafe Mechanism";
- mes col(l("Ah... You must update your client first."), 1);
+ mesc l("Ah... You must update your client first."), 1;
next;
}
if (is_admin() && UPDATE < 1528369855) {
@@ -58,14 +58,14 @@ function script checkclientversion {
if (ClientVersion >= 24) return;
mesn "Narrator";
- mes col(l("Warning."), 1);
- mes col(l("Warning."0, 1);
- mes col(l("Warning: You are using an old client."), 9);
+ mesc l("Warning."), 1;
+ mesc l("Warning."), 1;
+ mesc l("Warning: You are using an old client."), 1;
next;
- mes col(l("Please install the new client from [@@https://manaplus.org/|https://manaplus.org/@@]"), 9);
+ mesc l("Please install the new client from [@@https://manaplus.org/|https://manaplus.org/@@]");
next;
if (ClientVersion >= 22) return;
- mes col(l("You won't be allowed to play this game until you have an updated client."), 9);
+ mesc l("You won't be allowed to play this game until you have an updated client.");
next;
// Force user to disconnect
atcommand "@kick "+strcharinfo(0);