summaryrefslogtreecommitdiff
path: root/conf/magic.conf.template
diff options
context:
space:
mode:
Diffstat (limited to 'conf/magic.conf.template')
-rw-r--r--conf/magic.conf.template18
1 files changed, 13 insertions, 5 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