[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev:objects
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Thu Feb 14 13:34:34 CST 2008
A page in your DokuWiki was added or changed. Here are the details:
Date : 2008/02/14 13:34
User : ryo
Edit Summary: 'race_restriction' field
@@ -892,9 +892,8 @@
does or does not. The alternative to this would be to have the
skill stuff do a strcmp, but then we are defining the name - easier
to just presume that the location won't change in the body_locations
table - there is no reason that it should.
-
===== Meaning of certain attributes for certain items =====
All objects have strength, intelligence, wisdom, dexterity, constitution,
@@ -921,8 +920,19 @@
For exits:
* slaying = The map which the exit leads to.
* hp, sp = (x,y) of the destination on the new map.
+
+
+ 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:
+ <code> :race1:race2:...:racen:</code>
+ with leading and trailing '':''.
+
+ Note that that this only applies to players - monsters can always apply everything.
+ Also, Dungeon Masters are immune.
===== Lore =====
Lore is a free form text field similar to the msg bug. Its syntax is
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/dev:objects?rev=1200014265
New Revision: http://wiki.metalforge.net/doku.php/dev:objects
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list