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.35 by root, Mon Aug 25 04:04:57 2008 UTC vs.
Revision 1.66 by root, Tue Apr 20 06:49:32 2010 UTC

22# </required> # 22# </required> #
23# <ignore> # 23# <ignore> #
24# list of attributes not to import from default_type # 24# list of attributes not to import from default_type #
25# </ignore> # 25# </ignore> #
26# <description><![CDATA[ # 26# <description><![CDATA[ #
27# Description of this type. ]]> # 27# Description of this type.]]> #
28# </description> # 28# </description> #
29# <use><![CDATA[ # 29# <use><![CDATA[ #
30# How to use this type. ]]> # 30# How to use this type.]]> #
31# </use> # 31# </use> #
32# ... attributes ... # 32# ... attributes ... #
33# </type> # 33# </type> #
34# # 34# #
35# about the 'attribute' type: <attribute ... type="XXX" > # 35# about the 'attribute' type: <attribute ... type="XXX" > #
101 length CDATA #IMPLIED 101 length CDATA #IMPLIED
102 true CDATA #IMPLIED 102 true CDATA #IMPLIED
103 false CDATA #IMPLIED> 103 false CDATA #IMPLIED>
104 104
105 <!ENTITY move_on " 105 <!ENTITY move_on "
106 <attribute arch='move_on' editor='movement type' type='movement_type'> 106 <attribute arch='move_on' editor='movement on' type='movement_type'>
107 Which movement types automatically (as opposed to manually) activate this object. 107 Which movement types automatically (as opposed to manually) activate this object.
108 </attribute> 108 </attribute>
109 "> 109 ">
110 <!ENTITY move_off " 110 <!ENTITY move_off "
111 <attribute arch='move_off' editor='movement type' type='movement_type'> 111 <attribute arch='move_off' editor='movement off' type='movement_type'>
112 Which movement types deactivate this object (e.g. button). 112 Which movement types deactivate this object (e.g. button).
113 </attribute> 113 </attribute>
114 "> 114 ">
115 <!ENTITY move_type " 115 <!ENTITY move_type "
116 <attribute arch='move_type' editor='movement type' type='movement_type'> 116 <attribute arch='move_type' editor='movement type' type='movement_type'>
117 Determines which kinds of movement this object can use (e.g. for monsters) 117 Determines which kinds of movement this object can use (e.g. for monsters)
118 or grants (e.g. for amulets). 118 or grants (e.g. for amulets).
119 </attribute> 119 </attribute>
120 "> 120 ">
121 <!ENTITY movement_types_terrain " 121 <!ENTITY move_block "
122 <attribute arch='move_block' editor='blocked movement' type='movement_type'> 122 <attribute arch='move_block' editor='blocked movement' type='movement_type'>
123 Objects using these movement types cannot move over this space. 123 Objects using these movement types cannot move over this space.
124 </attribute> 124 </attribute>
125 ">
126 <!ENTITY movement_types_terrain "
127 &move_block;
125 <attribute arch='move_allow' editor='allowed movement' type='movement_type'> 128 <attribute arch='move_allow' editor='allowed movement' type='movement_type'>
126 Objects using these movement types are allowed to move over this space. Takes 129 Objects using these movement types are allowed to move over this space. Takes
127 precedence over 'blocked movements'. 130 precedence over 'blocked movements'.
128 </attribute> 131 </attribute>
129 <attribute arch='move_slow' editor='slowed movement' type='movement_type'> 132 <attribute arch='move_slow' editor='slowed movement' type='movement_type'>
148 decremented by 1. Otherwise, it is incremented by &lt;speed&gt; on 151 decremented by 1. Otherwise, it is incremented by &lt;speed&gt; on
149 every tick. 152 every tick.
150 </attribute> 153 </attribute>
151 "> 154 ">
152 <!ENTITY activate_on " 155 <!ENTITY activate_on "
153 <attribute arch='activate_on_push' editor='Activate on push' type='bool'> 156 <attribute arch='activate_on_push' editor='activate on push' type='bool'>
154 Whether the teleporter should only be activated on push. 157 Whether the teleporter should only be activated on push.
155 </attribute> 158 </attribute>
156 <attribute arch='activate_on_release' editor='Activate on release' type='bool'> 159 <attribute arch='activate_on_release' editor='activate on release' type='bool'>
157 Whether the teleporter should only be activated on release. 160 Whether the teleporter should only be activated on release.
158 </attribute> 161 </attribute>
159 "> 162 ">
160 163
161 <!ENTITY resistances_flesh_desc " 164 <!ENTITY resistances_flesh_desc "
349 &player_res_desc; 352 &player_res_desc;
350 </attribute> 353 </attribute>
351 </section> 354 </section>
352 "> 355 ">
353 356
357 <!ENTITY match_compat "
358 If the string starts with 'match ', then it is interpreted
359 as a match expression (e.g. 'match type=POTION', or 'match type=SPELL
360 in applied type=CONTAINER in inv in originator'). For details, see
361 http://pod.tst.eu/http://cvs.schmorp.de/deliantra/server/lib/cf/match.pm
362 ">
354]> 363]>
355 364
356<types> 365<types>
357 366
358<!--###################### bitmask definitions ######################--> 367<!--###################### bitmask definitions ######################-->
468 <entry value="0" name="furious" /> 477 <entry value="0" name="furious" />
469 <entry value="1" name="angry" /> 478 <entry value="1" name="angry" />
470 <entry value="2" name="calm" /> 479 <entry value="2" name="calm" />
471 <entry value="3" name="sleep" /> 480 <entry value="3" name="sleep" />
472 <entry value="4" name="charm" /> 481 <entry value="4" name="charm" />
482 <entry value="5" name="destroy monster" />
483 <entry value="6" name="destroy pet" />
473</list> 484</list>
474 485
475<list name="potion_effect"> 486<list name="potion_effect">
476 <entry value="0" name="&lt;none&gt;" /> 487 <entry value="0" name="&lt;none&gt;" />
477 <entry value="65536" name="life restoration" /> 488 <entry value="65536" name="life restoration" />
674 usually inevitable. 685 usually inevitable.
675 </attribute> 686 </attribute>
676 <attribute arch="glow_radius" editor="glow radius" type="int"> 687 <attribute arch="glow_radius" editor="glow radius" type="int">
677 If &lt;glow radius&gt; is set to a value greater zero, the object 688 If &lt;glow radius&gt; is set to a value greater zero, the object
678 appears lit up on dark maps. &lt;glow radius&gt; can be a value 689 appears lit up on dark maps. &lt;glow radius&gt; can be a value
679 between 0 and 4, the higher, the more light does the object emit. 690 between 0 and 9, the higher, the more light does the object emit.
680 </attribute> 691 </attribute>
681 <attribute arch="material" editor="material" type="bitmask_material"> 692 <attribute arch="material" editor="material" type="bitmask_material">
682 This bitmask-value informs the player of which material(s) the 693 This bitmask-value informs the player of which material(s) the
683 object consists. Material does also affect how likely the object 694 object consists. Material does also affect how likely the object
684 can be destroyed by hazardous spell-effects. 695 can be destroyed by hazardous spell-effects.
692 Putting an invisible object under the floor always prevents it from being 703 Putting an invisible object under the floor always prevents it from being
693 shown. 704 shown.
694 </attribute> 705 </attribute>
695 <attribute arch="blocksview" editor="block view" type="bool"> 706 <attribute arch="blocksview" editor="block view" type="bool">
696 If an item is set to block view, players (and monsters) cannot 707 If an item is set to block view, players (and monsters) cannot
697 see byond it unless they cross it or manage to stand ontop. 708 see beyond it unless they cross it or manage to stand ontop.
698 </attribute> 709 </attribute>
699 <attribute arch="identified" editor="identified" type="bool"> 710 <attribute arch="identified" editor="identified" type="bool">
700 If an item is identified, the player has full knowledge about it. 711 If an item is identified, the player has full knowledge about it.
701 </attribute> 712 </attribute>
702 <attribute arch="unpaid" editor="unpaid" type="bool"> 713 <attribute arch="unpaid" editor="unpaid" type="bool">
711 </attribute> 722 </attribute>
712 <attribute arch="sound_destroy" editor="destroy sound" type="string"> 723 <attribute arch="sound_destroy" editor="destroy sound" type="string">
713 The sound this objects makes when it is destroyed. Enter either a sound alias from 724 The sound this objects makes when it is destroyed. Enter either a sound alias from
714 arch/res/sound.conf.res or a path. If you enter &lt;path&gt; in this 725 arch/res/sound.conf.res or a path. If you enter &lt;path&gt; in this
715 field it will point to sound/&lt;path&gt;.ext 726 field it will point to sound/&lt;path&gt;.ext
727 </attribute>
728 <attribute arch="unique" editor="unique" type="bool">
729 Unique items exist only one time on a server. If the item
730 is taken, lost or destroyed - it's gone for good.
731 </attribute>
732 <attribute arch="connected" editor="connection" type="string">
733 For "normal" objects the connected value is mainly used for scripting purposes.
734 You can write a string in this field that can be used from a Perl script (find_link function)
735 to find this object, or all objects that got this connected value.
716 </attribute> 736 </attribute>
717</default_type> 737</default_type>
718 738
719<!-- This ignorelist is for all system objects which are non pickable 739<!-- This ignorelist is for all system objects which are non pickable
720 and invisible. They don't interact with players at all. --> 740 and invisible. They don't interact with players at all. -->
778 This text may describe the object. 798 This text may describe the object.
779 </attribute> 799 </attribute>
780</type> 800</type>
781 801
782<!--####################################################################--> 802<!--####################################################################-->
803<!-- former typ 110, which is 'inscribable' in deliantra, and was never used in cf afaik -->
783<type number="110" name="Ability"> 804<type number="999" name="Ability">
784 <ignore> 805 <ignore>
785 <ignore_list name="system_object" /> 806 <ignore_list name="system_object" />
786 </ignore> 807 </ignore>
787 <description><![CDATA[ 808 <description><![CDATA[
788 Abilities are to be put in a monster's inventory. They grant monsters the 809 Abilities are to be put in a monster's inventory. They grant monsters the
789 knowledge to cast spells. Spells from abilities are usually magical in 810 knowledge to cast spells. Spells from abilities are usually magical in
790 nature, thus adding magic attacktype to the spell-damage they produce. 811 nature, thus adding magic attacktype to the spell-damage they produce.
791 <br><br> 812 <br><br>
792 A particularly nice feature of abilities is that they can hold two 813 A particularly nice feature of abilities is that they can hold two
793 spells: One for short range- and one for long range use. 814 spells: One for short range - and one for long range use.
794 \n\n 815 \n\n
795 You should know that spellcasting monsters receive abilities via 816 You should know that spellcasting monsters receive abilities via
796 &lt;treasurelist&gt;. ]]> 817 &lt;treasurelist&gt;.]]>
797 </description> 818 </description>
798 <use><![CDATA[ 819 <use><![CDATA[
799 If you want to create "customized" spellcasting monsters, you 820 If you want to create "customized" spellcasting monsters, you
800 should use abilities (rather than spellbooks/wands or something). 821 should use abilities (rather than spellbooks/wands or something).
801 The long/short-range spell feature can make boss-monsters more 822 The long/short-range spell feature can make boss-monsters more
803 <br><br> 824 <br><br>
804 You should keep in mind that magic abilities allow players 825 You should keep in mind that magic abilities allow players
805 to get better resistance. You can turn off the magic part to 826 to get better resistance. You can turn off the magic part to
806 make the spells more dangerous. However, this really shouldn't 827 make the spells more dangerous. However, this really shouldn't
807 be neccessary unless you work on very high level maps. 828 be neccessary unless you work on very high level maps.
808 And what fun is a magic resistance cloak when it has no effect? ]]> 829 And what fun is a magic resistance cloak when it has no effect?]]>
809 </use> 830 </use>
810 <attribute arch="invisible" value="1" type="fixed" /> 831 <attribute arch="invisible" value="1" type="fixed" />
811 <attribute arch="no_drop" value="1" type="fixed" /> 832 <attribute arch="no_drop" value="1" type="fixed" />
812 <attribute arch="sp" editor="short range spell" type="spell"> 833 <attribute arch="sp" editor="short range spell" type="spell">
813 The monster will use the specified &lt;short range spell&gt; 834 The monster will use the specified &lt;short range spell&gt;
842 Note that non-magical abilities are more dangerous because 863 Note that non-magical abilities are more dangerous because
843 magic resistance does not protect from those.</attribute> 864 magic resistance does not protect from those.</attribute>
844</type> 865</type>
845 866
846<!--####################################################################--> 867<!--####################################################################-->
868
869<type number="81" name="Torch">
870 <description><![CDATA[
871 Torches are a special kind of Lamp that offer the option of lighting them
872 up without using a lighter (These torches are usually
873 called 'pyrophor torches'. See also the 'reignitable' setting).
874 The other kind of torches, that are reignitable, can be put out and
875 put on again using a lighter.]]>
876 </description>
877 <attribute arch="is_lightable" editor="reignitable" type="bool">
878 This flag controls whether the torch can be lit up again using
879 a lighter or whether it can only be used once, in which case
880 they can be enabled by simply applying them without any special tools.
881 </attribute>
882 <attribute arch="food" editor="burning duration" type="int">
883 This field specifies the burning duration of the torch.
884 </attribute>
885 <attribute arch="range" editor="enabled glow radius" type="int">
886 This field sets the glow radius of the torch if it is enabled.
887 If you want to make a torch that is already burning set the
888 "glow radius" field.
889 </attribute>
890 <attribute arch="level" editor="level" type="int">
891 If this field specyfies the cursed effect's level. If it is
892 0 no cursed effect will be generate. See also the "cursed" flag.
893 </attribute>
894 <attribute arch="cursed" editor="cursed" type="bool">
895 Cursed torches, which have a level above 0, explode if the
896 player applies them.
897 </attribute>
898</type>
899
900<type number="82" name="Lamp">
901 <description><![CDATA[
902 Lamps are carryable light sources for players with a fuel tank.]]>
903 </description>
904 <attribute arch="speed" editor="burn speed" type="float">
905 This field is the speed of the lamp. (If the value 0.00208 is given
906 here the fuel field will specify the burning duration in minutes.)
907 </attribute>
908 <attribute arch="food" editor="fuel" type="int">
909 This field sets the burning duration of the lamp, which depends on the speed
910 field of this object.
911 </attribute>
912 <attribute arch="range" editor="enabled glow radius" type="int">
913 This field sets the glow radius of the lamp if it is enabled.
914 If you want to make a lamp that is already burning set the
915 "glow radius" field.
916 </attribute>
917 <attribute arch="level" editor="level" type="int">
918 If this field specyfies the cursed effect's level. If it is
919 0 no cursed effect will be generate. See also the "cursed" flag.
920 </attribute>
921 <attribute arch="cursed" editor="cursed" type="bool">
922 Cursed lamps, which have a level above 0, explode if the
923 player applies them.
924 </attribute>
925</type>
926
927<!--####################################################################-->
847<type number="18" name="Altar"> 928<type number="18" name="Altar">
848 <ignore> 929 <ignore>
849 <ignore_list name="non_pickable" /> 930 <ignore_list name="non_pickable" />
931 <attribute arch="connected"/>
850 </ignore> 932 </ignore>
851 <description><![CDATA[ 933 <description><![CDATA[
852 When a player puts a defined number of certain items on the altar, 934 When a player puts a defined number of certain items on the altar,
853 then either a spell is casted (on the player) or a connector is 935 then either a spell is casted (on the player) or a connector is
854 triggered. If the latter is the case, the altar works only once. 936 triggered. If the latter is the case, the altar works only once.
855 Either way, the sacrificed item disappears. ]]> 937 Either way, the sacrificed item disappears.]]>
856 </description> 938 </description>
857 <attribute arch="no_pick" value="1" type="fixed" /> 939 <attribute arch="no_pick" value="1" type="fixed" />
858 &move_on; 940 &move_on;
859 <attribute arch="slaying" editor="match item name" type="string"> 941 <attribute arch="slaying" editor="match item name" type="string">
860 This string specifies the item that must be put on the altar to 942 This string specifies the item that must be put on the altar to
861 activate it. It can either be the name of an archetype, or directly 943 activate it. It can either be the name of an archetype, or directly
862 the name of an object. Yet, titles are not recognized by altars. 944 the name of an object. Yet, titles are not recognized by altars.
863 If you want the player to have to drop a specific amount of money use "money". 945 If you want the player to have to drop a specific amount of money use "money".
864 See also the "drop amount" attribute. 946 See also the "drop amount" attribute.
947 &match_compat;
865 </attribute> 948 </attribute>
866 <attribute arch="food" editor="drop amount" type="int"> 949 <attribute arch="food" editor="drop amount" type="int">
867 The drop amount specifies the amount of items (specified 950 The drop amount specifies the amount of items (specified
868 in &lt;match item name&gt;) that must be dropped to activate the altar. 951 in &lt;match item name&gt;) that must be dropped to activate the altar.
869 952
871 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then 954 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then
872 200 silver, 20 gold, or 4 platinum will all work.) 955 200 silver, 20 gold, or 4 platinum will all work.)
873 956
874 Note that the maximum possible for &lt;drop amount&gt; is 32767. 957 Note that the maximum possible for &lt;drop amount&gt; is 32767.
875 </attribute> 958 </attribute>
876 <attribute arch="connected" editor="connection" type="int"> 959 <attribute arch="connected" editor="connection" type="string">
877 If a connection value is set, the altar will trigger all objects 960 If a connection value is set, the altar will trigger all objects
878 with the same value, when activated. This will only work once. 961 with the same value, when activated. This will only work once.
879 </attribute> 962 </attribute>
880 <attribute arch="sp" editor="spell" type="spell"> 963 <attribute arch="sp" editor="spell" type="spell">
881 When activated, the selected &lt;spell&gt; will be casted (once, on the 964 When activated, the selected &lt;spell&gt; will be casted (once, on the
891 974
892<!--####################################################################--> 975<!--####################################################################-->
893<type number="31" name="Altar Trigger"> 976<type number="31" name="Altar Trigger">
894 <ignore> 977 <ignore>
895 <ignore_list name="non_pickable" /> 978 <ignore_list name="non_pickable" />
979 <attribute arch="connected"/>
896 </ignore> 980 </ignore>
897 <description><![CDATA[ 981 <description><![CDATA[
898 Altar_triggers work pretty much like normal altars 982 Altar_triggers work pretty much like normal altars
899 (drop sacrifice -> connection activated), except for the fact that 983 (drop sacrifice -> connection activated), except for the fact that
900 they reset after usage. Hence, altar_triggers can be used infinitely. ]]> 984 they reset after usage. Hence, altar_triggers can be used infinitely.]]>
901 </description> 985 </description>
902 <use><![CDATA[ 986 <use><![CDATA[
903 Altar_triggers are very useful if you want to charge a price for... 987 Altar_triggers are very useful if you want to charge a price for...
904 <UL> 988 <UL>
905 <LI> ...an item. -> Connect the altar_trigger (set "last_sp 1") to a creator. 989 <LI> ...an item. -> Connect the altar_trigger (set "last_sp 1") to a creator.
906 <LI> ...opening a gate. -> Connect the altar_trigger (set "last_sp 0") to the gate. 990 <LI> ...opening a gate. -> Connect the altar_trigger (set "last_sp 0") to the gate.
907 <LI> ...information. -> Connect the altar_trigger (set "last_sp 1") to a magic_mouth. 991 <LI> ...information. -> Connect the altar_trigger (set "last_sp 1") to a magic_mouth.
908 </UL> 992 </UL>
909 The big advantage over normal altars is the infinite usability 993 The big advantage over normal altars is the infinite usability
910 of altar_triggers! If there are ten players on one server, they're 994 of altar_triggers! If there are ten players on one server, they're
911 quite grateful if things work more than once. =) ]]> 995 quite grateful if things work more than once. =)]]>
912 </use> 996 </use>
913 <attribute arch="no_pick" value="1" type="fixed" /> 997 <attribute arch="no_pick" value="1" type="fixed" />
914 <attribute arch="slaying" editor="match item name" type="string"> 998 <attribute arch="slaying" editor="match item name" type="string">
915 This string specifies the item that must be put on the altar to 999 This string specifies the item that must be put on the altar to
916 activate it. It can either be the name of an archetype, or directly 1000 activate it. It can either be the name of an archetype, or directly
917 the name of an object. Yet, titles are not recognized by altars. 1001 the name of an object. Yet, titles are not recognized by altars.
918 If you want the player to have to drop a specific amount of money use "money". 1002 If you want the player to have to drop a specific amount of money use "money".
919 See also the "drop amount" attribute. 1003 See also the "drop amount" attribute.
1004 &match_compat;
920 </attribute> 1005 </attribute>
921 <attribute arch="food" editor="drop amount" type="int"> 1006 <attribute arch="food" editor="drop amount" type="int">
922 The drop amount specifies the amount of items (specified 1007 The drop amount specifies the amount of items (specified
923 in &lt;match item name&gt;) that must be dropped to activate the altar. 1008 in &lt;match item name&gt;) that must be dropped to activate the altar.
924 1009
926 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then 1011 sacrificed money must be equal to &lt;drop amount&gt; (ie, if food=200, then
927 200 silver, 20 gold, or 4 platinum will all work.) 1012 200 silver, 20 gold, or 4 platinum will all work.)
928 1013
929 Note that the maximum possible for &lt;drop amount&gt; is 32767. 1014 Note that the maximum possible for &lt;drop amount&gt; is 32767.
930 </attribute> 1015 </attribute>
931 <attribute arch="connected" editor="connection" type="int"> 1016 <attribute arch="connected" editor="connection" type="string">
932 If a connection value is set, the altar will trigger all objects 1017 If a connection value is set, the altar will trigger all objects
933 with the same value, when activated. This will only work once. 1018 with the same value, when activated. This will only work once.
934 </attribute> 1019 </attribute>
935 <attribute arch="sp" editor="spell" type="spell"> 1020 <attribute arch="sp" editor="spell" type="spell">
936 When activated, this &lt;spell&gt; will be casted (once, on the player). 1021 When activated, this &lt;spell&gt; will be casted (once, on the player).
963 1048
964<!--####################################################################--> 1049<!--####################################################################-->
965<type number="74" name="Skill Tool"> 1050<type number="74" name="Skill Tool">
966 <description><![CDATA[ 1051 <description><![CDATA[
967 Wearing a skill tool will give the player the ability to use a skill. 1052 Wearing a skill tool will give the player the ability to use a skill.
968 ]]> 1053 ]]>
969 </description> 1054 </description>
970 <use><![CDATA[ 1055 <use><![CDATA[
971 Feel free to assign resistancies and stats to a skill tools or change 1056 Feel free to assign resistancies and stats to a skill tools or change
972 the skill that is given. 1057 the skill that is given.
973 ]]> 1058 ]]>
974 </use> 1059 </use>
975 <attribute arch="skill" editor="skill name" type="string"> 1060 <attribute arch="skill" editor="skill name" type="string">
976 This field describes which skill the player will be able to use wearing this item. 1061 This field describes which skill the player will be able to use wearing this item.
977 </attribute> 1062 </attribute>
978 &player_stat_resist_sections; 1063 &player_stat_resist_sections;
979</type> 1064</type>
980<!--####################################################################--> 1065<!--####################################################################-->
981<type number="39" name="Amulet"> 1066<type number="39" name="Amulet">
982 <description><![CDATA[ 1067 <description><![CDATA[
983 Wearing an amulet, the object's stats will directly be inherited to 1068 Wearing an amulet, the object's stats will directly be inherited to
984 the player. Amulets are usually meant for protection and defense. ]]> 1069 the player. Amulets are usually meant for protection and defense.]]>
985 </description> 1070 </description>
986 <use><![CDATA[ 1071 <use><![CDATA[
987 Feel free to create your own special artifacts. However, it is very 1072 Feel free to create your own special artifacts. However, it is very
988 important that you keep your artifact in balance with existing maps. ]]> 1073 important that you keep your artifact in balance with existing maps.]]>
989 </use> 1074 </use>
990 <attribute arch="ac" editor="armour class" type="int"> 1075 <attribute arch="ac" editor="armour class" type="int">
991 This value defines the amount of armour-class bonus for wearing 1076 This value defines the amount of armour-class bonus for wearing
992 this item. &lt;Armour class&gt; lessens the chance of being hit. Lower 1077 this item. &lt;Armour class&gt; lessens the chance of being hit. Lower
993 values are better. It should usually be set only for armour-like equipment. 1078 values are better. It should usually be set only for armour-like equipment.
1138 Battleground is very special: In short, players can die on battleground 1223 Battleground is very special: In short, players can die on battleground
1139 without any death penalties. They don't loose or gain experience 1224 without any death penalties. They don't loose or gain experience
1140 while on battleground. Acid, draining and depletion effects don't 1225 while on battleground. Acid, draining and depletion effects don't
1141 work either. 1226 work either.
1142 When a player dies on battleground, he gets teleported to an exit 1227 When a player dies on battleground, he gets teleported to an exit
1143 location which is defined in the battleground object. ]]> 1228 location which is defined in the battleground object.]]>
1144 </description> 1229 </description>
1145 <use><![CDATA[ 1230 <use><![CDATA[
1146 Battleground is only meant for player vs. player duels. You can 1231 Battleground is only meant for player vs. player duels. You can
1147 design combat arenas similiar to the one in scorn.<br> 1232 design combat arenas similiar to the one in scorn.<br>
1148 What should NEVER be done is placing battleground tiles in 1233 What should NEVER be done is placing battleground tiles in
1150 It must not be possible to gain significant treasure for fighting 1235 It must not be possible to gain significant treasure for fighting
1151 on battleground, because it bears no risk.<br><br> 1236 on battleground, because it bears no risk.<br><br>
1152 (Battleground will cease to work when the image or name is changed, 1237 (Battleground will cease to work when the image or name is changed,
1153 or when it is placed beneath another floor tile. 1238 or when it is placed beneath another floor tile.
1154 This is not a bug, it is there to prevent any attempts of placing 1239 This is not a bug, it is there to prevent any attempts of placing
1155 "hidden" battleground tiles anywhere.) ]]> 1240 "hidden" battleground tiles anywhere.)]]>
1156 </use> 1241 </use>
1157 <attribute arch="no_pick" value="1" type="fixed" /> 1242 <attribute arch="no_pick" value="1" type="fixed" />
1158 <attribute arch="is_floor" value="1" type="fixed" /> 1243 <attribute arch="is_floor" value="1" type="fixed" />
1159 <attribute arch="hp" editor="destination X" type="int"> 1244 <attribute arch="hp" editor="destination X" type="int">
1160 The exit destinations define the (x, y)-coordinates where players 1245 The exit destinations define the (x, y)-coordinates where players
1175 Safe ground is a special object that prevents any effects that might 1260 Safe ground is a special object that prevents any effects that might
1176 be harmful for the map, other players or items on the map. 1261 be harmful for the map, other players or items on the map.
1177 It blocks all magic and prayers, usage of alchemy, prevents potions 1262 It blocks all magic and prayers, usage of alchemy, prevents potions
1178 from being used and blocks bombs from exploding. Note that altars that 1263 from being used and blocks bombs from exploding. Note that altars that
1179 do cast spells still work. 1264 do cast spells still work.
1180 ]]> 1265 ]]>
1181 </description> 1266 </description>
1182 <use><![CDATA[ 1267 <use><![CDATA[
1183 Safe ground can be used to prevents any means of burning 1268 Safe ground can be used to prevents any means of burning
1184 or destroying the items in a shop. Put this object below all floor tiles 1269 or destroying the items in a shop. Put this object below all floor tiles
1185 in your map and your shop will be safe. It's generally useful for making 1270 in your map and your shop will be safe. It's generally useful for making
1186 areas where really no kind of spell should be invoked by a player. 1271 areas where really no kind of spell should be invoked by a player.
1187 ]]> 1272 ]]>
1188 </use> 1273 </use>
1189 &movement_types_terrain; 1274 &movement_types_terrain;
1190 <attribute arch="no_pick" value="1" type="fixed" /> 1275 <attribute arch="no_pick" value="1" type="fixed" />
1191</type> 1276</type>
1192 1277
1193<!--####################################################################--> 1278<!--####################################################################-->
1194<type number="8" name="Book"> 1279<type number="8" name="Book">
1195 <description><![CDATA[ 1280 <description><![CDATA[
1196 Applying a book, the containing message is displayed to the player. ]]> 1281 Applying a book, the containing message is displayed to the player.]]>
1197 </description> 1282 </description>
1198 <attribute arch="level" editor="literacy level" type="int"> 1283 <attribute arch="level" editor="literacy level" type="int">
1199 If this value is set to be greater than zero, the player needs a 1284 If this value is set to be greater than zero, the player needs a
1200 certain literacy level to succeed reading the book. The book can be 1285 certain literacy level to succeed reading the book. The book can be
1201 read if: mental_level greater &lt;literacy level&gt; - 5. Adding level to a 1286 read if: mental_level greater &lt;literacy level&gt; - 5. Adding level to a
1217 </attribute> 1302 </attribute>
1218 <attribute arch="slaying" editor="key string" type="string"> 1303 <attribute arch="slaying" editor="key string" type="string">
1219 This is the key string of the book. The key string is checked by an inventory checker. 1304 This is the key string of the book. The key string is checked by an inventory checker.
1220 (This is used eg. for the gate/port passes in scorn) 1305 (This is used eg. for the gate/port passes in scorn)
1221 </attribute> 1306 </attribute>
1307 <attribute arch="no_skill_ident" editor="no skill ident" type="bool">
1308 If this flag is true the player won't be able to identify this
1309 item with by using a skill.
1310 </attribute>
1311</type>
1312
1313<!--####################################################################-->
1314<type number="110" name="Inscribable">
1315 <description><![CDATA[
1316 Inscribable Item - when inscribed, it becomes another object.]]>
1317 </description>
1318 <attribute arch="startequip" editor="godgiven item" type="bool">
1319 A godgiven item vanishes as soon as the player
1320 drops it to the ground.
1321 </attribute>
1322 <attribute arch="unique" editor="unique item" type="bool">
1323 Unique items exist only one time on a server. If the item
1324 is taken, lost or destroyed - it's gone for good.
1325 </attribute>
1326 <attribute arch="other_arch" editor="book/scroll arch" type="string">
1327 This is the item created after being inscribed - scrolls are treated
1328 like spell scrolls, all else will have it's message replaced.
1329 </attribute>
1222</type> 1330</type>
1223 1331
1224<!--####################################################################--> 1332<!--####################################################################-->
1225<type number="99" name="Boots"> 1333<type number="99" name="Boots">
1226 <import_type name="Amulet" /> 1334 <import_type name="Amulet" />
1227 <description><![CDATA[ 1335 <description><![CDATA[
1228 Wearing boots, the object's stats will directly be inherited to 1336 Wearing boots, the object's stats will directly be inherited to
1229 the player. Usually enhancing his speed, or granting some minor 1337 the player. Usually enhancing his speed, or granting some minor
1230 protection bonus. ]]> 1338 protection bonus.]]>
1231 </description> 1339 </description>
1232 <use><![CDATA[ 1340 <use><![CDATA[
1233 Feel free to create your own special artifacts. However, it is very 1341 Feel free to create your own special artifacts. However, it is very
1234 important that you keep your artifact in balance with existing maps. ]]> 1342 important that you keep your artifact in balance with existing maps.]]>
1235 </use> 1343 </use>
1236 <attribute arch="exp" editor="speed bonus" type="int"> 1344 <attribute arch="exp" editor="speed bonus" type="int">
1237 Boots with &lt;speed bonus&gt; will increase the player's walking speed 1345 Boots with &lt;speed bonus&gt; will increase the player's walking speed
1238 while worn. This kind of bonus is quite desirable for players of low- 1346 while worn. This kind of bonus is quite desirable for players of low-
1239 and medium level. High level players usually have fastest possible 1347 and medium level. High level players usually have fastest possible
1255<type number="104" name="Bracers"> 1363<type number="104" name="Bracers">
1256 <import_type name="Amulet" /> 1364 <import_type name="Amulet" />
1257 <description><![CDATA[ 1365 <description><![CDATA[
1258 Bracers are armour-plates worn around the wrists. 1366 Bracers are armour-plates worn around the wrists.
1259 Wearing bracer, the object's stats will directly be inherited to 1367 Wearing bracer, the object's stats will directly be inherited to
1260 the player. Usually enhancing his defense. ]]> 1368 the player. Usually enhancing his defense.]]>
1261 </description> 1369 </description>
1262 <use><![CDATA[ 1370 <use><![CDATA[
1263 Feel free to create your own special artifacts. However, it is very 1371 Feel free to create your own special artifacts. However, it is very
1264 important that you keep your artifact in balance with existing maps. ]]> 1372 important that you keep your artifact in balance with existing maps.]]>
1265 </use> 1373 </use>
1266 <attribute arch="magic" editor="magic bonus" type="int"> 1374 <attribute arch="magic" editor="magic bonus" type="int">
1267 &lt;magic bonus&gt; works just like ac, except that it can be improved by 1375 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1268 "scrolls of Enchant Armour" or reduced by acid. It is less useful 1376 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1269 than direct armour-class bonus on the bracers. 1377 than direct armour-class bonus on the bracers.
1273<!--####################################################################--> 1381<!--####################################################################-->
1274<type number="16" name="Brestplate Armour"> 1382<type number="16" name="Brestplate Armour">
1275 <import_type name="Amulet" /> 1383 <import_type name="Amulet" />
1276 <description><![CDATA[ 1384 <description><![CDATA[
1277 Wearing an armour, the object's stats will directly be inherited to 1385 Wearing an armour, the object's stats will directly be inherited to
1278 the player. Usually enhancing his defense. ]]> 1386 the player. Usually enhancing his defense.]]>
1279 </description> 1387 </description>
1280 <use><![CDATA[ 1388 <use><![CDATA[
1281 Feel free to create your own special artifacts. However, it is very 1389 Feel free to create your own special artifacts. However, it is very
1282 important that you keep your artifact in balance with existing maps. ]]> 1390 important that you keep your artifact in balance with existing maps.]]>
1283 </use> 1391 </use>
1284 <attribute arch="last_heal" editor="spellpoint penalty" type="int"> 1392 <attribute arch="last_heal" editor="spellpoint penalty" type="int">
1285 This poses a penalty to spell regeneration speed, for wearing the armour. 1393 This poses a penalty to spell regeneration speed, for wearing the armour.
1286 The bigger the spellpoint penalty, the worse. 1394 The bigger the spellpoint penalty, the worse.
1287 </attribute> 1395 </attribute>
1298 1406
1299<!--####################################################################--> 1407<!--####################################################################-->
1300<type number="92" name="Button"> 1408<type number="92" name="Button">
1301 <ignore> 1409 <ignore>
1302 <ignore_list name="non_pickable" /> 1410 <ignore_list name="non_pickable" />
1411 <attribute arch="connected"/>
1303 </ignore> 1412 </ignore>
1304 <description><![CDATA[ 1413 <description><![CDATA[
1305 When a predefined amount of weigh is placed on a button, the 1414 When a predefined amount of weigh is placed on a button, the
1306 &lt;connection&gt; value is triggered. In most cases this happens when a 1415 &lt;connection&gt; value is triggered. In most cases this happens when a
1307 player or monster steps on it. When the button is "released", the 1416 player or monster steps on it. When the button is "released", the
1308 &lt;connection&gt; value get's triggered a second time. ]]> 1417 &lt;connection&gt; value get's triggered a second time.]]>
1309 </description> 1418 </description>
1310 &move_on; 1419 &move_on;
1311 &move_off; 1420 &move_off;
1312 <attribute arch="no_pick" value="1" type="fixed" /> 1421 <attribute arch="no_pick" value="1" type="fixed" />
1313 <attribute arch="weight" editor="press weight" type="int"> 1422 <attribute arch="weight" editor="press weight" type="int">
1314 The button is pressed (triggered), as soon as 1423 The button is pressed (triggered), as soon as
1315 &lt;press weigh&gt; gram are placed ontop of it. 1424 &lt;press weigh&gt; gram are placed ontop of it.
1316 </attribute> 1425 </attribute>
1317 <attribute arch="connected" editor="connection" type="int"> 1426 <attribute arch="connected" editor="connection" type="string">
1318 Every time the button is pressed or released, all objects 1427 Every time the button is pressed or released, all objects
1319 with the same &lt;connection&gt; value are activated. 1428 with the same &lt;connection&gt; value are activated.
1320 </attribute> 1429 </attribute>
1321 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 1430 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
1322 This text may describe the item. You can use this 1431 This text may describe the item. You can use this
1331 <ignore_list name="non_pickable" /> 1440 <ignore_list name="non_pickable" />
1332 </ignore> 1441 </ignore>
1333 <description><![CDATA[ 1442 <description><![CDATA[
1334 Handle buttons are buttons which reset after a short period 1443 Handle buttons are buttons which reset after a short period
1335 of time. Every time it is either applied or reset, the 1444 of time. Every time it is either applied or reset, the
1336 &lt;connection&gt; value is triggered. ]]> 1445 &lt;connection&gt; value is triggered.]]>
1337 </description> 1446 </description>
1338</type> 1447</type>
1339 1448
1340<!--####################################################################--> 1449<!--####################################################################-->
1341<type number="37" name="Class Changer"> 1450<type number="37" name="Class Changer">
1342 <ignore> 1451 <ignore>
1343 <ignore_list name="non_pickable" /> 1452 <ignore_list name="non_pickable" />
1344 </ignore> 1453 </ignore>
1345 <description><![CDATA[ 1454 <description><![CDATA[
1346 Class changer are used while creating a character. ]]> 1455 Class changer are used while creating a character.]]>
1347 </description> 1456 </description>
1348 <attribute arch="randomitems" editor="class items" type="treasurelist"> 1457 <attribute arch="randomitems" editor="class items" type="treasurelist">
1349 This entry determines which initial items the character receives. 1458 This entry determines which initial items the character receives.
1350 </attribute> 1459 </attribute>
1351<section name="stats"> 1460<section name="stats">
1384<type number="87" name="Cloak"> 1493<type number="87" name="Cloak">
1385 <import_type name="Amulet" /> 1494 <import_type name="Amulet" />
1386 <description><![CDATA[ 1495 <description><![CDATA[
1387 Wearing a cloak, the object's stats will directly be inherited to 1496 Wearing a cloak, the object's stats will directly be inherited to
1388 the player. Cloaks usually add minor &lt;armour class&gt; and 1497 the player. Cloaks usually add minor &lt;armour class&gt; and
1389 sometimes a bit of resistance. ]]> 1498 sometimes a bit of resistance.]]>
1390 </description> 1499 </description>
1391 <use><![CDATA[ 1500 <use><![CDATA[
1392 Feel free to create your own special artifacts. However, it is very 1501 Feel free to create your own special artifacts. However, it is very
1393 important that you keep your artifact in balance with existing maps. ]]> 1502 important that you keep your artifact in balance with existing maps.]]>
1394 </use> 1503 </use>
1395 <attribute arch="magic" editor="magic bonus" type="int"> 1504 <attribute arch="magic" editor="magic bonus" type="int">
1396 &lt;magic bonus&gt; works just like ac, except that it can be improved by 1505 &lt;magic bonus&gt; works just like ac, except that it can be improved by
1397 "scrolls of Enchant Armour" or reduced by acid. It is less useful 1506 "scrolls of Enchant Armour" or reduced by acid. It is less useful
1398 than direct armour-class bonus on the cloak. 1507 than direct armour-class bonus on the cloak.
1403</type> 1512</type>
1404 1513
1405<!--####################################################################--> 1514<!--####################################################################-->
1406<type number="9" name="Clock"> 1515<type number="9" name="Clock">
1407 <description><![CDATA[ 1516 <description><![CDATA[
1408 Applying a clock, the time is displayed to the player. ]]> 1517 Applying a clock, the time is displayed to the player.]]>
1409 </description> 1518 </description>
1410 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 1519 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
1411 This text may describe the item 1520 This text may describe the item
1412 </attribute> 1521 </attribute>
1413</type> 1522</type>
1418 A player can put (certain kinds of) items in the container. 1527 A player can put (certain kinds of) items in the container.
1419 The overall weight of items is reduced when put inside a 1528 The overall weight of items is reduced when put inside a
1420 container, depending on the settings. 1529 container, depending on the settings.
1421 <br><br> 1530 <br><br>
1422 A special feature of containers is the "cauldron", 1531 A special feature of containers is the "cauldron",
1423 capable of mixing alchemical receipes. ]]> 1532 capable of mixing alchemical receipes.]]>
1424 </description> 1533 </description>
1425 <use><![CDATA[ 1534 <use><![CDATA[
1426 Note on chests - There are two types of chests: 1535 Note on chests - There are two types of chests:
1427 <UL> 1536 <UL>
1428 <LI> First the random treasure chests - Those are NOT containers 1537 <LI> First the random treasure chests - Those are NOT containers
1429 (but object type Treasure), they create random treasures when 1538 (but object type Treasure), they create random treasures when
1430 applied. Archetype name is "chest". 1539 applied. Archetype name is "chest".
1431 <LI> Second there are the permanent chests - Those are containers, 1540 <LI> Second there are the permanent chests - Those are containers,
1432 they can be opened and closed again. Archetype name is "chest_2". 1541 they can be opened and closed again. Archetype name is "chest_2".
1433 </UL> ]]> 1542 </UL>]]>
1434 </use> 1543 </use>
1435 <attribute arch="race" editor="container class" type="string"> 1544 <attribute arch="race" editor="container class" type="string">
1436 If set, the container will hold only certain types of objects. 1545 If set, the container will hold only certain types of objects.
1437 Possible choices for &lt;container class&gt; are: "gold and jewels", 1546 Possible choices for &lt;container class&gt; are: "gold and jewels",
1438 "arrows" and "keys". 1547 "arrows" and "keys".
1444 container classes. 1553 container classes.
1445 </attribute> 1554 </attribute>
1446 <attribute arch="slaying" editor="key string" type="string"> 1555 <attribute arch="slaying" editor="key string" type="string">
1447 If &lt;key string&gt; is set, only players with a special key 1556 If &lt;key string&gt; is set, only players with a special key
1448 of matching &lt;key string&gt; are able to open the container. 1557 of matching &lt;key string&gt; are able to open the container.
1558
1559 When the key string starts with "match ", then it is expected to
1560 be a match expression, which will be applied to the player, so
1561 you can use e.g. (match type=POTION in inv). Note that the matched
1562 object will be removed.
1449 </attribute> 1563 </attribute>
1450 <attribute arch="container" editor="maximum weight" type="int"> 1564 <attribute arch="container" editor="maximum weight" type="int">
1451 The container can hold a maximum total weight of the given value 1565 The container can hold a maximum total weight of the given value
1452 in gram. Note that this weight limit is calculated *after* the 1566 in gram. Note that this weight limit is calculated *after* the
1453 weight reduction (&lt;reduce weight&gt;) has been applied. 1567 weight reduction (&lt;reduce weight&gt;) has been applied.
1493 <attribute arch="title" /> 1607 <attribute arch="title" />
1494 </ignore> 1608 </ignore>
1495 <description><![CDATA[ 1609 <description><![CDATA[
1496 Converters are like "exchange tables". When the player drops a 1610 Converters are like "exchange tables". When the player drops a
1497 specific type of items, they get converted into other items, at a 1611 specific type of items, they get converted into other items, at a
1498 predefined exchange-ratio. ]]> 1612 predefined exchange-ratio.]]>
1499 </description> 1613 </description>
1500 <use><![CDATA[ 1614 <use><![CDATA[
1501 Converters are better than shopping with doormats, because the 1615 Converters are better than shopping with doormats, because the
1502 converters never get sold out. For some items like food or jewels 1616 converters never get sold out. For some items like food or jewels
1503 those "exchange tables" are really nice, while for the more important 1617 those "exchange tables" are really nice, while for the more important
1505 <br><br> 1619 <br><br>
1506 VERY IMPORTANT: Be careful with the exchange-ratio! When you drop 1620 VERY IMPORTANT: Be careful with the exchange-ratio! When you drop
1507 items on a converter, the stuff you get must be of equal or lesser 1621 items on a converter, the stuff you get must be of equal or lesser
1508 value than before! (Except if you are using "rare" items like 1622 value than before! (Except if you are using "rare" items like
1509 dragonscales for payment). The code will not check if your ratio is 1623 dragonscales for payment). The code will not check if your ratio is
1510 sane, so the player could gain infinite wealth by using your converter. ]]> 1624 sane, so the player could gain infinite wealth by using your converter.]]>
1511 </use> 1625 </use>
1512 <attribute arch="no_pick" value="1" type="fixed" /> 1626 <attribute arch="no_pick" value="1" type="fixed" />
1513 <attribute arch="slaying" editor="cost arch" type="string"> 1627 <attribute arch="slaying" editor="cost arch" type="string">
1514 &lt;cost arch&gt; is the name of the archetype the player has to 1628 &lt;cost arch&gt; is the name of the archetype the player has to
1515 put on the converter, as payment. 1629 put on the converter, as payment.
1531 of &lt;receive arch&gt;. 1645 of &lt;receive arch&gt;.
1532 </attribute> 1646 </attribute>
1533 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 1647 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
1534 This text may contain a description of the converter. 1648 This text may contain a description of the converter.
1535 </attribute> 1649 </attribute>
1650 <attribute arch="precious" editor="output unpaid" type="bool">
1651 If the converter has this flag set the generated items will
1652 be flagged as unpaid. Useful if you want to make a converter in a shop.
1653 (For instance for 'dragon scale' to 'dragon shield' converters in some
1654 armour shops.)
1655 </attribute>
1536</type> 1656</type>
1537 1657
1538<!--####################################################################--> 1658<!--####################################################################-->
1539<type number="42" name="Creator"> 1659<type number="42" name="Creator">
1540 <ignore> 1660 <ignore>
1541 <ignore_list name="system_object" /> 1661 <ignore_list name="system_object" />
1662 <attribute arch="connected"/>
1542 </ignore> 1663 </ignore>
1543 <description><![CDATA[ 1664 <description><![CDATA[
1544 A creator is an object which creates another object when it 1665 A creator is an object which creates another object when it
1545 is triggered. The child object can be anything. Creators are 1666 is triggered. The child object can be anything. Creators are
1546 VERY useful for all kinds of map-mechanisms. They can even 1667 VERY useful for all kinds of map-mechanisms. They can even
1547 periodically create things. ]]> 1668 periodically create things.]]>
1548 </description> 1669 </description>
1549 <use><![CDATA[ 1670 <use><![CDATA[
1550 Don't hesitate to hide your creators under the floor. 1671 Don't hesitate to hide your creators under the floor.
1551 The created items will still always appear ontop of the floor. ]]> 1672 The created items will still always appear ontop of the floor.]]>
1552 </use> 1673 </use>
1553 <attribute arch="no_pick" value="1" type="fixed" /> 1674 <attribute arch="no_pick" value="1" type="fixed" />
1554 <attribute arch="other_arch" editor="create arch" type="string"> 1675 <attribute arch="other_arch" editor="create arch" type="string">
1555 This string defines the object that will be created. 1676 This string defines the object that will be created.
1556 You can choose any of the existing arches. 1677 You can choose any of the existing arches.
1557 This field is ignored if the creator has items in inventory. In this case 1678 This field is ignored if the creator has items in inventory. In this case
1558 one of the inventory items is duplicated. The duplicated item is randomly 1679 one of the inventory items is duplicated. The duplicated item is randomly
1559 chosen from all items present. 1680 chosen from all items present.
1560 </attribute> 1681 </attribute>
1561 <attribute arch="connected" editor="connection" type="int"> 1682 <attribute arch="connected" editor="connection" type="string">
1562 Whenever the connection value is activated, 1683 Whenever the connection value is activated,
1563 the creator gets triggered. 1684 the creator gets triggered.
1564 </attribute> 1685 </attribute>
1565 &activate_on; 1686 &activate_on;
1566 <attribute arch="lifesave" editor="infinit uses" type="bool"> 1687 <attribute arch="lifesave" editor="unlimited uses" type="bool">
1567 If &lt;infinit uses&gt; is set, the creator will work 1688 If &lt;unlimited uses&gt; is set, the creator will work
1568 infinitely, regardless of the value in &lt;number of uses&gt;. 1689 infinitely, regardless of the value in &lt;number of uses&gt;.
1569 </attribute> 1690 </attribute>
1570 <attribute arch="speed" editor="speed" type="float"> 1691 <attribute arch="speed" editor="speed" type="float">
1571 When this field is set the creator will periodically create stuff 1692 When this field is set the creator will periodically create stuff
1572 (and will still do so when the connection is triggered). 1693 (and will still do so when the connection is triggered).
1590 1711
1591<!--####################################################################--> 1712<!--####################################################################-->
1592<type number="51" name="Detector"> 1713<type number="51" name="Detector">
1593 <ignore> 1714 <ignore>
1594 <ignore_list name="system_object" /> 1715 <ignore_list name="system_object" />
1716 <attribute arch="connected"/>
1595 </ignore> 1717 </ignore>
1596 <description><![CDATA[ 1718 <description><![CDATA[
1597 Detectors work quite much like inv. checkers/pedestals: If the detector 1719 Detectors work quite much like inv. checkers/pedestals: If the detector
1598 finds a specific object, it toggles its connected value. 1720 finds a specific object, it toggles its connected value.
1599 <br><br> 1721 <br><br>
1600 What is "unique" about them, compared to inv. checkers/ pedestals? 1722 What is "unique" about them, compared to inv. checkers/ pedestals?
1601 - First, detectors check their square for a match periodically, not 1723 - First, detectors check their square for a match periodically, not
1724 instantly, so generate much higher server load
1602 instantly. Second, detectors check directly for object names. Third, 1725 Second, detectors check directly for object names. Third,
1603 detectors do not check the inventory of players/monsters. ]]> 1726 detectors do not check the inventory of players/monsters.]]>
1604 </description> 1727 </description>
1605 <use><![CDATA[ 1728 <use>
1606 There is one major speciality about detectors: You can detect spells 1729 Best avoid this type at all costs, use a pedestal instead.
1607 blown over a detector! To detect a lighting bolt for example, set
1608 "slaying ligthing" and "speed 1.0". In combination with spellcasting
1609 walls, this can be very useful for map-mechanisms. ]]>
1610 </use> 1730 </use>
1611 <attribute arch="no_pick" value="1" type="fixed" /> 1731 <attribute arch="no_pick" value="1" type="fixed" />
1612 <attribute arch="slaying" editor="match name" type="string"> 1732 <attribute arch="slaying" editor="match name" type="string">
1613 &lt;match name&gt; specifies the name of the object we are looking for. 1733 &lt;match name&gt; specifies the name of the object we are looking for.
1614 Actually it does also check for the &lt;key string&gt; in key-objects, 1734 Actually it does also check for the &lt;key string&gt; in key-objects,
1615 but for this case inventory checkers are often more powerful to use. 1735 but for this case inventory checkers are often more powerful to use.
1616 </attribute> 1736 </attribute>
1617 <attribute arch="connected" editor="connection" type="int"> 1737 <attribute arch="connected" editor="connection" type="string">
1618 When the detector is triggered, all objects with the same 1738 When the detector is triggered, all objects with the same
1619 connection value get activated. 1739 connection value get activated.
1620 </attribute> 1740 </attribute>
1621 <attribute arch="speed" editor="detection speed" type="float"> 1741 <attribute arch="speed" editor="detection speed" type="float">
1622 This value defines the time between two detector-checks. 1742 This value defines the time between two detector-checks.
1630 by 1. 1750 by 1.
1631 </attribute> 1751 </attribute>
1632</type> 1752</type>
1633 1753
1634<!--####################################################################--> 1754<!--####################################################################-->
1755<type number="164" name="Map Script">
1756 <ignore>
1757 <ignore_list name="system_object" />
1758 <attribute arch="connected"/>
1759 </ignore>
1760 <description><![CDATA[
1761 The map script object is a very special object that can react to connected
1762 events and executes a perl script in the msg slot.
1763 ]]>
1764 </description>
1765 <use><![CDATA[
1766 The perl script gets passed a $state value and $activator, $self, $originator objects and can use the set/get/find/timer functions
1767 to react to/trigger other objects. See http://pod.tst.eu/http://cvs.schmorp.de/deliantra/server/lib/cf/mapscript.pm for details.
1768 ]]>
1769 </use>
1770 <attribute arch="connected" editor="connection" type="string">
1771 When the map script object is triggered, it will execute
1772 the perl script with the triggering object as $activator.
1773 </attribute>
1774 &activate_on;
1775 <attribute arch_begin="msg" arch_end="endmsg" editor="script" type="text">
1776 This perl script will be executed each time the objetc is triggered.
1777 </attribute>
1778</type>
1779
1780<!--####################################################################-->
1635<type number="112" name="Director"> 1781<type number="112" name="Director">
1636 <ignore> 1782 <ignore>
1637 <ignore_list name="non_pickable" /> 1783 <ignore_list name="non_pickable" />
1638 </ignore> 1784 </ignore>
1639 <description><![CDATA[ 1785 <description><![CDATA[
1640 Directors change the direction of spell objects and other projectiles 1786 Directors change the direction of spell objects and other projectiles
1641 that fly past. Unlike spinners, directors always move objects in the 1787 that fly past. Unlike spinners, directors always move objects in the
1642 same direction. It does not make a difference from what angle you 1788 same direction. It does not make a difference from what angle you
1643 shoot into it.<br> 1789 shoot into it.<br>
1644 Directors are visible per default. ]]> 1790 Directors are visible per default.]]>
1645 </description> 1791 </description>
1646 <use><![CDATA[ 1792 <use><![CDATA[
1647 Directors are rarely used in maps. Sometimes they are placed to 1793 Directors are rarely used in maps. Sometimes they are placed to
1648 change the direction of spells coming out of magic walls, 1794 change the direction of spells coming out of magic walls,
1649 "channeling" spell-projectiles in some direction. When doing this, 1795 "channeling" spell-projectiles in some direction. When doing this,
1651 into them!</B> The spell-projectiles bouncing between the directors 1797 into them!</B> The spell-projectiles bouncing between the directors
1652 would accumulate to huge numbers and at some point slow down the 1798 would accumulate to huge numbers and at some point slow down the
1653 server by eating memory- and CPU-time. 1799 server by eating memory- and CPU-time.
1654 <br><br> 1800 <br><br>
1655 You'd better not place directors in monster vs. player combat 1801 You'd better not place directors in monster vs. player combat
1656 areas too much, because that freaks out wizard-type players. ]]> 1802 areas too much, because that freaks out wizard-type players.]]>
1657 </use> 1803 </use>
1658 <attribute arch="sp" editor="direction" type="list_direction"> 1804 <attribute arch="sp" editor="direction" type="list_direction">
1659 Projectiles will leave the director flying in the selected &lt;direction&gt;. 1805 Projectiles will leave the director flying in the selected &lt;direction&gt;.
1660 A director with direction &lt;none&gt; simply stops projectiles. 1806 A director with direction &lt;none&gt; simply stops projectiles.
1661 (The latter works out a bit strange for some spells). 1807 (The latter works out a bit strange for some spells).
1670 </ignore> 1816 </ignore>
1671 <description><![CDATA[ 1817 <description><![CDATA[
1672 Diseases are an intersting form of spellcraft in Deliantra. 1818 Diseases are an intersting form of spellcraft in Deliantra.
1673 Once casted, they can spread out and infect creatures in a large 1819 Once casted, they can spread out and infect creatures in a large
1674 area. Being infected can have various effects, from amusing farts 1820 area. Being infected can have various effects, from amusing farts
1675 to horrible damage - almost everything is possible. ]]> 1821 to horrible damage - almost everything is possible.]]>
1676 </description> 1822 </description>
1677 <use><![CDATA[ 1823 <use><![CDATA[
1678 Diseases are extremely flexible and usable in a many ways. 1824 Diseases are extremely flexible and usable in a many ways.
1679 So far they are mostly used for causing bad, unwanted effects. 1825 So far they are mostly used for causing bad, unwanted effects.
1680 You could just as well create a disease which helps the player 1826 You could just as well create a disease which helps the player
1681 (recharging mana for example). 1827 (recharging mana for example).
1682 Infection with a "positive disease" could even be a quest reward. ]]> 1828 Infection with a "positive disease" could even be a quest reward.]]>
1683 </use> 1829 </use>
1684 <attribute arch="invisible" value="1" type="fixed" /> 1830 <attribute arch="invisible" value="1" type="fixed" />
1685 <attribute arch="level" editor="plaque level" type="int"> 1831 <attribute arch="level" editor="plaque level" type="int">
1686 The &lt;plaque level&gt; is proportional to the disease's deadliness. 1832 The &lt;plaque level&gt; is proportional to the disease's deadliness.
1687 This mainly reflects in the &lt;damage&gt;. It has no effect on 1833 This mainly reflects in the &lt;damage&gt;. It has no effect on
1829<type number="23" name="Door"> 1975<type number="23" name="Door">
1830 <ignore> 1976 <ignore>
1831 <ignore_list name="non_pickable" /> 1977 <ignore_list name="non_pickable" />
1832 </ignore> 1978 </ignore>
1833 <description><![CDATA[ 1979 <description><![CDATA[
1834 A door can be opened with a normal key. It also can be broken by attacking 1980 A door can be opened with any normal key. It also can be broken by attacking
1835 it, and it can be defeated with the lockpicking skill. If a door is 1981 it, and it can be defeated with the lockpicking skill. If a door is
1836 defeated, horizontally and vertically adjacent doors are automatically 1982 defeated, horizontally and vertically adjacent doors are automatically
1837 removed. ]]> 1983 removed.]]>
1838 </description> 1984 </description>
1839 <attribute arch="no_pick" value="1" type="fixed" /> 1985 <attribute arch="no_pick" value="1" type="fixed" />
1840 <attribute arch="alive" value="1" type="fixed" /> 1986 <attribute arch="alive" value="1" type="fixed" />
1841 &movement_types_terrain; 1987 &movement_types_terrain;
1842 <attribute arch="hp" editor="hitpoints" type="int"> 1988 <attribute arch="hp" editor="hitpoints" type="int">
1862 2008
1863<!--####################################################################--> 2009<!--####################################################################-->
1864<type number="83" name="Duplicator"> 2010<type number="83" name="Duplicator">
1865 <ignore> 2011 <ignore>
1866 <ignore_list name="system_object" /> 2012 <ignore_list name="system_object" />
2013 <attribute arch="connected"/>
1867 </ignore> 2014 </ignore>
1868 <description><![CDATA[ 2015 <description><![CDATA[
1869 When activated, a duplicator can duplicate, multiply or destroy a pile of 2016 When activated, a duplicator can duplicate, multiply or destroy a pile of
1870 objects which lies somewhere on top of the duplicator. 2017 objects which lies somewhere on top of the duplicator.
1871 The duplicator has one arch name specified as &lt;target arch&gt;, 2018 The duplicator has one arch name specified as &lt;target arch&gt;,
1872 and only objects of this archetype can be affected.<br> 2019 and only objects of this archetype can be affected.<br>
1873 It will multiply the number of items in the pile, by the &lt;multiply factor&gt;. 2020 It will multiply the number of items in the pile, by the &lt;multiply factor&gt;.
1874 If the latter is set to zero, it will destroy objects. ]]> 2021 If the latter is set to zero, it will destroy objects.]]>
1875 </description> 2022 </description>
1876 <use><![CDATA[ 2023 <use><![CDATA[
1877 I hope it is clear that one must be very cautious when inserting a duplicator 2024 I hope it is clear that one must be very cautious when inserting a duplicator
1878 anywhere with &lt;multiply factor&gt; greater than one. 2025 anywhere with &lt;multiply factor&gt; greater than one.
1879 It is designed to be used for betting mechanisms only (bet -&gt; win/loose). 2026 It is designed to be used for betting mechanisms only (bet -&gt; win/loose).
1880 It is <b>not acceptable</b> to allow duplication of anything other than 2027 It is <b>not acceptable</b> to allow duplication of anything other than
1881 coins, gold and jewels. Besides, it is very important that the chance to 2028 coins, gold and jewels. Besides, it is very important that the chance to
1882 loose the input matches the chance to earn winnings.<br> 2029 loose the input matches the chance to earn winnings.<br>
1883 A duplicator with &lt;multiply factor&gt; 3 for example should have a 2030 A duplicator with &lt;multiply factor&gt; 3 for example should have a
1884 loosing rate of 2/3 = 67%. ]]> 2031 loosing rate of 2/3 = 67%.]]>
1885 </use> 2032 </use>
1886 <attribute arch="other_arch" editor="target arch" type="string"> 2033 <attribute arch="other_arch" editor="target arch" type="string">
1887 Only objects of matching archtype, lying ontop of the duplicator will be 2034 Only objects of matching archtype, lying ontop of the duplicator will be
1888 duplicated, multiplied or removed. All other objects will be ignored. 2035 duplicated, multiplied or removed. All other objects will be ignored.
1889 </attribute> 2036 </attribute>
1890 <attribute arch="level" editor="multiply factor" type="int"> 2037 <attribute arch="level" editor="multiply factor" type="int">
1891 The number of items in the target pile will be multiplied by the 2038 The number of items in the target pile will be multiplied by the
1892 &lt;multiply factor&gt;. If it is set to zero, all target objects 2039 &lt;multiply factor&gt;. If it is set to zero, all target objects
1893 will be destroyed. 2040 will be destroyed.
1894 </attribute> 2041 </attribute>
1895 <attribute arch="connected" editor="connection" type="int"> 2042 <attribute arch="connected" editor="connection" type="string">
1896 An activator (lever, altar, button, etc) with matching connection value 2043 An activator (lever, altar, button, etc) with matching connection value
1897 is able to trigger this duplicator. Be very careful that players cannot 2044 is able to trigger this duplicator. Be very careful that players cannot
1898 abuse it to create endless amounts of money or other valuable stuff! 2045 abuse it to create endless amounts of money or other valuable stuff!
1899 </attribute> 2046 </attribute>
1900 &activate_on; 2047 &activate_on;
1907 </ignore> 2054 </ignore>
1908 <description><![CDATA[ 2055 <description><![CDATA[
1909 When the player applies an exit, he is transferred to a different location. 2056 When the player applies an exit, he is transferred to a different location.
1910 (Monsters cannot use exits.) Depending on how it is set, the player applies 2057 (Monsters cannot use exits.) Depending on how it is set, the player applies
1911 the exit just by walking into it, or by pressing &lt;a&gt;pply when standing on 2058 the exit just by walking into it, or by pressing &lt;a&gt;pply when standing on
1912 the exit. ]]> 2059 the exit. ]]>
1913 </description> 2060 </description>
1914 <use><![CDATA[ 2061 <use><![CDATA[
1915 If you want to have an invisible exit, set &lt;invisible&gt; (, of course 2062 If you want to have an invisible exit, set &lt;invisible&gt; (, of course
1916 &lt;apply by walking&gt;), and put it *under* the floor. Otherwise it could be 2063 &lt;apply by walking&gt;), and put it *under* the floor. Otherwise it could be
1917 detected with the show_invisible spell. 2064 detected with the show_invisible spell.
1918 <br><br> 2065 <br><br>
1919 You can be quite creative with the outlook of secret exits (their "face"). 2066 You can be quite creative with the outlook of secret exits (their "face").
1920 Don't forget to give the player relyable hints about them though. ]]> 2067 Don't forget to give the player relyable hints about them though.]]>
1921 </use> 2068 </use>
1922 <attribute arch="slaying" editor="exit path" type="string"> 2069 <attribute arch="slaying" editor="exit path" type="string">
1923 The exit path defines the map that the player is transferred to. 2070 The exit path defines the map that the player is transferred to.
1924 You can enter an absolute path, beginning with '/' (for example 2071 You can enter an absolute path, beginning with '/' (for example
1925 "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning 2072 "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning
1967 little health by eating flesh-objects. <br> 2114 little health by eating flesh-objects. <br>
1968 For dragon players, flesh plays a very special role though: If the 2115 For dragon players, flesh plays a very special role though: If the
1969 flesh has resistances set, a dragon player has a chance to gain resistance in 2116 flesh has resistances set, a dragon player has a chance to gain resistance in
1970 those categories. The only constraint to this process is the &lt;flesh level&gt;. 2117 those categories. The only constraint to this process is the &lt;flesh level&gt;.
1971 Don't forget that flesh items with resistances have to be balanced 2118 Don't forget that flesh items with resistances have to be balanced
1972 according to map/monster difficulty. ]]> 2119 according to map/monster difficulty.]]>
1973 </description> 2120 </description>
1974 <use><![CDATA[ 2121 <use><![CDATA[
1975 For dragon players, flesh items can be highly valuable. Note that many 2122 For dragon players, flesh items can be highly valuable. Note that many
1976 standard monsters carry flesh items from their &lt;treasurelist&gt;. 2123 standard monsters carry flesh items from their &lt;treasurelist&gt;.
1977 These flesh items "inherit" resistances and level from the monster they belong to. 2124 These flesh items "inherit" resistances and level from the monster they belong to.
1979 not the case - so you have to set it manually. 2126 not the case - so you have to set it manually.
1980 <br><br> 2127 <br><br>
1981 Generally adding special flesh-treaties for dragon players is a great thing 2128 Generally adding special flesh-treaties for dragon players is a great thing
1982 to do. Always consider that dragon players might really not be interested 2129 to do. Always consider that dragon players might really not be interested
1983 in that special piece of weapon or armour, so don't let the dragon-fellows miss 2130 in that special piece of weapon or armour, so don't let the dragon-fellows miss
1984 out on the reward completely. ]]> 2131 out on the reward completely.]]>
1985 </use> 2132 </use>
1986 <attribute arch="food" editor="foodpoints" type="int"> 2133 <attribute arch="food" editor="foodpoints" type="int">
1987 The player's stomache will get filled with this amount of foodpoints. 2134 The player's stomache will get filled with this amount of foodpoints.
1988 The player's health will increase by &lt;foodpoints&gt;/50 hp. 2135 The player's health will increase by &lt;foodpoints&gt;/50 hp.
1989 </attribute> 2136 </attribute>
2013 <ignore> 2160 <ignore>
2014 <ignore_list name="non_pickable" /> 2161 <ignore_list name="non_pickable" />
2015 </ignore> 2162 </ignore>
2016 <description><![CDATA[ 2163 <description><![CDATA[
2017 Floor is a very basic thing whithout too much 2164 Floor is a very basic thing whithout too much
2018 functionality. It's a floor - you stand on it. ]]> 2165 functionality. It's a floor - you stand on it.]]>
2019 </description> 2166 </description>
2020 <attribute arch="is_floor" value="1" type="fixed" /> 2167 <attribute arch="is_floor" value="1" type="fixed" />
2021 <attribute arch="no_pick" value="1" type="fixed" /> 2168 <attribute arch="no_pick" value="1" type="fixed" />
2022<section name="terrain"> 2169<section name="terrain">
2023 &movement_types_terrain; 2170 &movement_types_terrain;
2038 If enabled, it is impossible for players to use prayers 2185 If enabled, it is impossible for players to use prayers
2039 on that spot. It also prevents players from saving. 2186 on that spot. It also prevents players from saving.
2040 </attribute> 2187 </attribute>
2041 <attribute arch="unique" editor="unique map" type="bool"> 2188 <attribute arch="unique" editor="unique map" type="bool">
2042 Unique floor means that any items dropped on that spot 2189 Unique floor means that any items dropped on that spot
2043 will be saved byond map reset. For permanent apartments, 2190 will be saved beyond map reset. For permanent apartments,
2044 all floor tiles must be set &lt;unique map&gt;. 2191 all floor tiles must be set &lt;unique map&gt;.
2192 </attribute>
2193 <attribute arch="is_buildable" editor="buildable" type="bool">
2194 A buildable can be built upon. This is usually used in combination with
2195 the unique attribute for player apartments or guild storages. But it's
2196 use is not limited to private maps.
2045 </attribute> 2197 </attribute>
2046 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2198 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2047 This text may describe the object. 2199 This text may describe the object.
2048 </attribute> 2200 </attribute>
2049</type> 2201</type>
2057 Encounter-Floor is pretty much the same as normal floor. 2209 Encounter-Floor is pretty much the same as normal floor.
2058 Most outdoor floor/ground-arches are set to be "encounters". 2210 Most outdoor floor/ground-arches are set to be "encounters".
2059 That is kind of a relict from former code: When walking over 2211 That is kind of a relict from former code: When walking over
2060 encounter-floor, players sometimes got beamed to little maps 2212 encounter-floor, players sometimes got beamed to little maps
2061 with monsters on them. Nowadays this feature is disabled - 2213 with monsters on them. Nowadays this feature is disabled -
2062 Hence encounter floor is not different from normal floor. ]]> 2214 Hence encounter floor is not different from normal floor.]]>
2063 </description> 2215 </description>
2064 <attribute arch="is_floor" value="1" type="fixed" /> 2216 <attribute arch="is_floor" value="1" type="fixed" />
2065 <attribute arch="no_pick" value="1" type="fixed" /> 2217 <attribute arch="no_pick" value="1" type="fixed" />
2066<section name="terrain"> 2218<section name="terrain">
2067 &movement_types_terrain; 2219 &movement_types_terrain;
2082 If enabled, it is impossible for players to use prayers 2234 If enabled, it is impossible for players to use prayers
2083 on that spot. It also prevents players from saving. 2235 on that spot. It also prevents players from saving.
2084 </attribute> 2236 </attribute>
2085 <attribute arch="unique" editor="unique map" type="bool"> 2237 <attribute arch="unique" editor="unique map" type="bool">
2086 Unique floor means that any items dropped on that spot 2238 Unique floor means that any items dropped on that spot
2087 will be saved byond map reset. For permanent apartments, 2239 will be saved beyond map reset. For permanent apartments,
2088 all floor tiles must be set &lt;unique map&gt;. 2240 all floor tiles must be set &lt;unique map&gt;.
2241 </attribute>
2242 <attribute arch="is_buildable" editor="buildable" type="bool">
2243 A buildable can be built upon. This is usually used in combination with
2244 the unique attribute for player apartments or guild storages. But it's
2245 use is not limited to private maps.
2089 </attribute> 2246 </attribute>
2090 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2247 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2091 This text may describe the object. 2248 This text may describe the object.
2092 </attribute> 2249 </attribute>
2093</type> 2250</type>
2094 2251
2095<!--####################################################################--> 2252<!--####################################################################-->
2096<type number="6" name="Food"> 2253<type number="6" name="Food">
2097 <description><![CDATA[ 2254 <description><![CDATA[
2098 By eating/drinking food-objects, the player can fill his 2255 By eating/drinking food-objects, the player can fill his
2099 stomache and gain a little health. ]]> 2256 stomache and gain a little health.]]>
2100 </description> 2257 </description>
2101 <attribute arch="food" editor="foodpoints" type="int"> 2258 <attribute arch="food" editor="foodpoints" type="int">
2102 The player's stomache will get filled with this amount of foodpoints. 2259 The player's stomache will get filled with this amount of foodpoints.
2103 The player's health will increase by &lt;foodpoints&gt;/50 hp. 2260 The player's health will increase by &lt;foodpoints&gt;/50 hp.
2104 </attribute> 2261 </attribute>
2110 2267
2111<!--####################################################################--> 2268<!--####################################################################-->
2112<type number="91" name="Gate"> 2269<type number="91" name="Gate">
2113 <ignore> 2270 <ignore>
2114 <ignore_list name="non_pickable" /> 2271 <ignore_list name="non_pickable" />
2272 <attribute arch="connected"/>
2115 </ignore> 2273 </ignore>
2116 <description><![CDATA[ 2274 <description><![CDATA[
2117 Gates play an important role in Deliantra. Gates can be opened 2275 Gates play an important role in Deliantra. Gates can be opened
2118 by activating a button/trigger, by speaking passwords (-> magic_ear) 2276 by activating a button/trigger, by speaking passwords (-> magic_ear)
2119 or carrying special key-objects (-> inventory checker). 2277 or carrying special key-objects (-> inventory checker).
2120 Unlike locked doors, gates can get shut again after a player has 2278 Unlike locked doors, gates can get shut again after a player has
2121 passed, which makes them more practical in many cases. ]]> 2279 passed, which makes them more practical in many cases.]]>
2122 </description> 2280 </description>
2123 <use><![CDATA[ 2281 <use><![CDATA[
2124 Use gates to divide your maps into seperated areas. After solving 2282 Use gates to divide your maps into seperated areas. After solving
2125 area A, the player gains access to area B, and so on. Make your 2283 area A, the player gains access to area B, and so on. Make your
2126 maps more complex than "one-way". ]]> 2284 maps more complex than "one-way".]]>
2127 </use> 2285 </use>
2128 <attribute arch="no_pick" value="1" type="fixed" /> 2286 <attribute arch="no_pick" value="1" type="fixed" />
2129 <attribute arch="speed" value="1" type="float"> 2287 <attribute arch="speed" value="1" type="float">
2130 The speed of the gate affects how fast it is closing/opening. 2288 The speed of the gate affects how fast it is closing/opening.
2131 </attribute> 2289 </attribute>
2132 <attribute arch="connected" editor="connection" type="int"> 2290 <attribute arch="connected" editor="connection" type="string">
2133 Whenever the inventory checker is triggered, all objects with identical 2291 Whenever the inventory checker is triggered, all objects with identical
2134 &lt;connection&gt; value get activated. This only makes sense together with 2292 &lt;connection&gt; value get activated. This only makes sense together with
2135 &lt;blocking passage&gt; disabled. 2293 &lt;blocking passage&gt; disabled.
2136 </attribute> 2294 </attribute>
2137 <attribute arch="wc" editor="position state" type="int"> 2295 <attribute arch="wc" editor="position state" type="int">
2155<type number="113" name="Girdle"> 2313<type number="113" name="Girdle">
2156 <import_type name="Amulet" /> 2314 <import_type name="Amulet" />
2157 <description><![CDATA[ 2315 <description><![CDATA[
2158 Wearing a girdle, the object's stats will directly be inherited to 2316 Wearing a girdle, the object's stats will directly be inherited to
2159 the player. Girdles usually provide stats- or damage bonuses and no 2317 the player. Girdles usually provide stats- or damage bonuses and no
2160 defense. ]]> 2318 defense.]]>
2161 </description> 2319 </description>
2162 <use><![CDATA[ 2320 <use><![CDATA[
2163 Feel free to create your own special artifacts. However, it is very 2321 Feel free to create your own special artifacts. However, it is very
2164 important that you keep your artifact in balance with existing maps. ]]> 2322 important that you keep your artifact in balance with existing maps.]]>
2165 </use> 2323 </use>
2166 <attribute arch="magic" editor="magic bonus" type="int"> 2324 <attribute arch="magic" editor="magic bonus" type="int">
2167 &lt;magic bonus&gt; works just like ac, except that it can be improved by 2325 &lt;magic bonus&gt; works just like ac, except that it can be improved by
2168 "scrolls of Enchant Armour" or reduced by acid. It is less useful 2326 "scrolls of Enchant Armour" or reduced by acid. It is less useful
2169 than direct armour-class bonus on the helmet. 2327 than direct armour-class bonus on the helmet.
2177<!--####################################################################--> 2335<!--####################################################################-->
2178<type number="100" name="Gloves"> 2336<type number="100" name="Gloves">
2179 <import_type name="Amulet" /> 2337 <import_type name="Amulet" />
2180 <description><![CDATA[ 2338 <description><![CDATA[
2181 Wearing gloves, the object's stats will directly be inherited to 2339 Wearing gloves, the object's stats will directly be inherited to
2182 the player. Gloves can add defense or damage bonuses. ]]> 2340 the player. Gloves can add defense or damage bonuses.]]>
2183 </description> 2341 </description>
2184 <use><![CDATA[ 2342 <use><![CDATA[
2185 Feel free to create your own special artifacts. However, it is very 2343 Feel free to create your own special artifacts. However, it is very
2186 important that you keep your artifact in balance with existing maps. ]]> 2344 important that you keep your artifact in balance with existing maps.]]>
2187 </use> 2345 </use>
2188 <attribute arch="magic" editor="magic bonus" type="int"> 2346 <attribute arch="magic" editor="magic bonus" type="int">
2189 If the gloves provide &lt;armour class&gt;, &lt;magic bonus&gt; will increase it. 2347 If the gloves provide &lt;armour class&gt;, &lt;magic bonus&gt; will increase it.
2190 If the gloves have &lt;weapon class&gt; instead, then &lt;magic bonus&gt; 2348 If the gloves have &lt;weapon class&gt; instead, then &lt;magic bonus&gt;
2191 will increase that. 2349 will increase that.
2194 2352
2195<!--####################################################################--> 2353<!--####################################################################-->
2196<type number="93" name="Handle"> 2354<type number="93" name="Handle">
2197 <ignore> 2355 <ignore>
2198 <ignore_list name="non_pickable" /> 2356 <ignore_list name="non_pickable" />
2357 <attribute arch="connected"/>
2199 </ignore> 2358 </ignore>
2200 <description><![CDATA[ 2359 <description><![CDATA[
2201 A handle can be applied by players and (certain) monsters. 2360 A handle can be applied by players and (certain) monsters.
2202 Every time it is applied, the &lt;connection&gt; value is triggered. ]]> 2361 Every time it is applied, the &lt;connection&gt; value is triggered.]]>
2203 </description> 2362 </description>
2204 <use><![CDATA[ 2363 <use><![CDATA[
2205 Handles are commonly used to move gates. When placing your lever, 2364 Handles are commonly used to move gates. When placing your lever,
2206 don't forget that some monsters are able to apply it. 2365 don't forget that some monsters are able to apply it.
2207 The ability to apply levers is rare among monsters - 2366 The ability to apply levers is rare among monsters -
2208 but vampires can do it for example. ]]> 2367 but vampires can do it for example.]]>
2209 </use> 2368 </use>
2210 <attribute arch="no_pick" value="1" type="fixed" /> 2369 <attribute arch="no_pick" value="1" type="fixed" />
2211 <attribute arch="connected" editor="connection" type="int"> 2370 <attribute arch="connected" editor="connection" type="string">
2212 Every time the handle is applied, all objects 2371 Every time the handle is applied, all objects
2213 with the same &lt;connection&gt; value are activated. 2372 with the same &lt;connection&gt; value are activated.
2214 </attribute> 2373 </attribute>
2215 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2374 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2216 This text may describe the item. You can use this 2375 This text may describe the item. You can use this
2225 <ignore_list name="non_pickable" /> 2384 <ignore_list name="non_pickable" />
2226 </ignore> 2385 </ignore>
2227 <description><![CDATA[ 2386 <description><![CDATA[
2228 Handle triggers are handles which reset after a short period 2387 Handle triggers are handles which reset after a short period
2229 of time. Every time it is either applied or reset, the 2388 of time. Every time it is either applied or reset, the
2230 &lt;connection&gt; value is triggered. ]]> 2389 &lt;connection&gt; value is triggered.]]>
2231 </description> 2390 </description>
2232 <use><![CDATA[ 2391 <use><![CDATA[
2233 When you connect an ordinary handle to a gate, the gate normally remains 2392 When you connect an ordinary handle to a gate, the gate normally remains
2234 opened after the first player passed. If you want to keep the gate shut, 2393 opened after the first player passed. If you want to keep the gate shut,
2235 connecting it to a handle trigger is an easy solution. ]]> 2394 connecting it to a handle trigger is an easy solution. ]]>
2236 </use> 2395 </use>
2237</type> 2396</type>
2238 2397
2239<!--####################################################################--> 2398<!--####################################################################-->
2240<type number="88" name="Hazard Floor"> 2399<type number="88" name="Hazard Floor">
2245 <ignore_list name="non_pickable" /> 2404 <ignore_list name="non_pickable" />
2246 </ignore> 2405 </ignore>
2247 <description><![CDATA[ 2406 <description><![CDATA[
2248 The best example for Hazard Floor is lava. It works like standard 2407 The best example for Hazard Floor is lava. It works like standard
2249 floor, but damages all creatures standing on it. 2408 floor, but damages all creatures standing on it.
2250 Damage is taken in regular time intervals. ]]> 2409 Damage is taken in regular time intervals.]]>
2251 </description> 2410 </description>
2252 <use><![CDATA[ 2411 <use><![CDATA[
2253 The default lava for example does minor damage. But you can turn 2412 The default lava for example does minor damage. But you can turn
2254 it up so that your hazard floor poses a real threat.<br> 2413 it up so that your hazard floor poses a real threat.<br>
2255 Like magic walls, such floors add a permanent thrill to your map. 2414 Like magic walls, such floors add a permanent thrill to your map.
2256 You can use that to safely chase off too-weak players, or just 2415 You can use that to safely chase off too-weak players, or just
2257 to have something different. ]]> 2416 to have something different.]]>
2258 </use> 2417 </use>
2259 <attribute arch="is_floor" value="1" type="fixed" /> 2418 <attribute arch="is_floor" value="1" type="fixed" />
2260 <attribute arch="lifesave" value="1" type="fixed" /> 2419 <attribute arch="lifesave" value="1" type="fixed" />
2261 &move_on; 2420 &move_on;
2262 <attribute arch="no_pick" value="1" type="fixed" /> 2421 <attribute arch="no_pick" value="1" type="fixed" />
2301 If enabled, it is impossible for players to use prayers 2460 If enabled, it is impossible for players to use prayers
2302 on that spot. It also prevents players from saving. 2461 on that spot. It also prevents players from saving.
2303 </attribute> 2462 </attribute>
2304 <attribute arch="unique" editor="unique map" type="bool"> 2463 <attribute arch="unique" editor="unique map" type="bool">
2305 Unique floor means that any items dropped on that spot 2464 Unique floor means that any items dropped on that spot
2306 will be saved byond map reset. For permanent apartments, 2465 will be saved beyond map reset. For permanent apartments,
2307 all floor tiles must be set &lt;unique map&gt;. 2466 all floor tiles must be set &lt;unique map&gt;.
2308 </attribute> 2467 </attribute>
2309</type> 2468</type>
2310 2469
2311<!--####################################################################--> 2470<!--####################################################################-->
2313 <import_type name="Amulet" /> 2472 <import_type name="Amulet" />
2314 <description><![CDATA[ 2473 <description><![CDATA[
2315 Wearing a helmet, the object's stats will directly be inherited to 2474 Wearing a helmet, the object's stats will directly be inherited to
2316 the player. Normal helmets usually increase defense, while crowns 2475 the player. Normal helmets usually increase defense, while crowns
2317 add more special bonuses like stats/resistances paired with 2476 add more special bonuses like stats/resistances paired with
2318 low defense. ]]> 2477 low defense.]]>
2319 </description> 2478 </description>
2320 <use><![CDATA[ 2479 <use><![CDATA[
2321 Feel free to create your own special artifacts. However, it is very 2480 Feel free to create your own special artifacts. However, it is very
2322 important that you keep your artifact in balance with existing maps. ]]> 2481 important that you keep your artifact in balance with existing maps.]]>
2323 </use> 2482 </use>
2324 <attribute arch="magic" editor="magic bonus" type="int"> 2483 <attribute arch="magic" editor="magic bonus" type="int">
2325 &lt;magic bonus&gt; works just like ac, except that it can be improved by 2484 &lt;magic bonus&gt; works just like ac, except that it can be improved by
2326 "scrolls of Enchant Armour" or reduced by acid. It is less useful 2485 "scrolls of Enchant Armour" or reduced by acid. It is less useful
2327 than direct armour-class bonus on the helmet. 2486 than direct armour-class bonus on the helmet.
2336<type number="56" name="Holy Altar"> 2495<type number="56" name="Holy Altar">
2337 <ignore> 2496 <ignore>
2338 <ignore_list name="non_pickable" /> 2497 <ignore_list name="non_pickable" />
2339 </ignore> 2498 </ignore>
2340 <description><![CDATA[ 2499 <description><![CDATA[
2341 Holy_altars are altars for the various religions. Praying 2500 Holy Altars are altars for the various religions. Praying
2342 at a Holy_altar will make you a follower of that god, and 2501 at a Holy_altar will make you a follower of that god, and
2343 if you already follow that god, you may get some extra bonus. ]]> 2502 if you already follow that god, you may get some extra bonus.]]>
2344 </description> 2503 </description>
2345 <attribute arch="no_pick" value="1" type="fixed" /> 2504 <attribute arch="no_pick" value="1" type="fixed" />
2346 <attribute arch="other_arch" editor="god name" type="string"> 2505 <attribute arch="other_arch" editor="god name" type="string">
2347 The altar belongs to the god of the given name. Possible options for 2506 The altar belongs to the god of the given name. Possible options for
2348 &lt;god name&gt; are: Devourers, Lythander, Mostrai, Gaea, Ruggilli, Gnarg, 2507 &lt;god name&gt; are: Devourers, Lythander, Mostrai, Gaea, Ruggilli, Gnarg,
2371 Horns are very similar to rods. The difference is that horns regenerate 2530 Horns are very similar to rods. The difference is that horns regenerate
2372 spellpoints faster and thus are more valuable than rods. 2531 spellpoints faster and thus are more valuable than rods.
2373 <br><br> 2532 <br><br>
2374 A horn contains a spell. The player can use this spell by applying and 2533 A horn contains a spell. The player can use this spell by applying and
2375 "fireing" (blowing) the horn. Unlike wands/scrolls, horns can be 2534 "fireing" (blowing) the horn. Unlike wands/scrolls, horns can be
2376 used endlessly. ]]> 2535 used endlessly.]]>
2377 </description> 2536 </description>
2378 <use><![CDATA[ 2537 <use><![CDATA[
2379 Horns are powerful due to their fast recharge rate. They should 2538 Horns are powerful due to their fast recharge rate. They should
2380 never contain high level attacking spells. Even curing/healing spells 2539 never contain high level attacking spells. Even curing/healing spells
2381 are almost too good on a horn. ]]> 2540 are almost too good on a horn.]]>
2382 </use> 2541 </use>
2383 <attribute arch="sp" editor="spell" type="spell"> 2542 <attribute arch="sp" editor="spell" type="spell">
2384 Sets the &lt;spell&gt; of the horn. Consider twice before handing out any 2543 Sets the &lt;spell&gt; of the horn. Consider twice before handing out any
2385 horns to players, since they can be used endlessly without any mana cost! 2544 horns to players, since they can be used endlessly without any mana cost!
2386 Horns with heal/ restoration/ protection spells, IF available, MUST be 2545 Horns with heal/ restoration/ protection spells, IF available, MUST be
2412<!--####################################################################--> 2571<!--####################################################################-->
2413<type number="73" name="Inorganic"> 2572<type number="73" name="Inorganic">
2414 <description><![CDATA[ 2573 <description><![CDATA[
2415 Inorganic materials are generally used as ingredients for 2574 Inorganic materials are generally used as ingredients for
2416 alchemical receipes. By themselves, they have no special 2575 alchemical receipes. By themselves, they have no special
2417 functionalities. ]]> 2576 functionalities.]]>
2418 </description> 2577 </description>
2419 <attribute arch="is_dust" editor="is dust" type="bool"> 2578 <attribute arch="is_dust" editor="is dust" type="bool">
2420 </attribute> 2579 </attribute>
2421 &resistances_basic; 2580 &resistances_basic;
2422</type> 2581</type>
2423 2582
2424<!--####################################################################--> 2583<!--####################################################################-->
2425<type number="64" name="Inventory Checker"> 2584<type number="64" name="Inventory Checker">
2426 <ignore> 2585 <ignore>
2427 <ignore_list name="system_object" /> 2586 <ignore_list name="system_object" />
2587 <attribute arch="connected"/>
2428 </ignore> 2588 </ignore>
2429 <description><![CDATA[ 2589 <description><![CDATA[
2430 Inventory checkers passively check the players inventory for a 2590 Inventory checkers passively check the players inventory for a
2431 specific object. You can set a connected value that is triggered 2591 specific object. You can set a connected value that is triggered
2432 either if that object is present or missing (-&gt; "last_sp") when a 2592 either if that object is present or missing (-&gt; "last_sp") when a
2435 <br><br> 2595 <br><br>
2436 Alternatively, you can set your inv. checker to block all players 2596 Alternatively, you can set your inv. checker to block all players
2437 that do/don't carry the matching object. 2597 that do/don't carry the matching object.
2438 <br><br> 2598 <br><br>
2439 As you can see, inv. checkers are quite powerful, holding a 2599 As you can see, inv. checkers are quite powerful, holding a
2440 great variety of possibilities. ]]> 2600 great variety of possibilities.]]>
2441 </description> 2601 </description>
2442 <use><![CDATA[ 2602 <use><![CDATA[
2443 Putting a check_inventory space in front of a gate (one below) and 2603 Putting a check_inventory space in front of a gate (one below) and
2444 one on the opposite side works reasonably well as a control mechanism. 2604 one on the opposite side works reasonably well as a control mechanism.
2445 Unlike the key/door-combo, this one works infinite since it is 2605 Unlike the key/door-combo, this one works infinite since it is
2446 independant from map reset. Use it to put a "structure" into your 2606 independant from map reset. Use it to put a "structure" into your
2447 maps: Player must solve area A to gain access to area B. This concept 2607 maps: Player must solve area A to gain access to area B. This concept
2448 can be found in nearly every RPG - simple but effective. ]]> 2608 can be found in nearly every RPG - simple but effective.]]>
2449 </use> 2609 </use>
2450 <attribute arch="no_pick" value="1" type="fixed" /> 2610 <attribute arch="no_pick" value="1" type="fixed" />
2451 <attribute arch="slaying" editor="match key string" type="string"> 2611 <attribute arch="slaying" editor="match key string" type="string">
2452 This string specifies the object we are looking for: We have a match 2612 This string specifies the object we are looking for: We have a match
2453 if the player does/don't carry a key object or a mark with identical 2613 if the player does/don't carry a key object or a mark with identical
2469 </attribute> 2629 </attribute>
2470 <attribute arch="last_sp" editor="match = having" type="bool"> 2630 <attribute arch="last_sp" editor="match = having" type="bool">
2471 Enabled means having that object is a match. 2631 Enabled means having that object is a match.
2472 Disabled means not having that object is a match. 2632 Disabled means not having that object is a match.
2473 </attribute> 2633 </attribute>
2474 <attribute arch="connected" editor="connection" type="int"> 2634 <attribute arch="connected" editor="connection" type="string">
2475 Whenever the inventory checker is triggered, all objects with identical 2635 Whenever the inventory checker is triggered, all objects with identical
2476 &lt;connection&gt; value get activated. This only makes sense together with 2636 &lt;connection&gt; value get activated. This only makes sense together with
2477 &lt;blocking passage&gt; disabled. 2637 &lt;blocking passage&gt; disabled.
2478 </attribute> 2638 </attribute>
2479 &movement_types_terrain; 2639 &movement_types_terrain;
2529<!--####################################################################--> 2689<!--####################################################################-->
2530<type number="60" name="Jewel"> 2690<type number="60" name="Jewel">
2531 <description><![CDATA[ 2691 <description><![CDATA[
2532 Items of the type Gold &amp; Jewels are handled like a currency. 2692 Items of the type Gold &amp; Jewels are handled like a currency.
2533 Unlike for any other type of item, in shops, the buy- and selling 2693 Unlike for any other type of item, in shops, the buy- and selling
2534 prices differ only marginally. ]]> 2694 prices differ only marginally.]]>
2535 </description> 2695 </description>
2536 <attribute arch="race" value="gold and jewels" type="fixed" /> 2696 <attribute arch="race" value="gold and jewels" type="fixed" />
2537 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2697 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2538 This text may describe the object. 2698 This text may describe the object.
2539 </attribute> 2699 </attribute>
2541 2701
2542<!--####################################################################--> 2702<!--####################################################################-->
2543<type number="24" name="Key"> 2703<type number="24" name="Key">
2544 <description><![CDATA[ 2704 <description><![CDATA[
2545 When carrying a key, a normal door can be opened. The key will 2705 When carrying a key, a normal door can be opened. The key will
2546 disappear. ]]> 2706 disappear.]]>
2547 </description> 2707 </description>
2548 <attribute arch="startequip" editor="godgiven item" type="bool"> 2708 <attribute arch="startequip" editor="godgiven item" type="bool">
2549 A godgiven item vanishes as soon as the player 2709 A godgiven item vanishes as soon as the player
2550 drops it to the ground. 2710 drops it to the ground.
2551 </attribute> 2711 </attribute>
2712 <attribute arch="no_steal" editor="not stealable" type="bool">
2713 This item can't be stolen if the flag is set.
2714 </attribute>
2552</type> 2715</type>
2553 2716
2554<!--####################################################################--> 2717<!--####################################################################-->
2555<type number="20" name="Locked Door"> 2718<type number="20" name="Locked Door">
2556 <ignore> 2719 <ignore>
2557 <ignore_list name="non_pickable" /> 2720 <ignore_list name="non_pickable" />
2558 </ignore> 2721 </ignore>
2559 <description><![CDATA[ 2722 <description><![CDATA[
2560 A locked door can be opened only when carrying 2723 A locked door can be opened only when carrying
2561 the appropriate special key. ]]> 2724 the appropriate special key.]]>
2562 </description> 2725 </description>
2563 <use><![CDATA[ 2726 <use><![CDATA[
2564 If you want to create a locked door that cannot be opened (no key), 2727 If you want to create a locked door that cannot be opened (no key),
2565 set a &lt;key string&gt; like "no_key_available". This will clearify things 2728 set a &lt;key string&gt; like "no_key_available". This will clearify things
2566 and only a fool would create a key matching that string. 2729 and only a fool would create a key matching that string.
2568 Door-objects can not only be used for "doors". In many maps these 2731 Door-objects can not only be used for "doors". In many maps these
2569 are used with all kinds of faces/names, especially often as 2732 are used with all kinds of faces/names, especially often as
2570 "magic force". A good example is the map "Lake_Country/ebony/masterlev". 2733 "magic force". A good example is the map "Lake_Country/ebony/masterlev".
2571 There you have magic forces (door objects) put under certain artifact 2734 There you have magic forces (door objects) put under certain artifact
2572 items. To get your hands on the artifacts, you need to bring up the 2735 items. To get your hands on the artifacts, you need to bring up the
2573 appropriate quest items (key objects). ]]> 2736 appropriate quest items (key objects).]]>
2574 </use> 2737 </use>
2575 <attribute arch="move_type" value="0" type="fixed" /> 2738 <attribute arch="move_type" value="0" type="fixed" />
2576 <attribute arch="no_pick" value="1" type="fixed" /> 2739 <attribute arch="no_pick" value="1" type="fixed" />
2577 <attribute arch="slaying" editor="key string" type="string"> 2740 <attribute arch="slaying" editor="key string" type="string">
2578 The &lt;key string&gt; in the door must be identical with the 2741 The &lt;key string&gt; in the door must be identical with the
2579 &lt;key string&gt; in the special key, then the door is unlocked. 2742 &lt;key string&gt; in the special key, then the door is unlocked.
2580 It is VERY important to set the &lt;key string&gt; to something that 2743 It is VERY important to set the &lt;key string&gt; to something that
2581 is unique among the Deliantra mapset. 2744 is unique among the Deliantra mapset.
2582 2745
2583 DONT EVER USE the default string "set_individual_value". 2746 DONT EVER USE the default string "set_individual_value".
2747
2748 When the key string starts with "match ", then it is expected to
2749 be a match expression, which will be applied to the player, so
2750 you can use e.g. (match type=POTION in inv). Note that the matched
2751 object will be removed.
2584 </attribute> 2752 </attribute>
2585 <attribute arch="no_magic" editor="restrict spells" type="bool"> 2753 <attribute arch="no_magic" editor="restrict spells" type="bool">
2586 Restricting the use of spells to pass this door. 2754 Restricting the use of spells to pass this door.
2587 This should be set in most cases. 2755 This should be set in most cases.
2588 (Don't forget that the spell "dimension door" is easily 2756 (Don't forget that the spell "dimension door" is easily
2602 2770
2603<!--####################################################################--> 2771<!--####################################################################-->
2604<type number="29" name="Magic Ear"> 2772<type number="29" name="Magic Ear">
2605 <ignore> 2773 <ignore>
2606 <ignore_list name="system_object" /> 2774 <ignore_list name="system_object" />
2775 <attribute arch="connected"/>
2607 </ignore> 2776 </ignore>
2608 <description><![CDATA[ 2777 <description><![CDATA[
2609 Magic_ears trigger a connected value 2778 Magic_ears trigger a connected value
2610 when the player speaks a specific keyword. ]]> 2779 when the player speaks a specific keyword.]]>
2611 </description> 2780 </description>
2612 <use><![CDATA[ 2781 <use><![CDATA[
2613 Whenever you put magic_ears on your maps, make sure there are 2782 Whenever you put magic_ears on your maps, make sure there are
2614 CLEAR and RELYABLE hints about the keywords somewhere. Don't make 2783 CLEAR and RELYABLE hints about the keywords somewhere. Don't make
2615 something like a gate that is opened by speaking "open" or 2784 something like a gate that is opened by speaking "open" or
2617 <br><br> 2786 <br><br>
2618 Magic_ears are typically used for interaction with NPCs. You 2787 Magic_ears are typically used for interaction with NPCs. You
2619 can create the impression that the NPC actually *does* something 2788 can create the impression that the NPC actually *does* something
2620 according to his conversation with a player. Mostly this means 2789 according to his conversation with a player. Mostly this means
2621 opening a gate or handing out some item, but you could be quite 2790 opening a gate or handing out some item, but you could be quite
2622 creative here. ]]> 2791 creative here.]]>
2623 </use> 2792 </use>
2624 <attribute arch="no_pick" value="1" type="fixed" /> 2793 <attribute arch="no_pick" value="1" type="fixed" />
2625 <attribute arch="connected" editor="connection" type="int"> 2794 <attribute arch="connected" editor="connection" type="string">
2626 The Magic_ear will trigger all objects with the 2795 The Magic_ear will trigger all objects with the
2627 same connection value, every time it is activated. 2796 same connection value, every time it is activated.
2628 </attribute> 2797 </attribute>
2629 <attribute arch_begin="msg" arch_end="endmsg" editor="keyword-matching" type="text"> 2798 <attribute arch_begin="msg" arch_end="endmsg" editor="keyword-matching" type="text">
2630 This textfield contains the keyword-matching-syntax. The text should 2799 This textfield contains the keyword-matching-syntax. The text should
2641 2810
2642<!--####################################################################--> 2811<!--####################################################################-->
2643<type number="62" name="Magic Wall"> 2812<type number="62" name="Magic Wall">
2644 <ignore> 2813 <ignore>
2645 <ignore_list name="non_pickable" /> 2814 <ignore_list name="non_pickable" />
2815 <attribute arch="connected"/>
2646 </ignore> 2816 </ignore>
2647 <description><![CDATA[ 2817 <description><![CDATA[
2648 Magic walls fire spells in a given direction, in regular intervals. 2818 Magic walls fire spells in a given direction, in regular intervals.
2649 Magic walls can contain any spell. However, some spells do not 2819 Magic walls can contain any spell. However, some spells do not
2650 operate very successfully in them. The only way to know is to test 2820 operate very successfully in them. The only way to know is to test
2651 the spell you want to use with a wall. 2821 the spell you want to use with a wall.
2652 <br><br> 2822 <br><br>
2653 Several types of magical walls are predefined for you in the 2823 Several types of magical walls are predefined for you in the
2654 archetypes, and can be found on the "connected" Pickmap. ]]> 2824 archetypes, and can be found on the "connected" Pickmap.]]>
2655 </description> 2825 </description>
2656 <use><![CDATA[ 2826 <use><![CDATA[
2657 Spellcasting walls pose an interesting alternative to monsters. 2827 Spellcasting walls pose an interesting alternative to monsters.
2658 Usually they are set to be undestroyable. Thus, while monsters 2828 Usually they are set to be undestroyable. Thus, while monsters
2659 in a map can be cleared out, the magic walls remain. Low level 2829 in a map can be cleared out, the magic walls remain. Low level
2670 walls' spell(s). 2840 walls' spell(s).
2671 <br><br> 2841 <br><br>
2672 It is possible to make walls rotate when triggered. But that is so 2842 It is possible to make walls rotate when triggered. But that is so
2673 confusing (and useless IMHO) that I did not mention it above. You 2843 confusing (and useless IMHO) that I did not mention it above. You
2674 can find a working example on the map 2844 can find a working example on the map
2675 "/pup_land/castle_eureca/castle_eureca8". ]]> 2845 "/pup_land/castle_eureca/castle_eureca8".]]>
2676 </use> 2846 </use>
2677 <attribute arch="dam" editor="spell" type="spell"> 2847 <attribute arch="dam" editor="spell" type="spell">
2678 The magic wall will cast this &lt;spell&gt;. 2848 The magic wall will cast this &lt;spell&gt;.
2679 </attribute> 2849 </attribute>
2680 <attribute arch="level" editor="spell level" type="int"> 2850 <attribute arch="level" editor="spell level" type="int">
2681 The wall will cast it's spells at level &lt;spell level&gt;. "level 1" 2851 The wall will cast it's spells at level &lt;spell level&gt;. "level 1"
2682 walls cast spells at minimal strength. "level 100" walls cast deadly 2852 walls cast spells at minimal strength. "level 100" walls cast deadly
2683 spells. Arch default is level 1 - you should always set this value 2853 spells. Arch default is level 1 - you should always set this value
2684 to meet the overall difficulty of your map. 2854 to meet the overall difficulty of your map.
2685 </attribute> 2855 </attribute>
2686 <attribute arch="connected" editor="connection" type="int"> 2856 <attribute arch="connected" editor="connection" type="string">
2687 Every time the &lt;connection&gt; value is triggered, the wall will cast 2857 Every time the &lt;connection&gt; value is triggered, the wall will cast
2688 it's spell. You should set &lt;casting speed&gt; to zero, or this won't 2858 it's spell. You should set &lt;casting speed&gt; to zero, or this won't
2689 have much visible effect. 2859 have much visible effect.
2690 </attribute> 2860 </attribute>
2691 &activate_on; 2861 &activate_on;
2727 2897
2728<!--####################################################################--> 2898<!--####################################################################-->
2729<type number="55" name="Marker"> 2899<type number="55" name="Marker">
2730 <ignore> 2900 <ignore>
2731 <ignore_list name="system_object" /> 2901 <ignore_list name="system_object" />
2902 <attribute arch="connected"/>
2732 </ignore> 2903 </ignore>
2733 <description><![CDATA[ 2904 <description><![CDATA[
2734 A marker is an object that inserts an invisible force (a mark) into a 2905 A marker is an object that inserts an invisible force (a mark) into a
2735 player stepping on it. This force does nothing except containing a 2906 player stepping on it. This force does nothing except containing a
2736 &lt;key string&gt; which can be discovered by detectors or inventory 2907 &lt;key string&gt; which can be discovered by detectors or inventory
2737 checkers. It is also possible to use markers for removing marks again. 2908 checkers. It is also possible to use markers for removing marks again
2909 (by setting the "name" slot to the name of the marker to be removed).
2738 <br><br> 2910 <br><br>
2739 Note that the player has no possibility to "see" his own marks, 2911 Note that the player has no possibility to "see" his own marks,
2740 except by the effect that they cause on the maps. ]]> 2912 except by the effect that they cause on the maps.]]>
2741 </description> 2913 </description>
2742 <use><![CDATA[ 2914 <use><![CDATA[
2743 Markers hold real cool possibilities for map-making. I encourage 2915 Markers hold real cool possibilities for map-making. I encourage
2744 you to use them frequently. However there is one negative point 2916 you to use them frequently. However there is one negative point
2745 about markers: Players don't "see" what's going on with them. It is 2917 about markers: Players don't "see" what's going on with them. It is
2746 your task, as map-creator, to make sure the player is always well 2918 your task, as map-creator, to make sure the player is always well
2747 informed and never confused. 2919 informed and never confused.
2748 <br><br> 2920 <br><br>
2749 Please avoid infinite markers when they aren't needed. They're 2921 Please avoid infinite markers when they aren't needed. They're
2750 using a little space in the player file after all, so if there 2922 using a little space in the player file after all, so if there
2751 is no real purpose, set an expire time. ]]> 2923 is no real purpose, set an expire time.]]>
2752 </use> 2924 </use>
2753 <attribute arch="no_pick" value="1" type="fixed" /> 2925 <attribute arch="no_pick" value="1" type="fixed" />
2754 <attribute arch="slaying" editor="key string" type="string"> 2926 <attribute arch="slaying" editor="key string" type="string">
2755 The &lt;key string&gt; can be detected by inv. checkers/detectors. 2927 The &lt;key string&gt; can be detected by inv. checkers/detectors.
2756 If the player already has a force with that &lt;key string&gt;, 2928 If the player already has a force with that &lt;key string&gt;,
2757 there won't be inserted a second one. 2929 there won't be inserted a second one.
2758 </attribute> 2930 </attribute>
2759 <attribute arch="connected" editor="connection" type="int"> 2931 <attribute arch="connected" editor="connection" type="string">
2760 When the detector is triggered, all objects with the same 2932 When the detector is triggered, all objects with the same
2761 connection value get activated. 2933 connection value get activated.
2762 </attribute> 2934 </attribute>
2763 <attribute arch="speed" editor="marking speed" type="float"> 2935 <attribute arch="speed" editor="marking speed" type="float">
2764 The &lt;marking speed&gt; defines how quickly it will mark something 2936 The &lt;marking speed&gt; defines how quickly it will mark something
2802 When a player picks an item from a shop and attempts to 2974 When a player picks an item from a shop and attempts to
2803 walk over the shop mat, the item's selling-price is automatically 2975 walk over the shop mat, the item's selling-price is automatically
2804 subtracted from the player's money. 2976 subtracted from the player's money.
2805 <br><br> 2977 <br><br>
2806 For money, always use the default arches. 2978 For money, always use the default arches.
2807 Don't modify them. ]]> 2979 Don't modify them.]]>
2808 </description> 2980 </description>
2809 <attribute arch="race" value="gold and jewels" type="fixed" /> 2981 <attribute arch="race" value="gold and jewels" type="fixed" />
2810</type> 2982</type>
2811 2983
2812<!--####################################################################--> 2984<!--####################################################################-->
2827 Monsters can behave in various kinds of ways. 2999 Monsters can behave in various kinds of ways.
2828 They can be aggressive, attacking the player. Or peaceful, 3000 They can be aggressive, attacking the player. Or peaceful,
2829 helping the player - maybe joining him as pet. 3001 helping the player - maybe joining him as pet.
2830 The unagressive creatures who communicate with players are 3002 The unagressive creatures who communicate with players are
2831 usually called "NPCs" (Non Player Character), a well-known 3003 usually called "NPCs" (Non Player Character), a well-known
2832 term in role-play environments. ]]> 3004 term in role-play environments.]]>
2833 </description> 3005 </description>
2834 <use><![CDATA[ 3006 <use><![CDATA[
2835 Monsters play a central role in most maps. Choosing the right 3007 Monsters play a central role in most maps. Choosing the right
2836 combination of monsters for your map is vital: 3008 combination of monsters for your map is vital:
2837 <UL> 3009 <UL>
2862 can use. 3034 can use.
2863 </UL> 3035 </UL>
2864 I know it's impossible to make the perfectly balanced map. There's always 3036 I know it's impossible to make the perfectly balanced map. There's always
2865 some part which is found too easy or too hard for a certain kind of player. 3037 some part which is found too easy or too hard for a certain kind of player.
2866 Just give it your best shot. And listen to feedback from players if you 3038 Just give it your best shot. And listen to feedback from players if you
2867 receive some. :-) ]]> 3039 receive some. :-)]]>
2868 </use> 3040 </use>
2869 <attribute arch="alive" value="1" type="fixed" /> 3041 <attribute arch="alive" value="1" type="fixed" />
2870 <attribute arch="randomitems" editor="treasurelist" type="treasurelist"> 3042 <attribute arch="randomitems" editor="treasurelist" type="treasurelist">
2871 When the monster is killed, items from the treasurelist will 3043 When the monster is killed, items from the treasurelist will
2872 drop to the ground. This is a common way to reward players 3044 drop to the ground. This is a common way to reward players
3196 3368
3197<!--####################################################################--> 3369<!--####################################################################-->
3198<type number="65" name="Mood Floor"> 3370<type number="65" name="Mood Floor">
3199 <ignore> 3371 <ignore>
3200 <ignore_list name="system_object" /> 3372 <ignore_list name="system_object" />
3373 <attribute arch="connected"/>
3201 </ignore> 3374 </ignore>
3202 <description><![CDATA[ 3375 <description><![CDATA[
3203 As the name implies, mood floors can change the "mood" of 3376 As the name implies, mood floors can change the "mood" of
3204 a monsters/NPC. For example, an unagressive monster could be 3377 a monsters/NPC. For example, an unagressive monster could be
3205 turned mad to start attacking. Similar, an agressive monster 3378 turned mad to start attacking. Similar, an agressive monster
3206 could be calmed. ]]> 3379 could be calmed.]]>
3207 </description> 3380 </description>
3208 <use><![CDATA[ 3381 <use><![CDATA[
3209 Mood floors are absolutely cool for NPC interaction. To make an 3382 Mood floors are absolutely cool for NPC interaction. To make an
3210 unaggressive monster/NPC attack, put a creator with "other_arch 3383 unaggressive monster/NPC attack, put a creator with "other_arch
3211 furious_floor" under it. Connect the creator to a magic_ear, so the 3384 furious_floor" under it. Connect the creator to a magic_ear, so the
3215 it directly to a magic_ear. Then the player speaks a keyword like 3388 it directly to a magic_ear. Then the player speaks a keyword like
3216 "help me" - and the NPC joins him as pet. 3389 "help me" - and the NPC joins him as pet.
3217 <br><br> 3390 <br><br>
3218 (Of course you must always give clear hints about keywords! 3391 (Of course you must always give clear hints about keywords!
3219 And there is no reason why you couldn't use a button/lever/pedestal 3392 And there is no reason why you couldn't use a button/lever/pedestal
3220 etc. instead of a magic_ear.) ]]> 3393 etc. instead of a magic_ear.)]]>
3221 </use> 3394 </use>
3222 <attribute arch="no_pick" value="1" type="fixed" /> 3395 <attribute arch="no_pick" value="1" type="fixed" />
3223 <attribute arch="last_sp" editor="mood" type="list_mood"> 3396 <attribute arch="last_sp" editor="mood" type="list_mood">
3224 &lt;mood&gt; is used to determine what will happen to the 3397 &lt;mood&gt; is used to determine what will happen to the
3225 monster when affected by the mood floor: 3398 monster when affected by the mood floor:
3235 &lt;mood&gt; 'charm': Turns monster into a pet of person 3408 &lt;mood&gt; 'charm': Turns monster into a pet of person
3236 who triggers the square. This setting is not 3409 who triggers the square. This setting is not
3237 enabled for continous operation, you need to 3410 enabled for continous operation, you need to
3238 insert a &lt;connection&gt; value! 3411 insert a &lt;connection&gt; value!
3239 </attribute> 3412 </attribute>
3240 <attribute arch="connected" editor="connection" type="int"> 3413 <attribute arch="connected" editor="connection" type="string">
3241 This should only be set in combination with &lt;mood number&gt; 4. 3414 This should only be set in combination with &lt;mood number&gt; 4.
3242 Normally, monsters are affected by the mood floor as soon as they 3415 Normally, monsters are affected by the mood floor as soon as they
3243 step on it. But charming (monster -&gt; pet) is too powerful, 3416 step on it. But charming (monster -&gt; pet) is too powerful,
3244 so it needs to be activated. 3417 so it needs to be activated.
3245 3418
3269 can monsters. Motion is involuntary. Additionally, players or 3442 can monsters. Motion is involuntary. Additionally, players or
3270 monsters can be "frozen" while ontop of movers so that they MUST 3443 monsters can be "frozen" while ontop of movers so that they MUST
3271 move along a chain of them. 3444 move along a chain of them.
3272 <br><br> 3445 <br><br>
3273 Multisquare monsters can be moved as well, given 3446 Multisquare monsters can be moved as well, given
3274 enough space. Movers are usually invisible. ]]> 3447 enough space. Movers are usually invisible.]]>
3275 </description> 3448 </description>
3276 <use><![CDATA[ 3449 <use><![CDATA[
3277 NEVER EVER consider a mover being unpassable in the backwards 3450 NEVER EVER consider a mover being unpassable in the backwards
3278 direction. Setting "forced movement" makes it seemingly impossible 3451 direction. Setting "forced movement" makes it seemingly impossible
3279 but there is still a trick: One player can push a second player 3452 but there is still a trick: One player can push a second player
3286 cannot be discovered with the show_invisible spell. 3459 cannot be discovered with the show_invisible spell.
3287 <br><br> 3460 <br><br>
3288 Note that Movers and Directors are seperate objects, even though 3461 Note that Movers and Directors are seperate objects, even though
3289 they look and act similar. Directors only do spells/missiles, 3462 they look and act similar. Directors only do spells/missiles,
3290 while movers only do living creatures (depending on how it 3463 while movers only do living creatures (depending on how it
3291 is set: monsters and players). ]]> 3464 is set: monsters and players).]]>
3292 </use> 3465 </use>
3293 <attribute arch="attacktype" editor="forced movement" type="bool"> 3466 <attribute arch="attacktype" editor="forced movement" type="bool">
3294 If forced movement is enabled, the mover "freezes" anyone it 3467 If forced movement is enabled, the mover "freezes" anyone it
3295 moves (so they are forced to move along a chain). 3468 moves (so they are forced to move along a chain).
3296 For players there is no way to escape this forced movement, 3469 For players there is no way to escape this forced movement,
3344 3517
3345<!--####################################################################--> 3518<!--####################################################################-->
3346<type number="17" name="Pedestal"> 3519<type number="17" name="Pedestal">
3347 <ignore> 3520 <ignore>
3348 <ignore_list name="non_pickable" /> 3521 <ignore_list name="non_pickable" />
3522 <attribute arch="connected"/>
3349 </ignore> 3523 </ignore>
3350 <description><![CDATA[ 3524 <description><![CDATA[
3351 Pedestals are designed to detect certain types of living objects. 3525 Pedestals are designed to detect certain types of living objects.
3352 When a predefined type of living creature steps on the pedestal, the 3526 When a predefined type of living creature steps on the pedestal, the
3353 connected value is triggered. ]]> 3527 connected value is triggered.]]>
3354 </description> 3528 </description>
3355 <use><![CDATA[ 3529 <use><![CDATA[
3356 If you want to create a place where only players of a certain race 3530 If you want to create a place where only players of a certain race
3357 can enter, put a teleporter over your pedestal. So the teleporter is 3531 can enter, put a teleporter over your pedestal. So the teleporter is
3358 only activated for players of the matching race. Do not use gates, 3532 only activated for players of the matching race. Do not use gates,
3359 because many other players could sneak in. If you put powerful 3533 because many other players could sneak in. If you put powerful
3360 artifacts into such places, generally set "startequip 1", so that 3534 artifacts into such places, generally set "startequip 1", so that
3361 they are preserved for that one race and can't be traded to others. ]]> 3535 they are preserved for that one race and can't be traded to others.]]>
3362 </use> 3536 </use>
3363 <attribute arch="no_pick" value="1" type="fixed" /> 3537 <attribute arch="no_pick" value="1" type="fixed" />
3364 <attribute arch="slaying" editor="match race" type="string"> 3538 <attribute arch="slaying" editor="match race" type="string">
3365 the &lt;match race&gt; defines the object we're looking for. If &lt;match race&gt; 3539 the &lt;match race&gt; defines the object we're looking for. If &lt;match race&gt;
3366 matches the monster's or the player's race, we have a match. 3540 matches the monster's or the player's race, we have a match.
3368 place where only fireborns can enter, by setting "slaying unnatural". 3542 place where only fireborns can enter, by setting "slaying unnatural".
3369 3543
3370 If it is set to "player", any player stepping on the pedestal 3544 If it is set to "player", any player stepping on the pedestal
3371 is a match. Very useful if you want to open a gate for players 3545 is a match. Very useful if you want to open a gate for players
3372 but not for monsters. 3546 but not for monsters.
3547
3548 &match_compat;
3373 </attribute> 3549 </attribute>
3374 <attribute arch="connected" editor="connection" type="int"> 3550 <attribute arch="connected" editor="connection" type="string">
3375 When the pedestal is triggered, all objects with the same 3551 When the pedestal is triggered, all objects with the same
3376 connection value get activated. 3552 connection value get activated.
3377 </attribute> 3553 </attribute>
3378 &move_on; 3554 &move_on;
3379</type> 3555</type>
3380 3556
3381<!--####################################################################--> 3557<!--####################################################################-->
3558<type number="32" name="Pedestal Trigger">
3559 <import_type name="Pedestal" />
3560 <ignore>
3561 <ignore_list name="non_pickable" />
3562 </ignore>
3563 <description><![CDATA[
3564 Pedestal triggers are pedestals which reset after a short period
3565 of time. Every time it is either applied or reset, the
3566 &lt;connection&gt; value is triggered.]]>
3567 </description>
3568</type>
3569
3570<!--####################################################################-->
3571<type number="19" name="Item Match">
3572 <ignore>
3573 <ignore_list name="non_pickable" />
3574 <attribute arch="connected"/>
3575 </ignore>
3576 <description><![CDATA[
3577 Match objects use the deliantra matching language
3578 (http://pod.tst.eu/http://cvs.schmorp.de/deliantra/server/lib/cf/match.pm)
3579 to match items on the same mapspace (if move_on/off are unset) or
3580 items trying to enter (if move_blocked is set).
3581
3582 If a connected value is given, then it is triggered if the first object
3583 matching the expression is put on it, and the last is removed.]]>
3584 </description>
3585 <use><![CDATA[
3586 If you want to trigger something else (e.g. a gate) when an item is above this object,
3587 use the move_on/move_off settings.
3588
3589 If you want to keep something from entering if it has (or lacks) a specific item,
3590 use the move_blocked setting.]]>
3591 </use>
3592 <attribute arch="no_pick" value="1" type="fixed" />
3593 <attribute arch="slaying" editor="match expression" type="string">
3594 &match_compat;
3595
3596 Optionally you can leave out the "match " prefix.
3597 </attribute>
3598 <attribute arch="connected" editor="connection" type="string">
3599 When the match is triggered, all objects with the same
3600 connection value get activated.
3601 </attribute>
3602 &move_on;
3603 &move_off;
3604 &move_block;
3605</type>
3606
3607<!--####################################################################-->
3382<type number="94" name="Pit"> 3608<type number="94" name="Pit">
3383 <ignore> 3609 <ignore>
3384 <ignore_list name="non_pickable" /> 3610 <ignore_list name="non_pickable" />
3611 <attribute arch="connected"/>
3385 </ignore> 3612 </ignore>
3386 <description><![CDATA[ 3613 <description><![CDATA[
3387 Pits are holes, transporting the player when he walks (and falls) into them. 3614 Pits are holes, transporting the player when he walks (and falls) into them.
3388 A speciality about pits is that they don't transport the player to 3615 A speciality about pits is that they don't transport the player to
3389 the exact destination, but within a two-square radius of the destination 3616 the exact destination, but within a configurable radius of the destination
3390 (never on blocked squares).<br> 3617 (never on blocked squares).<br>
3391 Optionally, pits can get closed and opened, similar to gates.<br><br> 3618 Optionally, pits can get closed and opened, similar to gates.<br><br>
3392 Monsters and items are affected by pits just as well as players. 3619 Monsters and items are affected by pits just as well as players.
3393 Even multipart monsters can fall through them, given enough space. ]]> 3620 Even multipart monsters can fall through them, given enough space.]]>
3394 </description> 3621 </description>
3395 <use><![CDATA[ 3622 <use><![CDATA[
3396 Pits can add interesting effects to your map. When using them, make 3623 Pits can add interesting effects to your map. When using them, make
3397 sure to use them in a "logical way": Pits should always drop the 3624 sure to use them in a "logical way": Pits should always drop the
3398 player to some kind of lower level. They should not be used to 3625 player to some kind of lower level. They should not be used to
3399 randomly interconnect maps like teleporters do. ]]> 3626 randomly interconnect maps like teleporters do.]]>
3400 </use> 3627 </use>
3401 <attribute arch="no_pick" value="1" type="fixed" /> 3628 <attribute arch="no_pick" value="1" type="fixed" />
3629 <attribute arch="range" editor="spread radius" type="int">
3630 The radius of the square area that the pit will randomly put the player into (0 to 3, default 1).
3631 </attribute>
3402 <attribute arch="connected" editor="connection" type="int"> 3632 <attribute arch="connected" editor="connection" type="string">
3403 When a &lt;connection&gt; value is set, the pit can be opened/closed 3633 When a &lt;connection&gt; value is set, the pit can be opened/closed
3404 by activating the connection. 3634 by activating the connection.
3405 </attribute> 3635 </attribute>
3406 &activate_on; 3636 &activate_on;
3407 <attribute arch="hp" editor="destination X" type="int"> 3637 <attribute arch="hp" editor="destination X" type="int">
3421 Zero means completely open/down, the "number of animation-steps" (usually 3651 Zero means completely open/down, the "number of animation-steps" (usually
3422 about 6 or 7) means completely closed/up state. I suggest you don't 3652 about 6 or 7) means completely closed/up state. I suggest you don't
3423 mess with this value - Leave the default in place. 3653 mess with this value - Leave the default in place.
3424 </attribute> 3654 </attribute>
3425 &move_on; 3655 &move_on;
3426 <attribute arch="speed" editor="activation speed" type="float">
3427 If the &lt;activation speed&gt; is nonzero, the pit will
3428 automatically be activated in regular time-intervals. Hence, the
3429 player can just step on it and gets teleported sooner or later.
3430 The duration between two activates depends on the given value.
3431 Default in the pit arch is &lt;activation speed&gt; 0, i.e. disabled.
3432
3433 VERY IMPORTANT: If you want to have your pit activated via
3434 button/handle/magic_ear/etc, you must set &lt;activation speed&gt; to zero!
3435 </attribute>
3436 &speed_left;
3437</type> 3656</type>
3438 3657
3439<!--####################################################################--> 3658<!--####################################################################-->
3440<type number="7" name="Poison Food"> 3659<type number="7" name="Poison Food">
3441 <description><![CDATA[ 3660 <description><![CDATA[
3442 When eating, the player's stomache is drained by 1/4 of food. 3661 When eating, the player's stomache is drained by 1/4 of food.
3443 If his food drops to zero, the player might even die. ]]> 3662 If his food drops to zero, the player might even die.]]>
3444 </description> 3663 </description>
3445</type> 3664</type>
3446 3665
3447<!--####################################################################--> 3666<!--####################################################################-->
3448<type number="5" name="Potion"> 3667<type number="5" name="Potion">
3449 <description><![CDATA[ 3668 <description><![CDATA[
3450 The player can drink these and gain various kinds of benefits 3669 The player can drink these and gain various kinds of benefits
3451 (/penalties) by doing so. ]]> 3670 (/penalties) by doing so.]]>
3452 </description> 3671 </description>
3453 <use><![CDATA[ 3672 <use><![CDATA[
3454 One potion should never give multiple benefits at once. ]]> 3673 One potion should never give multiple benefits at once.]]>
3455 </use> 3674 </use>
3456 <attribute arch="level" editor="potion level" type="int"> 3675 <attribute arch="level" editor="potion level" type="int">
3457 If the potion contains a spell, the spell is cast at this level. 3676 If the potion contains a spell, the spell is cast at this level.
3458 For other potions it should be set at least to 1. 3677 For other potions it should be set at least to 1.
3459 </attribute> 3678 </attribute>
3486<type number="156" name="Power Crystal"> 3705<type number="156" name="Power Crystal">
3487 <description><![CDATA[ 3706 <description><![CDATA[
3488 Power crystals can store a player's mana: 3707 Power crystals can store a player's mana:
3489 When the player applies the crystal with full mana, half of 3708 When the player applies the crystal with full mana, half of
3490 it flows into the crystal. When the player applies it with 3709 it flows into the crystal. When the player applies it with
3491 lacking mana, the crystal replenishes the player's mana. ]]> 3710 lacking mana, the crystal replenishes the player's mana.]]>
3492 </description> 3711 </description>
3493 <attribute arch="sp" editor="initial mana" type="int"> 3712 <attribute arch="sp" editor="initial mana" type="int">
3494 &lt;initial mana&gt; is the amount of spellpoints that the 3713 &lt;initial mana&gt; is the amount of spellpoints that the
3495 crystal holds when the map is loaded. 3714 crystal holds when the map is loaded.
3496 </attribute> 3715 </attribute>
3508 Projectiles like arrows/crossbow bolts are used as ammunition 3727 Projectiles like arrows/crossbow bolts are used as ammunition
3509 for shooting weapons. 3728 for shooting weapons.
3510 <br><br> 3729 <br><br>
3511 It's very easy to add new pairs of weapons &amp; projectiles. 3730 It's very easy to add new pairs of weapons &amp; projectiles.
3512 Just set matching &lt;ammunition class&gt; both for shooting 3731 Just set matching &lt;ammunition class&gt; both for shooting
3513 weapon and projectile. ]]> 3732 weapon and projectile.]]>
3514 </description> 3733 </description>
3515 <use><![CDATA[ 3734 <use><![CDATA[
3516 If you want to create new kinds of projectiles, you could 3735 If you want to create new kinds of projectiles, you could
3517 add an alchemical receipe to create these. 3736 add an alchemical receipe to create these.
3518 3737
3519 Don't create new pairs of weapons &amp; projectiles unless 3738 Don't create new pairs of weapons &amp; projectiles unless
3520 they really fullfill a useful purpose. In fact, even bows 3739 they really fullfill a useful purpose. In fact, even bows
3521 and crossbows are rarely ever used. ]]> 3740 and crossbows are rarely ever used.]]>
3522 </use> 3741 </use>
3523 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 3742 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
3524 This number is a bitmask, specifying the projectile's attacktypes. 3743 This number is a bitmask, specifying the projectile's attacktypes.
3525 Attacktypes are: physical, magical, fire, cold.. etc. 3744 Attacktypes are: physical, magical, fire, cold.. etc.
3526 This works identical to melee weapons. Note that shooting 3745 This works identical to melee weapons. Note that shooting
3588<type number="70" name="Ring"> 3807<type number="70" name="Ring">
3589 <import_type name="Amulet" /> 3808 <import_type name="Amulet" />
3590 <description><![CDATA[ 3809 <description><![CDATA[
3591 Rings are worn on the hands - one ring each. 3810 Rings are worn on the hands - one ring each.
3592 Wearing rings, the object's stats will directly be inherited to 3811 Wearing rings, the object's stats will directly be inherited to
3593 the player. Usually enhancing his spellcasting potential. ]]> 3812 the player. Usually enhancing his spellcasting potential.]]>
3594 </description> 3813 </description>
3595 <use><![CDATA[ 3814 <use><![CDATA[
3596 When you create an artifact ring, never forget that players can 3815 When you create an artifact ring, never forget that players can
3597 wear <B>two</B> rings! Due to that it is extremely important to 3816 wear <B>two</B> rings! Due to that it is extremely important to
3598 keep rings in balance with the game. 3817 keep rings in balance with the game.
3599 <br><br> 3818 <br><br>
3600 Also keep in mind that rings are generally the wizard's tools. 3819 Also keep in mind that rings are generally the wizard's tools.
3601 They should primarily grant bonuses to spellcasting abilities 3820 They should primarily grant bonuses to spellcasting abilities
3602 and non-physical resistances. ]]> 3821 and non-physical resistances.]]>
3603 </use> 3822 </use>
3604</type> 3823</type>
3605 3824
3606<!--####################################################################--> 3825<!--####################################################################-->
3607<type number="3" name="Rod"> 3826<type number="3" name="Rod">
3610 </ignore> 3829 </ignore>
3611 <description><![CDATA[ 3830 <description><![CDATA[
3612 A rod contains a spell. The player can use this spell by applying and 3831 A rod contains a spell. The player can use this spell by applying and
3613 fireing the rod. Rods need time to regenerate their "internal" spellpoints, 3832 fireing the rod. Rods need time to regenerate their "internal" spellpoints,
3614 lowering the effectiveness in combat. But unlike wands/scrolls, rods can be 3833 lowering the effectiveness in combat. But unlike wands/scrolls, rods can be
3615 used endlessly. ]]> 3834 used endlessly.]]>
3616 </description> 3835 </description>
3617 <use><![CDATA[ 3836 <use><![CDATA[
3618 Rods with healing/curing spells are extremely powerful. Usually, potions have 3837 Rods with healing/curing spells are extremely powerful. Usually, potions have
3619 to be used for that purpose. Though, potions are expensive and only good for 3838 to be used for that purpose. Though, potions are expensive and only good for
3620 one-time-use.<br> ]]> 3839 one-time-use.<br>]]>
3621 </use> 3840 </use>
3622 <attribute arch="sp" editor="spell" type="spell"> 3841 <attribute arch="sp" editor="spell" type="spell">
3623 Sets the &lt;spell&gt; of the rod. Consider twice before handing out special 3842 Sets the &lt;spell&gt; of the rod. Consider twice before handing out special
3624 rods to players, since they can be used endlessly without any mana cost! 3843 rods to players, since they can be used endlessly without any mana cost!
3625 Rods with heal/ restoration/ protection spells, IF available, MUST be 3844 Rods with heal/ restoration/ protection spells, IF available, MUST be
3665 Runes hit any monster or person who steps on them for 'dam' damage in 3884 Runes hit any monster or person who steps on them for 'dam' damage in
3666 'attacktype' attacktype. Alternatively, the rune could contain any spell, 3885 'attacktype' attacktype. Alternatively, the rune could contain any spell,
3667 and will cast this spell when it detonates. Yet another kind is the 3886 and will cast this spell when it detonates. Yet another kind is the
3668 "summoning rune", summoning predefined monsters of any kind, at detonation. 3887 "summoning rune", summoning predefined monsters of any kind, at detonation.
3669 <br><br> 3888 <br><br>
3670 Many runes are already defined in the archetypes. ]]> 3889 Many runes are already defined in the archetypes.]]>
3671 </description> 3890 </description>
3672 <use><![CDATA[ 3891 <use><![CDATA[
3673 Avoid monsters stepping on your runes. For example, summoning runes 3892 Avoid monsters stepping on your runes. For example, summoning runes
3674 together with spellcasting- and attack-runes is usually a bad idea. ]]> 3893 together with spellcasting- and attack-runes is usually a bad idea.]]>
3675 </use> 3894 </use>
3676 <attribute arch="no_pick" value="1" type="fixed" /> 3895 <attribute arch="no_pick" value="1" type="fixed" />
3677 &move_on; 3896 &move_on;
3678 <attribute arch="level" editor="rune level" type="int"> 3897 <attribute arch="level" editor="rune level" type="int">
3679 This value sets the level the rune will cast the spell it contains at, 3898 This value sets the level the rune will cast the spell it contains at,
3747 <ignore_list name="non_pickable" /> 3966 <ignore_list name="non_pickable" />
3748 </ignore> 3967 </ignore>
3749 <description><![CDATA[ 3968 <description><![CDATA[
3750 When the player applies a savebed, he is not only saved. Both his 3969 When the player applies a savebed, he is not only saved. Both his
3751 respawn-after-death and his word-of-recall positions are pointing 3970 respawn-after-death and his word-of-recall positions are pointing
3752 to the last-applied savebed. ]]> 3971 to the last-applied savebed.]]>
3753 </description> 3972 </description>
3754 <use><![CDATA[ 3973 <use><![CDATA[
3755 Put savebed locations in towns, do not put them into dungeons. 3974 Put savebed locations in towns, do not put them into dungeons.
3756 It is absolutely neccessary that a place with savebeds is 100% secure. 3975 It is absolutely neccessary that a place with savebeds is 100% secure.
3757 That means: 3976 That means:
3761 <LI> Insert a reliable exit! Make sure there is no possibility that 3980 <LI> Insert a reliable exit! Make sure there is no possibility that
3762 players get trapped in a savebed location. 3981 players get trapped in a savebed location.
3763 <LI> If possible, mark the whole site as no-spell area (Insert this 3982 <LI> If possible, mark the whole site as no-spell area (Insert this
3764 arch called "dungeon_magic" everywhere). This is not required, 3983 arch called "dungeon_magic" everywhere). This is not required,
3765 but it makes the place much more safe. 3984 but it makes the place much more safe.
3766 </UL> ]]> 3985 </UL>]]>
3767 </use> 3986 </use>
3768 <attribute arch="no_pick" value="1" type="fixed" /> 3987 <attribute arch="no_pick" value="1" type="fixed" />
3769 <attribute arch="no_magic" value="1" type="fixed" /> 3988 <attribute arch="no_magic" value="1" type="fixed" />
3770 <attribute arch="damned" value="1" type="fixed" /> 3989 <attribute arch="damned" value="1" type="fixed" />
3771</type> 3990</type>
3778 <description><![CDATA[ 3997 <description><![CDATA[
3779 Scrolls contain spells (similar to spell-potions). Unlike potions, 3998 Scrolls contain spells (similar to spell-potions). Unlike potions,
3780 scrolls require a certain literacy skill to read successfully. 3999 scrolls require a certain literacy skill to read successfully.
3781 Accordingly, for a successful reading, a small amount of 4000 Accordingly, for a successful reading, a small amount of
3782 experience is gained. Scrolls allow only one time usage, but 4001 experience is gained. Scrolls allow only one time usage, but
3783 usually they are sold in bulks. ]]> 4002 usually they are sold in bulks.]]>
3784 </description> 4003 </description>
3785 <use><![CDATA[ 4004 <use><![CDATA[
3786 For low level quests, scrolls of healing/curing-spells 4005 For low level quests, scrolls of healing/curing-spells
3787 can be a nice reward. At higher levels, scrolls become less 4006 can be a nice reward. At higher levels, scrolls become less
3788 and less useful. ]]> 4007 and less useful.]]>
3789 </use> 4008 </use>
3790 <attribute arch="level" editor="casting level" type="int"> 4009 <attribute arch="level" editor="casting level" type="int">
3791 The spell of the scroll will be casted at this level. 4010 The spell of the scroll will be casted at this level.
3792 This value should always be set, at least to 1. 4011 This value should always be set, at least to 1.
3793 </attribute> 4012 </attribute>
3805<type number="33" name="Shield"> 4024<type number="33" name="Shield">
3806 <import_type name="Amulet" /> 4025 <import_type name="Amulet" />
3807 <description><![CDATA[ 4026 <description><![CDATA[
3808 Wearing a shield, the object's stats will directly be inherited to 4027 Wearing a shield, the object's stats will directly be inherited to
3809 the player. Shields usually provide good defense, only surpassed 4028 the player. Shields usually provide good defense, only surpassed
3810 by brestplate armour. Resistances on shields aren't uncommon either. ]]> 4029 by brestplate armour. Resistances on shields aren't uncommon either.]]>
3811 </description> 4030 </description>
3812 <use><![CDATA[ 4031 <use><![CDATA[
3813 Feel free to create your own special artifacts. However, it is very 4032 Feel free to create your own special artifacts. However, it is very
3814 important that you keep your artifact in balance with existing maps. ]]> 4033 important that you keep your artifact in balance with existing maps.]]>
3815 </use> 4034 </use>
3816 <attribute arch="magic" editor="magic bonus" type="int"> 4035 <attribute arch="magic" editor="magic bonus" type="int">
3817 &lt;magic bonus&gt; works just like ac, except that it can be improved by 4036 &lt;magic bonus&gt; works just like ac, except that it can be improved by
3818 "scrolls of Enchant Armour" or reduced by acid. It is less useful 4037 "scrolls of Enchant Armour" or reduced by acid. It is less useful
3819 than direct armour-class bonus on the shield. 4038 than direct armour-class bonus on the shield.
3828 wielded both at the same time. Like with any other equipment, 4047 wielded both at the same time. Like with any other equipment,
3829 stats/bonuses from shooting weapons are directly inherited to the player. 4048 stats/bonuses from shooting weapons are directly inherited to the player.
3830 <br><br> 4049 <br><br>
3831 It's very easy to add new pairs of weapons &amp; projectiles. 4050 It's very easy to add new pairs of weapons &amp; projectiles.
3832 Just set matching &lt;ammunition class&gt; both for shooting 4051 Just set matching &lt;ammunition class&gt; both for shooting
3833 weapon and projectile. ]]> 4052 weapon and projectile.]]>
3834 </description> 4053 </description>
3835 <use><![CDATA[ 4054 <use><![CDATA[
3836 Shooting weapons should not add bonuses in general. There's already 4055 Shooting weapons should not add bonuses in general. There's already
3837 enough "equipment-slots" doing that: swords, rings, amulets, girdles etc. 4056 enough "equipment-slots" doing that: swords, rings, amulets, girdles etc.
3838 Shooting weapons should especially not add bonuses to the player 4057 Shooting weapons should especially not add bonuses to the player
3839 that have nothing to do with schooting. A Wisdom bonus on a bow 4058 that have nothing to do with schooting. A Wisdom bonus on a bow
3840 is crap for example! A name like "Longbow of great Wisdom" doesn't help 4059 is crap for example! A name like "Longbow of great Wisdom" doesn't help
3841 - still crap. ]]> 4060 - still crap.]]>
3842 </use> 4061 </use>
3843 <attribute arch="race" editor="ammunition class" type="string"> 4062 <attribute arch="race" editor="ammunition class" type="string">
3844 Only projectiles with matching &lt;ammunition class&gt; can be fired 4063 Only projectiles with matching &lt;ammunition class&gt; can be fired
3845 with this weapon. For normal bows set "arrows", for normal 4064 with this weapon. For normal bows set "arrows", for normal
3846 crossbows set "crossbow bolts". 4065 crossbows set "crossbow bolts".
3967 These items are all flagged as unpaid. 4186 These items are all flagged as unpaid.
3968 When a player drops an item onto shop floor, the item becomes 4187 When a player drops an item onto shop floor, the item becomes
3969 unpaid and the player receives payment according to the item's 4188 unpaid and the player receives payment according to the item's
3970 selling-value. 4189 selling-value.
3971 Shopfloor always prevents magic (To hinder players from burning 4190 Shopfloor always prevents magic (To hinder players from burning
3972 or freezing the goods). ]]> 4191 or freezing the goods).]]>
3973 </description> 4192 </description>
3974 <use><![CDATA[ 4193 <use><![CDATA[
3975 Tile your whole shop-interior space which shop floor. 4194 Tile your whole shop-interior space which shop floor.
3976 (That assures players receive payment for dropping items). 4195 (That assures players receive payment for dropping items).
3977 Place shop mats to enter/leave the shop, and make sure 4196 Place shop mats to enter/leave the shop, and make sure
3978 there is no other exit than the shop mat. ]]> 4197 there is no other exit than the shop mat.]]>
3979 </use> 4198 </use>
3980 <attribute arch="is_floor" value="1" type="fixed" /> 4199 <attribute arch="is_floor" value="1" type="fixed" />
3981 <attribute arch="no_pick" value="1" type="fixed" /> 4200 <attribute arch="no_pick" value="1" type="fixed" />
3982 <attribute arch="no_magic" value="1" type="fixed" /> 4201 <attribute arch="no_magic" value="1" type="fixed" />
3983 <attribute arch="auto_apply" editor="generate goods" type="bool"> 4202 <attribute arch="auto_apply" editor="generate goods" type="bool">
4017 "shopping-area" and one outside. Shop mats don't use exit paths/ 4236 "shopping-area" and one outside. Shop mats don't use exit paths/
4018 or -destinations. When stepping onto a shopmat the player gets beamed 4237 or -destinations. When stepping onto a shopmat the player gets beamed
4019 to the nearest other mat. If the player has unpaid items in his 4238 to the nearest other mat. If the player has unpaid items in his
4020 inventory, the price gets charged from his coins automatically. 4239 inventory, the price gets charged from his coins automatically.
4021 If the player has insufficient coins to buy his unpaid items, he 4240 If the player has insufficient coins to buy his unpaid items, he
4022 is unable to pass any shopmat (So he has to drop unpaid items). ]]> 4241 is unable to pass any shopmat (So he has to drop unpaid items).]]>
4023 </description> 4242 </description>
4024 <use><![CDATA[ 4243 <use><![CDATA[
4025 As stated above, always place TWO shop mats into your shop. 4244 As stated above, always place TWO shop mats into your shop.
4026 Not more and not less than that. ]]> 4245 Not more and not less than that.]]>
4027 </use> 4246 </use>
4028 <attribute arch="no_pick" value="1" type="fixed" /> 4247 <attribute arch="no_pick" value="1" type="fixed" />
4029 &move_on; 4248 &move_on;
4030</type> 4249</type>
4031 4250
4032<!--####################################################################--> 4251<!--####################################################################-->
4033<type number="98" name="Sign &amp; MagicMouth"> 4252<type number="98" name="Sign &amp; MagicMouth">
4034 <ignore> 4253 <ignore>
4035 <ignore_list name="non_pickable" /> 4254 <ignore_list name="non_pickable" />
4255 <attribute arch="connected"/>
4036 </ignore> 4256 </ignore>
4037 <description><![CDATA[ 4257 <description><![CDATA[
4038 The purpose of a sign or magic_mouth is to display a certain message to 4258 The purpose of a sign or magic_mouth is to display a certain message to
4039 the player. There are three ways to have the player get this message: 4259 the player. There are three ways to have the player get this message:
4040 The player walking onto it (-&gt; magic_mouth), the player pressing &lt;a&gt;pply 4260 The player walking onto it (-&gt; magic_mouth), the player pressing &lt;a&gt;pply
4041 (-&gt; sign) or the player triggering a button/handle/etc (-&gt; magic_mouth). ]]> 4261 (-&gt; sign) or the player triggering a button/handle/etc (-&gt; magic_mouth).]]>
4042 </description> 4262 </description>
4043 <use><![CDATA[ 4263 <use><![CDATA[
4044 Use signs and magic_mouths, plenty of them! Place magic_mouths to add 4264 Use signs and magic_mouths, plenty of them! Place magic_mouths to add
4045 some true roleplay feeling to your maps, support your storyline or give 4265 some true roleplay feeling to your maps, support your storyline or give
4046 hints about hidden secrets/dangers. Place signs to provide the player 4266 hints about hidden secrets/dangers. Place signs to provide the player
4047 with all kinds of useful information for getting along in your maps. ]]> 4267 with all kinds of useful information for getting along in your maps.]]>
4048 </use> 4268 </use>
4049 <attribute arch="connected" editor="connection" type="int"> 4269 <attribute arch="connected" editor="connection" type="string">
4050 When a connection value is set, the message will be printed whenever 4270 When a connection value is set, the message will be printed whenever
4051 the connection is triggered. This should be used in combination with 4271 the connection is triggered. This should be used in combination with
4052 &lt;invisible&gt; enabled and &lt;activate by walking/flying&gt; disabled. 4272 &lt;invisible&gt; enabled and &lt;activate by walking/flying&gt; disabled.
4053 If activating your magic_mouth this way, the message will not only be 4273 If activating your magic_mouth this way, the message will not only be
4054 printed to one player, but all players on the current map. 4274 printed to one player, but all players on the current map.
4069 Otherwise set &lt;counter&gt; zero/unset for infinite use (that is the default). 4289 Otherwise set &lt;counter&gt; zero/unset for infinite use (that is the default).
4070 </attribute> 4290 </attribute>
4071 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text"> 4291 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text">
4072 This text will be displayed to the player. 4292 This text will be displayed to the player.
4073 </attribute> 4293 </attribute>
4294 <attribute arch="slaying" editor="exit path" type="string">
4295 The exit path defines the map that the player is transferred to.
4296 Usually, only tagged destinations (e.g. *scorn) make sense for signs,
4297 and only if the sign code actually makes use of them.
4298 </attribute>
4299 <attribute arch="value" editor="value" type="int">
4300 Determines the value of the object, in units of silver coins (one
4301 platinum coin == 50 silver coins).
4302 </attribute>
4074</type> 4303</type>
4075 4304
4076<type number="150" name="Shop Inventory"> 4305<type number="150" name="Shop Inventory">
4077 <ignore> 4306 <ignore>
4078 <ignore_list name="non_pickable" /> 4307 <ignore_list name="non_pickable" />
4093 <ignore_list name="system_object" /> 4322 <ignore_list name="system_object" />
4094 </ignore> 4323 </ignore>
4095 <description><![CDATA[ 4324 <description><![CDATA[
4096 Skills are objects which exist in the player/monster inventory. 4325 Skills are objects which exist in the player/monster inventory.
4097 Both NPC/monsters and players use the same skill archetypes. Not all skills 4326 Both NPC/monsters and players use the same skill archetypes. Not all skills
4098 are enabled for monster use however. ]]> 4327 are enabled for monster use however.]]>
4099 </description> 4328 </description>
4100 <use><![CDATA[ 4329 <use><![CDATA[
4101 For mapmaking, Skill objects serve two purposes: 4330 For mapmaking, Skill objects serve two purposes:
4102 <p>First, the predefined skill archtypes (in the 'skills' directory) 4331 <p>First, the predefined skill archtypes (in the 'skills' directory)
4103 can be seen as the global skill definitions. A skill which doesn't 4332 can be seen as the global skill definitions. A skill which doesn't
4108 </p><p> 4337 </p><p>
4109 Secondly, in order to enable monsters to use skills, you will need to 4338 Secondly, in order to enable monsters to use skills, you will need to
4110 copy default skill archtypes into the monsters' inventories. 4339 copy default skill archtypes into the monsters' inventories.
4111 You can even customize the skills by changing stats. It is not 4340 You can even customize the skills by changing stats. It is not
4112 recommended however, to use skills in your maps which are totally 4341 recommended however, to use skills in your maps which are totally
4113 unrelated to any predefined skill archtype.</p> ]]> 4342 unrelated to any predefined skill archtype.</p>]]>
4114 </use> 4343 </use>
4115 <attribute arch="invisible" value="1" type="fixed" /> 4344 <attribute arch="invisible" value="1" type="fixed" />
4116 <attribute arch="no_drop" value="1" type="fixed" /> 4345 <attribute arch="no_drop" value="1" type="fixed" />
4117 <attribute arch="skill" editor="skill name" type="string"> 4346 <attribute arch="skill" editor="skill name" type="string">
4118 The &lt;skill name&gt; is used for matchings. When a usable 4347 The &lt;skill name&gt; is used for matchings. When a usable
4147 4376
4148<!--####################################################################--> 4377<!--####################################################################-->
4149<type number="130" name="Skill Scroll"> 4378<type number="130" name="Skill Scroll">
4150 <description><![CDATA[ 4379 <description><![CDATA[
4151 By reading a skill scroll, a player has a chance to learn the 4380 By reading a skill scroll, a player has a chance to learn the
4152 contained skill. ]]> 4381 contained skill.]]>
4153 </description> 4382 </description>
4154 <use><![CDATA[ 4383 <use><![CDATA[
4155 Skill scrolls are very much sought for by players. Currently, 4384 Skill scrolls are very much sought for by players. Currently,
4156 all skill scrolls are sold in shops randomly, which is in fact not 4385 all skill scrolls are sold in shops randomly, which is in fact not
4157 a good system. It would be nice to have some cool quests with 4386 a good system. It would be nice to have some cool quests with
4158 skill scrolls rewarded at the end. ]]> 4387 skill scrolls rewarded at the end.]]>
4159 </use> 4388 </use>
4160 <attribute arch="race" value="scrolls" type="fixed" /> 4389 <attribute arch="race" value="scrolls" type="fixed" />
4161 <attribute arch="skill" editor="skill name" type="string"> 4390 <attribute arch="skill" editor="skill name" type="string">
4162 The &lt;skill name&gt; matches the skill object that can 4391 The &lt;skill name&gt; matches the skill object that can
4163 be learned from this scroll. 4392 be learned from this scroll.
4173 When carrying the appropriate special key, a locked door can 4402 When carrying the appropriate special key, a locked door can
4174 be opened. The key will dissapear. 4403 be opened. The key will dissapear.
4175 <br><br> 4404 <br><br>
4176 This object-type can also be used for "passport"-like items: 4405 This object-type can also be used for "passport"-like items:
4177 When walking onto an invetory checker, a gate for example might 4406 When walking onto an invetory checker, a gate for example might
4178 get opened. The "passport" will stay in the player's inventory. ]]> 4407 get opened. The "passport" will stay in the player's inventory.]]>
4179 </description> 4408 </description>
4180 <use><![CDATA[ 4409 <use><![CDATA[
4181 How to make a "passport": You take the special key arch 4410 How to make a "passport": You take the special key arch
4182 (archetype name is "key2"), set the face to something like 4411 (archetype name is "key2"), set the face to something like
4183 card.111 and the name to "passport" - that's all. The &lt;key string&gt; 4412 card.111 and the name to "passport" - that's all. The &lt;key string&gt;
4184 certainly must match with the appropiate inventory checker. 4413 certainly must match with the appropiate inventory checker.
4185 <br><br> 4414 <br><br>
4186 Of course you can be creative with names and faces of 4415 Of course you can be creative with names and faces of
4187 key-objects. A "mysterious crystal" or a "big dragon claw" 4416 key-objects. A "mysterious crystal" or a "big dragon claw"
4188 (with appropriate faces) appear more interesting than just 4417 (with appropriate faces) appear more interesting than just
4189 a "strange key", or "passport". ]]> 4418 a "strange key", or "passport".]]>
4190 </use> 4419 </use>
4191 <attribute arch="slaying" editor="key string" type="string"> 4420 <attribute arch="slaying" editor="key string" type="string">
4192 This string must be identical with the &lt;key string&gt; in the 4421 This string must be identical with the &lt;key string&gt; in the
4193 locked door, then it can be unlocked. It can also be used 4422 locked door, then it can be unlocked. It can also be used
4194 to trigger inventory checkers. 4423 to trigger inventory checkers.
4215 this text by clicking on the item in his inventory. Use this 4444 this text by clicking on the item in his inventory. Use this
4216 message to describe what the key/passport is good for. A player 4445 message to describe what the key/passport is good for. A player
4217 might have 50 different keys on his key-ring. Don't expect 4446 might have 50 different keys on his key-ring. Don't expect
4218 players to recall their purpose just by their names. 4447 players to recall their purpose just by their names.
4219 </attribute> 4448 </attribute>
4449 <attribute arch="no_steal" editor="not stealable" type="bool">
4450 This item can't be stolen if the flag is set.
4451 </attribute>
4220</type> 4452</type>
4221 4453
4222<!--####################################################################--> 4454<!--####################################################################-->
4223<type number="101" name="Spell"> 4455<type number="101" name="Spell">
4224 <ignore> 4456 <ignore>
4229 players can learn it by reading the book. Once learned, players 4461 players can learn it by reading the book. Once learned, players
4230 can use the spell as often as they like. With increasing skill level 4462 can use the spell as often as they like. With increasing skill level
4231 of the player, spells may gain power but also increase cost.<br> 4463 of the player, spells may gain power but also increase cost.<br>
4232 Monsters can use spells which are put in their inventory (provided 4464 Monsters can use spells which are put in their inventory (provided
4233 that certain "enabling" settings are correct). The monster's 4465 that certain "enabling" settings are correct). The monster's
4234 &lt;treasurelist&gt; can also be used to provide it with spells. ]]> 4466 &lt;treasurelist&gt; can also be used to provide it with spells.]]>
4235 </description> 4467 </description>
4236 <use><![CDATA[ 4468 <use><![CDATA[
4237 A lot of the spells' settings can be tuned and customized. 4469 A lot of the spells' settings can be tuned and customized.
4238 When creating new spells which are accessible to players, it is 4470 When creating new spells which are accessible to players, it is
4239 important to think about balance. A single spell which is too 4471 important to think about balance. A single spell which is too
4240 powerful and/or too easy to use can eventually toss the whole skill 4472 powerful and/or too easy to use can eventually toss the whole skill
4241 and magic school system out of whack. Testing new spells is 4473 and magic school system out of whack. Testing new spells is
4242 quite important therefore. ]]> 4474 quite important therefore.]]>
4243 </use> 4475 </use>
4244 <attribute arch="no_drop" value="1" type="fixed" /> 4476 <attribute arch="no_drop" value="1" type="fixed" />
4245 <attribute arch="invisible" value="1" type="fixed" /> 4477 <attribute arch="invisible" value="1" type="fixed" />
4246 <attribute arch="skill" editor="skill name" type="string"> 4478 <attribute arch="skill" editor="skill name" type="string">
4247 The &lt;skill name&gt; matches the skill which is needed 4479 The &lt;skill name&gt; matches the skill which is needed
4262 </attribute> 4494 </attribute>
4263 <attribute arch="other_arch" editor="create object" type="string"> 4495 <attribute arch="other_arch" editor="create object" type="string">
4264 </attribute> 4496 </attribute>
4265 <attribute arch="sp" editor="cost spellpoints" type="int"> 4497 <attribute arch="sp" editor="cost spellpoints" type="int">
4266 </attribute> 4498 </attribute>
4499 <attribute arch="dam" editor="damage" type="int">
4500 </attribute>
4267 <attribute arch="grace" editor="cost grace" type="int"> 4501 <attribute arch="grace" editor="cost grace" type="int">
4268 </attribute> 4502 </attribute>
4269 <attribute arch="maxsp" editor="double cost per level" type="int"> 4503 <attribute arch="maxsp" editor="double cost per level" type="int">
4270 </attribute> 4504 </attribute>
4271</type> 4505</type>
4279 to read.<br><br> 4513 to read.<br><br>
4280 You can create widely customized spells only by adjusting the 4514 You can create widely customized spells only by adjusting the
4281 spell object in the spellbooks inventory. Refer to the description 4515 spell object in the spellbooks inventory. Refer to the description
4282 of spell objects for detailed information how to customize spells.<br> 4516 of spell objects for detailed information how to customize spells.<br>
4283 If you want to have a random spellbook instead, choose a &lt;treasurelist&gt; 4517 If you want to have a random spellbook instead, choose a &lt;treasurelist&gt;
4284 with a compilation of spells that the book may contain. ]]> 4518 with a compilation of spells that the book may contain.]]>
4285 </description> 4519 </description>
4286 <use><![CDATA[ 4520 <use><![CDATA[
4287 Don't put any of the godgiven spells into a spellbook! These are 4521 Don't put any of the godgiven spells into a spellbook! These are
4288 reserved for the followers of the appropriate cults. Handing them 4522 reserved for the followers of the appropriate cults. Handing them
4289 out in a spellbook would violate the balance between different religions. 4523 out in a spellbook would violate the balance between different religions.
4290 <br><br> 4524 <br><br>
4291 Note that there is no fundamental difference between the spellbooks 4525 Note that there is no fundamental difference between the spellbooks
4292 of varying schools (pyromancy, sorcery, evocation, summoning, and 4526 of varying schools (pyromancy, sorcery, evocation, summoning, and
4293 even praying). The difference lies only in the spells they contain. 4527 even praying). The difference lies only in the spells they contain.
4294 It is up to you, the mapmaker, to pick the right type of book 4528 It is up to you, the mapmaker, to pick the right type of book
4295 for your spells. ]]> 4529 for your spells.]]>
4296 </use> 4530 </use>
4297 <attribute arch="skill" value="literacy" type="fixed" /> 4531 <attribute arch="skill" value="literacy" type="fixed" />
4298 <attribute arch="randomitems" editor="treasurelist" type="treasurelist"> 4532 <attribute arch="randomitems" editor="treasurelist" type="treasurelist">
4299 There are two ways to put spells into a spellbook: 4533 There are two ways to put spells into a spellbook:
4300 1. Put a spell object in the books inventory. In this case, 4534 1. Put a spell object in the books inventory. In this case,
4319 </ignore> 4553 </ignore>
4320 <description><![CDATA[ 4554 <description><![CDATA[
4321 Spinners change the direction of spell objects and other projectiles 4555 Spinners change the direction of spell objects and other projectiles
4322 that fly past. Unlike directors, it does make a difference from what 4556 that fly past. Unlike directors, it does make a difference from what
4323 angle you shoot into the spinner. The direction of objects flying past 4557 angle you shoot into the spinner. The direction of objects flying past
4324 is always changed by a certain degree. ]]> 4558 is always changed by a certain degree.]]>
4325 </description> 4559 </description>
4326 <use><![CDATA[ 4560 <use><![CDATA[
4327 Spinners are very rarely used. I believe they are quite 4561 Spinners are very rarely used. I believe they are quite
4328 confusing and pointless. The only use I can think of is building 4562 confusing and pointless. The only use I can think of is building
4329 some puzzle about where to shoot into spinners to shoot somewhere you 4563 some puzzle about where to shoot into spinners to shoot somewhere you
4330 otherwise couldn't. 4564 otherwise couldn't.
4331 4565
4332 When placing spinners on a map with magic walls, make sure the spell- 4566 When placing spinners on a map with magic walls, make sure the spell-
4333 projectiles from magic walls don't get to fly in loops. ]]> 4567 projectiles from magic walls don't get to fly in loops.]]>
4334 </use> 4568 </use>
4335 <attribute arch="sp" editor="direction number" type="int"> 4569 <attribute arch="sp" editor="direction number" type="int">
4336 The spinner will change the direction of flying objects by 4570 The spinner will change the direction of flying objects by
4337 45 degrees per &lt;direction number&gt;. Negative values spin clockwise, 4571 45 degrees per &lt;direction number&gt;. Negative values spin clockwise,
4338 positive values counter clockwise. 4572 positive values counter clockwise.
4351 Swamp areas show a special behaviour: 4585 Swamp areas show a special behaviour:
4352 When a player stands still on a swamp-square for too long, 4586 When a player stands still on a swamp-square for too long,
4353 he will start to sink in and eventually drown and die. 4587 he will start to sink in and eventually drown and die.
4354 Items dropped on the swamp sink in and dissapear. 4588 Items dropped on the swamp sink in and dissapear.
4355 Players with knowledge of the woodsman skill are a lot less likely 4589 Players with knowledge of the woodsman skill are a lot less likely
4356 to die in the swamp. ]]> 4590 to die in the swamp.]]>
4357 </description> 4591 </description>
4358 <attribute arch="is_floor" value="1" type="fixed" /> 4592 <attribute arch="is_floor" value="1" type="fixed" />
4359 <attribute arch="is_wooded" value="1" type="fixed" /> 4593 <attribute arch="is_wooded" value="1" type="fixed" />
4360 <attribute arch="speed" editor="drowning speed" type="float"> 4594 <attribute arch="speed" editor="drowning speed" type="float">
4361 The higher the &lt;drowning speed&gt;, the faster will players and items 4595 The higher the &lt;drowning speed&gt;, the faster will players and items
4377 4611
4378<!--####################################################################--> 4612<!--####################################################################-->
4379<type number="41" name="Teleporter"> 4613<type number="41" name="Teleporter">
4380 <ignore> 4614 <ignore>
4381 <ignore_list name="non_pickable" /> 4615 <ignore_list name="non_pickable" />
4616 <attribute arch="connected"/>
4382 </ignore> 4617 </ignore>
4383 <description><![CDATA[ 4618 <description><![CDATA[
4384 When the player walks into a teleporter, he is transferred to a 4619 When the player walks into a teleporter, he is transferred to a
4385 different location. The main difference to the object-type exit 4620 different location. The main difference to the object-type exit
4386 is the possibility to have teleporters connected to levers/buttons/etc. 4621 is the possibility to have teleporters connected to levers/buttons/etc.
4387 Sometimes teleporters are activated even against the players will. 4622 Sometimes teleporters are activated even against the players will.
4388 <br><br> 4623 <br><br>
4389 Unlike exits, teleporters can also transfer items and 4624 Unlike exits, teleporters can also transfer items and
4390 monsters to different locations on the same map. ]]> 4625 monsters to different locations on the same map.]]>
4391 </description> 4626 </description>
4392 <use><![CDATA[ 4627 <use><![CDATA[
4393 When creating maps, I guess sooner or later you'll want to have 4628 When creating maps, I guess sooner or later you'll want to have
4394 an invisible teleporter. If using "invisible 1", the teleporter 4629 an invisible teleporter. If using "invisible 1", the teleporter
4395 can still be discovered with the show_invisible spell. And in 4630 can still be discovered with the show_invisible spell. And in
4396 some cases you can't place it under the floor to prevent this. 4631 some cases you can't place it under the floor to prevent this.
4397 <br><br> 4632 <br><br>
4398 Fortunately, there is a cool trick to make a perfectly invisible 4633 Fortunately, there is a cool trick to make a perfectly invisible
4399 teleporter: You simply add teleporter functionality to the floor 4634 teleporter: You simply add teleporter functionality to the floor
4400 itself. That means: You take the floor arch (e.g. "flagstone"), 4635 itself. That means: You take the floor arch (e.g. "flagstone"),
4401 set "type 41", and add slaying/hp/sp/connected... everything you need. ]]> 4636 set "type 41", and add slaying/hp/sp/connected... everything you need.]]>
4402 </use> 4637 </use>
4403 <attribute arch="slaying" editor="exit path" type="string"> 4638 <attribute arch="slaying" editor="exit path" type="string">
4404 The exit path specifies the map that the player is transferred to. 4639 The exit path specifies the map that the player is transferred to.
4405 &lt;exit path&gt; can be an absolute path, beginning with '/' 4640 &lt;exit path&gt; can be an absolute path, beginning with '/'
4406 (for example "/peterm/FireTemple/fire1"). It can also be a relative 4641 (for example "/peterm/FireTemple/fire1"). It can also be a relative
4442 be transferred to the "default enter location" of the destined map. 4677 be transferred to the "default enter location" of the destined map.
4443 The latter can be set in the map-properties as "Enter X/Y". Though, 4678 The latter can be set in the map-properties as "Enter X/Y". Though,
4444 please DO NOT use that. It turned out to be a source for numerous 4679 please DO NOT use that. It turned out to be a source for numerous
4445 map-bugs. 4680 map-bugs.
4446 </attribute> 4681 </attribute>
4447 <attribute arch="connected" editor="connection" type="int"> 4682 <attribute arch="connected" editor="connection" type="string">
4448 If a connection value is set, the teleporter will be activated 4683 If a connection value is set, the teleporter will be activated
4449 whenever the connection is triggered. To use this properly, 4684 whenever the connection is triggered. To use this properly,
4450 &lt;activation speed&gt; must be zero. 4685 &lt;activation speed&gt; must be zero.
4451 </attribute> 4686 </attribute>
4452 &activate_on; 4687 &activate_on;
4465 4700
4466<!--####################################################################--> 4701<!--####################################################################-->
4467<type number="26" name="Timed Gate"> 4702<type number="26" name="Timed Gate">
4468 <ignore> 4703 <ignore>
4469 <ignore_list name="non_pickable" /> 4704 <ignore_list name="non_pickable" />
4705 <attribute arch="connected"/>
4470 </ignore> 4706 </ignore>
4471 <description><![CDATA[ 4707 <description><![CDATA[
4472 Gates play an important role in Deliantra. Gates can be opened 4708 Gates play an important role in Deliantra. Gates can be opened
4473 by activating a button/trigger, by speaking passwords (-> magic_ear) 4709 by activating a button/trigger, by speaking passwords (-> magic_ear)
4474 or carrying special key-objects (-> inventory checker). 4710 or carrying special key-objects (-> inventory checker).
4478 after some time.]]> 4714 after some time.]]>
4479 </description> 4715 </description>
4480 <use><![CDATA[ 4716 <use><![CDATA[
4481 Use gates to divide your maps into separated areas. After solving 4717 Use gates to divide your maps into separated areas. After solving
4482 area A, the player gains access to area B, and so on. Make your 4718 area A, the player gains access to area B, and so on. Make your
4483 maps more complex than "one-way". ]]> 4719 maps more complex than "one-way".]]>
4484 </use> 4720 </use>
4485 <attribute arch="no_pick" value="1" type="fixed" /> 4721 <attribute arch="no_pick" value="1" type="fixed" />
4486 <attribute arch="connected" editor="connection" type="int"> 4722 <attribute arch="connected" editor="connection" type="string">
4487 Whenever the inventory checker is triggered, all objects with identical 4723 Whenever the inventory checker is triggered, all objects with identical
4488 &lt;connection&gt; value get activated. This only makes sense together with 4724 &lt;connection&gt; value get activated. This only makes sense together with
4489 &lt;blocking passage&gt; disabled. If unset, the gate opens automatically 4725 &lt;blocking passage&gt; disabled. If unset, the gate opens automatically
4490 after some time. 4726 after some time.
4491 </attribute> 4727 </attribute>
4519 <attribute arch="name_pl" /> 4755 <attribute arch="name_pl" />
4520 <attribute arch="weight" /> 4756 <attribute arch="weight" />
4521 <attribute arch="value" /> 4757 <attribute arch="value" />
4522 <attribute arch="material" /> 4758 <attribute arch="material" />
4523 <attribute arch="unpaid" /> 4759 <attribute arch="unpaid" />
4760 <attribute arch="connected"/>
4524 </ignore> 4761 </ignore>
4525 <description><![CDATA[ 4762 <description><![CDATA[
4526 A trap is a object that can either do damage or trigger another connected object 4763 A trap is a object that can either do damage or trigger another connected object
4527 when detonated. Traps are like runes except they are not magical in nature, 4764 when detonated. Traps are like runes except they are not magical in nature,
4528 and generally have either a physical attack or trigger a reaction. 4765 and generally have either a physical attack or trigger a reaction.
4558 </attribute> 4795 </attribute>
4559 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 4796 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
4560 This attribute defines what attacktype to use for direct damage when 4797 This attribute defines what attacktype to use for direct damage when
4561 the trap detonates. 4798 the trap detonates.
4562 </attribute> 4799 </attribute>
4563 <attribute arch="connected" editor="connection" type="int"> 4800 <attribute arch="connected" editor="connection" type="string">
4564 When the trap is detonated, all objects with the same 4801 When the trap is detonated, all objects with the same
4565 connection value get activated. 4802 connection value get activated.
4566 </attribute> 4803 </attribute>
4567 <attribute arch_begin="msg" arch_end="endmsg" editor="detonation text" type="text"> 4804 <attribute arch_begin="msg" arch_end="endmsg" editor="detonation text" type="text">
4568 When the trap detonates, this text is displayed to the 4805 When the trap detonates, this text is displayed to the
4580 Trapdoors are very similar to pits. The difference is that they 4817 Trapdoors are very similar to pits. The difference is that they
4581 can not be closed. Instead, the weight of the object on the 4818 can not be closed. Instead, the weight of the object on the
4582 trapdoor determines weither it slams the trapdoor open and falls through 4819 trapdoor determines weither it slams the trapdoor open and falls through
4583 or not.<br> 4820 or not.<br>
4584 Once a trapdoor has been opened (by a creature or items of sufficient 4821 Once a trapdoor has been opened (by a creature or items of sufficient
4585 weight,) it remains open, acting like an opened pit. ]]> 4822 weight,) it remains open, acting like an opened pit.]]>
4586 </description> 4823 </description>
4587 <use><![CDATA[ 4824 <use><![CDATA[
4588 Trapdoors should be used in the same fashion as pits: 4825 Trapdoors should be used in the same fashion as pits:
4589 They should always drop the victims to some kind of lower level. They 4826 They should always drop the victims to some kind of lower level. They
4590 are not supposed to be used to randomly interconnect maps like teleporters. ]]> 4827 are not supposed to be used to randomly interconnect maps like teleporters.]]>
4591 </use> 4828 </use>
4592 <attribute arch="no_pick" value="1" type="fixed" /> 4829 <attribute arch="no_pick" value="1" type="fixed" />
4593 &move_on; 4830 &move_on;
4594 <attribute arch="weight" editor="hold weight" type="int"> 4831 <attribute arch="weight" editor="hold weight" type="int">
4595 This value defines how much weight the trapdoor can hold. 4832 This value defines how much weight the trapdoor can hold.
4621 <attribute arch="value" /> 4858 <attribute arch="value" />
4622 <attribute arch="material" /> 4859 <attribute arch="material" />
4623 </ignore> 4860 </ignore>
4624 <description><![CDATA[ 4861 <description><![CDATA[
4625 A treasure-object turns into certain randomitems when the map is loaded 4862 A treasure-object turns into certain randomitems when the map is loaded
4626 into the game. ]]> 4863 into the game.]]>
4627 </description> 4864 </description>
4628 <use><![CDATA[ 4865 <use><![CDATA[
4629 About usage of the "random-artifact" treasurelist: 4866 About usage of the "random-artifact" treasurelist:
4630 This will generate powerful stuff like girdles, xray helmets, special 4867 This will generate powerful stuff like girdles, xray helmets, special
4631 swords etc. If you put this as reward to your quest, players might be 4868 swords etc. If you put this as reward to your quest, players might be
4632 motivated to do it more than once. BUT, by doing so they will get a huge 4869 motivated to do it more than once. BUT, by doing so they will get a huge
4633 number of different artifacts! Besides, players will always seek the place 4870 number of different artifacts! Besides, players will always seek the place
4634 with the most easy-to-get random artifact and ignore all others. 4871 with the most easy-to-get random artifact and ignore all others.
4635 My advice: Don't use it! Attract players with good fighting experience 4872 My advice: Don't use it! Attract players with good fighting experience
4636 (from monsters), potions, spellbooks, money, and non-random artifacts. ]]> 4873 (from monsters), potions, spellbooks, money, and non-random artifacts. ]]>
4637 </use> 4874 </use>
4638 <attribute arch="randomitems" editor="treasurelist" type="treasurelist"> 4875 <attribute arch="randomitems" editor="treasurelist" type="treasurelist">
4639 This entry determines what kind of treasure will appear. Look into 4876 This entry determines what kind of treasure will appear. Look into
4640 /crossfire/share/crossfire/treasures for details about existing 4877 /crossfire/share/crossfire/treasures for details about existing
4641 treasurelists. 4878 treasurelists.
4664 4901
4665<!--####################################################################--> 4902<!--####################################################################-->
4666<type number="52" name="Trigger Marker"> 4903<type number="52" name="Trigger Marker">
4667 <ignore> 4904 <ignore>
4668 <ignore_list name="system_object" /> 4905 <ignore_list name="system_object" />
4906 <attribute arch="connected"/>
4669 </ignore> 4907 </ignore>
4670 <description><![CDATA[ 4908 <description><![CDATA[
4671 A trigger marker is an object that inserts an invisible force (a mark) into a 4909 A trigger marker is an object that inserts an invisible force (a mark) into a
4672 player stepping on it WHEN TRIGGERED. This force does nothing except containing a 4910 player stepping on it WHEN TRIGGERED. This force does nothing except containing a
4673 &lt;key string&gt; which can be discovered by detectors or inventory 4911 &lt;key string&gt; which can be discovered by detectors or inventory
4674 checkers. It is also possible to use markers for removing marks again. 4912 checkers. It is also possible to use markers for removing marks again.
4913 (by setting the "name" slot to the name of the marker to be removed).
4675 <br><br> 4914 <br><br>
4676 Note that the player has no possibility to "see" his own marks, 4915 Note that the player has no possibility to "see" his own marks,
4677 except by the effect that they cause on the maps. ]]> 4916 except by the effect that they cause on the maps.]]>
4678 </description> 4917 </description>
4679 <use><![CDATA[ 4918 <use><![CDATA[
4680 Markers hold real cool possibilities for map-making. I encourage 4919 Markers hold real cool possibilities for map-making. I encourage
4681 you to use them frequently. However there is one negative point 4920 you to use them frequently. However there is one negative point
4682 about markers: Players don't "see" what's going on with them. It is 4921 about markers: Players don't "see" what's going on with them. It is
4683 your task, as map-creator, to make sure the player is always well 4922 your task, as map-creator, to make sure the player is always well
4684 informed and never confused. 4923 informed and never confused.
4685 <br><br> 4924 <br><br>
4686 Please avoid infinite markers when they aren't needed. They're 4925 Please avoid infinite markers when they aren't needed. They're
4687 using a little space in the player file after all, so if there 4926 using a little space in the player file after all, so if there
4688 is no real purpose, set an expire time. ]]> 4927 is no real purpose, set an expire time.]]>
4689 </use> 4928 </use>
4690 <attribute arch="no_pick" value="1" type="fixed" /> 4929 <attribute arch="no_pick" value="1" type="fixed" />
4691 <attribute arch="slaying" editor="key string" type="string"> 4930 <attribute arch="slaying" editor="key string" type="string">
4692 The &lt;key string&gt; can be detected by inv. checkers/detectors. 4931 The &lt;key string&gt; can be detected by inv. checkers/detectors.
4693 If the player already has a force with that &lt;key string&gt;, 4932 If the player already has a force with that &lt;key string&gt;,
4694 there won't be inserted a second one. 4933 there won't be inserted a second one.
4695 </attribute> 4934 </attribute>
4696 <attribute arch="connected" editor="connection" type="int"> 4935 <attribute arch="connected" editor="connection" type="string">
4697 Unlike a regular marker this is the connection that triggers this marker to activate. 4936 Unlike a regular marker this is the connection that triggers this marker to activate.
4698 </attribute> 4937 </attribute>
4699 <attribute arch="food" editor="mark duration" type="int"> 4938 <attribute arch="food" editor="mark duration" type="int">
4700 This value defines the duration of the force it inserts. 4939 This value defines the duration of the force it inserts.
4701 If nonzero, the duration of the player's mark is finite: 4940 If nonzero, the duration of the player's mark is finite:
4732 <attribute arch="name_pl" /> 4971 <attribute arch="name_pl" />
4733 <attribute arch="value" /> 4972 <attribute arch="value" />
4734 <attribute arch="unpaid" /> 4973 <attribute arch="unpaid" />
4735 </ignore> 4974 </ignore>
4736 <description><![CDATA[ 4975 <description><![CDATA[
4737 Walls usually block passage and sight. ]]> 4976 Walls usually block passage and sight.]]>
4738 </description> 4977 </description>
4739 &movement_types_terrain; 4978 &movement_types_terrain;
4740 <attribute arch="can_roll" editor="moveable" type="bool"> 4979 <attribute arch="can_roll" editor="moveable" type="bool">
4741 If set, the object is able to "roll", so it can be pushed around. 4980 If set, the object is able to "roll", so it can be pushed around.
4742 This setting is used for boulders and barrels. 4981 This setting is used for boulders and barrels.
4755<type number="109" name="Wand &amp; Staff"> 4994<type number="109" name="Wand &amp; Staff">
4756 <description><![CDATA[ 4995 <description><![CDATA[
4757 Wands contain a certain spell. The player can apply (ready) and 4996 Wands contain a certain spell. The player can apply (ready) and
4758 fire the wand. After a defined number of casts, the wand is 4997 fire the wand. After a defined number of casts, the wand is
4759 "used up". It is possible to recharge a wand with scrolls of 4998 "used up". It is possible to recharge a wand with scrolls of
4760 charging, but usually that isn't worth the cost. ]]> 4999 charging, but usually that isn't worth the cost.]]>
4761 </description> 5000 </description>
4762 <use><![CDATA[ 5001 <use><![CDATA[
4763 Wands are quite seldomly used. The reason prolly is that they're 5002 Wands are quite seldomly used. The reason prolly is that they're
4764 generally not cost-efficient. Handing out high-level wands with 5003 generally not cost-efficient. Handing out high-level wands with
4765 powerful special spells isn't a good idea either, because of 5004 powerful special spells isn't a good idea either, because of
4766 the recharge ability. 5005 the recharge ability.
4767 <br><br> 5006 <br><br>
4768 For low levels, staffs of healing/cure and word of recall are 5007 For low levels, staffs of healing/cure and word of recall are
4769 quite desirable though. Ideal rewards for low level quests. ]]> 5008 quite desirable though. Ideal rewards for low level quests.]]>
4770 </use> 5009 </use>
4771 <attribute arch="sp" editor="spell" type="spell"> 5010 <attribute arch="sp" editor="spell" type="spell">
4772 The &lt;spell&gt; specifies the contained spell. 5011 The &lt;spell&gt; specifies the contained spell.
4773 </attribute> 5012 </attribute>
4774 <attribute arch="level" editor="casting level" type="int"> 5013 <attribute arch="level" editor="casting level" type="int">
4799 <ignore_list name="non_pickable" /> 5038 <ignore_list name="non_pickable" />
4800 </ignore> 5039 </ignore>
4801 <description><![CDATA[ 5040 <description><![CDATA[
4802 A weak wall is a breakable spot amidsts a solid wall. Typically 5041 A weak wall is a breakable spot amidsts a solid wall. Typically
4803 these weak walls look similar to their solid "relatives" except 5042 these weak walls look similar to their solid "relatives" except
4804 for a small crack or little chunks of wall on the ground. ]]> 5043 for a small crack or little chunks of wall on the ground.]]>
4805 </description> 5044 </description>
4806 <use><![CDATA[ 5045 <use><![CDATA[
4807 If you want to create hidden rooms, using weak walls is alot 5046 If you want to create hidden rooms, using weak walls is alot
4808 better than completely indiscernible passages in a wall.<br> 5047 better than completely indiscernible passages in a wall.<br>
4809 Anyways, there can be a lot more to weak walls than just finding 5048 Anyways, there can be a lot more to weak walls than just finding
4810 them: Rising their defensive stats, weak walls can become a 5049 them: Rising their defensive stats, weak walls can become a
4811 serious obstacle. An ice wall might only be torn down by a fire 5050 serious obstacle. An ice wall might only be torn down by a fire
4812 attack for example. A granite wall for instance might be very 5051 attack for example. A granite wall for instance might be very
4813 hard to destroy. ]]> 5052 hard to destroy.]]>
4814 </use> 5053 </use>
4815 <attribute arch="alive" value="1" type="fixed" /> 5054 <attribute arch="alive" value="1" type="fixed" />
4816 <attribute arch="no_pick" value="1" type="fixed" /> 5055 <attribute arch="no_pick" value="1" type="fixed" />
4817 <attribute arch="tear_down" value="1" type="fixed" /> 5056 <attribute arch="tear_down" value="1" type="fixed" />
4818 <attribute arch="race" editor="race" type="string"> 5057 <attribute arch="race" editor="race" type="string">
4847<!--####################################################################--> 5086<!--####################################################################-->
4848<type number="15" name="Weapon"> 5087<type number="15" name="Weapon">
4849 <description><![CDATA[ 5088 <description><![CDATA[
4850 Wielding a weapon, the object's stats will directly be inherited to the 5089 Wielding a weapon, the object's stats will directly be inherited to the
4851 player. Usually enhancing his fighting-abilities. Non-magical weapons can 5090 player. Usually enhancing his fighting-abilities. Non-magical weapons can
4852 be improved with scrolls. ]]> 5091 be improved with scrolls.]]>
4853 </description> 5092 </description>
4854 <use><![CDATA[ 5093 <use><![CDATA[
4855 If you create artifacts (equipment) with stats- or resistance-bonus: 5094 If you create artifacts (equipment) with stats- or resistance-bonus:
4856 Keep playbalance in mind! Such items mustn't be reachable without hard 5095 Keep playbalance in mind! Such items mustn't be reachable without hard
4857 fighting AND questing. ]]> 5096 fighting AND questing.]]>
4858 </use> 5097 </use>
4859 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 5098 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
4860 This number is a bitmask, specifying the weapon's attacktypes. 5099 This number is a bitmask, specifying the weapon's attacktypes.
4861 Attacktypes are: physical, magical, fire, cold.. etc. Most artifact weapons 5100 Attacktypes are: physical, magical, fire, cold.. etc. Most artifact weapons
4862 have no more than one or two attacktypes. Keep in mind that all weapons 5101 have no more than one or two attacktypes. Keep in mind that all weapons
5036</type> 5275</type>
5037 5276
5038<type number="116" name="Event Connector"> 5277<type number="116" name="Event Connector">
5039 <description><![CDATA[ 5278 <description><![CDATA[
5040 Event connectors link specific events that happen to objects to 5279 Event connectors link specific events that happen to objects to
5041 a crossfire plug-in. They are not used at all in Deliantra ]]> 5280 a crossfire plug-in. They are not used at all in Deliantra.]]>
5042 </description> 5281 </description>
5043</type> 5282</type>
5044 5283
5045</types> 5284</types>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines