[crossfire] New field: "race_restriction"

Nicolas Weeger nicolas.weeger at laposte.net
Thu Feb 14 13:54:39 CST 2008


Hello.

Just added what I hope is a fun feature: race restriction on items.


From the wiki:


Everything that can be applied, including items, exits, handles, and thus can 
have a ‘race_restriction’ key. The value should be set to a : delimited list 
of races that will be able to use/apply/open this item. The list is in the 
form: 
    :race1:race2:...:racen:
 with leading and trailing :. 
 Note that that this only applies to players - monsters can always apply 
everything. Also, Dungeon Masters are immune.



Enjoy :)

Nicolas
-- 
http://nicolas.weeger.org [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: This is a digitally signed message part.
Url : http://mailman.metalforge.org/pipermail/crossfire/attachments/20080214/41a1a881/attachment.pgp 


More information about the crossfire mailing list