[crossfire] Spellcasting Swords progress
Mark Wedel
mwedel at sonic.net
Thu Jun 2 02:08:00 CDT 2005
Alex Schultz wrote:
>
I remembered those, but it turns out it wasn't installing the new
>
plugin_python.so for some reason. Anyways, that's fixed now (for no
>
apparent reason, but oh well), however theres one issue I'm having when
>
I try make some archtypes using them; In order to store the spell data,
>
I need to insert a rod in the object's inventory. The first try I did of
>
that was embedding it in the arch like one can do with maps, but that
>
didn't work. Then I tried by making treasurelists for the rods, however
>
they failed to keep spell data that I embedded in the treasurelist.
>
I know that using treasurelists, and at the same time making custom rod
>
arches for each of the spellswords would work, however I don't see that
>
as being a very clean solution. Anybody have any better suggestions?
Can you be a little clearer? Are you trying to insert a rod into the sword,
and a spell into the rod?
Which part of the object is being lost? The spell into the rod? How is the
rod being created?
Treasurelists are only created/processed for specific events. If you just do
something like 'arch_to_object(...)', it won't do anything with treasurelists -
you need to call create_treasures to do that.
In the case of some specific objects, this processing is done automatically.
But if you're trying to put a sword on a map, I'm not sure if the full recursion
is handled properly. But I need a little clearer picture on this.
More information about the crossfire
mailing list