[crossfire] Proposal for artifacts changes

Nicolas Weeger nicolas.weeger at laposte.net
Tue Nov 1 11:07:01 CDT 2011


Hello.


I've committed changes to improve artifact support.

A new field 'artifact' is added to 'object', to keep track of what optional 
artifact an item was created from.

At save time, the 'bare' artifact is generated, and the item is saved compared 
to that artifact. At load time the loaded item gets the artifact values 
immediately after the archetype, to generate the artifact, then loads its 
potential custom values.


This enables changing artifacts, including for existing items, for eg balance 
purposes.


Regards

Nicolas
-- 
Mon p'tit coin du web - http://nicolas.weeger.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20111101/b4b11d4b/attachment.pgp>


More information about the crossfire mailing list