summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 02:00:51 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 02:00:51 -0300
commit98ba4904651a9d6cce3a4c79c85b609d02594bc5 (patch)
tree0a363ad631953ec0b5d1de0238fe569ba3b4086c
parent851912c893af673113b36bbdcc68b0db34f71cce (diff)
downloadserverdata-98ba4904651a9d6cce3a4c79c85b609d02594bc5.tar.gz
serverdata-98ba4904651a9d6cce3a4c79c85b609d02594bc5.tar.bz2
serverdata-98ba4904651a9d6cce3a4c79c85b609d02594bc5.tar.xz
serverdata-98ba4904651a9d6cce3a4c79c85b609d02594bc5.zip
Add monsterinfo spell, wich replaces the following ones:
inwilt miteyo inzuwilt
-rw-r--r--db/pre-re/skill_db.conf25
-rw-r--r--db/pre-re/skill_tree.conf1
-rw-r--r--npc/001-1/ched.txt13
-rw-r--r--npc/009-2/wyara.txt147
-rw-r--r--npc/011-1/auldsbel.txt308
-rw-r--r--npc/magic/final.txt2
-rw-r--r--npc/magic/level0-monsterinfo.txt38
-rw-r--r--npc/scripts.conf1
8 files changed, 300 insertions, 235 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf
index 3ce93c4a..3b0a5f41 100644
--- a/db/pre-re/skill_db.conf
+++ b/db/pre-re/skill_db.conf
@@ -38644,6 +38644,29 @@ skill_db: (
SPCost: 3
}
},
-// Wand Abizit FlareDart Alizarin Cobalt Gamboge Mauve Lum MagicBlade Sulphur Kalmurk Parum ArrowHail Barrier(OK) EnchantLifestone FlyingBackpack(?) Joyplim Hide(?) LayOnHands Ingrav Knuclkes MakeArrow MakeIronPowder MakeShirt MakeTanktop MakeSTanktop Protect Rain Shear SFluffy SMouboo SPinkie SSnake SSPiky SWicked ToxicDart Necro
+{
+ Id: 20024
+ Name: "SKILL_MONSTERINFO"
+ Description: "Monsterinfo"
+ MaxLevel: 1
+ Range: 15
+ SkillType: {
+ Enemy: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+ Hit: "BDT_SKILL"
+ AttackType: "Magic"
+ Element: "Ele_Fire"
+ DamageType: {
+ NoDamage: true
+ }
+ CoolDown: 500
+ Requirements: {
+ SPCost: 3
+ }
+},
+// Alizarin Cobalt Gamboge Mauve Lum MagicBlade Sulphur Kalmurk Parum ArrowHail Barrier(OK?) EnchantLifestone FlyingBackpack(?) Joyplim Hide(?) LayOnHands Ingrav Knuclkes MakeArrow MakeIronPowder MakeShirt MakeTanktop MakeSTanktop Protect Rain Shear SFluffy SMouboo SPinkie SSnake SSPiky SWicked ToxicDart Necro
)
diff --git a/db/pre-re/skill_tree.conf b/db/pre-re/skill_tree.conf
index 0a8a975a..fe956da4 100644
--- a/db/pre-re/skill_tree.conf
+++ b/db/pre-re/skill_tree.conf
@@ -67,6 +67,7 @@ Talpan: {
// Level 1
SKILL_ABIZIT: 1
+ SKILL_MONSTERINFO: 1
EVOL_AREA_PROVOKE: 9
SKILL_FLAR: 9
diff --git a/npc/001-1/ched.txt b/npc/001-1/ched.txt
index 1c774e9e..0db13b97 100644
--- a/npc/001-1/ched.txt
+++ b/npc/001-1/ched.txt
@@ -1,9 +1,14 @@
001-1,43,48,0 script Ched NPC113,{
- mes "[Ched]";
- mes "\"I'm trying to get work on my Alchemy homework, but I'm having some trouble.\"";
- mes "\"I'm supposed to combine two potions to create a " + getitemlink("ConcentrationPotion") + ", but I can't seem to figure out which two to combine...\"";
+ mesn;
+ mesq l("I'm trying to get work on my Alchemy homework, but I'm having some trouble.");
next;
- mes "\"Maybe I should go back to practicing '" + get(.invocation$, "detect-magic") + "' until I can make potions properly.\" %%6";
+ mesn;
+ mesq l("I'm supposed to combine two potions to create a %s, but I can't seem to figure out which two to combine...", getitemlink(ConcentrationPotion));
+ next;
+ mesn;
+ mes l("\"Maybe I should go back to practicing '%s' until I can make potions properly.\" %%6", b("monsterinfo"));
+ if (getskilllv(SKILL_MAGIC) > 1)
+ learnskill SKILL_MONSTERINFO;
close;
}
diff --git a/npc/009-2/wyara.txt b/npc/009-2/wyara.txt
index 977d7409..a311f1ec 100644
--- a/npc/009-2/wyara.txt
+++ b/npc/009-2/wyara.txt
@@ -51,7 +51,7 @@ L_Main:
goto L_Shop;
L_Shop:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Please have a look at the shelf behind me.\"";
close;
@@ -75,14 +75,14 @@ L_Question:
if (@c == @QQ_OLDWIZ) goto L_Q_old_wizard;
if (@c == @QQ_ASTRALSOUL) goto L_Q_astralsoul;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I fear that I can't help you with that.\"";
next;
goto L_Main;
L_Q_astralsoul:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"The astral soul skill? Yes, I have heard about that. It can be taught by old and wise mages usually.\"";
next;
mes "\"You need lots of practise until you can handle the ability, and even more practise until you have the powers to teach it to someone else.\"";
@@ -90,17 +90,17 @@ L_Q_astralsoul:
goto L_Main;
L_Q_old_wizard:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I don't know his name, but I do know that he has been living in the mountains since I first came here. He is a master of many schools of magic, I believe.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "She smiles.";
mes "\"He is also a nice and friendly person to talk to, and quite knowledgeable about the teas of this area.\"";
next;
goto L_Main;
L_Q_elanore:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Elanore is the Tulimshar healer. She is a very kind person and an outstanding healer.\"";
next;
goto L_Main;
@@ -108,23 +108,23 @@ L_Q_elanore:
L_Q_manaseed:
if (!@has_magic && (MAGIC_FLAGS & MFLAG_TOUCHED_MANASEED))
goto L_Q_manaseed_unabsorbed;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"A mana seed? I'm afraid that I can't help you with that.\"";
next;
goto L_Main;
L_Q_manaseed_unabsorbed:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"So you touched the mana seed but weren't able to absorb its powers? That means that you're lacking a natural magical ability. Still, there are ways around that.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"If you drink a mana potion, you should be able to retain this magical power and slowly build up a magical skill.\"";
MAGIC_FLAGS = MAGIC_FLAGS | MFLAG_KNOWS_MANAPOTION;
next;
goto L_Main;
L_Q_manapotion:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I have a simple recipe for making mana potions, but I don't have one ready right now. Can you bring me 40 mauve leaves and a bottle of water? I can make one from those quite easily.\"";
next;
menu
@@ -132,7 +132,7 @@ L_Q_manapotion:
"No.", L_Main;
L_manapotion_toomany:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Hmm... looking at you, I don't think that you would be able to carry it.\"";
next;
goto L_Main;
@@ -153,48 +153,48 @@ L_make_manapotion:
delitem "BottleOfWater", 1;
getitem "ManaPotion", 1;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "Wyara takes your mauve leaves, grinds them, and pours some of the resultant paste into her cauldron. She then takes your bottle and sticks it into her brew, head-first.";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "The water in the bottle takes on a strange golden hue, but doesn't flow out.";
mes "After a while, she retrieves the bottle and pours some of the liquid into a smaller clay bottle. She proceeds to mix in the rest of the paste, then plugs the bottle and shakes it.";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I shall keep the rest of your water and the bottle as a payment, if you don't mind. But here is the potion; let it rest for a minute before you use it for maximum effect.\"";
next;
goto L_Main;
L_make_manapotion_lack:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"No, we need forty mauve leaves and a bottle of water.\"";
next;
goto L_Main;
L_Q_imp:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Sagatha told me that she imprisoned an evil earth spirit in a dried-up well. She wants it to stay there until it has mended its ways, or forever, if it doesn't.\"";
next;
goto L_Main;
L_Q_sagatha:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "Wyara smiles.";
mes "\"You have met Sagatha? She's a wonderful person, isn't she? Well, she does hold back a little towards humans, but deep down she feels for them, too.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"She does hold all plants and animals very dear, though. Well, the peaceful ones more than the aggressive ones, I suppose, and scorpions not very much at all.\"";
next;
goto L_Main;
L_Q_auldsbel:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Auldsbel... the guild wizard? I don't know him very well; as far as I know, he is only visiting.\"";
next;
goto L_Main;
L_M_no:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I am sorry, but you don't seem to be able to control any magic. That means that I really can't help you with that.\"";
next;
goto L_Main;
@@ -202,7 +202,7 @@ L_M_no:
L_Magic:
if (!@has_magic)
goto L_M_no;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Perhaps I can help you a little, but I am not a master of any school of magic.\"";
next;
goto L_M_main;
@@ -215,13 +215,13 @@ L_M_main:
"Never mind.", L_Main;
L_M_explain:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Magic is just a name for the force that lives in all plants and animals and emanates from there into all things, living or dead.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Some things it finds easier to pass through – natural things, living things – but dead things, such as rock or metal, can slow it down.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"There are different kinds of magic, too; nature, astral, and so on, but if this interests you, you should talk to a scholar.\"";
next;
goto L_M_main;
@@ -231,13 +231,13 @@ L_M_spell:
goto L_M_spell3;
if (getskilllv(SKILL_MAGIC) > 1)
goto L_M_spell2;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"No... I don't think that you are ready yet. But please ask me again when you have some more control over your magical powers.\"";
next;
goto L_M_main;
L_M_spell3:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Now that you know the basics of nature magic, here is one of my favourites: '" + get(.invocation$, "rain") + "' will summon rain, whereever you are standing. It will consume a bottle of water, though.\"";
if (getskilllv(SKILL_MAGIC) < 2)
mes "\"You are not powerful enough to use it yet, though; you will first have to absorb more magic from the mana seed.\"";
@@ -245,23 +245,16 @@ L_M_spell3:
goto L_M_spell2;
L_M_spell2:
- mes "[Wyara the Witch]";
- // FIXME: Replace with @monsterinfo
- mes "\"Here is another useful one: '" + get(.invocation$, "detect-players") + "'. It will tell you the names of everyone nearby, but beware that there are ways to protect against it.\"";
- if (getskilllv(SKILL_MAGIC) < 2)
- mes "\"Hmm. You aren't powerful enough for this one either yet, I think.\"";
- next;
- if (!(getpartnerid()))
- goto L_M_main;
- mes "[Wyara the Witch]";
- mes "\"Married partners can find each other even more easily. Use the '" + get(.invocation$, "sense-spouse") + "' spell instead.\"";
+ mesn l("Wyara the Witch");
+ mesq l("Here is another useful one: '%s'. It will tell you the stats of the target monster, so you can know how dangerous it is.", b("monsterinfo"));
+ learnskill SKILL_MONSTERINFO;
next;
goto L_M_main;
L_M_train:
if (getskilllv(SKILL_MAGIC_NATURE) > 1)
goto L_M_train_no;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
if (@Q_status >= @STATUS_PURIFY_EXPLAINED)
goto L_M_train_wb;
mes "\"Train you? No... you should talk to Sagatha.\"";
@@ -269,7 +262,7 @@ L_M_train:
next;
callfunc "SagathaStatus";
if (@evil) goto L_M_train_evil;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"It would be difficult to ask her to accept you unless you understand some of the basics already.\"";
next;
goto L_M_train_dispatch;
@@ -296,13 +289,13 @@ L_M_train_dispatch:
if (@Q_status == @STATUS_PURIFY_EXPLAINED)
goto L_M_purify_explained;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Well, let me help you get started, then! But first, to make sure that you are serious, I have a small task for you.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"There is a pond west of Hurnscald, a very small one, almost square in shape, with a rock on its southern ledge leading to its center. This pond is close to dying.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I want to save it; for that, someone will have to pour a purification potion into it.\"";
next;
@Q_status = @STATUS_PURIFY_EXPLAINED;
@@ -313,7 +306,7 @@ L_M_purify_explained:
if (countitem("PurificationPotion"))
goto L_M_purify_doit;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"To make the purification potion, I will need twenty maggot slimes and twenty leaves of mauve.\"";
next;
menu
@@ -332,36 +325,36 @@ L_Next:
delitem "MauveHerb", 20;
delitem "MaggotSlime", 20;
getitem "PurificationPotion", 1;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "Wyara grinds the leaves and mixes them with the slime, boils them, then speaks a brief incantation over them and hands you the result.";
next;
goto L_M_purify_doit;
L_M_purify_doit:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Take your purification potion to the pond, right next to its center, and pour the potion in.\"";
close;
L_M_purify_nospace:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"You don't have enough space to carry the potion. Please come back later.\"";
next;
goto L_M_main;
L_M_purify_lacking:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"You'll need twenty mauve leaves and twenty maggot slimes for the potion.\"";
next;
goto L_M_main;
L_M_purify_once:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "Wyara nods.";
mes "\"You have purified the pond a little, but not enough, I think. We'll need another potion.\"";
next;
if (countitem("PurificationPotion"))
goto L_M_purify_doit2;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I'll need twenty more maggot slimes and leaves of mauve.\"";
next;
menu
@@ -380,22 +373,22 @@ L_Next1:
delitem "MauveHerb", 20;
delitem "MaggotSlime", 20;
getitem "PurificationPotion", 1;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "Wyara brews another purification potion.";
next;
goto L_M_purify_doit2;
L_M_purify_doit2:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Please apply this one quickly, again.\"";
close;
L_M_purify_done:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "Wyara smiles at you.";
mes "\"A friend told me... you have saved the pond for now. Perhaps it will need some more attention later, but I'll ask others for this.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Please sit down and touch the ground.\"";
next;
menu
@@ -403,19 +396,19 @@ L_M_purify_done:
"No way!", L_M_purify_abort;
L_Next2:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "You sit down and touch the ground, and so does Wyara.";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "You sense the earth, through the floor boards, and begin to feel one with it, as if you were a plant or rock.";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "The gentle breeze coming in through the window begins to take on a very different quality, as if it were the gentle caress of a mother soothing her child.";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "You can sense the water within the ground, and from it you sense your sisters and brothers, plants, animals, people...";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "Slowly, the sensation recedes, but you feel changed.";
@SUP_xp = 5000;
@SUP_lvl = 2;
@@ -425,12 +418,12 @@ L_Next2:
close;
L_M_purify_abort:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I can't help you if you don't subject yourself to the ritual.\"";
close;
L_M_train_no:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I can't teach you anything at this time. Perhaps Sagatha can help you, but I'm not sure if she will accept you as a student.\"";
next;
goto L_M_train_sagatha;
@@ -442,7 +435,7 @@ L_M_train_sagatha:
L_Next3:
callfunc "SagathaStatus";
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
if (@evil)
goto L_M_train_s_fail;
if (getskilllv(SKILL_MAGIC) < 2)
@@ -456,11 +449,11 @@ L_Next3:
next;
if (@druid == 3)
goto L_M_main;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "She smiles.";
mes "\"Actually, I think I know of a good thing you could do. There is a very special tree in the desert south-east of Tulimshar, a tree that has been there for a very long time.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"The tree is slowly dying – and has been for a long time – but it is there because of a wonderful thing that happened long ago. Tend to it, and I am sure that she will learn about this.\"";
next;
MAGIC_FLAGS = MAGIC_FLAGS | MFLAG_KNOWS_DRUIDTREE;
@@ -470,44 +463,44 @@ L_Next3:
"Nah.", L_M_main;
L_Next4:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"The tree has been there alone and unattended for a long time; what he needs most is water and affection. Give him both.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "She hesitates for a moment.";
mes "\"But stay away from the well in the area. There is no water in there anymore, and it's also dangerous.\"";
next;
goto L_M_main;
L_M_train_t_backgd:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Many generations ago, there was a lush, green oasis in the desert south-east of Tulimshar. Plants of all kinds grew there, and many animals, including mouboos, made this place their home.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Then there came war, and some people pleaded to the demon Grenxen. He founded Tulimshar, and to provide it with water he changed the underground waterflow. The oasis began to dry out quickly.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"But the oasis, like many such places back in the old days, had a druid watching over it. The druid refused to accept what Grenxen had done, but he was powerless to revert or change it.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"All he could do was to delay the inevitable, to give the animals and nomads some time to adapt.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"But to do so, he had to reach the water streams deep underground. Thus, he turned himself into a tree, a deep-rooted fyrad, so that his roots could reach underground.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"He had to exert himself tremendously; he had to grow deep, quickly; I believe that no druid or witch has summoned such magic before or since. But he succeeded, and for a while he saved the oasis.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Many generations he remained the only one ever to have successfully defied Grenxen, but this came at a price: he had to remain a tree, and he never turned back.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"I believe that he has not forgotten his old magic, because even though a tree remembers many things for a very long time, trees are not keen to change things, not even themselves.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Now he stands alone in the desert, dried-up and forgotten, with no-one remembering him.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Please give him water, for he is always in need of it, and thank him for his sacrifice. It is all we can do for him now.\"";
next;
goto L_M_t_menu;
@@ -520,16 +513,16 @@ L_M_t_menu:
"No.", L_M_main;
L_M_t_water:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"A bottle of water would probably not be enough. No, you would have to water the ground all around... that's too many bottles. You will have to get water from elsewhere.\"";
next;
goto L_M_t_menu;
L_M_t_remind:
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Give him a sign of affection. Something that works with a tree, but also something that humans might do to each other, to remind him of his days as a human.\"";
next;
- mes "[Wyara the Witch]";
+ mesn l("Wyara the Witch");
mes "\"Yes... that would be important. Show your affection in the same way that you might towards a human.\"";
next;
goto L_M_t_menu;
diff --git a/npc/011-1/auldsbel.txt b/npc/011-1/auldsbel.txt
index 5a37dbe9..e20dd8ab 100644
--- a/npc/011-1/auldsbel.txt
+++ b/npc/011-1/auldsbel.txt
@@ -113,13 +113,13 @@ L_Intro_who_are_you:
callsub S_Update_Var;
MAGIC_FLAGS = MAGIC_FLAGS | MFLAG_KNOWS_AULDSBEL;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"That means that I'm a wizard, in case you were wondering.\"";
next;
goto L_Main_menu;
L_short_intro:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Welcome back, Padric!\"";
next;
goto L_Main_menu;
@@ -165,16 +165,16 @@ L_Main_menu_magic:
"Goodbye.", L_close;
L_Ironpowder:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"No, I do not know the spell for this. I expect that it shouldn't be too hard an invocation, but I'm too busy to work it out.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I know that they used to make iron ore around here, though, many years ago. Perhaps the secret is still hidden somewhere?\"";
next;
goto L_Main_menu;
L_Sulphur:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
@Cost = 400 - (@Q_component_quest * 30);
mes "\"Sulphur powder? Ah, so we have picked up a little offensive magic, haven't we? Good thinking, good thinking. And yes, of course I can transmute volcanic ashes into sulphur powder at a ratio of 1:20, for " + @Cost + " GP.\"";
next;
@@ -203,25 +203,25 @@ L_Sulphur_buy:
Zeny = Zeny - @Cost;
delitem "PileOfAsh", 1;
getitem SulphurPowder, 20;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I shall transmute it later. Here, have five half-ounces from my own stock.\"";
next;
goto L_Main_menu;
L_Sulphur_noZeny:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"No GP, no service.\"";
next;
goto L_Main_menu;
L_Sulphur_noash:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Without volcanic ash, I can't give you any sulphur powder. Try hunting some fire goblins, or somesuch.\"";
next;
goto L_Main_menu;
L_Sulphur_noroom:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Hmm, you really managed to squeeze something into every little place you had that we could have stored the powder in... you might want to return once you have resolved this matter.\"";
next;
goto L_Main_menu;
@@ -229,19 +229,19 @@ L_Sulphur_noroom:
L_Sul_t_s:
if (@Q_component_quest <= 4)
goto L_Sul_t_s_no;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Very well, then. You have been quite helpful with my experiments, after all. As you may have noticed, the spell takes a pile of volcanic ashes. Close your hands around it, then whisper the invocation.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"That invocation is '" + get(.invocation$, "make-sulphur") + "'.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"You may find that you can transmute the powder more effectively after a while; that is perfectly natural.\"";
next;
goto L_Main_menu;
L_Sul_t_s_no:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Hmm... how about this: you help me with a few of my experiments, and I tell you?\"";
next;
menu
@@ -249,16 +249,16 @@ L_Sul_t_s_no:
"No.", L_Next;
L_Next:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Then I fear that I shall not reveal the spell to you either.\"";
next;
goto L_Main_menu;
L_about_magic:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Magic is a universal force that comes from within; only few individuals have the power to channel and manipulate it. Most magic users resort to spells – prefabricated invocations – to access and control their magical power.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Most spells are claimed by one of the five schools of magic. To properly use them, a magic user need not only have sufficient prowess in magic overall, but also in the specifics of that particular school.\"";
next;
goto L_a_m_minimenu;
@@ -272,7 +272,7 @@ L_a_m_minimenu:
"Never mind.", L_Main_menu;
L_a_m_schools:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"With few exceptions, all spells belong to one of the five schools of magic: Transmutation, War, Astral, Life, and Nature.\"";
next;
goto L_a_s_minimenu;
@@ -288,95 +288,97 @@ L_a_s_minimenu:
"Thank you.", L_a_m_minimenu;
L_about_transmutation:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Transmutation magic deals with forming matter into a new shape. Some advanced transmutation magic can also expose special properties of the material in question.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "He smiles.";
mes "\"Transmutation magic is the engine of human civilization. By allowing us to shape buildings, tools, and other items according to the power of our imagination, it gives us mastery over nature.\"";
next;
goto L_a_s_minimenu;
L_about_astral:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Astral magic comprises a family of spells that connect the caster to the Astral World. This connection can be used to pull the caster 'through'-- effectively teleporting them – or to 'pull others through'-- summoning creatures.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"There are also some more direct uses of powers of the Astral World; mainly spells that affect other spells.\"";
next;
goto L_a_s_minimenu;
L_about_war:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"War magic deals with the inevitable necessity of struggle against other creatures, and sometimes even against other humans. War magic exclusively focuses on dealing damage and destruction.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"If you use War magic, you better have a Transmuter around for the aftermath, to clear up your collateral damage.\"";
next;
goto L_a_s_minimenu;
L_about_life:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Life magic deals with healing. Not much of a surprise there.\"";
next;
goto L_a_s_minimenu;
L_about_nature:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Nature magic is a rather subtle (and, in my eyes, rather weak) kind of magic that deals with manipulating nature as it is. Think of it as Transmutation magic without being able to actually shape things the way you want.\"";
next;
goto L_a_s_minimenu;
L_about_other_spells:
- mes "[Auldsbel the Wizard]";
- mes "\"A few spells are not claimed by any particular school of magic. In practice, this means that anyone can cast them if they just have sufficient magical power. The most prominent example is the 'detect magic' spell, '" + get(.invocation$, "detect-magic") + "'.\"";
+ mesn l("Auldsbel the Wizard");
+ mesq l("A few spells are not claimed by any particular school of magic. In practice, this means that anyone can cast them if they just have sufficient magical power. The most prominent example is the '%s' spell.", b("monsterinfo"));
+ if (getskilllv(SKILL_MAGIC) > 1)
+ learnskill SKILL_MONSTERINFO;
next;
goto L_a_s_minimenu;
L_a_m_advance:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Advancing in your magical powers must come from two sources: from within and from a person who can guide you in whichever school of magic you wish to advance.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"For advancing in your general magic power, you must practice magical spells. Make sure to vary them; you will learn little if you cast the same spell over and over. Also, spells that consume no components seem not to be very instructive in practice.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Once you have gathered enough spellcasting experience, you should be able to advance to the next level of magic. If you received your magic from a sponsor, you may have to seek out the sponsor again to advance.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Similarly, to advance in a particular school of magic, you should seek out someone sufficiently competent in that school. Each school has a different rite for advancing its students, so make sure to talk to the right person.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I myself am a Transmutation Wizard. Of course I know some spells from the other schools, but my focus is on Transmutation. Theoretically speaking, I can advance you in this school.\"";
next;
goto L_a_m_minimenu;
L_a_m_learn:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Finding and learning new spells is of course important in a magic user's quest towards becoming a full-fledged wizard.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Some wizards will be willing to share their knowledge, usually for a price. But they are not the only sources of magical spells: many magical books contain spells, and you can occasionally find them written down in the most unusual of places.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Some are even hiding as part of folklore or gossip. Of course, for those it can sometimes be hard to determine just what their prerequisites are...\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"If you decide to hunt for spells, make sure to keep a journal with you. Some spell invocations may only cross your path once in your lifetime; you must not allow them to get away!\"";
next;
goto L_a_m_minimenu;
L_a_m_spells:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Magical spells are shortcuts, true magic bound to a word. No-one today remembers how they were created at the beginning of time, though many have tried to find it out, and failed...\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"These magical words are the spells' invocations. Spoken by someone who can't use magic, or by someone who doesn't satisfy the prerequisites, the word stands just for itself.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"But when spoken by a competent magic user, the word may unleash its effect – consuming any components it may require, draining the caster's mana, changing the world around it.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Some spells require catalysts on top of components, others vary in power depending on whom they are cast on or under what conditions. However, all spells are affected by the caster's astral power.\"";
next;
goto L_a_sp_minimenu;
@@ -392,61 +394,61 @@ L_a_sp_minimenu:
"Never mind.", L_a_m_minimenu;
L_about_astral_power:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"A person's astral power is determined by several factors: overall experience, intelligence, and any and all equipment the person may be wearing at a given time.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Greater astral power means more powerful spells. Since equipment can greatly decrease astral power, most magic users tend to be careful about what they wear – it takes a while to recover astral power even after armour is unequipped.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The worst offenders are metal items, particularly shields and body armour. Helmets and gloves get in the way, too. Still, a few special or enchanted items may even increase magical power.\"";
next;
goto L_a_sp_minimenu;
L_about_catalysts:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"A catalyst is a material prerequisite to a spell that is not consumed as part of the spell. For example, the Transmuter's Tablet is required to properly perform many of the more powerful transmutation spells, but it is never consumed.\"";
next;
goto L_a_sp_minimenu;
L_about_components:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"A material component is an item that is consumed as part of the spells magic. For example, when transmuting wood into arrows, you must consume a raw log to shape the arrows out of it.\"";
next;
goto L_a_sp_minimenu;
L_a_oth_prereq:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Some spells have additional requirements – they can only be cast underground, or when you are standing very close to the person you are casting them on, or only when you are wearing a particular enchanted item. Spells are quirky, so read their descriptions carefully – if you do find a description.\"";
next;
goto L_a_sp_minimenu;
L_about_speed:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Most spells are effective immediately, unless they require some complex astral connection – summoning or teleporting can take a while to take effect, for example. Still, after casting a spell you usually need a moment to recover before casting the next.\"";
next;
goto L_a_sp_minimenu;
L_about_auldsbel:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Well, there is no harm in giving you the general picture, I suppose.\"";
mes "He sighs, as if he had been forced to repeat something one time too many.";
mes "\"I am from the Council of Transmuters, the head organ of organized Transmutation magic in the known world.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The council oversees recruitment, education, accreditation, and, if necessary, disciplining of Transmuters.";
mes "It ensures that Transmuter conduct is according to its statutes and acts as representative and point of contact towards other entities.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Of all the schools of magic, the School of Transmutation is the most organised by far, and held in high esteem by rulers all across the world. Of course this is not only due to the outstanding and rigid structure of the school, but also because of the exceptional services that its members provide.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The Council, presently overseen by Lord Transmogrifier Pontorias the Plaid (May His Shape Reflect His Soul Forever), consists of fourty-nine members and is situated in the citadel of Dorngard, in the northern mountains near the Crimson Cascade.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The Council is sovereign over three hundred acres of land and nearby farming communities and has been ever since Yorick the Younger shaped Dorngard out of a mountain by sheer power of will, to build a home for the school his father had founded.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The Council has held peaceful relations with nearby realms for almost two centuries now and is widely regarded as a reliable partner in shaping civilization to allow it to evolve towards its next stage.\"";
next;
menu
@@ -454,17 +456,17 @@ L_about_auldsbel:
"Never mind.", L_Main_menu;
L_about_auldsbel_2:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Oh, myself? I am just vacationing in the area. Very relaxed and peaceful place, the Hurnscald area. And plenty of splendid specimens for experimentation.\"";
next;
goto L_Main_menu;
L_learn_magic:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel laughs heartily.";
mes "\"Hah, if only it were so easy! No, my young friend, I fear that 'learning magic' here is not an option. Either you are born with it, or without.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Sure, there are a few entities that may grant you magic – Ether Spirits or Mana Seeds or Great Dragons – but those are the stuff of legends, so I suggest that you don't waste your life trying to find one of them.\"";
next;
goto L_Main_menu;
@@ -493,7 +495,7 @@ L_Question:
if (@c == @QQ_ASTRALSOUL)
goto L_Q_astralsoul;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Let us talk about something else.\"";
next;
goto L_Main_menu;
@@ -502,7 +504,7 @@ L_Q_astralsoul:
if (!(getskilllv(SKILL_ASTRAL_SOUL)))
goto L_Q_astralsoul_L;
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Oh that is a really useful focus. It will help you doing magic of all kinds.\"";
next;
mes "\"...uhm...\"";
@@ -511,7 +513,7 @@ L_Q_astralsoul:
goto L_Main_menu;
L_Q_astralsoul_L:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Oh that is a really useful focus. It will help you doing magic of all kinds.\"";
next;
mes "\"I can try to teach you this ability.\"";
@@ -527,7 +529,7 @@ L_Q_astralsoul_L1:
if (Zeny < 11300)
goto L_Q_astralsoul_nz;
Zeny = Zeny - 11300;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Okay, listen:\"";
next;
mes "\"Some parts of your brain is still unused. These parts will now get the ability to get focused to magic.\"";
@@ -542,52 +544,52 @@ L_Q_astralsoul_L1:
@SUP_xp = 2500;
callfunc "SkillUp";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Now go and try to find someone who can actually activate that focus.\"";
next;
mes "\"You have the powers to focus on magic, but you need to get magic focused now.\"";
goto L_Main_menu;
L_Q_astralsoul_nz:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"When learning powerful stuff, you should try not to make so many jokes.\"";
next;
mes "\"Come back when you have the money.\"";
goto L_Main_menu;
L_Q_old_wizard:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I'm still not sure what exactly to make of him. At first appearance, he seems like a senile old man, but there can be no doubt that he has – or at least had, at some point – a very deep understanding of magic.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I have not had the opportunity to talk to him too much, though.\"";
next;
goto L_Main_menu;
L_Q_imp:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"There are many different kinds of spirits in the world. Some are good-natured, others evil; some are weak, others very powerful. I don't know the particular one you have encountered, though I urge caution.\"";
next;
goto L_Main_menu;
L_Q_elanore:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Ah, Elanore. A kind little woman. Also a very proficient healer, from what I have been told, though we have interacted little. If you are interested in Life magic, you might want to talk to her.\"";
next;
goto L_Main_menu;
L_Q_wyara:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The village witch? Not exactly the brightest person, but she has managed to figure out how to brew potions. I doubt that she can do any real magic, though.\"";
next;
goto L_Main_menu;
L_Q_sagatha:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel frowns.";
mes "\"That witch, hmm? She's a well-known trouble-maker, and quite a clever one at that; she once prevented us from cutting down a forest near Dorngaard that the villages wanted to use for farming, using some ingenious magic.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"That woman has spent too much time alone in the forests... I have the strong suspicion that she is more loyal towards her animals than towards us humans! I recommend that you stay away from her, if you value your well-being.\"";
next;
goto L_Main_menu;
@@ -598,7 +600,7 @@ L_Q_manaseed_rumour:
goto L_Main_menu;
L_Q_manaseed:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
if (@has_magic)
goto L_Q_manaseed_withmagic;
if (!(MAGIC_FLAGS & MFLAG_KNOWS_MANASEED)) // rumour only?
@@ -609,7 +611,7 @@ L_Q_manaseed:
goto L_Q_ms_tou;
mes "\"You have found an actual Mana Seed? That's impossible! Well, very unlikely... Then again, some others have told me similar rumours. I find it hard to believe that...\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Well, if it's true, then try touching it. That should do you no harm, but if you are very, very lucky, it just might grant you some minuscule amount of magical power.\"";
next;
goto L_Main_menu;
@@ -621,7 +623,7 @@ L_Q_ms_tou:
next;
if (MAGIC_FLAGS & MFLAG_KNOWS_MANAPOTION)
goto L_Q_ms_tou_short;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Legend has it that you can substitute for such control by imbibing a Mana Potion. I am not sure whether that legend is true, but for you it might be worth trying it out.\"";
next;
MAGIC_FLAGS = MAGIC_FLAGS | MFLAG_KNOWS_MANAPOTION;
@@ -634,13 +636,13 @@ L_Q_ms_tou_short:
"Thank you.", L_Main_menu;
L_where_mana_potion:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Well, quite a few alchemists should be able to brew one for you. Or maybe the village witch, even, though I personally would recommend seeing an alchemist.\"";
next;
goto L_Q_ms_tou_short;
L_make_mana_potion:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Well, I can transmute some components into a Mana Potion for you. Let's see... I will need one pearl, 10,000 GP, about twenty Mauve leaves, and some Gamboge ones... ten should do, I think. Oh, and a bottle of water, of course.\"";
next;
menu
@@ -674,10 +676,10 @@ L_Next1:
delitem "BottleOfWater", 1;
getitem "ManaPotion", 1;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel pockets your GP and the pearl, then stuffs the leaves into the bottle. Holding the bottle between his hands, he focuses briefly. The water and leaves flash bright red, then the leaves dissolve.";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "The wizard pours the resultant mixture into a different bottle. \"It will lose its power quickly if left in a glass bottle\", he explains.";
mes "He hands you the final result, which feels surprisingly heavy.";
next;
@@ -686,20 +688,20 @@ L_Next1:
"What about the pearl and GP?", L_Next2;
L_Next2:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel raises his eyebrows in surprise.";
mes "\"Those were payment. You don't expect me to work for free, now do you?\"";
next;
goto L_Main_menu;
L_mana_potion_toomuch:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Burdened as you are, I doubt you could carry it. Get rid of some of your old things first, will you?\"";
next;
goto L_Main_menu;
L_make_mp_miss:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"No, I need one pearl, 10,000 GP, 20 Mauve leaves, 10 Gamboge leaves, and one bottle of water.\"";
next;
goto L_Main_menu;
@@ -734,21 +736,21 @@ L_Quest:
goto L_c_quest_4;
if (@Q_component_quest == 5)
goto L_c_quest_5;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"You have been very helpful, but at this point I have everything I need. Except perhaps for a Wumpus Egg, though I have no idea where you could find one... If you ever come across one, I will give you a special reward for it, though.\"";
next;
goto L_Main_menu;
L_c_quest_0:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel is visibly delighted.";
mes "\"Ah, indeed, indeed! I can often use help with my experiments, and you just happen to be arriving at a particularly opportune time. See, I found this...\"";
mes "He pulls something from his pocket and shows it to you.";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"It's a silk cocoon. This area has been virtually infested with silkworms, from what I have seen. This is splendid! I will try to... do something very special with this one. But for that I will need twenty Mauve leaves.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"There are plenty of Mauve plants around, so I'm sure that you won't have a hard time finding the leaves.\"";
next;
menu
@@ -760,7 +762,7 @@ L_Next3:
goto L_c_quest_missing;
delitem "MauveHerb", 20;
Zeny = Zeny + 2500;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Well done, my young friend! Here is 2,500 GP to compensate you for your efforts.\"";
mes "[You gain 250 experience points]";
getexp 250, 0;
@@ -770,10 +772,10 @@ L_Next3:
goto L_Main_menu;
L_c_quest_1:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Good, good... I am trying to come up with a way to best use the Mauve leaves you brought me, but it seems that I will need further components. I am not sure about the exact composition yet, but I will need a few potions.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Please be a good helper and get me an iron potion, a concentration potion, and three small and three medium healing potions.\"";
next;
menu
@@ -795,7 +797,7 @@ L_Next4:
delitem "IronPotion", 1;
delitem "ConcentrationPotion", 1;
Zeny = Zeny + 2500;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Ah, excellent, excellent! These are precisely what I needed. Here is another 2,500 GP to compensate you for your efforts.\"";
mes "[You gain 500 experience points]";
getexp 500, 0;
@@ -805,10 +807,10 @@ L_Next4:
goto L_Main_menu;
L_c_quest_2:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Ah! Excellent! Yes, yes, indeed I need help. I have managed to transmute the components you brought me into a liquid that I believe to be a demetamorphosis stock, but it seems that the details still need some fine-tuning, and I am out of silk cocoons...\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I would like to run the next batch of experiments on a larger scale, though. Would you be so kind as to fetch me one hundred silk cocoons, please?\"";
next;
menu
@@ -820,7 +822,7 @@ L_Next5:
goto L_c_quest_missing;
delitem "SilkCocoon", 100;
Zeny = Zeny + 5000;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Splendid, splendid! Here is 5,000 GP for you.\"";
mes "Auldsbel attempts to cram the cocoons into his pockets, with little success. Finally he gives up and takes them into his hut.";
mes "[You gain 2,000 experience points]";
@@ -831,10 +833,10 @@ L_Next5:
goto L_Main_menu;
L_c_quest_3:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Yes... I'm actually not certain that my demetamorphosis stock will not drain the life out of these little creatures. Perhaps an alchemical revitalization tincture would be called for. Fortunately this one is easy, I can make it myself.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I'm still not sure how to integrate it into the spell... but leave that to me. Can you get me twenty-five red scorpion stingers and twenty-five lumps of maggot slime? Those should be just what I need.\"";
next;
menu
@@ -849,7 +851,7 @@ L_Next6:
delitem "RedScorpionStinger", 25;
delitem "MaggotSlime", 25;
Zeny = Zeny + 5000;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Good helper! Another 5,000 GP for you.\"";
mes "\"I believe that I have figured out one possible way to integrate the tincture into the spell... I will let you know how that goes.\"";
mes "[You gain 10,000 experience points]";
@@ -860,16 +862,16 @@ L_Next6:
goto L_Main_menu;
L_c_quest_4:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Hmm, yes... See, the thing is that transmuting living beings is not normally something that transmutation magic can do. It seems that the beings' life force must be overcome to transmute them, but that in turn kills them.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"But I was wondering whether creatures that already can auto-transmute – or metamorphose, as some people call it – might not allow themselves to be subjected to magical transmutation more easily... Still, all of my demetamorphosis attempts so far have failed.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I am thinking of injecting the life force of another creature, perhaps using some astral channeling. Snakes sound most promising, as they have a similar physical shape but a strong life force.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Could you get me twenty regular, cave, and mountain snake tongues, please? So a total of sixty tongues. This is where most of their life force is concentrated, incidentally.\"";
next;
menu
@@ -887,7 +889,7 @@ L_Next7:
delitem "CaveSnakeTongue", 20;
delitem "MountainSnakeTongue", 20;
Zeny = Zeny + 8000;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"8,000 GP should cover your efforts, I think.\"";
mes "\"Now let's see if this works...\"";
mes "[You gain 40,000 experience points]";
@@ -895,22 +897,22 @@ L_Next7:
@Q_component_quest = 5;
callsub S_Update_Var;
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel focuses on the bundle of snake tongues, which begins to assume a bright red colour, then start to glow. Yellow sparks drop to the ground, as Auldsbel rolls the tongues into a ball.";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "He tosses in a cocoon, then squeezes everything together. A bright red flash blinds you momentarily.";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "As Auldsbel opens his hands, there is nothing there.";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "He frowns. \"Their life force was still not strong enough. Hmm.\"";
next;
goto L_Main_menu;
L_c_quest_5:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I do have another assignment for you, but this one will be tricky. I will need fifty grass snake tongues. I believe that this may be just enough life force to return the silkworm back to its original shape.\"";
next;
menu
@@ -922,18 +924,18 @@ L_Next8:
goto L_c_quest_missing;
delitem "GrassSnakeTongue", 50;
Zeny = Zeny + 10000;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Excellent! Here is 10,000 GP for you, and now let's see how this goes.\"";
mes "[You gain 100,000 experience points]";
getexp 100000, 0;
@Q_component_quest = 6;
callsub S_Update_Var;
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel rolls the snake tongues into a ball again, whilst chanting some words that you fail to discern. As the ball begins to glow, he tosses in a silkworm cocoon.";
mes "He then presses his hands together; you are blinded by a blue flash.";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "The wizard steps back in horror.";
mes "\"Oh my... I should have known. I have stepped into Astral spell territory here. This is bad...\"";
mes "He mumbles a brief spell invocation.";
@@ -949,7 +951,7 @@ OnSnakeDeath:
end;
L_c_quest_missing:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"No, you are missing some items. Come back later when you have everything!\"";
next;
goto L_Main_menu;
@@ -972,24 +974,24 @@ L_learn_spell:
if (@Q_main_status == @Q_STATUS_STUDENT5)
goto L_stu_5;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Wellll.... you do seem to have some magical abilities. But do you possess the talent and diligence needed for a true wizard?\"";
mes "He raises an eyebrow at you, then grins.";
mes "\"Only one way to find out! Let me teach you a first spell.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"This spell is a simple transmutation invocation. All it takes is a clean wooden log. Hold it in your hand, focus your powers, and say the magic invocation.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"You can turn the log into a wooden figurine by imagining the creature whose shape you want in your head and saying `" + get(.invocation$, "spell-transmute-wood") + ",' followed by the last syllable of the name of the creature you want to shape it into.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"So `" + get(.invocation$, "spell-transmute-wood") + " lurk' for a Skytlurk figurine, for example. If you know what a Skytlurk is, I mean, otherwise you will have a hard time imagining it. You may want to try some others instead, though.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Oh... and it has to be the old Tritan name. Most creatures nowadays have very different names, but some old Tritan names have survived. Just try some, until you find one that fits.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Oh, actually, make sure to write that down. You should keep track of all spells and spell fragments, really. I always keep a notebook handy, in fact.\"";
next;
@Q_main_status = @Q_STATUS_INITIATION;
@@ -997,19 +999,19 @@ L_learn_spell:
goto L_Main_menu;
L_repeat_spell:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The invocation is `" + get(.invocation$, "spell-transmute-wood") + ",' followed by the last syllable of the name of the creature you want to shape the log into. So `" + get(.invocation$, "spell-transmute-wood") + " lurk' for a Skytlurk figurine.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"But keep two things in mind: First, you must KNOW what the creature looks like – so a Skytlurk probably won't work – and second, you must use the old Tritan name of it. `Fluffy' and `Scorpion' are modern names, so those won't work, you should try some others.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"And make sure to keep notes of your spells! In the future, I will only tell you once.\"";
next;
goto L_Main_menu;
L_initiation:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"So, have you managed to transmute something?\"";
next;
if (countitem("MoubooFigurine"))
@@ -1021,7 +1023,7 @@ L_initiation:
"What was the spell again?", L_repeat_spell;
L_initiation_fail:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"No, no, no. This is no good – too many imperfections.\"";
mes "He throws it away.";
mes "\"Keep practicing – and make sure to vary the spells you cast a little; that will make it easier to learn.\"";
@@ -1032,24 +1034,24 @@ L_initiation_check:
if (!(countitem("MoubooFigurine")))
goto L_Main_menu;
delitem "MoubooFigurine", 1;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel inspects your figurine.";
next;
if (@mexp < 40)
goto L_initiation_fail;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel nods.";
mes "\"This looks good.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "He pockets the figurine.";
mes "\"Very well, then. I shall accept you as my student.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel presses his index and middle finger against your forehead.";
mes "\"Accept my blessing!\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "You feel new powers flowing into your body!";
@Q_main_status = @Q_STATUS_STUDENT;
callsub S_Update_Var;
@@ -1063,14 +1065,14 @@ L_initiation_check:
L_stu_start:
if (@mexp < 200) goto L_Notready;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Next, I shall teach you a higher-level transmutation spell.\"";
if (getskilllv(SKILL_MAGIC) < 2) {
mes "\"Thinking well, you will not be able to use it yet; you will first have to gain a greater understanding of magic overall.\"";
close;
}
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Bring me ten bug legs, and I will reveal its invocation to you.\"";
next;
menu
@@ -1084,22 +1086,22 @@ L_Next9:
getexp 1000, 0;
@Q_main_status = @Q_STATUS_STUDENT0;
callsub S_Update_Var;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "He picks up the bug legs.";
mes "\"Good. These will come in handy later...\"";
mes "He grins.";
mes "[1000 experience points]";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Now, listen carefully: to make a short tank top out of three pieces of cloth, you must use the invocation '" + get(.invocation$, "make-short-tanktop") + "'.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"But be careful; transmutations can go wrong, and that can injure you. When you have more overall spellcasting practice, come back to me.\"";
next;
goto L_Main_menu;
L_Notready:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"You still need more practice with spellcasting; I won't give you another spell until you are ready.\"";
next;
goto L_Main_menu;
@@ -1107,10 +1109,10 @@ L_Notready:
L_stu_0:
if (@mexp < 350)
goto L_Notready;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The next transmutation spell is a little harder than the last one I taught you, but you should be able to manage.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Bring me twenty mauve leaves, and I will reveal its invocation.\"";
next;
menu
@@ -1124,12 +1126,12 @@ L_Next10:
getexp 1000, 0;
@Q_main_status = @Q_STATUS_STUDENT1;
callsub S_Update_Var;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "He pockets your mauve leaves.";
mes "\"Those should go very well with the salmon.\"";
mes "[1000 experience points]";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"The next spell I have will make a normal tank top out of four pieces of cloth. The invocation is '" + get(.invocation$, "make-tanktop") + "', make sure to write this down.\"";
next;
goto L_Main_menu;
@@ -1137,10 +1139,10 @@ L_Next10:
L_stu_1:
if (@mexp < 425)
goto L_Notready;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Up next is the transmutation spell for regular shirts.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"For this, I would like ten scorpion stingers.\"";
next;
menu
@@ -1154,12 +1156,12 @@ L_Next11:
getexp 1000, 0;
@Q_main_status = @Q_STATUS_STUDENT2;
callsub S_Update_Var;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "He carefully takes the stingers.";
mes "\"You are being quite helpful. If my experiments go well, I will make sure to acknowledge you in a footnote somewhere.\"";
mes "[1000 experience points]";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"To make a shirt, use the invocation '" + get(.invocation$, "make-shirt") + "'. This will require five pieces of cloth.\"";
next;
goto L_Main_menu;
@@ -1167,10 +1169,10 @@ L_Next11:
L_stu_2:
if (@mexp < 500)
goto L_Notready;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"You may find the next spell particularly useful.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Bring me twenty wooden logs, and I will teach you.\"";
next;
menu
@@ -1184,12 +1186,12 @@ L_Next12:
getexp 1000, 0;
@Q_main_status = @Q_STATUS_STUDENT3;
callsub S_Update_Var;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel places the logs next to his hut.";
mes "\"I'm hoping to animate them into the shape of one of those odd log heads.\"";
mes "[1000 experience points]";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"This spell makes arrows out of a single wooden log. Its invocation is '" + get(.invocation$, "make-arrows") + "'.\"";
next;
goto L_Main_menu;
@@ -1197,19 +1199,19 @@ L_Next12:
L_stu_3:
if (getskilllv(SKILL_MAGIC) < 3)
goto L_mag_skill_ins;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"I believe that you may be ready for the next level of transmutation magic! Let me teach you one last spell that you can handle before your promotion, and if you can cast this one, I will advance you.\"";
next;
goto L_stu_3_repeat;
L_stu_3_repeat:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"This one has the invocation `" + get(.invocation$, "make-concentration-potion") + "'. Put two cobalt leaves and two pink flower petals into a bottle of water, hold it up, and speak that phrase.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"It is a tricky spell, but if it works out, you will transform the bottle into a concentration potion.\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Hmm. That reminds me – there was a similar spell, but I forgot what it was... anyway, try using this, and bring me the potion when you are done.\"";
next;
@Q_main_status = @Q_STATUS_STUDENT4;
@@ -1217,7 +1219,7 @@ L_stu_3_repeat:
goto L_Main_menu;
L_stu_4:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Did you manage to transmute a concentration potion?\"";
next;
menu
@@ -1230,17 +1232,17 @@ L_Next13:
goto L_stu_4_no_potion;
if (!(MAGIC_FLAGS & MFLAG_MADE_CONC_POTION))
goto L_stu_4_wrong_potion;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel examines your potion and nods.";
mes "\"Good work! You are ready for a promotion!\"";
next;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbel presses his index and middle finger against your forehead.";
mes "\"Accept my blessing!\"";
next;
@Q_main_status = @Q_STATUS_STUDENT5;
callsub S_Update_Var;
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "You feel new powers flowing into your body!";
@SUP_id = SKILL_MAGIC_TRANSMUTE;
@SUP_name$ = "Transmutation Magic";
@@ -1251,25 +1253,25 @@ L_Next13:
goto L_Main_menu;
L_stu_4_wrong_potion:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "Auldsbell examines your potion, then shakes his head.";
mes "\"This doesn't look quite right, though I can't quite point at what the problem is. You will have to continue trying.\"";
next;
goto L_Main_menu;
L_stu_4_no_potion:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"You seem to be rather lacking the concentration potion you need to justify your claim, my dear fellow.\"";
next;
goto L_Main_menu;
L_stu_5:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"Hmm. Come back some other time, please; I still haven't figured out what to teach you next.\"";
close;
L_mag_skill_ins:
- mes "[Auldsbel the Wizard]";
+ mesn l("Auldsbel the Wizard");
mes "\"No, not at this time. You will have to advance in your overall magic skill before I can teach you more.\"";
next;
goto L_Main_menu;
diff --git a/npc/magic/final.txt b/npc/magic/final.txt
index 5eec2e09..964cf8bf 100644
--- a/npc/magic/final.txt
+++ b/npc/magic/final.txt
@@ -38,6 +38,8 @@ function script HUB_SkillInvoke {
// Level 1
case SKILL_ABIZIT:
SK_Abizit(); break;
+ case SKILL_MONSTERINFO:
+ SK_Monsterinfo(); break;
case EVOL_AREA_PROVOKE:
SK_Itenplz(); break;
case SKILL_FLAR:
diff --git a/npc/magic/level0-monsterinfo.txt b/npc/magic/level0-monsterinfo.txt
new file mode 100644
index 00000000..9161e12c
--- /dev/null
+++ b/npc/magic/level0-monsterinfo.txt
@@ -0,0 +1,38 @@
+// The Mana World script
+// Author: Jesusalva <jesusalva@themanaworld.org>
+//
+// Magic Script: SKILL_MONSTERINFO (Level 1)
+// School: General 1
+
+function script SK_Monsterinfo {
+ .@mobId=getunitdata(@skillTarget, UDT_CLASS);
+ if (.@mobId > 1000) {
+ // Decide how much detail you get based on how much magic you have
+ if (getskilllv(SKILL_MAGIC) > 2) {
+ charcommand("@mi "+.@mobId);
+ } else {
+ .@mhp = getmonsterinfo(.@mobId, MOB_MAXHP);
+ // Truncate HP
+ if (.@mhp > 1000)
+ .@mhp -= .@mhp % 1000;
+ else if (.@mhp > 100)
+ .@mhp -= .@mhp % 100;
+ else
+ .@mhp -= .@mhp % 10;
+ // Randomize atk
+ .@atk = rand2(getmonsterinfo(.@mobId, MOB_ATK1),
+ getmonsterinfo(.@mobId, MOB_ATK2));
+ // Send the obfuscated information
+ dispbottom l("%s - Level %d (~%s HP, ~%s ATK)",
+ getmonsterinfo(.@mobId, MOB_NAME),
+ getmonsterinfo(.@mobId, MOB_LV),
+ fnum(.@mhp),
+ fnum(.@atk));
+ }
+ } else {
+ // Not a valid monster
+ dispbottom l("This is not a monster; I cannot use monsterinfo on it.");
+ }
+ return;
+}
+
diff --git a/npc/scripts.conf b/npc/scripts.conf
index ab3ab4fa..f6c7387c 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -66,6 +66,7 @@
//Magic
"npc/magic/config.txt",
+"npc/magic/level0-monsterinfo.txt",
"npc/magic/level0-wand.txt",
"npc/magic/level1-aggravate.txt",
"npc/magic/level1-experience.txt",