… | |
… | |
150 | <entry bit="4" name="Wood" /> |
150 | <entry bit="4" name="Wood" /> |
151 | <entry bit="5" name="Organics" /> |
151 | <entry bit="5" name="Organics" /> |
152 | <entry bit="6" name="Stone" /> |
152 | <entry bit="6" name="Stone" /> |
153 | <entry bit="7" name="Cloth" /> |
153 | <entry bit="7" name="Cloth" /> |
154 | <entry bit="8" name="Adamantite" /> |
154 | <entry bit="8" name="Adamantite" /> |
|
|
155 | <entry bit="9" name="Liquid" /> |
|
|
156 | <entry bit="10" name="Soft Metal" /> |
|
|
157 | <entry bit="11" name="Bone" /> |
|
|
158 | <entry bit="12" name="Ice" /> |
|
|
159 | <entry bit="13" name="(supress name on display)" /> |
|
|
160 | |
155 | </bitmask> |
161 | </bitmask> |
156 | |
162 | |
157 | <bitmask name="spellpath"> |
163 | <bitmask name="spellpath"> |
158 | <entry bit="0" name="Protection" /> |
164 | <entry bit="0" name="Protection" /> |
159 | <entry bit="1" name="Fire" /> |
165 | <entry bit="1" name="Fire" /> |
… | |
… | |
322 | <entry value="45" name="disease" /> |
328 | <entry value="45" name="disease" /> |
323 | <entry value="46" name="aura" /> |
329 | <entry value="46" name="aura" /> |
324 | <entry value="47" name="town portal" /> |
330 | <entry value="47" name="town portal" /> |
325 | </list> |
331 | </list> |
326 | |
332 | |
|
|
333 | <list name="event_type"> |
|
|
334 | <entry value="0" name="none" /> |
|
|
335 | <entry value="1" name="apply" /> |
|
|
336 | <entry value="2" name="attack" /> |
|
|
337 | <entry value="3" name="death" /> |
|
|
338 | <entry value="4" name="drop" /> |
|
|
339 | <entry value="5" name="pickup" /> |
|
|
340 | <entry value="6" name="say" /> |
|
|
341 | <entry value="7" name="stop" /> |
|
|
342 | <entry value="8" name="time" /> |
|
|
343 | <entry value="9" name="throw" /> |
|
|
344 | <entry value="10" name="trigger" /> |
|
|
345 | <entry value="11" name="close" /> |
|
|
346 | <entry value="12" name="timer" /> |
|
|
347 | <entry value="28" name="move" /> |
|
|
348 | </list> |
|
|
349 | |
327 | <!--###################### default attributes ######################--> |
350 | <!--###################### default attributes ######################--> |
328 | |
351 | |
329 | <!-- |
352 | <!-- |
330 | The attributes of the default_type get added to all other types by default. |
353 | The attributes of the default_type get added to all other types by default. |
331 | Every type can have an 'ignore' element however, which is used to specify |
354 | Every type can have an 'ignore' element however, which is used to specify |
… | |
… | |
992 | Unique items exist only one time on a server. If the item |
1015 | Unique items exist only one time on a server. If the item |
993 | is taken, lost or destroyed - it's gone for good. |
1016 | is taken, lost or destroyed - it's gone for good. |
994 | </attribute> |
1017 | </attribute> |
995 | <attribute arch_begin="msg" arch_end="endmsg" editor="book content" type="text"> |
1018 | <attribute arch_begin="msg" arch_end="endmsg" editor="book content" type="text"> |
996 | This is the text that appears "written" in the book. |
1019 | This is the text that appears "written" in the book. |
|
|
1020 | </attribute> |
|
|
1021 | <attribute arch="slaying" editor="key string" type="string"> |
|
|
1022 | This is the key string of the book. The key string is checked by an inventory checker. |
|
|
1023 | (This is used eg. for the gate/port passes in scorn) |
997 | </attribute> |
1024 | </attribute> |
998 | </type> |
1025 | </type> |
999 | |
1026 | |
1000 | <!--####################################################################--> |
1027 | <!--####################################################################--> |
1001 | <type number="99" name="Boots"> |
1028 | <type number="99" name="Boots"> |
… | |
… | |
5356 | This text describes the weapons's "story". Every decent artifact weapon |
5383 | This text describes the weapons's "story". Every decent artifact weapon |
5357 | should have such a description. |
5384 | should have such a description. |
5358 | </attribute> |
5385 | </attribute> |
5359 | </type> |
5386 | </type> |
5360 | |
5387 | |
|
|
5388 | <type number="116" name="Event Connector"> |
|
|
5389 | <description><![CDATA[ |
|
|
5390 | Event connectors link specific events that happen to objects to |
|
|
5391 | a crossfire plug-in. ]]> |
|
|
5392 | </description> |
|
|
5393 | <attribute arch="subtype" editor="event type" type="list_event_type"> |
|
|
5394 | The type of event that triggers a notify to the plug-in. |
|
|
5395 | </attribute> |
|
|
5396 | <attribute arch="title" editor="plug-in" type="string"> |
|
|
5397 | The name of the plug-in that should be notified of the event, e.g. "cfpython" |
|
|
5398 | for python and "perl" for the Crossfire-Perl plug-in. |
|
|
5399 | </attribute> |
|
|
5400 | <attribute arch="slaying" editor="extension" type="string"> |
|
|
5401 | The name of the extension to invoke (for python, this is the path to a script, |
|
|
5402 | for perl this is the name of a extension package without the ".ext" extension. |
|
|
5403 | </attribute> |
|
|
5404 | <attribute arch="name" editor="options" type="string"> |
|
|
5405 | A string that is passed unaltered to the extension above. Often used to pass |
|
|
5406 | options to the extension that alter its behaviour. |
|
|
5407 | </attribute> |
|
|
5408 | </type> |
|
|
5409 | |
5361 | </types> |
5410 | </types> |