[crossfire] New command: use

Nicolas Weeger nicolas.weeger at laposte.net
Tue May 8 09:44:51 CDT 2007


Hello.

I added a new command, 'use', which syntax is 'use <item1> with <item2>'.

The aim is to replace the 'item transformation' code that uses 
the 'item_transformer' type but isn't that flexible.

It will also enable to do complex things, ie use (regular) sword with paper => 
cut paper

Documentation can be found in doc/Developers/item_transformation.

I plan on removing the now obsolete item type in the future.

Note that this is only available in trunk.

Nicolas
-- 
http://nicolas.weeger.free.fr [Petit site d'images, de textes, de code, bref 
de l'aléatoire !]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.metalforge.org/pipermail/crossfire/attachments/20070508/0c53bc72/attachment.pgp 


More information about the crossfire mailing list