… | |
… | |
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 |
… | |
… | |
5356 | This text describes the weapons's "story". Every decent artifact weapon |
5379 | This text describes the weapons's "story". Every decent artifact weapon |
5357 | should have such a description. |
5380 | should have such a description. |
5358 | </attribute> |
5381 | </attribute> |
5359 | </type> |
5382 | </type> |
5360 | |
5383 | |
|
|
5384 | <type number="116" name="Event Connector"> |
|
|
5385 | <description><![CDATA[ |
|
|
5386 | Event connectors link specific events that happen to objects to |
|
|
5387 | a crossfire plug-in. ]]> |
|
|
5388 | </description> |
|
|
5389 | <attribute arch="subtype" editor="event type" type="list_event_type"> |
|
|
5390 | The type of event that triggers a notify to the plug-in. |
|
|
5391 | </attribute> |
|
|
5392 | <attribute arch="title" editor="plug-in" type="string"> |
|
|
5393 | The name of the plug-in that should be notified of the event, e.g. "cfpython" |
|
|
5394 | for python and "perl" for the Crossfire-Perl plug-in. |
|
|
5395 | </attribute> |
|
|
5396 | <attribute arch="slaying" editor="extension" type="string"> |
|
|
5397 | The name of the extension to invoke (for python, this is the path to a script, |
|
|
5398 | for perl this is the name of a extension package without the ".ext" extension. |
|
|
5399 | </attribute> |
|
|
5400 | <attribute arch="name" editor="options" type="string"> |
|
|
5401 | A string that is passed unaltered to the extension above. Often used to pass |
|
|
5402 | options to the extension that alter its behaviour. |
|
|
5403 | </attribute> |
|
|
5404 | </type> |
|
|
5405 | |
5361 | </types> |
5406 | </types> |