[crossfire] Patch proposal: unidentified generic faces

Nicolas Weeger nicolas.weeger at laposte.net
Wed Jan 18 16:26:20 CST 2012


Hello.


I've been playing with having items hide their "real" face unless they are 
identified.

So for instance potions would keep their generic face when not identified.


Here's a patch that makes that behaviour.


Right now it's only the face (and animation-related parameters), but I was 
thinking of doing that for the name too. So eg unidentified skill scrolls could 
have a generic blank face and name until they are identified.


Would that behaviour change be ok?


The code relies on key-values containing "identified" properties (see 
common/item.c:object_give_identified_properties for more details).


Regards


Nicolas
-- 
Mon p'tit coin du web - http://nicolas.weeger.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faces-identify.patch
Type: text/x-patch
Size: 5330 bytes
Desc: not available
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20120118/ab2ccfe9/attachment.bin>
-------------- 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/20120118/ab2ccfe9/attachment.pgp>


More information about the crossfire mailing list