ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/res/types.xml
(Generate patch)

Comparing deliantra/Deliantra/res/types.xml (file contents):
Revision 1.2 by root, Mon Mar 13 03:47:36 2006 UTC vs.
Revision 1.4 by elmex, Thu Mar 16 01:26:09 2006 UTC

1<?xml version="1.0" standalone="no" ?> 1<?xml version="1.0" standalone="no" ?>
2<!-- 2<!--
3###################################################################### 3######################################################################
4# types.xml - This is the defintitions-file for all the different # 4# types.xml - This is the definitions-file for all the different #
5# Crossfire object types and their attributes. # 5# Crossfire object types and their attributes. #
6# # 6# #
7# The server code of the Crossfire game is always changing and # 7# The server code of the Crossfire game is always changing and #
8# evolving. From time to time, object-attributes change in purpose, # 8# evolving. From time to time, object-attributes change in purpose, #
9# or new ones are created. # 9# or new ones are created. #
10# Therefore, it is important that an Editor is flexible and # 10# Therefore, it is important that an Editor is flexible and #
11# easy to "upgrade" to handle such new features. That's why the # 11# easy to "upgrade" to handle such new features. That's why the #
12# CFJavaEditor reads the type-definitions from this xml file. # 12# CFJavaEditor reads the type-definitions from this xml file. #
13# # 13# #
14# If you encounter bugs, typos or missing entrys in the LATEST # 14# If you encounter bugs, typos or missing entries in the LATEST #
15# VERSION of this file - Don't hesitate to improve it, contact me # 15# VERSION of this file - Don't hesitate to improve it, contact me #
16# and eventually send the improved file to me: <red.blaze@gmx.net>. # 16# and eventually send the improved file to me: <red.blaze@gmx.net>. #
17# I will put it into the "official version" of the CFJavaEditor # 17# I will put it into the "official version" of the CFJavaEditor #
18# and all fellow Crossfire-Map-Makers can benefit from your work! # 18# and all fellow Crossfire-Map-Makers can benefit from your work! #
19# # 19# #
65# Created by Andreas Vogl. # 65# Created by Andreas Vogl. #
66###################################################################### 66######################################################################
67--> 67-->
68<!DOCTYPE types [ 68<!DOCTYPE types [
69 <!ELEMENT types ((bitmask | list | ignore_list)*, default_type, ignore_list*, type+)> 69 <!ELEMENT types ((bitmask | list | ignore_list)*, default_type, ignore_list*, type+)>
70 70
71 <!ELEMENT bitmask (entry*)> 71 <!ELEMENT bitmask (entry*)>
72 <!ATTLIST bitmask name CDATA #REQUIRED> 72 <!ATTLIST bitmask name CDATA #REQUIRED>
73 73
74 <!ELEMENT list (entry*)> 74 <!ELEMENT list (entry*)>
75 <!ATTLIST list name CDATA #REQUIRED> 75 <!ATTLIST list name CDATA #REQUIRED>
76 76
77 <!ELEMENT entry EMPTY> 77 <!ELEMENT entry EMPTY>
78 <!ATTLIST entry bit CDATA #IMPLIED 78 <!ATTLIST entry bit CDATA #IMPLIED
79 value CDATA #IMPLIED 79 value CDATA #IMPLIED
80 name CDATA #REQUIRED> 80 name CDATA #REQUIRED>
81 81
82 <!ELEMENT ignore_list (attribute* | EMPTY)> 82 <!ELEMENT ignore_list (attribute* | EMPTY)>
83 <!ATTLIST ignore_list name CDATA #REQUIRED> 83 <!ATTLIST ignore_list name CDATA #REQUIRED>
84 84
85 <!ELEMENT default_type (attribute*)> 85 <!ELEMENT default_type (attribute*)>
86 86
87 <!ELEMENT type (import_type?,required?,ignore?,description?,use?,(section | attribute)*)> 87 <!ELEMENT type (import_type?,required?,ignore?,description?,use?,(section | attribute)*)>
88 <!ATTLIST type name CDATA #REQUIRED 88 <!ATTLIST type name CDATA #REQUIRED
89 number CDATA #REQUIRED> 89 number CDATA #REQUIRED>
90 90
91 <!ELEMENT description (#PCDATA)> 91 <!ELEMENT description (#PCDATA)>
92 <!ELEMENT use (#PCDATA)> 92 <!ELEMENT use (#PCDATA)>
93 93
94 <!ELEMENT import_type EMPTY> 94 <!ELEMENT import_type EMPTY>
95 <!ATTLIST import_type name CDATA #REQUIRED> 95 <!ATTLIST import_type name CDATA #REQUIRED>
96 96
97 <!ELEMENT required (attribute+)> 97 <!ELEMENT required (attribute+)>
98 <!ELEMENT ignore (attribute*,ignore_list*)> 98 <!ELEMENT ignore (attribute*,ignore_list*)>
99 99
100 <!ELEMENT section (attribute+)> 100 <!ELEMENT section (attribute+)>
101 <!ATTLIST section name CDATA #REQUIRED> 101 <!ATTLIST section name CDATA #REQUIRED>
102 102
103 <!ELEMENT attribute (#PCDATA)> 103 <!ELEMENT attribute (#PCDATA)>
104 <!ATTLIST attribute type CDATA #IMPLIED 104 <!ATTLIST attribute type CDATA #IMPLIED
105 arch CDATA #IMPLIED 105 arch CDATA #IMPLIED
106 arch_begin CDATA #IMPLIED 106 arch_begin CDATA #IMPLIED
107 arch_end CDATA #IMPLIED 107 arch_end CDATA #IMPLIED
322 <entry value="45" name="disease" /> 322 <entry value="45" name="disease" />
323 <entry value="46" name="aura" /> 323 <entry value="46" name="aura" />
324 <entry value="47" name="town portal" /> 324 <entry value="47" name="town portal" />
325</list> 325</list>
326 326
327<list name="event_type">
328 <entry value="0" name="none" />
329 <entry value="1" name="apply" />
330 <entry value="2" name="attack" />
331 <entry value="3" name="death" />
332 <entry value="4" name="drop" />
333 <entry value="5" name="pickup" />
334 <entry value="6" name="say" />
335 <entry value="7" name="stop" />
336 <entry value="8" name="time" />
337 <entry value="9" name="throw" />
338 <entry value="10" name="trigger" />
339 <entry value="11" name="close" />
340 <entry value="12" name="timer" />
341 <entry value="28" name="move" />
342</list>
343
327<!--###################### default attributes ######################--> 344<!--###################### default attributes ######################-->
328 345
329<!-- 346<!--
330 The attributes of the default_type get added to all other types by default. 347 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 348 Every type can have an 'ignore' element however, which is used to specify
339 This is the plural name of the object. A plural name must be set for 356 This is the plural name of the object. A plural name must be set for
340 all items that can be picked up and collected by the player. 357 all items that can be picked up and collected by the player.
341 </attribute> 358 </attribute>
342 <attribute arch="title" editor="title" type="string"> 359 <attribute arch="title" editor="title" type="string">
343 This is the object's title. Once an object is identified the title is 360 This is the object's title. Once an object is identified the title is
344 attached to the name. Typical titels are "of mostrai", "of xray vision" etc. 361 attached to the name. Typical titles are "of Mostrai", "of xray vision" etc.
345 </attribute> 362 </attribute>
346 <attribute arch="face" editor="image" type="string"> 363 <attribute arch="face" editor="image" type="string">
347 The image-name defines what image is displayed for this object in-game. 364 The image-name defines what image is displayed for this object in-game.
348 </attribute> 365 </attribute>
349 <attribute arch="nrof" editor="number" type="int"> 366 <attribute arch="nrof" editor="number" type="int">
350 This value determines the number of objects in one stack (for example: 367 This value determines the number of objects in one stack (for example:
351 100 goldcoins =&gt; "number = 100"). You should set this at least to one, for 368 100 goldcoins =&gt; "number = 100"). You should set this at least to one, for
352 any pickable object - otherwise it won't be mergeable into a stack. 369 any pickable object - otherwise it won't be mergeable into a stack.
353 </attribute> 370 </attribute>
354 <attribute arch="weight" editor="weight" type="int"> 371 <attribute arch="weight" editor="weight" type="int">
355 This value defines the object's weight in gramm (1000g is 1kg). Objects with 372 This value defines the object's weight in grams (1000g is 1kg). Objects with
356 zero weight are not pickable for players. Still, set the "non-pickable"-flag 373 zero weight are not pickable for players. Still, set the "non-pickable"-flag
357 for explicitly non-pickable objects (hey, this is opensource.. you 374 for explicitly non-pickable objects (hey, this is opensource.. you
358 never know ;) ). 375 never know ;) ).
359 </attribute> 376 </attribute>
360 <attribute arch="value" editor="value" type="int"> 377 <attribute arch="value" editor="value" type="int">
365 usually inevitable. 382 usually inevitable.
366 </attribute> 383 </attribute>
367 <attribute arch="glow_radius" editor="glow radius" type="int"> 384 <attribute arch="glow_radius" editor="glow radius" type="int">
368 If &lt;glow radius&gt; is set to a value greater zero, the object 385 If &lt;glow radius&gt; is set to a value greater zero, the object
369 appears lit up on dark maps. &lt;glow radius&gt; can be a value 386 appears lit up on dark maps. &lt;glow radius&gt; can be a value
370 between 0 and 4, the higher, the more light does the object emmit. 387 between 0 and 4, the higher, the more light does the object emit.
371 </attribute> 388 </attribute>
372 <attribute arch="material" editor="material" type="bitmask_material"> 389 <attribute arch="material" editor="material" type="bitmask_material">
373 This bitmask-value informs the player of which material(s) the 390 This bitmask-value informs the player of which material(s) the
374 object consists. Material does also affect how likely the object 391 object consists. Material does also affect how likely the object
375 can be destroyed by hazardous spell-effects. 392 can be destroyed by hazardous spell-effects.
499 </attribute> 516 </attribute>
500 <attribute arch="hp" editor="long range spell" type="nz_spell"> 517 <attribute arch="hp" editor="long range spell" type="nz_spell">
501 The monster will use the specified &lt;long range spell&gt; 518 The monster will use the specified &lt;long range spell&gt;
502 when the player is at least 6 squares away (from the 519 when the player is at least 6 squares away (from the
503 monster's head). 520 monster's head).
504 521
505 Setting a &lt;long range spell&gt; is optional. If unset, the 522 Setting a &lt;long range spell&gt; is optional. If unset, the
506 &lt;short range spell&gt; gets used all the time. 523 &lt;short range spell&gt; gets used all the time.
507 </attribute> 524 </attribute>
508 <attribute arch="maxsp" editor="importance" type="int"> 525 <attribute arch="maxsp" editor="importance" type="int">
509 Sometimes you'll want a monster to use one ability more than others. 526 Sometimes you'll want a monster to use one ability more than others.
510 To achieve this, set the &lt;importance&gt; to a value greater than 527 To achieve this, set the &lt;importance&gt; to a value greater than
511 one. Abilities with this value zero/unset are counted to be of 528 one. Abilities with this value zero/unset are counted to be of
512 &lt;importance&gt; one. 529 &lt;importance&gt; one.
513 530
514 Example: A monster with "small fireball" of &lt;importance&gt; 3 and 531 Example: A monster with "small fireball" of &lt;importance&gt; 3 and
515 "paralyze" of &lt;importance&gt; 1 will averagely cast three out of four 532 "paralyze" of &lt;importance&gt; 1 will averagely cast three out of four
516 times the "small fireball". 533 times the "small fireball".
517 </attribute> 534 </attribute>
518 <attribute arch="attacktype" editor="is magical" true="2" false="0" type="bool_special"> 535 <attribute arch="attacktype" editor="is magical" true="2" false="0" type="bool_special">
519 This flag specifies wether the ability &lt;is magical&gt; in nature. 536 This flag specifies whether the ability &lt;is magical&gt; in nature.
520 If enabled, all spells produced by this ability will have magic 537 If enabled, all spells produced by this ability will have magic
521 attacktype added to the usual attacktypes. 538 attacktype added to the usual attacktypes.
522 539
523 This should always be set for spell-like abilities. "Natural" 540 This should always be set for spell-like abilities. "Natural"
524 abilities like a dragon's firebreath are an exception. 541 abilities like a dragon's firebreath are an exception.
525 Note that non-magical abilities are more dangerous because 542 Note that non-magical abilities are more dangerous because
526 magic resistance does not protect from those.</attribute> 543 magic resistance does not protect from those.</attribute>
527</type> 544</type>
533 </ignore> 550 </ignore>
534 <description><![CDATA[ 551 <description><![CDATA[
535 When a player puts a defined number of certain items on the altar, 552 When a player puts a defined number of certain items on the altar,
536 then either a spell is casted (on the player) or a connector is 553 then either a spell is casted (on the player) or a connector is
537 triggered. If the latter is the case, the altar works only once. 554 triggered. If the latter is the case, the altar works only once.
538 Either way, the sacrificed item dissapears. ]]> 555 Either way, the sacrificed item disappears. ]]>
539 </description> 556 </description>
540 <attribute arch="no_pick" value="1" type="fixed" /> 557 <attribute arch="no_pick" value="1" type="fixed" />
541 <attribute arch="walk_on" value="1" type="fixed" /> 558 <attribute arch="walk_on" value="1" type="fixed" />
542 <attribute arch="slaying" editor="match item name" type="string"> 559 <attribute arch="slaying" editor="match item name" type="string">
543 This string specifies the item that must be put on the altar to 560 This string specifies the item that must be put on the altar to
547 expected to drop on the altar. (Often this is put in the altar's 564 expected to drop on the altar. (Often this is put in the altar's
548 name: E.g. "drop 100 platinums") 565 name: E.g. "drop 100 platinums")
549 </attribute> 566 </attribute>
550 <attribute arch="food" editor="drop amount" type="int"> 567 <attribute arch="food" editor="drop amount" type="int">
551 The drop amount specifies the amount of items (specified 568 The drop amount specifies the amount of items (specified
552 in &lt;match item name&gt;) that must be dropped to activate the altar. 569 in &lt;match item name&gt;) that must be dropped to activate the altar.
553 570
554 If &lt;match item name&gt; is set to "money", then the value of the 571 If &lt;match item name&gt; is set to "money", then the value of the
555 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then 572 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then
556 200 silver, 20 gold, or 4 platinum will all work.) 573 200 silver, 20 gold, or 4 platinum will all work.)
557 574
558 Note that the maximum possible for &lt;drop amount&gt; is 32767. 575 Note that the maximum possible for &lt;drop amount&gt; is 32767.
559 </attribute> 576 </attribute>
560 <attribute arch="connected" editor="connection" type="int"> 577 <attribute arch="connected" editor="connection" type="int">
561 If a connection value is set, the altar will trigger all objects 578 If a connection value is set, the altar will trigger all objects
562 with the same value, when activated. This will only work once. 579 with the same value, when activated. This will only work once.
563 </attribute> 580 </attribute>
564 <attribute arch="sp" editor="spell" type="spell"> 581 <attribute arch="sp" editor="spell" type="spell">
565 When activated, the selected &lt;spell&gt; will be casted (once, on the 582 When activated, the selected &lt;spell&gt; will be casted (once, on the
566 player). This should work for any given spell. The altar will work 583 player). This should work for any given spell. The altar will work
567 infinitly in this way. Don't set both &lt;spell&gt; and &lt;connection&gt; for 584 infinitely in this way. Don't set both &lt;spell&gt; and &lt;connection&gt; for
568 one altar. 585 one altar.
569 </attribute> 586 </attribute>
570 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text"> 587 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text">
571 This text will be displayed to the player 588 This text will be displayed to the player
572 in the exact moment when the altar is activated. 589 in the exact moment when the altar is activated.
579 <ignore_list name="non_pickable" /> 596 <ignore_list name="non_pickable" />
580 </ignore> 597 </ignore>
581 <description><![CDATA[ 598 <description><![CDATA[
582 Altar_triggers work pretty much like normal altars 599 Altar_triggers work pretty much like normal altars
583 (drop sacrifice -> connection activated), except for the fact that 600 (drop sacrifice -> connection activated), except for the fact that
584 they reset after usage. Hence, altar_triggers can be used infinitly. ]]> 601 they reset after usage. Hence, altar_triggers can be used infinitely. ]]>
585 </description> 602 </description>
586 <use><![CDATA[ 603 <use><![CDATA[
587 Altar_triggers are very useful if you want to charge a price for... 604 Altar_triggers are very useful if you want to charge a price for...
588 <UL> 605 <UL>
589 <LI> ...an item. -> Connect the altar_trigger (set "last_sp 1") to a creator. 606 <LI> ...an item. -> Connect the altar_trigger (set "last_sp 1") to a creator.
590 <LI> ...opening a gate. -> Connect the altar_trigger (set "last_sp 0") to the gate. 607 <LI> ...opening a gate. -> Connect the altar_trigger (set "last_sp 0") to the gate.
591 <LI> ...information. -> Connect the altar_trigger (set "last_sp 1") to a magic_mouth. 608 <LI> ...information. -> Connect the altar_trigger (set "last_sp 1") to a magic_mouth.
592 </UL> 609 </UL>
593 The big advantage over normal altars is the infinite usability 610 The big advantage over normal altars is the infinite usability
594 of altar_triggers! If there are ten players on one server, they're 611 of altar_triggers! If there are ten players on one server, they're
595 quite grateful if things work more than once. =) ]]> 612 quite grateful if things work more than once. =) ]]>
603 expected to drop on the altar. (Often this is put in the altar's 620 expected to drop on the altar. (Often this is put in the altar's
604 name: E.g. "drop 100 platinums") 621 name: E.g. "drop 100 platinums")
605 </attribute> 622 </attribute>
606 <attribute arch="food" editor="drop amount" type="int"> 623 <attribute arch="food" editor="drop amount" type="int">
607 The drop amount specifies the amount of items (specified 624 The drop amount specifies the amount of items (specified
608 in &lt;match item name&gt;) that must be dropped to activate the altar. 625 in &lt;match item name&gt;) that must be dropped to activate the altar.
609 626
610 If &lt;match item name&gt; is set to "money", then the value of the 627 If &lt;match item name&gt; is set to "money", then the value of the
611 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then 628 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then
612 200 silver, 20 gold, or 4 platinum will all work.) 629 200 silver, 20 gold, or 4 platinum will all work.)
613 630
614 Note that the maximum possible for &lt;drop amount&gt; is 32767. 631 Note that the maximum possible for &lt;drop amount&gt; is 32767.
615 </attribute> 632 </attribute>
616 <attribute arch="connected" editor="connection" type="int"> 633 <attribute arch="connected" editor="connection" type="int">
617 If a connection value is set, the altar will trigger all objects 634 If a connection value is set, the altar will trigger all objects
618 with the same value, when activated. This will only work once. 635 with the same value, when activated. This will only work once.
619 </attribute> 636 </attribute>
620 <attribute arch="sp" editor="spell" type="spell"> 637 <attribute arch="sp" editor="spell" type="spell">
621 When activated, this &lt;spell&gt; will be casted (once, on the player). 638 When activated, this &lt;spell&gt; will be casted (once, on the player).
622 This should work for any given spell. The altar will work infinitly 639 This should work for any given spell. The altar will work infinitely
623 in this way. Don't set both &lt;spell&gt; and &lt;connection&gt; for one altar. 640 in this way. Don't set both &lt;spell&gt; and &lt;connection&gt; for one altar.
624 </attribute> 641 </attribute>
625 <attribute arch="exp" editor="reset time" type="int"> 642 <attribute arch="exp" editor="reset time" type="int">
626 Being activated, the altar will reset after &lt;reset time&gt; ticks. 643 Being activated, the altar will reset after &lt;reset time&gt; ticks.
627 After reset, the altar is ready to be activated once again. 644 After reset, the altar is ready to be activated once again.
629 </attribute> 646 </attribute>
630 <attribute arch="last_sp" editor="ignore reset" type="bool"> 647 <attribute arch="last_sp" editor="ignore reset" type="bool">
631 If this attribute is enabled, the altar_trigger won't push the 648 If this attribute is enabled, the altar_trigger won't push the
632 connected value by altar reset. Only ONCE by dropping the sacrifice. 649 connected value by altar reset. Only ONCE by dropping the sacrifice.
633 This is typically used when the altar is connected to a creator, 650 This is typically used when the altar is connected to a creator,
634 e.g. for selling tickets. 651 e.g. for selling tickets.
635 652
636 If this attribute is disabled (default), the altar_trigger 653 If this attribute is disabled (default), the altar_trigger
637 will push the connected value TWICE per sacrifice: First by 654 will push the connected value TWICE per sacrifice: First by
638 dropping sacrifice, second by reset. This mode is typically 655 dropping sacrifice, second by reset. This mode is typically
639 used for altars being connected to gates, resulting in the 656 used for altars being connected to gates, resulting in the
672 The &lt;item power&gt; value measures how "powerful" an artifact is. 689 The &lt;item power&gt; value measures how "powerful" an artifact is.
673 Players will only be able to wear equipment with a certain total 690 Players will only be able to wear equipment with a certain total
674 amount of &lt;item power&gt;, depending on their own level. This is the 691 amount of &lt;item power&gt;, depending on their own level. This is the
675 only way to prevent low level players to wear "undeserved" equipment 692 only way to prevent low level players to wear "undeserved" equipment
676 (like gifts from other players or cheated items). 693 (like gifts from other players or cheated items).
677 694
678 It is very important to adjust the &lt;item power&gt; value carefully 695 It is very important to adjust the &lt;item power&gt; value carefully
679 for every artifact you create! If zero/unset, the CF server will 696 for every artifact you create! If zero/unset, the CF server will
680 calculate a provisional value at runtime, but this is never 697 calculate a provisional value at runtime, but this is never
681 going to be an accurate measurement of &lt;item power&gt;. 698 going to be an accurate measurement of &lt;item power&gt;.
682 </attribute> 699 </attribute>
689 unless the curse is removed. 706 unless the curse is removed.
690 </attribute> 707 </attribute>
691 <attribute arch="lifesave" editor="save life" type="bool"> 708 <attribute arch="lifesave" editor="save life" type="bool">
692 An item with this flag enabled will save the players life 709 An item with this flag enabled will save the players life
693 for one time: When the player is wearing this item and his 710 for one time: When the player is wearing this item and his
694 healthpoints reach zero, the item dissapears, replenishing 711 health points reach zero, the item disappears, replenishing
695 half of the player's health. 712 half of the player's health.
696 713
697 An item with &lt;save life&gt; should not have 714 An item with &lt;save life&gt; should not have
698 any decent additional bonuses! 715 any decent additional bonuses!
699 </attribute> 716 </attribute>
700 <attribute arch="unique" editor="unique item" type="bool"> 717 <attribute arch="unique" editor="unique item" type="bool">
701 Unique items exist only one time on a server. If the item 718 Unique items exist only one time on a server. If the item
868 additional &lt;grace regen.&gt; bonus should be VERY RARE!! 885 additional &lt;grace regen.&gt; bonus should be VERY RARE!!
869 </attribute> 886 </attribute>
870 <attribute arch="food" editor="food bonus" type="int"> 887 <attribute arch="food" editor="food bonus" type="int">
871 Positive &lt;food bonus&gt; slows down the player's digestion, 888 Positive &lt;food bonus&gt; slows down the player's digestion,
872 thus he consumes less food. Negative values speed it up. 889 thus he consumes less food. Negative values speed it up.
873 890
874 Note that food is consumed not only for "being alive", but 891 Note that food is consumed not only for "being alive", but
875 also for healing and mana-regeneration. 892 also for healing and mana-regeneration.
876 &lt;food bonus&gt; only affects the amount of food consumed 893 &lt;food bonus&gt; only affects the amount of food consumed
877 for "being alive". Hence, even with high &lt;food bonus&gt;, 894 for "being alive". Hence, even with high &lt;food bonus&gt;,
878 during a fight a player can run out of food quickly. 895 during a fight a player can run out of food quickly.
879 </attribute> 896 </attribute>
880 <attribute arch="xrays" editor="xray vision" type="bool"> 897 <attribute arch="xrays" editor="xray vision" type="bool">
881 Xray vision allows the player to see through obstacles 898 Xray vision allows the player to see through obstacles
882 in a two-square-wide radius. This is extremely helpful and 899 in a two-square-wide radius. This is extremely helpful and
883 desireable, so don't give it away for cheap on equipment. 900 desirable, so don't give it away for cheap on equipment.
884 </attribute> 901 </attribute>
885 <attribute arch="stealth" editor="stealth" type="bool"> 902 <attribute arch="stealth" editor="stealth" type="bool">
886 Stealth allows the player to move silently. 903 Stealth allows the player to move silently.
887 This comes to effect if a player turns himself 904 This comes to effect if a player turns himself
888 invisible and tries to sneak around monsters. 905 invisible and tries to sneak around monsters.
893 the ability to &lt;reflect spells&gt;, all kinds of 910 the ability to &lt;reflect spells&gt;, all kinds of
894 spell-bullets and -beams will bounce off him. 911 spell-bullets and -beams will bounce off him.
895 This works only about 90% of all times, to 912 This works only about 90% of all times, to
896 avoid players being completely immune to certain 913 avoid players being completely immune to certain
897 types of attacks. 914 types of attacks.
898 915
899 This is a very powerful ability and it 916 This is a very powerful ability and it
900 shouldn't be handed out cheap! 917 shouldn't be handed out cheap!
901 </attribute> 918 </attribute>
902 <attribute arch="reflect_missile" editor="reflect missiles" type="bool"> 919 <attribute arch="reflect_missile" editor="reflect missiles" type="bool">
903 If a player is wearing any piece of equipment with 920 If a player is wearing any piece of equipment with
969 get teleported after they died on this battleground. 986 get teleported after they died on this battleground.
970 </attribute> 987 </attribute>
971</type> 988</type>
972 989
973<!--####################################################################--> 990<!--####################################################################-->
974<type number="104" name="Bracers">
975 <import_type name="Amulet" />
976 <description><![CDATA[
977 Bracers are armour-plates worn around the wrists.
978 Wearing bracer, the object's stats will directly be inherited to
979 the player. Usually enhancing his defense. ]]>
980 </description>
981 <use><![CDATA[
982 Feel free to create your own special artifacts. However, it is very
983 important that you keep your artifact in balance with existing maps. ]]>
984 </use>
985 <attribute arch="magic" editor="magic bonus" type="int">
986 &lt;magic bonus&gt; works just like ac, except that it can be improved by
987 "scrolls of Enchant Armour" or reduced by acid. It is less useful
988 than direct armour-class bonus on the bracers.
989 </attribute>
990</type>
991
992<!--####################################################################-->
993<type number="16" name="Brestplate Armour">
994 <import_type name="Amulet" />
995 <description><![CDATA[
996 Wearing an armour, the object's stats will directly be inherited to
997 the player. Usually enhancing his defense. ]]>
998 </description>
999 <use><![CDATA[
1000 Feel free to create your own special artifacts. However, it is very
1001 important that you keep your artifact in balance with existing maps. ]]>
1002 </use>
1003 <attribute arch="last_heal" editor="spellpoint penalty" type="int">
1004 This poses a penalty to spell regeneration speed, for wearing the armour.
1005 The bigger the spellpoint penalty, the worse.
1006 </attribute>
1007 <attribute arch="last_sp" editor="slowdown penalty" type="int">
1008 Slowdown penalty reduces the player's walking speed when wearing the
1009 armour. Bigger values are worse - zero is best.
1010 </attribute>
1011 <attribute arch="magic" editor="magic bonus" type="int">
1012 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1013 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1014 than direct armour-class bonus on the armour.
1015 </attribute>
1016</type>
1017
1018<!--####################################################################-->
1019<type number="8" name="Book"> 991<type number="8" name="Book">
1020 <description><![CDATA[ 992 <description><![CDATA[
1021 Applying a book, the containing message is displayed to the player. ]]> 993 Applying a book, the containing message is displayed to the player. ]]>
1022 </description> 994 </description>
1023 <attribute arch="level" editor="literacy level" type="int"> 995 <attribute arch="level" editor="literacy level" type="int">
1064 </attribute> 1036 </attribute>
1065 <attribute arch="magic" editor="magic bonus" type="int"> 1037 <attribute arch="magic" editor="magic bonus" type="int">
1066 &lt;magic bonus&gt; works just like ac, except that it can be improved by 1038 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1067 "scrolls of Enchant Armour" or reduced by acid. It is less useful 1039 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1068 than direct armour-class bonus on the boots. 1040 than direct armour-class bonus on the boots.
1069 1041
1070 Important: &lt;magic bonus&gt; on boots has no effect if there is no 1042 Important: &lt;magic bonus&gt; on boots has no effect if there is no
1071 &lt;armour class&gt; set. It only works in combination with &lt;armour class&gt;. 1043 &lt;armour class&gt; set. It only works in combination with &lt;armour class&gt;.
1044 </attribute>
1045</type>
1046
1047<!--####################################################################-->
1048<type number="104" name="Bracers">
1049 <import_type name="Amulet" />
1050 <description><![CDATA[
1051 Bracers are armour-plates worn around the wrists.
1052 Wearing bracer, the object's stats will directly be inherited to
1053 the player. Usually enhancing his defense. ]]>
1054 </description>
1055 <use><![CDATA[
1056 Feel free to create your own special artifacts. However, it is very
1057 important that you keep your artifact in balance with existing maps. ]]>
1058 </use>
1059 <attribute arch="magic" editor="magic bonus" type="int">
1060 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1061 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1062 than direct armour-class bonus on the bracers.
1063 </attribute>
1064</type>
1065
1066<!--####################################################################-->
1067<type number="16" name="Brestplate Armour">
1068 <import_type name="Amulet" />
1069 <description><![CDATA[
1070 Wearing an armour, the object's stats will directly be inherited to
1071 the player. Usually enhancing his defense. ]]>
1072 </description>
1073 <use><![CDATA[
1074 Feel free to create your own special artifacts. However, it is very
1075 important that you keep your artifact in balance with existing maps. ]]>
1076 </use>
1077 <attribute arch="last_heal" editor="spellpoint penalty" type="int">
1078 This poses a penalty to spell regeneration speed, for wearing the armour.
1079 The bigger the spellpoint penalty, the worse.
1080 </attribute>
1081 <attribute arch="last_sp" editor="slowdown penalty" type="int">
1082 Slowdown penalty reduces the player's walking speed when wearing the
1083 armour. Bigger values are worse - zero is best.
1084 </attribute>
1085 <attribute arch="magic" editor="magic bonus" type="int">
1086 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1087 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1088 than direct armour-class bonus on the armour.
1072 </attribute> 1089 </attribute>
1073</type> 1090</type>
1074 1091
1075<!--####################################################################--> 1092<!--####################################################################-->
1076<type number="92" name="Button"> 1093<type number="92" name="Button">
1084 &lt;connection&gt; value get's triggered a second time. ]]> 1101 &lt;connection&gt; value get's triggered a second time. ]]>
1085 </description> 1102 </description>
1086 <attribute arch="walk_on" value="1" type="fixed" /> 1103 <attribute arch="walk_on" value="1" type="fixed" />
1087 <attribute arch="walk_off" value="1" type="fixed" /> 1104 <attribute arch="walk_off" value="1" type="fixed" />
1088 <attribute arch="no_pick" value="1" type="fixed" /> 1105 <attribute arch="no_pick" value="1" type="fixed" />
1089 <attribute arch="weight" editor="press weight" type="string"> 1106 <attribute arch="weight" editor="press weight" type="int">
1090 The button is pressed (triggered), as soon as 1107 The button is pressed (triggered), as soon as
1091 &lt;press weigh&gt; gram are placed ontop of it. 1108 &lt;press weigh&gt; gram are placed ontop of it.
1092 </attribute> 1109 </attribute>
1093 <attribute arch="connected" editor="connection" type="int"> 1110 <attribute arch="connected" editor="connection" type="int">
1094 Every time the button is pressed or released, all objects 1111 Every time the button is pressed or released, all objects
1096 </attribute> 1113 </attribute>
1097 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 1114 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
1098 This text may describe the item. You can use this 1115 This text may describe the item. You can use this
1099 message to explain the button's purpose to the player. 1116 message to explain the button's purpose to the player.
1100 </attribute> 1117 </attribute>
1118</type>
1119
1120<!--####################################################################-->
1121<type number="30" name="Button Trigger">
1122 <import_type name="Button" />
1123 <ignore>
1124 <ignore_list name="non_pickable" />
1125 </ignore>
1126 <description><![CDATA[
1127 Handle buttons are buttons which reset after a short period
1128 of time. Every time it is either applied or reset, the
1129 &lt;connection&gt; value is triggered. ]]>
1130 </description>
1131</type>
1132
1133<!--####################################################################-->
1134<type number="37" name="Class Changer">
1135 <ignore>
1136 <ignore_list name="non_pickable" />
1137 </ignore>
1138 <description><![CDATA[
1139 Class changer are used while creating a character. ]]>
1140 </description>
1141 <attribute arch="randomitems" editor="class items" type="treasurelist">
1142 This entry determines which initial items the character receives.
1143 </attribute>
1144<section name="stats">
1145 <attribute arch="Str" editor="strength" type="int">
1146 The player's strength will rise by the given value if he chooses this
1147 class. (Negative values make strength fall)
1148 </attribute>
1149 <attribute arch="Dex" editor="dexterity" type="int">
1150 The player's dexterity will rise by the given value if he chooses this
1151 class. (Negative values make dexterity fall)
1152 </attribute>
1153 <attribute arch="Con" editor="constitution" type="int">
1154 The player's constitution will rise by the given value if he chooses this
1155 class. (Negative values make constitution fall)
1156 </attribute>
1157 <attribute arch="Int" editor="intelligence" type="int">
1158 The player's intelligence will rise by the given value if he chooses this
1159 class. (Negative values make intelligence fall)
1160 </attribute>
1161 <attribute arch="Pow" editor="power" type="int">
1162 The player's power will rise by the given value if he chooses this
1163 class. (Negative values make power fall)
1164 </attribute>
1165 <attribute arch="Wis" editor="wisdom" type="int">
1166 The player's wisdom will rise by the given value if he chooses this
1167 class. (Negative values make wisdom fall)
1168 </attribute>
1169 <attribute arch="Cha" editor="charisma" type="int">
1170 The player's charisma will rise by the given value if he chooses this
1171 class. (Negative values make charisma fall)
1172 </attribute>
1173</section>
1101</type> 1174</type>
1102 1175
1103<!--####################################################################--> 1176<!--####################################################################-->
1104<type number="87" name="Cloak"> 1177<type number="87" name="Cloak">
1105 <import_type name="Amulet" /> 1178 <import_type name="Amulet" />
1114 </use> 1187 </use>
1115 <attribute arch="magic" editor="magic bonus" type="int"> 1188 <attribute arch="magic" editor="magic bonus" type="int">
1116 &lt;magic bonus&gt; works just like ac, except that it can be improved by 1189 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1117 "scrolls of Enchant Armour" or reduced by acid. It is less useful 1190 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1118 than direct armour-class bonus on the cloak. 1191 than direct armour-class bonus on the cloak.
1119 1192
1120 Important: &lt;magic bonus&gt; on cloaks has no effect if there is no 1193 Important: &lt;magic bonus&gt; on cloaks has no effect if there is no
1121 &lt;armour class&gt; set. It only works in combination with &lt;armour class&gt;. 1194 &lt;armour class&gt; set. It only works in combination with &lt;armour class&gt;.
1122 </attribute> 1195 </attribute>
1123</type> 1196</type>
1124 1197
1153 </UL> ]]> 1226 </UL> ]]>
1154 </use> 1227 </use>
1155 <attribute arch="race" editor="container class" type="string"> 1228 <attribute arch="race" editor="container class" type="string">
1156 If set, the container will hold only certain types of objects. 1229 If set, the container will hold only certain types of objects.
1157 Possible choices for &lt;container class&gt; are: "gold and jewels", 1230 Possible choices for &lt;container class&gt; are: "gold and jewels",
1158 "arrows" and "keys". 1231 "arrows" and "keys".
1159 1232
1160 Unfortunately it is not easy to create new container 1233 Unfortunately it is not easy to create new container
1161 classes, because items need a matching counterpiece-attribute 1234 classes, because items need a matching counterpiece-attribute
1162 to the &lt;container class&gt; before they can be put inside a 1235 to the &lt;container class&gt; before they can be put inside a
1163 container. This attribute ("race") is set only for the existing 1236 container. This attribute ("race") is set only for the existing
1164 container classes. 1237 container classes.
1277 one of the inventory items is duplicated. The duplicated item is randomly 1350 one of the inventory items is duplicated. The duplicated item is randomly
1278 chosen from all items present. 1351 chosen from all items present.
1279 </attribute> 1352 </attribute>
1280 <attribute arch="connected" editor="connection" type="int"> 1353 <attribute arch="connected" editor="connection" type="int">
1281 Whenever the connection value is activated, 1354 Whenever the connection value is activated,
1282 the creator gets triggered. 1355 the creator gets triggered.
1283 </attribute> 1356 </attribute>
1284 <attribute arch="lifesave" editor="infinit uses" type="bool"> 1357 <attribute arch="lifesave" editor="infinit uses" type="bool">
1285 If &lt;infinit uses&gt; is set, the creator will work 1358 If &lt;infinit uses&gt; is set, the creator will work
1286 infinitly, regardless of the value in &lt;number of uses&gt;. 1359 infinitely, regardless of the value in &lt;number of uses&gt;.
1287 </attribute> 1360 </attribute>
1288 <attribute arch="hp" editor="number of uses" type="int"> 1361 <attribute arch="hp" editor="number of uses" type="int">
1289 The creator can be triggered &lt;number of uses&gt; times, thus 1362 The creator can be triggered &lt;number of uses&gt; times, thus
1290 creating that many objects, before it dissappears. 1363 creating that many objects, before it dissappears.
1291 Default is &lt;number of uses&gt; 1 (-&gt; one-time usage). 1364 Default is &lt;number of uses&gt; 1 (-&gt; one-time usage).
1407<section name="spreading"> 1480<section name="spreading">
1408 <attribute arch="wc" editor="infectiosness" type="int"> 1481 <attribute arch="wc" editor="infectiosness" type="int">
1409 The &lt;infectiosness&gt; defines the chance of new creatures getting 1482 The &lt;infectiosness&gt; defines the chance of new creatures getting
1410 infected. If you set this too high, the disease is very likely to 1483 infected. If you set this too high, the disease is very likely to
1411 be too effective. 1484 be too effective.
1412 1485
1413 &lt;infectiosness&gt;/127 is the chance of someone in range catching it. 1486 &lt;infectiosness&gt;/127 is the chance of someone in range catching it.
1414 </attribute> 1487 </attribute>
1415 <attribute arch="last_grace" editor="attenuation" type="int"> 1488 <attribute arch="last_grace" editor="attenuation" type="int">
1416 The &lt;attenuation&gt; value reduces the diseases' &lt;infectiosness&gt; 1489 The &lt;attenuation&gt; value reduces the diseases' &lt;infectiosness&gt;
1417 everytime it infects someone new. This limits how many generations 1490 everytime it infects someone new. This limits how many generations
1420 <attribute arch="magic" editor="infection range" type="int"> 1493 <attribute arch="magic" editor="infection range" type="int">
1421 &lt;infection range&gt; sets the range at which infection may occur. 1494 &lt;infection range&gt; sets the range at which infection may occur.
1422 If positive, the &lt;infection range&gt; is level dependant - If negative, 1495 If positive, the &lt;infection range&gt; is level dependant - If negative,
1423 it is not: 1496 it is not:
1424 E.g. "&lt;infection range&gt; -6" means creatures can be infected in 1497 E.g. "&lt;infection range&gt; -6" means creatures can be infected in
1425 six square range, and &lt;plaque level&gt; doesn't modify that. 1498 six square range, and &lt;plaque level&gt; doesn't modify that.
1426 </attribute> 1499 </attribute>
1427 <attribute arch="maxhp" editor="persistence" type="int"> 1500 <attribute arch="maxhp" editor="persistence" type="int">
1428 &lt;persistence&gt; defines how long the disease can persist OUTSIDE a host. 1501 &lt;persistence&gt; defines how long the disease can persist OUTSIDE a host.
1429 The disease can "move" &lt;persistence&gt; times outside a host before it 1502 The disease can "move" &lt;persistence&gt; times outside a host before it
1430 vanishes. A negative value means the disease lasts for permanent 1503 vanishes. A negative value means the disease lasts for permanent
1433 <attribute arch="maxgrace" editor="curing duration" type="int"> 1506 <attribute arch="maxgrace" editor="curing duration" type="int">
1434 The disease will last in the host for &lt;curing duration&gt; "disease moves" 1507 The disease will last in the host for &lt;curing duration&gt; "disease moves"
1435 (Assuming the host survives and doesn't use a curing spell). 1508 (Assuming the host survives and doesn't use a curing spell).
1436 After this period the disease is naturally cured, which provides the 1509 After this period the disease is naturally cured, which provides the
1437 host with immunity from this particular disease of lower or equal level. 1510 host with immunity from this particular disease of lower or equal level.
1438 1511
1439 A negative value means the disease can never be cured naturally. 1512 A negative value means the disease can never be cured naturally.
1440 1513
1441 Note that this value can be further modulated by spell-parameters, 1514 Note that this value can be further modulated by spell-parameters,
1442 if the disease is registered as spell in the code. Due to that, 1515 if the disease is registered as spell in the code. Due to that,
1443 most default diseases take a lot longer to cure than it seems. 1516 most default diseases take a lot longer to cure than it seems.
1444 </attribute> 1517 </attribute>
1445 <attribute arch="speed" editor="moving speed" type="float"> 1518 <attribute arch="speed" editor="moving speed" type="float">
1455 <attribute arch="dam" editor="damage" type="int"> 1528 <attribute arch="dam" editor="damage" type="int">
1456 A disease with a positive &lt;damage&gt; value will strike the player for that 1529 A disease with a positive &lt;damage&gt; value will strike the player for that
1457 amount of damage every time the symptoms occur. 1530 amount of damage every time the symptoms occur.
1458 A negative &lt;damage&gt; value produces %-based damage: "&lt;damage&gt; -10" means 1531 A negative &lt;damage&gt; value produces %-based damage: "&lt;damage&gt; -10" means
1459 the player's health is reduced by 10% every time the symptoms strike. 1532 the player's health is reduced by 10% every time the symptoms strike.
1460 1533
1461 Diseases with %-based damage can be dangerous - but not deadly - 1534 Diseases with %-based damage can be dangerous - but not deadly -
1462 for players of all levels. 1535 for players of all levels.
1463 </attribute> 1536 </attribute>
1464 <attribute arch="other_arch" editor="create arch" type="string"> 1537 <attribute arch="other_arch" editor="create arch" type="string">
1465 If set, the specified arch is created and dropped every time the 1538 If set, the specified arch is created and dropped every time the
1466 symptoms strike. 1539 symptoms strike.
1467 1540
1468 This can be various things: farts, body pieces, eggs ... 1541 This can be various things: farts, body pieces, eggs ...
1469 Even monsters can be created that way. You could also make a 1542 Even monsters can be created that way. You could also make a
1470 disease where some exotic stuff like money/gems is created. 1543 disease where some exotic stuff like money/gems is created.
1471 </attribute> 1544 </attribute>
1472 <attribute arch="last_sp" editor="slowdown penalty" type="int"> 1545 <attribute arch="last_sp" editor="slowdown penalty" type="int">
1527 </attribute> 1600 </attribute>
1528</section> 1601</section>
1529 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text"> 1602 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text">
1530 This text is displayed to the player every time the 1603 This text is displayed to the player every time the
1531 symptoms strike. 1604 symptoms strike.
1605 </attribute>
1606</type>
1607
1608<!--####################################################################-->
1609<type number="23" name="Door">
1610 <ignore>
1611 <ignore_list name="non_pickable" />
1612 </ignore>
1613 <description><![CDATA[
1614 A door can be opened with a normal key. It also can be broken by attacking
1615 it, and it can be defeated with the lockpicking skill. If a door is
1616 defeated, horizontally and vertically adjacent doors are automatically
1617 removed. ]]>
1618 </description>
1619 <attribute arch="no_pick" value="1" type="fixed" />
1620 <attribute arch="alive" value="1" type="fixed" />
1621 <attribute arch="no_pass" editor="blocking passage" type="bool">
1622 If set, a player must defeat the door to enter.
1623 </attribute>
1624 <attribute arch="hp" editor="hitpoints" type="int">
1625 The more &lt;hitpoints&gt; the door has, the longer it takes to be broken.
1626 </attribute>
1627 <attribute arch="ac" editor="armour class" type="int">
1628 Doors of high &lt;armour class&gt; are less likely to get hit.
1629 &lt;armour class&gt; can be considered the "counterpiece" to
1630 &lt;weapon class&gt;.
1631 </attribute>
1632 <attribute arch="other_arch" editor="drop arch" type="string">
1633 This string defines the object that will be created when the door was
1634 defeated.
1635 </attribute>
1636 <attribute arch="randomitems" editor="treasurelist" type="treasurelist">
1637 This entry determines what kind of traps will appear in the door.
1532 </attribute> 1638 </attribute>
1533</type> 1639</type>
1534 1640
1535<!--####################################################################--> 1641<!--####################################################################-->
1536<type number="83" name="Duplicator"> 1642<type number="83" name="Duplicator">
1581 (Monsters cannot use exits.) Depending on how it is set, the player applies 1687 (Monsters cannot use exits.) Depending on how it is set, the player applies
1582 the exit just by walking into it, or by pressing &lt;a&gt;pply when standing on 1688 the exit just by walking into it, or by pressing &lt;a&gt;pply when standing on
1583 the exit. ]]> 1689 the exit. ]]>
1584 </description> 1690 </description>
1585 <use><![CDATA[ 1691 <use><![CDATA[
1586 If you want to have an invisible exit, set &lt;invisible&gt; (, of course 1692 If you want to have an invisible exit, set &lt;invisible&gt; (, of course
1587 &lt;apply by walking&gt;), and put it *under* the floor. Otherwise it could be 1693 &lt;apply by walking&gt;), and put it *under* the floor. Otherwise it could be
1588 detected with the show_invisible spell. 1694 detected with the show_invisible spell.
1589 <br><br> 1695 <br><br>
1590 You can be quite creative with the outlook of secret exits (their "face"). 1696 You can be quite creative with the outlook of secret exits (their "face").
1591 Don't forget to give the player relyable hints about them though. ]]> 1697 Don't forget to give the player relyable hints about them though. ]]>
1595 You can enter an absolute path, beginning with '/' (for example 1701 You can enter an absolute path, beginning with '/' (for example
1596 "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning 1702 "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning
1597 with '/' (On the map "/peterm/FireTemple/Fire2" for example I could use the 1703 with '/' (On the map "/peterm/FireTemple/Fire2" for example I could use the
1598 relative path "Fire1"). Use relative paths whenever possible! Note that 1704 relative path "Fire1"). Use relative paths whenever possible! Note that
1599 upper/lower case must always be set correctly. However, please use lower 1705 upper/lower case must always be set correctly. However, please use lower
1600 case only. 1706 case only.
1601 It is well possible to have an exit pointing to the same map that the exit 1707 It is well possible to have an exit pointing to the same map that the exit
1602 is on. If slaying is not set in an exit, the player will see a message like 1708 is on. If slaying is not set in an exit, the player will see a message like
1603 "the exit is closed". 1709 "the exit is closed".
1604 </attribute> 1710 </attribute>
1605 <attribute arch="hp" editor="destination X" type="int"> 1711 <attribute arch="hp" editor="destination X" type="int">
1819 </attribute> 1925 </attribute>
1820<section name="terrain"> 1926<section name="terrain">
1821 <attribute arch="slow_move" editor="slow movement" type="int"> 1927 <attribute arch="slow_move" editor="slow movement" type="int">
1822 If &lt;slow movement&gt; is set to a value greater zero, all 1928 If &lt;slow movement&gt; is set to a value greater zero, all
1823 creatures moving over this spot will be slower than normal. 1929 creatures moving over this spot will be slower than normal.
1824 1930
1825 &lt;slow movement&gt; 1 - rough terrain 1931 &lt;slow movement&gt; 1 - rough terrain
1826 &lt;slow movement&gt; 2 - very rough terrain 1932 &lt;slow movement&gt; 2 - very rough terrain
1827 ... 1933 ...
1828 &lt;slow movement&gt; 7 - spider web (sticky as hell) 1934 &lt;slow movement&gt; 7 - spider web (sticky as hell)
1829 </attribute> 1935 </attribute>
1874 </attribute> 1980 </attribute>
1875<section name="terrain"> 1981<section name="terrain">
1876 <attribute arch="slow_move" editor="slow movement" type="int"> 1982 <attribute arch="slow_move" editor="slow movement" type="int">
1877 If &lt;slow movement&gt; is set to a value greater zero, all 1983 If &lt;slow movement&gt; is set to a value greater zero, all
1878 creatures moving over this spot will be slower than normal. 1984 creatures moving over this spot will be slower than normal.
1879 1985
1880 &lt;slow movement&gt; 1 - rough terrain 1986 &lt;slow movement&gt; 1 - rough terrain
1881 &lt;slow movement&gt; 2 - very rough terrain 1987 &lt;slow movement&gt; 2 - very rough terrain
1882 ... 1988 ...
1883 &lt;slow movement&gt; 7 - spider web (sticky as hell) 1989 &lt;slow movement&gt; 7 - spider web (sticky as hell)
1884 </attribute> 1990 </attribute>
1982 </use> 2088 </use>
1983 <attribute arch="magic" editor="magic bonus" type="int"> 2089 <attribute arch="magic" editor="magic bonus" type="int">
1984 &lt;magic bonus&gt; works just like ac, except that it can be improved by 2090 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1985 "scrolls of Enchant Armour" or reduced by acid. It is less useful 2091 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1986 than direct armour-class bonus on the helmet. 2092 than direct armour-class bonus on the helmet.
1987 2093
1988 Important: &lt;magic bonus&gt; on girdles has no effect if there is no 2094 Important: &lt;magic bonus&gt; on girdles has no effect if there is no
1989 &lt;armour class&gt; set. Girdles shouldn't have &lt;armour class&gt;, thus 2095 &lt;armour class&gt; set. Girdles shouldn't have &lt;armour class&gt;, thus
1990 &lt;magic bonus&gt; is pointless here. 2096 &lt;magic bonus&gt; is pointless here.
1991 </attribute> 2097 </attribute>
1992</type> 2098</type>
2101 </attribute> 2207 </attribute>
2102<section name="terrain"> 2208<section name="terrain">
2103 <attribute arch="slow_move" editor="slow movement" type="int"> 2209 <attribute arch="slow_move" editor="slow movement" type="int">
2104 If &lt;slow movement&gt; is set to a value greater zero, all 2210 If &lt;slow movement&gt; is set to a value greater zero, all
2105 creatures moving over this spot will be slower than normal. 2211 creatures moving over this spot will be slower than normal.
2106 2212
2107 &lt;slow movement&gt; 1 - rough terrain 2213 &lt;slow movement&gt; 1 - rough terrain
2108 &lt;slow movement&gt; 2 - very rough terrain 2214 &lt;slow movement&gt; 2 - very rough terrain
2109 ... 2215 ...
2110 &lt;slow movement&gt; 7 - spider web (sticky as hell) 2216 &lt;slow movement&gt; 7 - spider web (sticky as hell)
2111 </attribute> 2217 </attribute>
2148 </use> 2254 </use>
2149 <attribute arch="magic" editor="magic bonus" type="int"> 2255 <attribute arch="magic" editor="magic bonus" type="int">
2150 &lt;magic bonus&gt; works just like ac, except that it can be improved by 2256 &lt;magic bonus&gt; works just like ac, except that it can be improved by
2151 "scrolls of Enchant Armour" or reduced by acid. It is less useful 2257 "scrolls of Enchant Armour" or reduced by acid. It is less useful
2152 than direct armour-class bonus on the helmet. 2258 than direct armour-class bonus on the helmet.
2153 2259
2154 Important: &lt;magic bonus&gt; on helmets has no effect if there is no 2260 Important: &lt;magic bonus&gt; on helmets has no effect if there is no
2155 &lt;armour class&gt; set. It only works in combination with &lt;armour class&gt;. 2261 &lt;armour class&gt; set. It only works in combination with &lt;armour class&gt;.
2156 Crowns for instance typically provide no &lt;amour class&gt;. 2262 Crowns for instance typically provide no &lt;amour class&gt;.
2157 </attribute> 2263 </attribute>
2158</type> 2264</type>
2169 </description> 2275 </description>
2170 <attribute arch="no_pick" value="1" type="fixed" /> 2276 <attribute arch="no_pick" value="1" type="fixed" />
2171 <attribute arch="other_arch" editor="god name" type="string"> 2277 <attribute arch="other_arch" editor="god name" type="string">
2172 The altar belongs to the god of the given name. Possible options for 2278 The altar belongs to the god of the given name. Possible options for
2173 &lt;god name&gt; are: Devourers, Lythander, Mostrai, Gaea, Ruggilli, Gnarg, 2279 &lt;god name&gt; are: Devourers, Lythander, Mostrai, Gaea, Ruggilli, Gnarg,
2174 Gorokh, Valriel and Sorig. 2280 Gorokh, Valriel and Sorig.
2175 2281
2176 If you want to have an unconsecrated altar, set 2282 If you want to have an unconsecrated altar, set
2177 &lt;god name&gt; 0 and eventually &lt;reconsecrate level&gt; 0. 2283 &lt;god name&gt; 0 and eventually &lt;reconsecrate level&gt; 0.
2178 </attribute> 2284 </attribute>
2179 <attribute arch="level" editor="reconsecrate level" type="int"> 2285 <attribute arch="level" editor="reconsecrate level" type="int">
2180 To re-consecrate an altar, the player's wisdom level must be as 2286 To re-consecrate an altar, the player's wisdom level must be as
2181 high or higher than this value. In that way, some altars can not 2287 high or higher than this value. In that way, some altars can not
2182 be re-consecrated, while other altars, like those in dungeons, could be. 2288 be re-consecrated, while other altars, like those in dungeons, could be.
2183 2289
2184 Altars located in temples should have at least &lt;reconsecrate level&gt; 100. 2290 Altars located in temples should have at least &lt;reconsecrate level&gt; 100.
2185 Some characters might need those altars, they would be very unhappy to 2291 Some characters might need those altars, they would be very unhappy to
2186 see them re-consecrated to another cult. 2292 see them re-consecrated to another cult.
2187 </attribute> 2293 </attribute>
2188</type> 2294</type>
2308 This string specifies the object we are looking for: We have a match 2414 This string specifies the object we are looking for: We have a match
2309 if the player does/don't carry an object of archtype &lt;match arch name&gt;. 2415 if the player does/don't carry an object of archtype &lt;match arch name&gt;.
2310 </attribute> 2416 </attribute>
2311 <attribute arch="hp" editor="match type" type="int"> 2417 <attribute arch="hp" editor="match type" type="int">
2312 This value specifies the object we are looking for: We have a match 2418 This value specifies the object we are looking for: We have a match
2313 if the player does/don't carry an object that is of type &lt;match type&gt;. 2419 if the player does/don't carry an object that is of type &lt;match type&gt;.
2314 2420
2315 Example: Set &lt;match type&gt; 15 (type 15 =&gt; weapon) and &lt;blocking passage&gt; 2421 Example: Set &lt;match type&gt; 15 (type 15 =&gt; weapon) and &lt;blocking passage&gt;
2316 enabled. Now you have an inv. checker blocking all players that carry any 2422 enabled. Now you have an inv. checker blocking all players that carry any
2317 kind of melee weapon. To pass, a player is forced to leave behind all 2423 kind of melee weapon. To pass, a player is forced to leave behind all
2318 his weaponry... bad news for a warrior. ;) 2424 his weaponry... bad news for a warrior. ;)
2319 </attribute> 2425 </attribute>
2333 </attribute> 2439 </attribute>
2334 <attribute arch="last_heal" editor="remove match" type="bool"> 2440 <attribute arch="last_heal" editor="remove match" type="bool">
2335 &lt;remove match&gt; means remove object if found. Setting this is usually not 2441 &lt;remove match&gt; means remove object if found. Setting this is usually not
2336 recommended because inv. checkers are in general invisible. So, unlike 2442 recommended because inv. checkers are in general invisible. So, unlike
2337 for altars/ locked doors, the player won't expect to lose an object when 2443 for altars/ locked doors, the player won't expect to lose an object when
2338 walking over that square. And he doesn't even get a message either. 2444 walking over that square. And he doesn't even get a message either.
2339 2445
2340 So, *if* you enable &lt;remove match&gt;, make sure 2446 So, *if* you enable &lt;remove match&gt;, make sure
2341 to inform the player what's going on! 2447 to inform the player what's going on!
2342 </attribute> 2448 </attribute>
2343</type> 2449</type>
2344 2450
2392 This text may describe the object. 2498 This text may describe the object.
2393 </attribute> 2499 </attribute>
2394</type> 2500</type>
2395 2501
2396<!--####################################################################--> 2502<!--####################################################################-->
2503<type number="24" name="Key">
2504 <description><![CDATA[
2505 When carrying a key, a normal door can be opened. The key will
2506 disappear. ]]>
2507 </description>
2508 <attribute arch="startequip" editor="godgiven item" type="bool">
2509 A godgiven item vanishes as soon as the player
2510 drops it to the ground.
2511 </attribute>
2512</type>
2513
2514<!--####################################################################-->
2397<type number="20" name="Locked Door"> 2515<type number="20" name="Locked Door">
2398 <ignore> 2516 <ignore>
2399 <ignore_list name="non_pickable" /> 2517 <ignore_list name="non_pickable" />
2400 </ignore> 2518 </ignore>
2401 <description><![CDATA[ 2519 <description><![CDATA[
2403 the appropriate special key. ]]> 2521 the appropriate special key. ]]>
2404 </description> 2522 </description>
2405 <use><![CDATA[ 2523 <use><![CDATA[
2406 If you want to create a locked door that cannot be opened (no key), 2524 If you want to create a locked door that cannot be opened (no key),
2407 set a &lt;key string&gt; like "no_key_available". This will clearify things 2525 set a &lt;key string&gt; like "no_key_available". This will clearify things
2408 and only a fool would create a key matching that string. 2526 and only a fool would create a key matching that string.
2409 2527
2410 Door-objects can not only be used for "doors". In many maps these 2528 Door-objects can not only be used for "doors". In many maps these
2411 are used with all kinds of faces/names, especially often as 2529 are used with all kinds of faces/names, especially often as
2412 "magic force". A good example is the map "Lake_Country/ebony/masterlev". 2530 "magic force". A good example is the map "Lake_Country/ebony/masterlev".
2413 There you have magic forces (door objects) put under certain artifact 2531 There you have magic forces (door objects) put under certain artifact
2414 items. To get your hands on the artifacts, you need to bring up the 2532 items. To get your hands on the artifacts, you need to bring up the
2418 <attribute arch="no_pick" value="1" type="fixed" /> 2536 <attribute arch="no_pick" value="1" type="fixed" />
2419 <attribute arch="slaying" editor="key string" type="string"> 2537 <attribute arch="slaying" editor="key string" type="string">
2420 The &lt;key string&gt; in the door must be identical with the 2538 The &lt;key string&gt; in the door must be identical with the
2421 &lt;key string&gt; in the special key, then the door is unlocked. 2539 &lt;key string&gt; in the special key, then the door is unlocked.
2422 It is VERY important to set the &lt;key string&gt; to something that 2540 It is VERY important to set the &lt;key string&gt; to something that
2423 is unique among the CF mapset. 2541 is unique among the CF mapset.
2424 2542
2425 DONT EVER USE the default string "set_individual_value". 2543 DONT EVER USE the default string "set_individual_value".
2426 </attribute> 2544 </attribute>
2427 <attribute arch="no_magic" editor="restrict spells" type="bool"> 2545 <attribute arch="no_magic" editor="restrict spells" type="bool">
2428 Restricting the use of spells to pass this door. 2546 Restricting the use of spells to pass this door.
2429 This should be set in most cases. 2547 This should be set in most cases.
2471 <attribute arch_begin="msg" arch_end="endmsg" editor="keyword-matching" type="text"> 2589 <attribute arch_begin="msg" arch_end="endmsg" editor="keyword-matching" type="text">
2472 This textfield contains the keyword-matching-syntax. The text should 2590 This textfield contains the keyword-matching-syntax. The text should
2473 have the following format: "@match &lt;keyword1&gt;|&lt;keyword2&gt;|... ". 2591 have the following format: "@match &lt;keyword1&gt;|&lt;keyword2&gt;|... ".
2474 Any number of keywords from one to infinite is allowed. Make sure 2592 Any number of keywords from one to infinite is allowed. Make sure
2475 they are seperated by a '|'. 2593 they are seperated by a '|'.
2476 2594
2477 Examples: "@match yes", "@match gold|treasure". The connected 2595 Examples: "@match yes", "@match gold|treasure". The connected
2478 value will be triggerd when the player speaks any of the given 2596 value will be triggerd when the player speaks any of the given
2479 keywords within a two-square radius. IMPORTANT: Upper/lower case 2597 keywords within a two-square radius. IMPORTANT: Upper/lower case
2480 does not make a difference! 2598 does not make a difference!
2481 </attribute> 2599 </attribute>
2659 </attribute> 2777 </attribute>
2660 <attribute arch="name" editor="delete mark" type="string"> 2778 <attribute arch="name" editor="delete mark" type="string">
2661 When the player steps onto the marker, all existing forces in 2779 When the player steps onto the marker, all existing forces in
2662 the players inventory with a &lt;key string&gt; matching &lt;delete mark&gt; 2780 the players inventory with a &lt;key string&gt; matching &lt;delete mark&gt;
2663 will be removed. If you don't want to remove any marks, leave 2781 will be removed. If you don't want to remove any marks, leave
2664 this textfield empty. 2782 this textfield empty.
2665 2783
2666 Note that the string &lt;delete mark&gt; is set as the name of 2784 Note that the string &lt;delete mark&gt; is set as the name of
2667 this marker. So don't be confused, and remember changing the 2785 this marker. So don't be confused, and remember changing the
2668 name will take effect on the marker's functionality. 2786 name will take effect on the marker's functionality.
2669 </attribute> 2787 </attribute>
2670 <attribute arch_begin="msg" arch_end="endmsg" editor="marking message" type="text"> 2788 <attribute arch_begin="msg" arch_end="endmsg" editor="marking message" type="text">
2671 In the moment when the player gets marked, this text is displayed 2789 In the moment when the player gets marked, this text is displayed
2672 to him. You should really set a message in any marker you create, 2790 to him. You should really set a message in any marker you create,
2673 because it's the only way for the player to notice what's going on. 2791 because it's the only way for the player to notice what's going on.
2674 </attribute> 2792 </attribute>
2675</type> 2793</type>
2676<!--####################################################################-->
2677<type number="26" name="Timed Gate">
2678 <ignore>
2679 <ignore_list name="non_pickable" />
2680 </ignore>
2681 <description><![CDATA[
2682 Gates play an important role in Crossfire. Gates can be opened
2683 by activating a button/trigger, by speaking passwords (-> magic_ear)
2684 or carrying special key-objects (-> inventory checker).
2685 Unlike locked doors, gates can get shut again after a player has
2686 passed, which makes them more practical in many cases. Unlike normal
2687 gates, timed gates open when triggered but automatically close again
2688 after some time.]]>
2689 </description>
2690 <use><![CDATA[
2691 Use gates to divide your maps into separated areas. After solving
2692 area A, the player gains access to area B, and so on. Make your
2693 maps more complex than "one-way". ]]>
2694 </use>
2695 <attribute arch="no_pick" value="1" type="fixed" />
2696 <attribute arch="connected" editor="connection" type="int">
2697 Whenever the inventory checker is triggered, all objects with identical
2698 &lt;connection&gt; value get activated. This only makes sense together with
2699 &lt;blocking passage&gt; disabled. If unset, the gate opens automatically
2700 after some time.
2701 </attribute>
2702 <attribute arch="wc" editor="position state" type="int">
2703 The &lt;position state&gt; defines the position of the gate:
2704 Zero means completely open/down, the "number of animation-steps" (usually
2705 about 6 or 7) means completely closed/up state. I suggest you don't
2706 mess with this value - Leave the default in place.
2707 </attribute>
2708 <attribute arch="no_pass" editor="blocking passage" type="bool">
2709 For open gates, &lt;blocking passage&gt; should be unset.
2710 For closed gates it must be set.
2711 </attribute>
2712 <attribute arch="no_magic" editor="restrict spells" type="bool">
2713 Restricting the use of spells to pass this gate. This has
2714 an effect only if &lt;block view&gt; is disabled.
2715 </attribute>
2716 <attribute arch="damned" editor="restrict prayers" type="bool">
2717 Restricting the use of prayers to pass this door. This has
2718 an effect only if &lt;block view&gt; is disabled.
2719 </attribute>
2720 <attribute arch="hp" editor="open duration" type="int">
2721 Defines the duration the gate remains closed. This only takes effect
2722 if the gate is not connected.
2723 </attribute>
2724</type>
2725 2794
2726<!--####################################################################-->
2727<type number="52" name="Trigger Marker">
2728 <ignore>
2729 <ignore_list name="system_object" />
2730 </ignore>
2731 <description><![CDATA[
2732 A trigger marker is an object that inserts an invisible force (a mark) into a
2733 player stepping on it WHEN TRIGGERED. This force does nothing except containing a
2734 &lt;key string&gt; which can be discovered by detectors or inventory
2735 checkers. It is also possible to use markers for removing marks again.
2736 <br><br>
2737 Note that the player has no possibility to "see" his own marks,
2738 except by the effect that they cause on the maps. ]]>
2739 </description>
2740 <use><![CDATA[
2741 Markers hold real cool possibilities for map-making. I encourage
2742 you to use them frequently. However there is one negative point
2743 about markers: Players don't "see" what's going on with them. It is
2744 your task, as map-creator, to make sure the player is always well
2745 informed and never confused.
2746 <br><br>
2747 Please avoid infinite markers when they aren't needed. They're
2748 using a little space in the player file after all, so if there
2749 is no real purpose, set an expire time. ]]>
2750 </use>
2751 <attribute arch="no_pick" value="1" type="fixed" />
2752 <attribute arch="slaying" editor="key string" type="string">
2753 The &lt;key string&gt; can be detected by inv. checkers/detectors.
2754 If the player already has a force with that &lt;key string&gt;,
2755 there won't be inserted a second one.
2756 </attribute>
2757 <attribute arch="connected" editor="connection" type="int">
2758 Unlike a regular marker this is the connection that triggers this marker to activate.
2759 </attribute>
2760 <attribute arch="food" editor="mark duration" type="int">
2761 This value defines the duration of the force it inserts.
2762 If nonzero, the duration of the player's mark is finite:
2763 about 1 food per 10 seconds. &lt;mark duration&gt; zero/unset
2764 means the mark will stay on the player forever.
2765 </attribute>
2766 <attribute arch="name" editor="delete mark" type="string">
2767 When the player steps onto the marker, all existing forces in
2768 the players inventory with a &lt;key string&gt; matching &lt;delete mark&gt;
2769 will be removed. If you don't want to remove any marks, leave
2770 this textfield empty.
2771
2772 Note that the string &lt;delete mark&gt; is set as the name of
2773 this marker. So don't be confused, and remember changing the
2774 name will take effect on the marker's functionality.
2775 </attribute>
2776 <attribute arch_begin="msg" arch_end="endmsg" editor="marking message" type="text">
2777 In the moment when the player gets marked, this text is displayed
2778 to him. You should really set a message in any marker you create,
2779 because it's the only way for the player to notice what's going on.
2780 </attribute>
2781</type>
2782<!--####################################################################--> 2795<!--####################################################################-->
2783<type number="36" name="Money"> 2796<type number="36" name="Money">
2784 <ignore> 2797 <ignore>
2785 <attribute arch="unpaid" /> 2798 <attribute arch="unpaid" />
2786 </ignore> 2799 </ignore>
2828 It's no fun to play for two hours just to find out the last 2841 It's no fun to play for two hours just to find out the last
2829 monster is unbeatable. Similar, it's not exciting to fight orcs 2842 monster is unbeatable. Similar, it's not exciting to fight orcs
2830 after passing a room of dragons.<br> 2843 after passing a room of dragons.<br>
2831 This rule applies only for linear maps (one room after the other), 2844 This rule applies only for linear maps (one room after the other),
2832 with treasure at the end. You can sprinkle the treasure around, 2845 with treasure at the end. You can sprinkle the treasure around,
2833 or make non-linear maps - That is often more entertaining. 2846 or make non-linear maps - That is often more entertaining.
2834 <LI> Places with high level monsters must not be easy to reach. 2847 <LI> Places with high level monsters must not be easy to reach.
2835 Balrogs, Dragonmen and the likes should be at the end of a quest, 2848 Balrogs, Dragonmen and the likes should be at the end of a quest,
2836 not at the beginning. 2849 not at the beginning.
2837 <LI> Don't stick monsters together that tend to kill each other. 2850 <LI> Don't stick monsters together that tend to kill each other.
2838 Fire- and cold dragons in one room for example is a bad idea. 2851 Fire- and cold dragons in one room for example is a bad idea.
2839 By weakening and killing each other they are easy prey for players, 2852 By weakening and killing each other they are easy prey for players,
2840 not worth the experience they hold. 2853 not worth the experience they hold.
2841 <LI> Create your own monsters, especially for "boss"-type monsters. 2854 <LI> Create your own monsters, especially for "boss"-type monsters.
2858 <attribute arch="alive" value="1" type="fixed" /> 2871 <attribute arch="alive" value="1" type="fixed" />
2859 <attribute arch="randomitems" editor="treasurelist" type="treasurelist"> 2872 <attribute arch="randomitems" editor="treasurelist" type="treasurelist">
2860 When the monster is killed, items from the treasurelist will 2873 When the monster is killed, items from the treasurelist will
2861 drop to the ground. This is a common way to reward players 2874 drop to the ground. This is a common way to reward players
2862 for killing (masses of) monsters. 2875 for killing (masses of) monsters.
2863 2876
2864 Note that you can always put items into the monster's 2877 Note that you can always put items into the monster's
2865 inventory. Those will drop-at-kill just like the stuff 2878 inventory. Those will drop-at-kill just like the stuff
2866 from the &lt;treasurelist&gt;. 2879 from the &lt;treasurelist&gt;.
2867 </attribute> 2880 </attribute>
2868 <attribute arch="level" editor="level" type="int"> 2881 <attribute arch="level" editor="level" type="int">
2877 </attribute> 2890 </attribute>
2878 <attribute arch="exp" editor="experience" type="int"> 2891 <attribute arch="exp" editor="experience" type="int">
2879 When a player kills this monster, he will get exactly this 2892 When a player kills this monster, he will get exactly this
2880 amount of &lt;experience&gt;. The experience will flow into 2893 amount of &lt;experience&gt;. The experience will flow into
2881 the skill-cathegory the player used for the kill. 2894 the skill-cathegory the player used for the kill.
2882 2895
2883 If you create special monsters of tweaked strenght/abilities, 2896 If you create special monsters of tweaked strenght/abilities,
2884 always make sure that the &lt;experience&gt; is set to a 2897 always make sure that the &lt;experience&gt; is set to a
2885 reasonable value. Compare with existing arches to get a feeling 2898 reasonable value. Compare with existing arches to get a feeling
2886 what reasonable means. Keep in mind that spellcasting monsters 2899 what reasonable means. Keep in mind that spellcasting monsters
2887 are a lot harder to kill than non-spellcasters! 2900 are a lot harder to kill than non-spellcasters!
2906 This only takes effect if &lt;multiply&gt; is enabled. The monster 2919 This only takes effect if &lt;multiply&gt; is enabled. The monster
2907 will create a new monster every once in a while by duplicating it's inventory. 2920 will create a new monster every once in a while by duplicating it's inventory.
2908 In this case, the &lt;breed monster&gt; value is never used and can be forgotten. 2921 In this case, the &lt;breed monster&gt; value is never used and can be forgotten.
2909 Each time the monster need to generate an object, it will be 2922 Each time the monster need to generate an object, it will be
2910 a randomly chosen item from the inventory. When generator is destroyed, 2923 a randomly chosen item from the inventory. When generator is destroyed,
2911 inventory is destroyed. 2924 inventory is destroyed.
2912 </attribute> 2925 </attribute>
2913 <attribute arch="flying" editor="flying" type="bool"> 2926 <attribute arch="flying" editor="flying" type="bool">
2914 Flying monsters won't get slowed down in rough terrain 2927 Flying monsters won't get slowed down in rough terrain
2915 and they won't be affected by movers. 2928 and they won't be affected by movers.
2916 </attribute> 2929 </attribute>
2921 <attribute arch="carrying" editor="carries weight" type="int"> 2934 <attribute arch="carrying" editor="carries weight" type="int">
2922 If a monster has something in the inventory, this 2935 If a monster has something in the inventory, this
2923 value can be set to reflect the slowdown due to 2936 value can be set to reflect the slowdown due to
2924 the carried weight. 2937 the carried weight.
2925 </attribute> 2938 </attribute>
2926 2939
2927<section name="melee"> 2940<section name="melee">
2928 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 2941 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
2929 This number is a bitmask, specifying the monster's attacktypes 2942 This number is a bitmask, specifying the monster's attacktypes
2930 for melee damage. Attacktypes are: physical, magical, fire, cold.. etc. 2943 for melee damage. Attacktypes are: physical, magical, fire, cold.. etc.
2931 Strong monsters often have more than just physical attacktype. 2944 Strong monsters often have more than just physical attacktype.
2932 2945
2933 When a monster with multiple attacktypes hits aan oponent, it will do 2946 When a monster with multiple attacktypes hits aan oponent, it will do
2934 as much damage as the "best" of it's attacktypes does. So, the more 2947 as much damage as the "best" of it's attacktypes does. So, the more
2935 attacktypes, the more dangerous. Attacktypes "magic" and "chaos" are 2948 attacktypes, the more dangerous. Attacktypes "magic" and "chaos" are
2936 somehow exceptions. 2949 somehow exceptions.
2937 </attribute> 2950 </attribute>
2981 <attribute arch="one_hit" editor="one hit only" type="bool"> 2994 <attribute arch="one_hit" editor="one hit only" type="bool">
2982 Monsters with &lt;one hit only&gt; dissapear after one successful hit 2995 Monsters with &lt;one hit only&gt; dissapear after one successful hit
2983 to a player. 2996 to a player.
2984 </attribute> 2997 </attribute>
2985</section> 2998</section>
2986 2999
2987<section name="spellcraft"> 3000<section name="spellcraft">
2988 <attribute arch="can_cast_spell" editor="can cast spell" type="bool"> 3001 <attribute arch="can_cast_spell" editor="can cast spell" type="bool">
2989 If &lt;can cast spell&gt; is disabled, the monster cannot cast any spell. 3002 If &lt;can cast spell&gt; is disabled, the monster cannot cast any spell.
2990 Only wands/rods/etc can be used, given the appropriate abilities. 3003 Only wands/rods/etc can be used, given the appropriate abilities.
2991 </attribute> 3004 </attribute>
2992 <attribute arch="reflect_spell" editor="reflect spells" type="bool"> 3005 <attribute arch="reflect_spell" editor="reflect spells" type="bool">
2993 A monster with this flag has the ability to &lt;reflect spells&gt;, 3006 A monster with this flag has the ability to &lt;reflect spells&gt;,
2994 all kinds of spell-bullets and -beams will bounce off. 3007 all kinds of spell-bullets and -beams will bounce off.
2995 3008
2996 Generally this flag should not be set because it puts 3009 Generally this flag should not be set because it puts
2997 wizard-type players at an unfair disadvantage. 3010 wizard-type players at an unfair disadvantage.
2998 </attribute> 3011 </attribute>
2999 <attribute arch="sp" editor="spellpoints" type="int"> 3012 <attribute arch="sp" editor="spellpoints" type="int">
3000 Like players, monsters need &lt;spellpoints&gt; to do magic. Monsters use 3013 Like players, monsters need &lt;spellpoints&gt; to do magic. Monsters use
3011 "regenerate mana" at it's disposal. 3024 "regenerate mana" at it's disposal.
3012 </attribute> 3025 </attribute>
3013 <attribute arch="Pow" editor="spellpoint regen." type="int"> 3026 <attribute arch="Pow" editor="spellpoint regen." type="int">
3014 Monsters regenerate this many spellpoints each 16 ticks. Hence, the 3027 Monsters regenerate this many spellpoints each 16 ticks. Hence, the
3015 spellpoint regeneration rate is independent of &lt;speed&gt;. 3028 spellpoint regeneration rate is independent of &lt;speed&gt;.
3016 3029
3017 To make a real tough spellcasting monster, the rate of spellpoint 3030 To make a real tough spellcasting monster, the rate of spellpoint
3018 regeneration is most important. If your monster is still not casting 3031 regeneration is most important. If your monster is still not casting
3019 fast enough, give it the spell-ability of "regenerate mana". 3032 fast enough, give it the spell-ability of "regenerate mana".
3020 That, paired with high &lt;max spellpoints&gt;, is the ultimate thing. 3033 That, paired with high &lt;max spellpoints&gt;, is the ultimate thing.
3021 </attribute> 3034 </attribute>
3030 <attribute arch="path_denied" editor="denied paths" type="bitmask_spellpath"> 3043 <attribute arch="path_denied" editor="denied paths" type="bitmask_spellpath">
3031 Click on the &lt;denied paths&gt; button to select spellpaths. 3044 Click on the &lt;denied paths&gt; button to select spellpaths.
3032 The creature won't be able to cast spells of the specified paths. 3045 The creature won't be able to cast spells of the specified paths.
3033 </attribute> 3046 </attribute>
3034</section> 3047</section>
3035 3048
3036<section name="ability"> 3049<section name="ability">
3037 <attribute arch="Int" editor="detect hidden" type="int"> 3050 <attribute arch="Int" editor="detect hidden" type="int">
3038 The &lt;detect hidden&gt; value gives monsters the ablitity to find 3051 The &lt;detect hidden&gt; value gives monsters the ablitity to find
3039 hidden/invisible creatures. Higher values make for better 3052 hidden/invisible creatures. Higher values make for better
3040 detection-skills. Enabling &lt;see invisible&gt; makes this value 3053 detection-skills. Enabling &lt;see invisible&gt; makes this value
3075 Monster is able to read scrolls. 3088 Monster is able to read scrolls.
3076 </attribute> 3089 </attribute>
3077 <attribute arch="can_use_skill" editor="can use skills" type="bool"> 3090 <attribute arch="can_use_skill" editor="can use skills" type="bool">
3078 Monster is able to use skills from it's inventory. 3091 Monster is able to use skills from it's inventory.
3079 For example, you can put a throwing skill object and some 3092 For example, you can put a throwing skill object and some
3080 boulders into the monster's object and set &lt;can use skills&gt;. 3093 boulders into the monster's object and set &lt;can use skills&gt;.
3081 </attribute> 3094 </attribute>
3082</section> 3095</section>
3083 3096
3084<section name="behave"> 3097<section name="behave">
3085 <attribute arch="monster" editor="monster behaviour" type="bool"> 3098 <attribute arch="monster" editor="monster behaviour" type="bool">
3086 When &lt;monster behaviour&gt; is enabled, this object will behave 3099 When &lt;monster behaviour&gt; is enabled, this object will behave
3087 like a monster: It can move and attack enemies (which are 3100 like a monster: It can move and attack enemies (which are
3088 typically players). 3101 typically players).
3089 This flag should be set for all monsters as-such. 3102 This flag should be set for all monsters as-such.
3090 Monsters which don't move, like guards, should also have 3103 Monsters which don't move, like guards, should also have
3091 &lt;monster behaviour&gt;, but in combination with &lt;stand still&gt;. 3104 &lt;monster behaviour&gt;, but in combination with &lt;stand still&gt;.
3092 It should *not* be set for things like immobile generators. 3105 It should *not* be set for things like immobile generators.
3093 </attribute> 3106 </attribute>
3094 <attribute arch="unaggressive" editor="unaggressive" type="bool"> 3107 <attribute arch="unaggressive" editor="unaggressive" type="bool">
3095 &lt;unaggressive&gt; monsters do not attack players unless attacked first. 3108 &lt;unaggressive&gt; monsters do not attack players unless attacked first.
3096 </attribute> 3109 </attribute>
3097 <attribute arch="friendly" editor="friendly" type="bool"> 3110 <attribute arch="friendly" editor="friendly" type="bool">
3100 </attribute> 3113 </attribute>
3101 <attribute arch="stand_still" editor="stand still" type="bool"> 3114 <attribute arch="stand_still" editor="stand still" type="bool">
3102 Monsters which &lt;stand still&gt; won't move to leave their position. 3115 Monsters which &lt;stand still&gt; won't move to leave their position.
3103 When agressive, they will attack all enemies who get close to 3116 When agressive, they will attack all enemies who get close to
3104 them. This behaviour is commonly known from castle guards. 3117 them. This behaviour is commonly known from castle guards.
3105 3118
3106 In older versions of Crossfire it was possible to eventually 3119 In older versions of Crossfire it was possible to eventually
3107 push a &lt;stand still&gt;-monster out of position by force. 3120 push a &lt;stand still&gt;-monster out of position by force.
3108 I believe this is no longer possible. Neverthless, you should 3121 I believe this is no longer possible. Neverthless, you should
3109 still be cautious when lining up &lt;stand still&gt;-monster in order 3122 still be cautious when lining up &lt;stand still&gt;-monster in order
3110 to "defend" something: Such monsters are rather easy to kill. 3123 to "defend" something: Such monsters are rather easy to kill.
3121 creature is able to perform. 3134 creature is able to perform.
3122 </attribute> 3135 </attribute>
3123 <attribute arch="pick_up" editor="pick up" type="bitmask_pick_up"> 3136 <attribute arch="pick_up" editor="pick up" type="bitmask_pick_up">
3124 Click on the &lt;pick up&gt; button and select which types of objects 3137 Click on the &lt;pick up&gt; button and select which types of objects
3125 the creature should try to pick up. 3138 the creature should try to pick up.
3126 3139
3127 Note also that if &lt;can use armor&gt;, &lt;can use weapon&gt;, &lt;can use ring&gt;... 3140 Note also that if &lt;can use armor&gt;, &lt;can use weapon&gt;, &lt;can use ring&gt;...
3128 etc are set, then the creature will pick up the matching items even 3141 etc are set, then the creature will pick up the matching items even
3129 if this is not set here. 3142 if this is not set here.
3130 </attribute> 3143 </attribute>
3131 <attribute arch="Wis" editor="sensing range" type="int"> 3144 <attribute arch="Wis" editor="sensing range" type="int">
3142 When the monster's health points drop below this percentage 3155 When the monster's health points drop below this percentage
3143 (relative to max health), it attempts to run away from the 3156 (relative to max health), it attempts to run away from the
3144 attacker. 3157 attacker.
3145 </attribute> 3158 </attribute>
3146</section> 3159</section>
3147 3160
3148<section name="resistance"> 3161<section name="resistance">
3149 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int"> 3162 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
3150 </attribute> 3163 </attribute>
3151 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int"> 3164 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
3152 </attribute> 3165 </attribute>
3189 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int"> 3202 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
3190 </attribute> 3203 </attribute>
3191</section> 3204</section>
3192 <attribute arch_begin="msg" arch_end="endmsg" editor="npc message" type="text"> 3205 <attribute arch_begin="msg" arch_end="endmsg" editor="npc message" type="text">
3193 </attribute> 3206 </attribute>
3207</type>
3208
3209<!--####################################################################-->
3210<type number="28" name="Monster (Grimreaper)">
3211 <import_type name="Monster &amp; NPC" />
3212 <ignore>
3213 <attribute arch="material" />
3214 <attribute arch="name_pl" />
3215 <attribute arch="nrof" />
3216 <attribute arch="value" />
3217 <attribute arch="unpaid" />
3218 </ignore>
3219 <description><![CDATA[
3220 A grimreaper is a monster that vanishes after it did some number of
3221 draining attacks. ]]> <!-- XXX: is this ok? -->
3222 </description>
3223<section name="grimreaper">
3224 <attribute arch="value" editor="attacks" type="int">
3225 The object vanishes after this number of draining attacks.
3226 </attribute>
3227</section>
3194</type> 3228</type>
3195 3229
3196<!--####################################################################--> 3230<!--####################################################################-->
3197<type number="65" name="Mood Floor"> 3231<type number="65" name="Mood Floor">
3198 <ignore> 3232 <ignore>
3220 </use> 3254 </use>
3221 <attribute arch="no_pick" value="1" type="fixed" /> 3255 <attribute arch="no_pick" value="1" type="fixed" />
3222 <attribute arch="last_sp" editor="mood" type="list_mood"> 3256 <attribute arch="last_sp" editor="mood" type="list_mood">
3223 &lt;mood&gt; is used to determine what will happen to the 3257 &lt;mood&gt; is used to determine what will happen to the
3224 monster when affected by the mood floor: 3258 monster when affected by the mood floor:
3225 3259
3226 &lt;mood&gt; 'furious': Makes all monsters aggressive 3260 &lt;mood&gt; 'furious': Makes all monsters aggressive
3227 3261
3228 &lt;mood&gt; 'angry': As above but pets are unaffected 3262 &lt;mood&gt; 'angry': As above but pets are unaffected
3229 3263
3230 &lt;mood&gt; 'calm': Makes all monsters unaggressive 3264 &lt;mood&gt; 'calm': Makes all monsters unaggressive
3231 3265
3232 &lt;mood&gt; 'sleep': Puts all monsters to sleep 3266 &lt;mood&gt; 'sleep': Puts all monsters to sleep
3233 3267
3234 &lt;mood&gt; 'charm': Turns monster into a pet of person 3268 &lt;mood&gt; 'charm': Turns monster into a pet of person
3235 who triggers the square. This setting is not 3269 who triggers the square. This setting is not
3236 enabled for continous operation, you need to 3270 enabled for continous operation, you need to
3237 insert a &lt;connection&gt; value! 3271 insert a &lt;connection&gt; value!
3238 </attribute> 3272 </attribute>
3239 <attribute arch="connected" editor="connection" type="int"> 3273 <attribute arch="connected" editor="connection" type="int">
3240 This should only be set in combination with &lt;mood number&gt; 4. 3274 This should only be set in combination with &lt;mood number&gt; 4.
3241 Normally, monsters are affected by the mood floor as soon as they 3275 Normally, monsters are affected by the mood floor as soon as they
3242 step on it. But charming (monster -&gt; pet) is too powerful, 3276 step on it. But charming (monster -&gt; pet) is too powerful,
3243 so it needs to be activated. 3277 so it needs to be activated.
3244 3278
3245 Typically it is connected to an altar, for buying a "hireling". 3279 Typically it is connected to an altar, for buying a "hireling".
3246 But a powerful pet could as well be the reward for solving a 3280 But a powerful pet could as well be the reward for solving a
3247 quest. Or even better: It could be *part* of a quest! 3281 quest. Or even better: It could be *part* of a quest!
3248 </attribute> 3282 </attribute>
3249 <attribute arch="no_magic" editor="no spells" type="bool"> 3283 <attribute arch="no_magic" editor="no spells" type="bool">
3310 A mover with direction set to &lt;none&gt; will spin clockwise, 3344 A mover with direction set to &lt;none&gt; will spin clockwise,
3311 thus pushing creatures in unpredictable directions. 3345 thus pushing creatures in unpredictable directions.
3312 </attribute> 3346 </attribute>
3313 <attribute arch="lifesave" editor="gets used up" type="bool"> 3347 <attribute arch="lifesave" editor="gets used up" type="bool">
3314 If enabled, the mover gets "used up" after a certain number of moves 3348 If enabled, the mover gets "used up" after a certain number of moves
3315 (specified by &lt;number of uses&gt;). If disabled, the mover works infinitly. 3349 (specified by &lt;number of uses&gt;). If disabled, the mover works infinitely.
3316 </attribute> 3350 </attribute>
3317 <attribute arch="hp" editor="number of uses" type="int"> 3351 <attribute arch="hp" editor="number of uses" type="int">
3318 This value has only a meaning if &lt;gets used up&gt; is set: 3352 This value has only a meaning if &lt;gets used up&gt; is set:
3319 &lt;number of uses&gt; is the number of times minus one, that it 3353 &lt;number of uses&gt; is the number of times minus one, that it
3320 will move a creature before disappearing. (It will move 3354 will move a creature before disappearing. (It will move
3321 someone &lt;number of uses&gt;+1 times, then vanish). 3355 someone &lt;number of uses&gt;+1 times, then vanish).
3322 </attribute> 3356 </attribute>
3323<section name="targets"> 3357<section name="targets">
3324 <attribute arch="level" editor="move players" type="bool"> 3358 <attribute arch="level" editor="move players" type="bool">
3325 If &lt;move players&gt; is enabled, both players and monsters will be 3359 If &lt;move players&gt; is enabled, both players and monsters will be
3326 moved. In the arches' default it is disabled - thus ONLY monsters 3360 moved. In the arches' default it is disabled - thus ONLY monsters
3327 get moved. Remember that "monsters" includes NPCs! 3361 get moved. Remember that "monsters" includes NPCs!
3328 3362
3329 This feature provides you with the possibility to make NPCs 3363 This feature provides you with the possibility to make NPCs
3330 literally "come to life". Example: The player is talking with an 3364 literally "come to life". Example: The player is talking with an
3331 NPC, speaking a certain keyword. This triggers a magic_ear and 3365 NPC, speaking a certain keyword. This triggers a magic_ear and
3332 activates creators, creating (per default: monster-only) movers 3366 activates creators, creating (per default: monster-only) movers
3333 under the NPC's feet. The NPC starts "walking" on a predefined 3367 under the NPC's feet. The NPC starts "walking" on a predefined
3366 <attribute arch="no_pick" value="1" type="fixed" /> 3400 <attribute arch="no_pick" value="1" type="fixed" />
3367 <attribute arch="slaying" editor="match race" type="string"> 3401 <attribute arch="slaying" editor="match race" type="string">
3368 the &lt;match race&gt; defines the object we're looking for. If &lt;match race&gt; 3402 the &lt;match race&gt; defines the object we're looking for. If &lt;match race&gt;
3369 matches the monster's or the player's race, we have a match. 3403 matches the monster's or the player's race, we have a match.
3370 Yes, pedestals can detect a player's race! E.g. you could create a 3404 Yes, pedestals can detect a player's race! E.g. you could create a
3371 place where only fireborns can enter, by setting "slaying unnatural". 3405 place where only fireborns can enter, by setting "slaying unnatural".
3372 3406
3373 If it is set to "player", any player stepping on the pedestal 3407 If it is set to "player", any player stepping on the pedestal
3374 is a match. Very useful if you want to open a gate for players 3408 is a match. Very useful if you want to open a gate for players
3375 but not for monsters. 3409 but not for monsters.
3376 </attribute> 3410 </attribute>
3377 <attribute arch="connected" editor="connection" type="int"> 3411 <attribute arch="connected" editor="connection" type="int">
3467 </attribute> 3501 </attribute>
3468 <attribute arch="attacktype" editor="special effect" type="list_potion_effect"> 3502 <attribute arch="attacktype" editor="special effect" type="list_potion_effect">
3469 There are two types of special effects for potions: 3503 There are two types of special effects for potions:
3470 'life restoration' - restore the player's stats lost by death or draining 3504 'life restoration' - restore the player's stats lost by death or draining
3471 (this has nothing in common with the restoration spell!) 3505 (this has nothing in common with the restoration spell!)
3472 'improvement' - increase the player's maximum health/mana/grace 3506 'improvement' - increase the player's maximum health/mana/grace
3473 by a very small amount. 3507 by a very small amount.
3474 </attribute> 3508 </attribute>
3475 <attribute arch="cursed" editor="cursed" type="bool"> 3509 <attribute arch="cursed" editor="cursed" type="bool">
3476 If a potion is cursed, benefits generally turn into penalties. 3510 If a potion is cursed, benefits generally turn into penalties.
3477 Note that potions can be "uncursed" by praying over an altar, 3511 Note that potions can be "uncursed" by praying over an altar,
3633 weapon and projectile. ]]> 3667 weapon and projectile. ]]>
3634 </description> 3668 </description>
3635 <use><![CDATA[ 3669 <use><![CDATA[
3636 If you want to create new kinds of projectiles, you could 3670 If you want to create new kinds of projectiles, you could
3637 add an alchemical receipe to create these. 3671 add an alchemical receipe to create these.
3638 3672
3639 Don't create new pairs of weapons &amp; projectiles unless 3673 Don't create new pairs of weapons &amp; projectiles unless
3640 they really fullfill a useful purpose. In fact, even bows 3674 they really fullfill a useful purpose. In fact, even bows
3641 and crossbows are rarely ever used. ]]> 3675 and crossbows are rarely ever used. ]]>
3642 </use> 3676 </use>
3643 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 3677 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
3648 </attribute> 3682 </attribute>
3649 <attribute arch="race" editor="ammunition class" type="string"> 3683 <attribute arch="race" editor="ammunition class" type="string">
3650 Only shooting weapons with matching &lt;ammunition class&gt; can fire 3684 Only shooting weapons with matching &lt;ammunition class&gt; can fire
3651 these projectiles. For arrows set "arrows", for crossbow bolts 3685 these projectiles. For arrows set "arrows", for crossbow bolts
3652 set "crossbow bolts" (big surprise). 3686 set "crossbow bolts" (big surprise).
3653 3687
3654 In certain cases, the ammunition class is displayed in the game. 3688 In certain cases, the ammunition class is displayed in the game.
3655 Hence, when you create a new ammunition class, choose an 3689 Hence, when you create a new ammunition class, choose an
3656 intuitive name like "missiles", "spirit bolts" - whatever. 3690 intuitive name like "missiles", "spirit bolts" - whatever.
3657 3691
3658 You can also make special containers holding these projectiles 3692 You can also make special containers holding these projectiles
3659 by setting the &lt;container class&gt; to match your &lt;ammunition class&gt;. 3693 by setting the &lt;container class&gt; to match your &lt;ammunition class&gt;.
3660 </attribute> 3694 </attribute>
3661 <attribute arch="slaying" editor="slaying race" type="string"> 3695 <attribute arch="slaying" editor="slaying race" type="string">
3662 Slaying means the weapon does tripple (3x) damage to monsters 3696 Slaying means the weapon does tripple (3x) damage to monsters
3778 <attribute arch="value" /> 3812 <attribute arch="value" />
3779 <attribute arch="material" /> 3813 <attribute arch="material" />
3780 <attribute arch="unpaid" /> 3814 <attribute arch="unpaid" />
3781 </ignore> 3815 </ignore>
3782 <description><![CDATA[ 3816 <description><![CDATA[
3783 A rune is a magical enscription on the dungeon floor. 3817 A rune is a magical enscription on the dungeon floor.
3784 <br><br> 3818 <br><br>
3785 Runes hit any monster or person who steps on them for 'dam' damage in 3819 Runes hit any monster or person who steps on them for 'dam' damage in
3786 'attacktype' attacktype. Alternatively, the rune could contain any spell, 3820 'attacktype' attacktype. Alternatively, the rune could contain any spell,
3787 and will cast this spell when it detonates. Yet another kind is the 3821 and will cast this spell when it detonates. Yet another kind is the
3788 "summoning rune", summoning predefined monsters of any kind, at detonation. 3822 "summoning rune", summoning predefined monsters of any kind, at detonation.
3796 <attribute arch="no_pick" value="1" type="fixed" /> 3830 <attribute arch="no_pick" value="1" type="fixed" />
3797 <attribute arch="walk_on" value="1" type="fixed" /> 3831 <attribute arch="walk_on" value="1" type="fixed" />
3798 <attribute arch="level" editor="rune level" type="int"> 3832 <attribute arch="level" editor="rune level" type="int">
3799 This value sets the level the rune will cast the spell it contains at, 3833 This value sets the level the rune will cast the spell it contains at,
3800 if applicable. A level 99 rune casts a very, very mean spell of whatever. 3834 if applicable. A level 99 rune casts a very, very mean spell of whatever.
3801 (&lt;rune level&gt; 0 runes won't detonate at all!) 3835 (&lt;rune level&gt; 0 runes won't detonate at all!)
3802 3836
3803 Level Also effects how easily a rune may be found and disarmed, and 3837 Level Also effects how easily a rune may be found and disarmed, and
3804 how much experience the player gets for doing so. Beware: High level 3838 how much experience the player gets for doing so. Beware: High level
3805 runes can be quite a cheap source of experience! So either make them 3839 runes can be quite a cheap source of experience! So either make them
3806 tough, or keep the level low. 3840 tough, or keep the level low.
3807 </attribute> 3841 </attribute>
3814 The rune will detonate &lt;number of charges&gt; times before disappearing. 3848 The rune will detonate &lt;number of charges&gt; times before disappearing.
3815 </attribute> 3849 </attribute>
3816 <attribute arch="dam" editor="direct damage" type="int"> 3850 <attribute arch="dam" editor="direct damage" type="int">
3817 &lt;direct damage&gt; specifies how much damage is done by the rune, 3851 &lt;direct damage&gt; specifies how much damage is done by the rune,
3818 if it doesn't contain a spell. This should be set in reasonable 3852 if it doesn't contain a spell. This should be set in reasonable
3819 relation to the rune's level. 3853 relation to the rune's level.
3820 </attribute> 3854 </attribute>
3821 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 3855 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
3822 If there isn't any spell (and &lt;summon monster&gt; is unset), this 3856 If there isn't any spell (and &lt;summon monster&gt; is unset), this
3823 attribute defines what attacktype to use for direct damage when 3857 attribute defines what attacktype to use for direct damage when
3824 the rune detonates. 3858 the rune detonates.
3889 <attribute arch="no_magic" value="1" type="fixed" /> 3923 <attribute arch="no_magic" value="1" type="fixed" />
3890 <attribute arch="damned" value="1" type="fixed" /> 3924 <attribute arch="damned" value="1" type="fixed" />
3891</type> 3925</type>
3892 3926
3893<!--####################################################################--> 3927<!--####################################################################-->
3928<type number="111" name="Scroll">
3929 <ignore>
3930 <attribute arch="title" />
3931 </ignore>
3932 <description><![CDATA[
3933 Scrolls contain spells (similar to spell-potions). Unlike potions,
3934 scrolls require a certain literacy skill to read successfully.
3935 Accordingly, for a successful reading, a small amount of
3936 experience is gained. Scrolls allow only one time usage, but
3937 usually they are sold in bulks. ]]>
3938 </description>
3939 <use><![CDATA[
3940 For low level quests, scrolls of healing/curing-spells
3941 can be a nice reward. At higher levels, scrolls become less
3942 and less useful. ]]>
3943 </use>
3944 <attribute arch="level" editor="casting level" type="int">
3945 The spell of the scroll will be casted at this level.
3946 This value should always be set, at least to 1.
3947 </attribute>
3948 <attribute arch="sp" editor="spell" type="spell">
3949 When a player/monster applies this scroll, the selected &lt;spell&gt;
3950 will be casted (once). This should work for any given spell.
3951 </attribute>
3952 <attribute arch="startequip" editor="godgiven item" type="bool">
3953 A godgiven item vanishes as soon as the player
3954 drops it to the ground.
3955 </attribute>
3956</type>
3957
3958<!--####################################################################-->
3959<type number="33" name="Shield">
3960 <import_type name="Amulet" />
3961 <description><![CDATA[
3962 Wearing a shield, the object's stats will directly be inherited to
3963 the player. Shields usually provide good defense, only surpassed
3964 by brestplate armour. Resistances on shields aren't uncommon either. ]]>
3965 </description>
3966 <use><![CDATA[
3967 Feel free to create your own special artifacts. However, it is very
3968 important that you keep your artifact in balance with existing maps. ]]>
3969 </use>
3970 <attribute arch="magic" editor="magic bonus" type="int">
3971 &lt;magic bonus&gt; works just like ac, except that it can be improved by
3972 "scrolls of Enchant Armour" or reduced by acid. It is less useful
3973 than direct armour-class bonus on the shield.
3974 </attribute>
3975</type>
3976
3977<!--####################################################################-->
3894<type number="14" name="Shooting Weapon"> 3978<type number="14" name="Shooting Weapon">
3895 <description><![CDATA[ 3979 <description><![CDATA[
3896 Schooting weapons like bows/crossbows are used to shoot projectiles 3980 Schooting weapons like bows/crossbows are used to shoot projectiles
3897 (arrows/bolts). Shooting weapons and normal (melee) weapons can be 3981 (arrows/bolts). Shooting weapons and normal (melee) weapons can be
3898 wielded both at the same time. Like with any other equipment, 3982 wielded both at the same time. Like with any other equipment,
3912 </use> 3996 </use>
3913 <attribute arch="race" editor="ammunition class" type="string"> 3997 <attribute arch="race" editor="ammunition class" type="string">
3914 Only projectiles with matching &lt;ammunition class&gt; can be fired 3998 Only projectiles with matching &lt;ammunition class&gt; can be fired
3915 with this weapon. For normal bows set "arrows", for normal 3999 with this weapon. For normal bows set "arrows", for normal
3916 crossbows set "crossbow bolts". 4000 crossbows set "crossbow bolts".
3917 4001
3918 In certain cases, the ammunition class is displayed in the game. 4002 In certain cases, the ammunition class is displayed in the game.
3919 Hence, when you create a new ammunition class, choose an 4003 Hence, when you create a new ammunition class, choose an
3920 intuitive name like "missiles", "spirit bolts" - whatever. 4004 intuitive name like "missiles", "spirit bolts" - whatever.
3921 </attribute> 4005 </attribute>
3922 <attribute arch="sp" editor="shooting speed" type="int"> 4006 <attribute arch="sp" editor="shooting speed" type="int">
3923 After shooting a projectile, the player is frozen for a short 4007 After shooting a projectile, the player is frozen for a short
3924 period of time (to prevent shooting arrows machine-gun-like). 4008 period of time (to prevent shooting arrows machine-gun-like).
3925 The greater &lt;shooting speed&gt;, the shorter this period of time. 4009 The greater &lt;shooting speed&gt;, the shorter this period of time.
3926 1 is minimum (=worst) and 100 is maximum (=best) value. 4010 1 is minimum (=worst) and 100 is maximum (=best) value.
3927 4011
3928 You shouldn't set &lt;shooting speed&gt; lower than 10. YOU MUST NOT 4012 You shouldn't set &lt;shooting speed&gt; lower than 10. YOU MUST NOT
3929 SET IT TO ZERO! (That would freeze the player for eternety). 4013 SET IT TO ZERO! (That would freeze the player for eternety).
3930 </attribute> 4014 </attribute>
3931 <attribute arch="dam" editor="base damage" type="int"> 4015 <attribute arch="dam" editor="base damage" type="int">
3932 The &lt;base damage&gt; significantly affects the damage done 4016 The &lt;base damage&gt; significantly affects the damage done
3943 The &lt;item power&gt; value measures how "powerful" an artifact is. 4027 The &lt;item power&gt; value measures how "powerful" an artifact is.
3944 Players will only be able to wear equipment with a certain total 4028 Players will only be able to wear equipment with a certain total
3945 amount of &lt;item power&gt;, depending on their own level. This is the 4029 amount of &lt;item power&gt;, depending on their own level. This is the
3946 only way to prevent low level players to wear "undeserved" equipment 4030 only way to prevent low level players to wear "undeserved" equipment
3947 (like gifts from other players or cheated items). 4031 (like gifts from other players or cheated items).
3948 4032
3949 It is very important to adjust the &lt;item power&gt; value carefully 4033 It is very important to adjust the &lt;item power&gt; value carefully
3950 for every artifact you create! If zero/unset, the CF server will 4034 for every artifact you create! If zero/unset, the CF server will
3951 calculate a provisional value at runtime, but this is never 4035 calculate a provisional value at runtime, but this is never
3952 going to be an accurate measurement of &lt;item power&gt;. 4036 going to be an accurate measurement of &lt;item power&gt;.
3953 </attribute> 4037 </attribute>
4024 should have such a description. 4108 should have such a description.
4025 </attribute> 4109 </attribute>
4026</type> 4110</type>
4027 4111
4028<!--####################################################################--> 4112<!--####################################################################-->
4029<type number="111" name="Scroll">
4030 <ignore>
4031 <attribute arch="title" />
4032 </ignore>
4033 <description><![CDATA[
4034 Scrolls contain spells (similar to spell-potions). Unlike potions,
4035 scrolls require a certain literacy skill to read successfully.
4036 Accordingly, for a successful reading, a small amount of
4037 experience is gained. Scrolls allow only one time usage, but
4038 usually they are sold in bulks. ]]>
4039 </description>
4040 <use><![CDATA[
4041 For low level quests, scrolls of healing/curing-spells
4042 can be a nice reward. At higher levels, scrolls become less
4043 and less useful. ]]>
4044 </use>
4045 <attribute arch="level" editor="casting level" type="int">
4046 The spell of the scroll will be casted at this level.
4047 This value should always be set, at least to 1.
4048 </attribute>
4049 <attribute arch="sp" editor="spell" type="spell">
4050 When a player/monster applies this scroll, the selected &lt;spell&gt;
4051 will be casted (once). This should work for any given spell.
4052 </attribute>
4053 <attribute arch="startequip" editor="godgiven item" type="bool">
4054 A godgiven item vanishes as soon as the player
4055 drops it to the ground.
4056 </attribute>
4057</type>
4058
4059<!--####################################################################-->
4060<type number="33" name="Shield">
4061 <import_type name="Amulet" />
4062 <description><![CDATA[
4063 Wearing a shield, the object's stats will directly be inherited to
4064 the player. Shields usually provide good defense, only surpassed
4065 by brestplate armour. Resistances on shields aren't uncommon either. ]]>
4066 </description>
4067 <use><![CDATA[
4068 Feel free to create your own special artifacts. However, it is very
4069 important that you keep your artifact in balance with existing maps. ]]>
4070 </use>
4071 <attribute arch="magic" editor="magic bonus" type="int">
4072 &lt;magic bonus&gt; works just like ac, except that it can be improved by
4073 "scrolls of Enchant Armour" or reduced by acid. It is less useful
4074 than direct armour-class bonus on the shield.
4075 </attribute>
4076</type>
4077
4078<!--####################################################################-->
4079<type number="68" name="Shop Floor"> 4113<type number="68" name="Shop Floor">
4080 <ignore> 4114 <ignore>
4081 <ignore_list name="non_pickable" /> 4115 <ignore_list name="non_pickable" />
4082 </ignore> 4116 </ignore>
4083 <description><![CDATA[ 4117 <description><![CDATA[
4194 <attribute arch="food" editor="counter" type="int"> 4228 <attribute arch="food" editor="counter" type="int">
4195 If a counter-value is set (greater zero), the sign/magic_mouth can be applied 4229 If a counter-value is set (greater zero), the sign/magic_mouth can be applied
4196 (printing the message) only that many times. For signs this really shouldn't 4230 (printing the message) only that many times. For signs this really shouldn't
4197 be used, while for magic_mouths it is extremely helpful. 4231 be used, while for magic_mouths it is extremely helpful.
4198 Monsters walking over the magic_mouth do not decrease the counter. 4232 Monsters walking over the magic_mouth do not decrease the counter.
4199 4233
4200 Often, you might want to have a message displayed only one time. For example: 4234 Often, you might want to have a message displayed only one time. For example:
4201 The player enters your map and you put a magic_mouth to tell him about the 4235 The player enters your map and you put a magic_mouth to tell him about the
4202 monsters and how dangerous they look and all. Later, when all the monsters 4236 monsters and how dangerous they look and all. Later, when all the monsters
4203 are killed and the player leaves the map, displaying the same message a 4237 are killed and the player leaves the map, displaying the same message a
4204 second time would be silly. &lt;counter&gt; 1 does a perfect job in such cases. 4238 second time would be silly. &lt;counter&gt; 1 does a perfect job in such cases.
4321 burned or otherwise destroyed. 4355 burned or otherwise destroyed.
4322 </attribute> 4356 </attribute>
4323 <attribute arch="unique" editor="unique item" type="bool"> 4357 <attribute arch="unique" editor="unique item" type="bool">
4324 Unique items exist only one time on a server. If the item 4358 Unique items exist only one time on a server. If the item
4325 is taken, lost or destroyed - it's gone for good. 4359 is taken, lost or destroyed - it's gone for good.
4326 4360
4327 This can be used if you want to sell apartments on your 4361 This can be used if you want to sell apartments on your
4328 map: Simply sell a unique passport/key, and place 4362 map: Simply sell a unique passport/key, and place
4329 an inventory checker at the entrance of your apartment. 4363 an inventory checker at the entrance of your apartment.
4330 </attribute> 4364 </attribute>
4331 <attribute arch="startequip" editor="godgiven item" type="bool"> 4365 <attribute arch="startequip" editor="godgiven item" type="bool">
4448 <use><![CDATA[ 4482 <use><![CDATA[
4449 Spinners are very rarely used. I believe they are quite 4483 Spinners are very rarely used. I believe they are quite
4450 confusing and pointless. The only use I can think of is building 4484 confusing and pointless. The only use I can think of is building
4451 some puzzle about where to shoot into spinners to shoot somewhere you 4485 some puzzle about where to shoot into spinners to shoot somewhere you
4452 otherwise couldn't. 4486 otherwise couldn't.
4453 4487
4454 When placing spinners on a map with magic walls, make sure the spell- 4488 When placing spinners on a map with magic walls, make sure the spell-
4455 projectiles from magic walls don't get to fly in loops. ]]> 4489 projectiles from magic walls don't get to fly in loops. ]]>
4456 </use> 4490 </use>
4457 <attribute arch="sp" editor="direction number" type="int"> 4491 <attribute arch="sp" editor="direction number" type="int">
4458 The spinner will change the direction of flying objects by 4492 The spinner will change the direction of flying objects by
4459 45 degrees per &lt;direction number&gt;. Negative values spin clockwise, 4493 45 degrees per &lt;direction number&gt;. Negative values spin clockwise,
4460 positive values counter clockwise. 4494 positive values counter clockwise.
4461 4495
4462 Example: &lt;direction number&gt; -2 means spin 90 degrees clockwise. 4496 Example: &lt;direction number&gt; -2 means spin 90 degrees clockwise.
4463 </attribute> 4497 </attribute>
4464 <attribute arch="walk_on" value="1" type="fixed" /> 4498 <attribute arch="walk_on" value="1" type="fixed" />
4465 <attribute arch="fly_on" value="1" type="fixed" /> 4499 <attribute arch="fly_on" value="1" type="fixed" />
4466</type> 4500</type>
4487 and unexpected death-trap. Players should get a warning before such areas. 4521 and unexpected death-trap. Players should get a warning before such areas.
4488 </attribute> 4522 </attribute>
4489 <attribute arch="slow_move" editor="slow movement" type="int"> 4523 <attribute arch="slow_move" editor="slow movement" type="int">
4490 If &lt;slow movement&gt; is set to a value greater zero, all 4524 If &lt;slow movement&gt; is set to a value greater zero, all
4491 creatures moving over this spot will be slower than normal. 4525 creatures moving over this spot will be slower than normal.
4492 4526
4493 &lt;slow movement&gt; 1 - rough terrain 4527 &lt;slow movement&gt; 1 - rough terrain
4494 &lt;slow movement&gt; 2 - very rough terrain 4528 &lt;slow movement&gt; 2 - very rough terrain
4495 ... 4529 ...
4496 &lt;slow movement&gt; 5 - default for deep swamp 4530 &lt;slow movement&gt; 5 - default for deep swamp
4497 </attribute> 4531 </attribute>
4536 (for example "/peterm/FireTemple/fire1"). It can also be a relative 4570 (for example "/peterm/FireTemple/fire1"). It can also be a relative
4537 path, not beginning with '/' (On the map "/peterm/FireTemple/Fire2" 4571 path, not beginning with '/' (On the map "/peterm/FireTemple/Fire2"
4538 for example I could use the relative path "Fire1"). Use relative 4572 for example I could use the relative path "Fire1"). Use relative
4539 paths whenever possible! Note that upper/lower case must always be 4573 paths whenever possible! Note that upper/lower case must always be
4540 set correctly. However, please use lower case only. 4574 set correctly. However, please use lower case only.
4541 4575
4542 If the &lt;exit path&gt; is set, ONLY players can get teleported. If the 4576 If the &lt;exit path&gt; is set, ONLY players can get teleported. If the
4543 &lt;exit path&gt; is unset (empty), anything can get teleported: Players, 4577 &lt;exit path&gt; is unset (empty), anything can get teleported: Players,
4544 monsters and items. In this case, the destined map is automatically 4578 monsters and items. In this case, the destined map is automatically
4545 the same map the teleporter is on. 4579 the same map the teleporter is on.
4546 </attribute> 4580 </attribute>
4547 <attribute arch="hp" editor="destination X" type="int"> 4581 <attribute arch="hp" editor="destination X" type="int">
4548 The exit destinations define the (x, y)-coordinates where the exit 4582 The exit destinations define the (x, y)-coordinates where the exit
4549 leads to. 4583 leads to.
4550 4584
4551 If both are set to zero and &lt;exit path&gt; is empty, the player will 4585 If both are set to zero and &lt;exit path&gt; is empty, the player will
4552 get teleported to another, randomly chosen teleporter on the same 4586 get teleported to another, randomly chosen teleporter on the same
4553 map (Slightly confusing for the player though). Make sure there 4587 map (Slightly confusing for the player though). Make sure there
4554 actually *is* a second one in that case. 4588 actually *is* a second one in that case.
4555 4589
4556 If both are set to zero and &lt;exit path&gt; is set, the player will 4590 If both are set to zero and &lt;exit path&gt; is set, the player will
4557 be transferred to the "default enter location" of the destined map. 4591 be transferred to the "default enter location" of the destined map.
4558 The latter can be set in the map-properties as "Enter X/Y". Though, 4592 The latter can be set in the map-properties as "Enter X/Y". Though,
4559 please DO NOT use that. It turned out to be a source for numerous 4593 please DO NOT use that. It turned out to be a source for numerous
4560 map-bugs. 4594 map-bugs.
4561 </attribute> 4595 </attribute>
4562 <attribute arch="sp" editor="destination Y" type="int"> 4596 <attribute arch="sp" editor="destination Y" type="int">
4563 The exit destinations define the (x, y)-coordinates where the exit 4597 The exit destinations define the (x, y)-coordinates where the exit
4564 leads to. 4598 leads to.
4565 4599
4566 If both are set to zero and &lt;exit path&gt; is empty, the player will 4600 If both are set to zero and &lt;exit path&gt; is empty, the player will
4567 get teleported to another, randomly chosen teleporter on the same 4601 get teleported to another, randomly chosen teleporter on the same
4568 map (Slightly confusing for the player though). Make sure there 4602 map (Slightly confusing for the player though). Make sure there
4569 actually *is* a second one in that case. 4603 actually *is* a second one in that case.
4570 4604
4571 If both are set to zero and &lt;exit path&gt; is set, the player will 4605 If both are set to zero and &lt;exit path&gt; is set, the player will
4572 be transferred to the "default enter location" of the destined map. 4606 be transferred to the "default enter location" of the destined map.
4573 The latter can be set in the map-properties as "Enter X/Y". Though, 4607 The latter can be set in the map-properties as "Enter X/Y". Though,
4574 please DO NOT use that. It turned out to be a source for numerous 4608 please DO NOT use that. It turned out to be a source for numerous
4575 map-bugs. 4609 map-bugs.
4582 <attribute arch="speed" editor="activation speed" type="float"> 4616 <attribute arch="speed" editor="activation speed" type="float">
4583 If the &lt;activation speed&gt; is nonzero, the teleporter will 4617 If the &lt;activation speed&gt; is nonzero, the teleporter will
4584 automatically be activated in regular time-intervals. Hence, the 4618 automatically be activated in regular time-intervals. Hence, the
4585 player can just step on it and gets teleported sooner or later. 4619 player can just step on it and gets teleported sooner or later.
4586 The duration between two activates depends on the given value. 4620 The duration between two activates depends on the given value.
4587 Default in the teleporter arch is &lt;activation speed&gt; 0.1. 4621 Default in the teleporter arch is &lt;activation speed&gt; 0.1.
4588 4622
4589 VERY IMPORTANT: If you want to have your teleporter activated via 4623 VERY IMPORTANT: If you want to have your teleporter activated via
4590 button/handle/magic_ear/etc, you must set &lt;activation speed&gt; to zero! 4624 button/handle/magic_ear/etc, you must set &lt;activation speed&gt; to zero!
4625 </attribute>
4626</type>
4627
4628<!--####################################################################-->
4629<type number="26" name="Timed Gate">
4630 <ignore>
4631 <ignore_list name="non_pickable" />
4632 </ignore>
4633 <description><![CDATA[
4634 Gates play an important role in Crossfire. Gates can be opened
4635 by activating a button/trigger, by speaking passwords (-> magic_ear)
4636 or carrying special key-objects (-> inventory checker).
4637 Unlike locked doors, gates can get shut again after a player has
4638 passed, which makes them more practical in many cases. Unlike normal
4639 gates, timed gates open when triggered but automatically close again
4640 after some time.]]>
4641 </description>
4642 <use><![CDATA[
4643 Use gates to divide your maps into separated areas. After solving
4644 area A, the player gains access to area B, and so on. Make your
4645 maps more complex than "one-way". ]]>
4646 </use>
4647 <attribute arch="no_pick" value="1" type="fixed" />
4648 <attribute arch="connected" editor="connection" type="int">
4649 Whenever the inventory checker is triggered, all objects with identical
4650 &lt;connection&gt; value get activated. This only makes sense together with
4651 &lt;blocking passage&gt; disabled. If unset, the gate opens automatically
4652 after some time.
4653 </attribute>
4654 <attribute arch="wc" editor="position state" type="int">
4655 The &lt;position state&gt; defines the position of the gate:
4656 Zero means completely open/down, the "number of animation-steps" (usually
4657 about 6 or 7) means completely closed/up state. I suggest you don't
4658 mess with this value - Leave the default in place.
4659 </attribute>
4660 <attribute arch="no_pass" editor="blocking passage" type="bool">
4661 For open gates, &lt;blocking passage&gt; should be unset.
4662 For closed gates it must be set.
4663 </attribute>
4664 <attribute arch="no_magic" editor="restrict spells" type="bool">
4665 Restricting the use of spells to pass this gate. This has
4666 an effect only if &lt;block view&gt; is disabled.
4667 </attribute>
4668 <attribute arch="damned" editor="restrict prayers" type="bool">
4669 Restricting the use of prayers to pass this door. This has
4670 an effect only if &lt;block view&gt; is disabled.
4671 </attribute>
4672 <attribute arch="hp" editor="open duration" type="int">
4673 Defines the duration the gate remains closed. This only takes effect
4674 if the gate is not connected.
4591 </attribute> 4675 </attribute>
4592</type> 4676</type>
4593 4677
4594<!--####################################################################--> 4678<!--####################################################################-->
4595<type number="155" name="Trap"> 4679<type number="155" name="Trap">
4602 <attribute arch="material" /> 4686 <attribute arch="material" />
4603 <attribute arch="unpaid" /> 4687 <attribute arch="unpaid" />
4604 </ignore> 4688 </ignore>
4605 <description><![CDATA[ 4689 <description><![CDATA[
4606 A trap is a object that can either do damage or trigger another connected object 4690 A trap is a object that can either do damage or trigger another connected object
4607 when detonated. Traps are like runes except they are not magical in nature, 4691 when detonated. Traps are like runes except they are not magical in nature,
4608 and generally have either a physical attack or trigger a reaction. 4692 and generally have either a physical attack or trigger a reaction.
4609 <br><br> 4693 <br><br>
4610 Traps hit any monster or person who steps on them for 'dam' damage in 4694 Traps hit any monster or person who steps on them for 'dam' damage in
4611 'attacktype' attacktype and/or trigger a reaction. 4695 'attacktype' attacktype and/or trigger a reaction.
4612 <br><br> 4696 <br><br>
4616 Avoid monsters stepping on your traps. For example, a party of orcs setting 4700 Avoid monsters stepping on your traps. For example, a party of orcs setting
4617off your lightning wall and pit trap is usually a bad idea. ]]> 4701off your lightning wall and pit trap is usually a bad idea. ]]>
4618 </use> 4702 </use>
4619 <attribute arch="no_pick" value="1" type="fixed" /> 4703 <attribute arch="no_pick" value="1" type="fixed" />
4620 <attribute arch="walk_on" value="1" type="fixed" /> 4704 <attribute arch="walk_on" value="1" type="fixed" />
4621 <attribute arch="level" editor="trap level" type="int"> 4705 <attribute arch="level" editor="trap level" type="int">
4622 Level effects how easily a trap may be found and disarmed, and 4706 Level effects how easily a trap may be found and disarmed, and
4623 how much experience the player gets for doing so. Beware: High level 4707 how much experience the player gets for doing so. Beware: High level
4624 traps can be quite a cheap source of experience! So either make them 4708 traps can be quite a cheap source of experience! So either make them
4625 tough, or keep the level low. 4709 tough, or keep the level low.
4626 </attribute> 4710 </attribute>
4631 </attribute> 4715 </attribute>
4632 <attribute arch="hp" editor="number of charges" type="int"> 4716 <attribute arch="hp" editor="number of charges" type="int">
4633 The trap will detonate &lt;number of charges&gt; times before disappearing. 4717 The trap will detonate &lt;number of charges&gt; times before disappearing.
4634 </attribute> 4718 </attribute>
4635 <attribute arch="dam" editor="direct damage" type="int"> 4719 <attribute arch="dam" editor="direct damage" type="int">
4636 &lt;direct damage&gt; specifies how much damage is done by the trap. 4720 &lt;direct damage&gt; specifies how much damage is done by the trap.
4637 This should be set in reasonable relation to the trap's level. 4721 This should be set in reasonable relation to the trap's level.
4638 </attribute> 4722 </attribute>
4639 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 4723 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
4640 This attribute defines what attacktype to use for direct damage when 4724 This attribute defines what attacktype to use for direct damage when
4641 the trap detonates. 4725 the trap detonates.
4642 </attribute> 4726 </attribute>
4741 &lt;quality level&gt; 5 per default). 4825 &lt;quality level&gt; 5 per default).
4742 </attribute> 4826 </attribute>
4743</type> 4827</type>
4744 4828
4745<!--####################################################################--> 4829<!--####################################################################-->
4830<type number="52" name="Trigger Marker">
4831 <ignore>
4832 <ignore_list name="system_object" />
4833 </ignore>
4834 <description><![CDATA[
4835 A trigger marker is an object that inserts an invisible force (a mark) into a
4836 player stepping on it WHEN TRIGGERED. This force does nothing except containing a
4837 &lt;key string&gt; which can be discovered by detectors or inventory
4838 checkers. It is also possible to use markers for removing marks again.
4839 <br><br>
4840 Note that the player has no possibility to "see" his own marks,
4841 except by the effect that they cause on the maps. ]]>
4842 </description>
4843 <use><![CDATA[
4844 Markers hold real cool possibilities for map-making. I encourage
4845 you to use them frequently. However there is one negative point
4846 about markers: Players don't "see" what's going on with them. It is
4847 your task, as map-creator, to make sure the player is always well
4848 informed and never confused.
4849 <br><br>
4850 Please avoid infinite markers when they aren't needed. They're
4851 using a little space in the player file after all, so if there
4852 is no real purpose, set an expire time. ]]>
4853 </use>
4854 <attribute arch="no_pick" value="1" type="fixed" />
4855 <attribute arch="slaying" editor="key string" type="string">
4856 The &lt;key string&gt; can be detected by inv. checkers/detectors.
4857 If the player already has a force with that &lt;key string&gt;,
4858 there won't be inserted a second one.
4859 </attribute>
4860 <attribute arch="connected" editor="connection" type="int">
4861 Unlike a regular marker this is the connection that triggers this marker to activate.
4862 </attribute>
4863 <attribute arch="food" editor="mark duration" type="int">
4864 This value defines the duration of the force it inserts.
4865 If nonzero, the duration of the player's mark is finite:
4866 about 1 food per 10 seconds. &lt;mark duration&gt; zero/unset
4867 means the mark will stay on the player forever.
4868 </attribute>
4869 <attribute arch="name" editor="delete mark" type="string">
4870 When the player steps onto the marker, all existing forces in
4871 the players inventory with a &lt;key string&gt; matching &lt;delete mark&gt;
4872 will be removed. If you don't want to remove any marks, leave
4873 this textfield empty.
4874
4875 Note that the string &lt;delete mark&gt; is set as the name of
4876 this marker. So don't be confused, and remember changing the
4877 name will take effect on the marker's functionality.
4878 </attribute>
4879 <attribute arch_begin="msg" arch_end="endmsg" editor="marking message" type="text">
4880 In the moment when the player gets marked, this text is displayed
4881 to him. You should really set a message in any marker you create,
4882 because it's the only way for the player to notice what's going on.
4883 </attribute>
4884</type>
4885
4886<!--####################################################################-->
4746<type number="0" name="Wall"> 4887<type number="0" name="Wall">
4747 <required> 4888 <required>
4748 <attribute arch="is_floor" value="0" /> 4889 <attribute arch="is_floor" value="0" />
4749 <attribute arch="alive" value="0" /> 4890 <attribute arch="alive" value="0" />
4750 <attribute arch="no_pass" value="1" /> 4891 <attribute arch="no_pass" value="1" />
4771 Restricting the use of spells to pass this wall. 4912 Restricting the use of spells to pass this wall.
4772 </attribute> 4913 </attribute>
4773 <attribute arch="damned" editor="restrict prayers" type="bool"> 4914 <attribute arch="damned" editor="restrict prayers" type="bool">
4774 This takes effect only with &lt;blocksview&gt; disabled. 4915 This takes effect only with &lt;blocksview&gt; disabled.
4775 Restricting the use of spells to pass this wall. 4916 Restricting the use of spells to pass this wall.
4917 </attribute>
4918</type>
4919
4920<!--####################################################################-->
4921<type number="109" name="Wand &amp; Staff">
4922 <description><![CDATA[
4923 Wands contain a certain spell. The player can apply (ready) and
4924 fire the wand. After a defined number of casts, the wand is
4925 "used up". It is possible to recharge a wand with scrolls of
4926 charging, but usually that isn't worth the cost. ]]>
4927 </description>
4928 <use><![CDATA[
4929 Wands are quite seldomly used. The reason prolly is that they're
4930 generally not cost-efficient. Handing out high-level wands with
4931 powerful special spells isn't a good idea either, because of
4932 the recharge ability.
4933 <br><br>
4934 For low levels, staffs of healing/cure and word of recall are
4935 quite desirable though. Ideal rewards for low level quests. ]]>
4936 </use>
4937 <attribute arch="sp" editor="spell" type="spell">
4938 The &lt;spell&gt; specifies the contained spell.
4939 </attribute>
4940 <attribute arch="level" editor="casting level" type="int">
4941 The &lt;casting level&gt; of the wand determines it's power.
4942 An average level for wands in shops is about 10.
4943 </attribute>
4944 <attribute arch="food" editor="number of charges" type="int">
4945 The wand can be used &lt;number of charges&gt; times before it is
4946 used up. It can be recharged with scrolls of charging.
4947 </attribute>
4948 <attribute arch="startequip" editor="godgiven item" type="bool">
4949 A godgiven item vanishes as soon as the player
4950 drops it to the ground.
4951 </attribute>
4952 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
4953 This text may contain a description of the wand.
4776 </attribute> 4954 </attribute>
4777</type> 4955</type>
4778 4956
4779<!--####################################################################--> 4957<!--####################################################################-->
4780<type number="0" name="Weak Wall"> 4958<type number="0" name="Weak Wall">
4890 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 5068 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
4891 This number is a bitmask, specifying the weapon's attacktypes. 5069 This number is a bitmask, specifying the weapon's attacktypes.
4892 Attacktypes are: physical, magical, fire, cold.. etc. Most artifact weapons 5070 Attacktypes are: physical, magical, fire, cold.. etc. Most artifact weapons
4893 have no more than one or two attacktypes. Keep in mind that all weapons 5071 have no more than one or two attacktypes. Keep in mind that all weapons
4894 can be blessed by the player's diety, thus adding an additional attacktype. 5072 can be blessed by the player's diety, thus adding an additional attacktype.
4895 5073
4896 When a player hits a monster with a weapon that has more than one attacktype, 5074 When a player hits a monster with a weapon that has more than one attacktype,
4897 then he will do as much damage as the "best" of his attacktypes does. So, 5075 then he will do as much damage as the "best" of his attacktypes does. So,
4898 the more attacktypes you've got, the better your chance to take advantage 5076 the more attacktypes you've got, the better your chance to take advantage
4899 of a monster's vulnerabilities. (Btw: Same rule applies for monster vs. 5077 of a monster's vulnerabilities. (Btw: Same rule applies for monster vs.
4900 player.). Attacktypes "magic" and "chaos" are somehow exceptions. 5078 player.). Attacktypes "magic" and "chaos" are somehow exceptions.
4902 <attribute arch="weapontype" editor="weapontype" type="list_weapon_type"> 5080 <attribute arch="weapontype" editor="weapontype" type="list_weapon_type">
4903 The &lt;weapontype&gt; characterizes the weapon's type of physical 5081 The &lt;weapontype&gt; characterizes the weapon's type of physical
4904 attack. It could best be considered a "subclassification" 5082 attack. It could best be considered a "subclassification"
4905 of the physical attacktype. For now, this is only used for 5083 of the physical attacktype. For now, this is only used for
4906 attack messages! 5084 attack messages!
4907 5085
4908 You should always set this correctly when creating new 5086 You should always set this correctly when creating new
4909 weapons for your maps. 5087 weapons for your maps.
4910 </attribute> 5088 </attribute>
4911 <attribute arch="skill" editor="skill name" type="string"> 5089 <attribute arch="skill" editor="skill name" type="string">
4912 Matching &lt;skill name&gt; of the skill that is required 5090 Matching &lt;skill name&gt; of the skill that is required
4920 </attribute> 5098 </attribute>
4921 <attribute arch="slaying" editor="slaying race" type="string"> 5099 <attribute arch="slaying" editor="slaying race" type="string">
4922 Slaying means the weapon does tripple (3x) damage to monsters of the 5100 Slaying means the weapon does tripple (3x) damage to monsters of the
4923 specified race. If &lt;slaying race&gt; matches an arch name (e.g. "big_dragon"), 5101 specified race. If &lt;slaying race&gt; matches an arch name (e.g. "big_dragon"),
4924 only monsters of that archtype are hit with tripple damage. 5102 only monsters of that archtype are hit with tripple damage.
4925 5103
4926 No god blessings are possible for weapons with a race set in this entry 5104 No god blessings are possible for weapons with a race set in this entry
4927 (That's because god blessings add tripple damage against their own 5105 (That's because god blessings add tripple damage against their own
4928 enemy races). Tripple damage is very effective. 5106 enemy races). Tripple damage is very effective.
4929 </attribute> 5107 </attribute>
4930 <attribute arch="last_sp" editor="weapon speed" type="int"> 5108 <attribute arch="last_sp" editor="weapon speed" type="int">
4946 The &lt;item power&gt; value measures how "powerful" an artifact is. 5124 The &lt;item power&gt; value measures how "powerful" an artifact is.
4947 Players will only be able to wear equipment with a certain total 5125 Players will only be able to wear equipment with a certain total
4948 amount of &lt;item power&gt;, depending on their own level. This is the 5126 amount of &lt;item power&gt;, depending on their own level. This is the
4949 only way to prevent low level players to wear "undeserved" equipment 5127 only way to prevent low level players to wear "undeserved" equipment
4950 (like gifts from other players or cheated items). 5128 (like gifts from other players or cheated items).
4951 5129
4952 It is very important to adjust the &lt;item power&gt; value carefully 5130 It is very important to adjust the &lt;item power&gt; value carefully
4953 for every artifact you create! If zero/unset, the CF server will 5131 for every artifact you create! If zero/unset, the CF server will
4954 calculate a provisional value at runtime, but this is never 5132 calculate a provisional value at runtime, but this is never
4955 going to be an accurate measurement of &lt;item power&gt;. 5133 going to be an accurate measurement of &lt;item power&gt;.
4956 </attribute> 5134 </attribute>
4964 the curse is removed. 5142 the curse is removed.
4965 </attribute> 5143 </attribute>
4966 <attribute arch="lifesave" editor="save life" type="bool"> 5144 <attribute arch="lifesave" editor="save life" type="bool">
4967 An item with this flag enabled will save the players life 5145 An item with this flag enabled will save the players life
4968 for one time: When the player is wearing this item and his 5146 for one time: When the player is wearing this item and his
4969 healthpoints reach zero, the item dissapears, replenishing 5147 health points reach zero, the item disappears, replenishing
4970 half of the player's health. 5148 half of the player's health.
4971 5149
4972 An item with &lt;save life&gt; should not have 5150 An item with &lt;save life&gt; should not have
4973 any decent additional bonuses! 5151 any decent additional bonuses!
4974 </attribute> 5152 </attribute>
4975 <attribute arch="unique" editor="unique item" type="bool"> 5153 <attribute arch="unique" editor="unique item" type="bool">
4976 Unique items exist only one time on a server. If the item 5154 Unique items exist only one time on a server. If the item
5136 additional &lt;grace regen.&gt; bonus should be VERY RARE!! 5314 additional &lt;grace regen.&gt; bonus should be VERY RARE!!
5137 </attribute> 5315 </attribute>
5138 <attribute arch="food" editor="food bonus" type="int"> 5316 <attribute arch="food" editor="food bonus" type="int">
5139 Positive &lt;food bonus&gt; slows down the player's digestion, 5317 Positive &lt;food bonus&gt; slows down the player's digestion,
5140 thus he consumes less food. Negative values speed it up. 5318 thus he consumes less food. Negative values speed it up.
5141 5319
5142 Note that food is consumed not only for "being alive", but 5320 Note that food is consumed not only for "being alive", but
5143 also for healing and mana-regeneration. 5321 also for healing and mana-regeneration.
5144 &lt;food bonus&gt; only affects the amount of food consumed 5322 &lt;food bonus&gt; only affects the amount of food consumed
5145 for "being alive". Hence, even with high &lt;food bonus&gt;, 5323 for "being alive". Hence, even with high &lt;food bonus&gt;,
5146 during a fight a player can run out of food quickly. 5324 during a fight a player can run out of food quickly.
5147 </attribute> 5325 </attribute>
5148 <attribute arch="xrays" editor="xray vision" type="bool"> 5326 <attribute arch="xrays" editor="xray vision" type="bool">
5149 Xray vision allows the player to see through obstacles 5327 Xray vision allows the player to see through obstacles
5150 in a two-square-wide radius. This is extremely helpful and 5328 in a two-square-wide radius. This is extremely helpful and
5151 desireable, so don't give it away for cheap on equipment. 5329 desirable, so don't give it away for cheap on equipment.
5152 </attribute> 5330 </attribute>
5153 <attribute arch="stealth" editor="stealth" type="bool"> 5331 <attribute arch="stealth" editor="stealth" type="bool">
5154 Stealth allows the player to move silently. 5332 Stealth allows the player to move silently.
5155 This comes to effect if a player turns himself 5333 This comes to effect if a player turns himself
5156 invisible and tries to sneak around monsters. 5334 invisible and tries to sneak around monsters.
5161 the ability to &lt;reflect spells&gt;, all kinds of 5339 the ability to &lt;reflect spells&gt;, all kinds of
5162 spell-bullets and -beams will bounce off him. 5340 spell-bullets and -beams will bounce off him.
5163 This works only about 90% of all times, to 5341 This works only about 90% of all times, to
5164 avoid players being completely immune to certain 5342 avoid players being completely immune to certain
5165 types of attacks. 5343 types of attacks.
5166 5344
5167 This is a very powerful ability and it 5345 This is a very powerful ability and it
5168 shouldn't be handed out cheap! 5346 shouldn't be handed out cheap!
5169 </attribute> 5347 </attribute>
5170 <attribute arch="reflect_missile" editor="reflect missiles" type="bool"> 5348 <attribute arch="reflect_missile" editor="reflect missiles" type="bool">
5171 If a player is wearing any piece of equipment with 5349 If a player is wearing any piece of equipment with
5195 This text describes the weapons's "story". Every decent artifact weapon 5373 This text describes the weapons's "story". Every decent artifact weapon
5196 should have such a description. 5374 should have such a description.
5197 </attribute> 5375 </attribute>
5198</type> 5376</type>
5199 5377
5200<!--####################################################################-->
5201<type number="109" name="Wand &amp; Staff">
5202 <description><![CDATA[
5203 Wands contain a certain spell. The player can apply (ready) and
5204 fire the wand. After a defined number of casts, the wand is
5205 "used up". It is possible to recharge a wand with scrolls of
5206 charging, but usually that isn't worth the cost. ]]>
5207 </description>
5208 <use><![CDATA[
5209 Wands are quite seldomly used. The reason prolly is that they're
5210 generally not cost-efficient. Handing out high-level wands with
5211 powerfull special spells isn't a good idea either, because of
5212 the recharge ability.
5213 <br><br>
5214 For low levels, staffs of healing/cure and word of recall are
5215 quite desireable though. Ideal rewards for low level quests. ]]>
5216 </use>
5217 <attribute arch="sp" editor="spell" type="spell">
5218 The &lt;spell&gt; specifies the contained spell.
5219 </attribute>
5220 <attribute arch="level" editor="casting level" type="int">
5221 The &lt;casting level&gt; of the wand determines it's power.
5222 An average level for wands in shops is about 10.
5223 </attribute>
5224 <attribute arch="food" editor="number of charges" type="int">
5225 The wand can be used &lt;number of charges&gt; times before it is
5226 used up. It can be recharged with scrolls of charging.
5227 </attribute>
5228 <attribute arch="startequip" editor="godgiven item" type="bool">
5229 A godgiven item vanishes as soon as the player
5230 drops it to the ground.
5231 </attribute>
5232 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
5233 This text may contain a description of the wand.
5234 </attribute>
5235</type>
5236
5237</types> 5378</types>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines