summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-14 03:56:18 +0000
committerFate <fate-tmw@googlemail.com>2009-05-14 03:56:18 +0000
commit04ba9494954398c9166a510176dcc81c14f1c883 (patch)
tree7c546eeb91b3ca039d238c1fffc6c376539f55d6
parent0da4d27a4357f15a8cb0eb9eaa355c7acd99e1b2 (diff)
downloadserverdata-04ba9494954398c9166a510176dcc81c14f1c883.tar.gz
serverdata-04ba9494954398c9166a510176dcc81c14f1c883.tar.bz2
serverdata-04ba9494954398c9166a510176dcc81c14f1c883.tar.xz
serverdata-04ba9494954398c9166a510176dcc81c14f1c883.zip
Fixed #T00 to take a parameter and updated Auldsbel's explanation.
In the future, it should be easier to add more figurines, if needed.
-rw-r--r--conf/magic.conf.template18
-rw-r--r--npc/011-1_Woodland/auldsbel.txt13
2 files changed, 24 insertions, 7 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 76df00f6..4f02a871 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -250,16 +250,24 @@ SPELL ask-magic-exp : "#G01" =
# CALL default_effect();
# message(caster, "You have " + ((script_int(caster, "MAGIC_EXPERIENCE") >> 24) & 0xff) + " Life Magic Experience points.");
-SPELL transmute-wood-to-mouboo : "#T00" =
+SPELL transmute-wood-to-figurine (name : STRING) : "#T00" =
LET level = 0
school = TRANSMUTE
IN (MANA 5, CASTTIME 4000,
REQUIRE skill(caster, MAGIC) > level,
COMPONENTS ["RawLog"])
- => EFFECT CALL adjust_spellpower(school);
- CALL default_effect();
- CALL create_item("MoubooFigurine", 1, "WarpedLog", 40);
- CALL gain_xp(1);
+ => ( REQUIRE name = "boo" =>
+ EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL create_item("MoubooFigurine", 1, "WarpedLog", 40);
+ CALL gain_xp(1);
+ | REQUIRE name = "lurk" =>
+ EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL create_item("WarpedLog", 1, "WarpedLog", 40);
+ message (caster, "You have no idea what a Skrytlurk looks like.");
+ )
+
SPELL make-sulphur : "#T01" =
LET level = 0
diff --git a/npc/011-1_Woodland/auldsbel.txt b/npc/011-1_Woodland/auldsbel.txt
index d4f1f6c2..b99bc814 100644
--- a/npc/011-1_Woodland/auldsbel.txt
+++ b/npc/011-1_Woodland/auldsbel.txt
@@ -932,7 +932,13 @@ L_learn_spell:
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]";
- mes "\"You can turn the log into a wooden figurine by saying " + getspellinvocation("transmute-wood-to-mouboo") + " followed by the last syllable of the name of the creature you want to shape it as. And mind you, that syllable has to be from the Old-Tritan name.... Until you learn them, it should make a Mouboo figurine for you.\"";
+ mes "\"You can turn the log into a wooden figurine by imagining the creature whose shape you want in your head and saying `" + getspellinvocation("transmute-wood-to-figurine") + ",' followed by the last syllable of the name of the creature you want to shape it into.\"";
+ next;
+ mes "[Auldsbel the Wizard]";
+ mes "\"So `" + getspellinvocation("transmute-wood-to-figurine") + " lurk' for a Skrytlurk figurine, for example. If you know what a Skrytlurk 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]";
+ 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]";
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.\"";
@@ -943,7 +949,10 @@ L_learn_spell:
LL_repeat_spell:
mes "[Auldsbel the Wizard]";
- mes "\"The invocation is " + getspellinvocation("transmute-wood-to-mouboo") + ", followed by the last syllable of the name of the creature you want to shape the log into. But this only works if you know the old Tritan name of the creature. For now, it should just make a Mouboo figurine, which should be enough.\"";
+ mes "\"The invocation is `" + getspellinvocation("transmute-wood-to-figurine") + ",' followed by the last syllable of the name of the creature you want to shape the log into. So `" + getspellinvocation("transmute-wood-to-figurine") + " lurk' for a Skrytlurk figurine.\"";
+ next;
+ mes "[Auldsbel the Wizard]";
+ mes "\"But keep two things in mind: First, you must KNOW what the creature looks like-- so a Skrytlurk 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]";