From 04ba9494954398c9166a510176dcc81c14f1c883 Mon Sep 17 00:00:00 2001 From: Fate Date: Thu, 14 May 2009 03:56:18 +0000 Subject: Fixed #T00 to take a parameter and updated Auldsbel's explanation. In the future, it should be easier to add more figurines, if needed. --- conf/magic.conf.template | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'conf') 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 -- cgit v1.2.3-60-g2f50