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.21 by elmex, Wed Dec 20 19:19:05 2006 UTC vs.
Revision 1.29 by elmex, Sun Aug 19 17:18:59 2007 UTC

110 length CDATA #IMPLIED 110 length CDATA #IMPLIED
111 true CDATA #IMPLIED 111 true CDATA #IMPLIED
112 false CDATA #IMPLIED> 112 false CDATA #IMPLIED>
113 113
114 <!ENTITY move_on " 114 <!ENTITY move_on "
115 <attribute arch='move_on' editor='movement type' type='bitmask_movement_type'> 115 <attribute arch='move_on' editor='movement type' type='movement_type'>
116 Which movement types automatically (as opposed to manually) activate this object. 116 Which movement types automatically (as opposed to manually) activate this object.
117 </attribute> 117 </attribute>
118 "> 118 ">
119 <!ENTITY move_off " 119 <!ENTITY move_off "
120 <attribute arch='move_off' editor='movement type' type='bitmask_movement_type'> 120 <attribute arch='move_off' editor='movement type' type='movement_type'>
121 Which movement types deactivate this object (e.g. button). 121 Which movement types deactivate this object (e.g. button).
122 </attribute> 122 </attribute>
123 "> 123 ">
124 <!ENTITY move_type " 124 <!ENTITY move_type "
125 <attribute arch='move_type' editor='movement type' type='bitmask_movement_type'> 125 <attribute arch='move_type' editor='movement type' type='movement_type'>
126 Determines which kinds of movement this object can use (e.g. for monsters) 126 Determines which kinds of movement this object can use (e.g. for monsters)
127 or grants (e.g. for amulets). 127 or grants (e.g. for amulets).
128 </attribute> 128 </attribute>
129 "> 129 ">
130 <!ENTITY movement_types_terrain " 130 <!ENTITY movement_types_terrain "
131 <attribute arch='move_block' editor='blocked movement' type='bitmask_movement_type'> 131 <attribute arch='move_block' editor='blocked movement' type='movement_type'>
132 Objects using these movement types cannot move over this space. 132 Objects using these movement types cannot move over this space.
133 </attribute> 133 </attribute>
134 <attribute arch='move_allow' editor='allowed movement' type='bitmask_movement_type'> 134 <attribute arch='move_allow' editor='allowed movement' type='movement_type'>
135 Objects using these movement types are allowed to move over this space. Takes 135 Objects using these movement types are allowed to move over this space. Takes
136 precedence over 'blocked movements'. 136 precedence over 'blocked movements'.
137 </attribute> 137 </attribute>
138 <attribute arch='move_slow' editor='slowed movement' type='bitmask_movement_type'> 138 <attribute arch='move_slow' editor='slowed movement' type='movement_type'>
139 The types of movement that should by slowed down by the 'slow movement penalty'. 139 The types of movement that should by slowed down by the 'slow movement penalty'.
140 </attribute> 140 </attribute>
141 <attribute arch='move_slow_penalty' editor='slow movement penalty' type='int'> 141 <attribute arch='move_slow_penalty' editor='slow movement penalty' type='int'>
142 If &lt;slow movement&gt; is set to a value greater zero, all 142 If &lt;slow movement&gt; is set to a value greater zero, all
143 creatures matching 'slow move' will be slower than normal on this spot. 143 creatures matching 'slow move' will be slower than normal on this spot.
164 </attribute> 164 </attribute>
165 <attribute arch='activate_on_release' editor='Activate on release' type='bool'> 165 <attribute arch='activate_on_release' editor='Activate on release' type='bool'>
166 Whether the teleporter should only be activated on release. 166 Whether the teleporter should only be activated on release.
167 </attribute> 167 </attribute>
168 "> 168 ">
169
170 <!ENTITY resistances_flesh_desc "
171 Resistances on flesh items make them more durable against spellcraft
172 of the appropriate kind. It also allows dragon players to eventually gain
173 resistance by eating it. Usually resistance should only be set for flesh
174 items in a monster's inventory.
175 ">
176
177 <!ENTITY resistances_flesh_section "
178 <section name='resistance'>
179 <attribute arch='resist_physical' editor='resist physical &#x25;' length='15' type='int'>
180 &resistances_flesh_desc;
181 </attribute>
182 <attribute arch='resist_magic' editor='resist magic &#x25;' length='15' type='int'>
183 &resistances_flesh_desc;
184 </attribute>
185 <attribute arch='resist_fire' editor='resist fire &#x25;' length='15' type='int'>
186 &resistances_flesh_desc;
187 </attribute>
188 <attribute arch='resist_electricity' editor='resist electricity &#x25;' length='15' type='int'>
189 &resistances_flesh_desc;
190 </attribute>
191 <attribute arch='resist_cold' editor='resist cold &#x25;' length='15' type='int'>
192 &resistances_flesh_desc;
193 </attribute>
194 <attribute arch='resist_confusion' editor='resist confusion &#x25;' length='15' type='int'>
195 &resistances_flesh_desc;
196 </attribute>
197 <attribute arch='resist_acid' editor='resist acid &#x25;' length='15' type='int'>
198 &resistances_flesh_desc;
199 </attribute>
200 <attribute arch='resist_drain' editor='resist draining &#x25;' length='15' type='int'>
201 &resistances_flesh_desc;
202 </attribute>
203 <attribute arch='resist_weaponmagic' editor='resist weaponmagic &#x25;' length='15' type='int'>
204 &resistances_flesh_desc;
205 </attribute>
206 <attribute arch='resist_ghosthit' editor='resist ghosthit &#x25;' length='15' type='int'>
207 &resistances_flesh_desc;
208 </attribute>
209 <attribute arch='resist_poison' editor='resist poison &#x25;' length='15' type='int'>
210 &resistances_flesh_desc;
211 </attribute>
212 <attribute arch='resist_slow' editor='resist slow &#x25;' length='15' type='int'>
213 &resistances_flesh_desc;
214 </attribute>
215 <attribute arch='resist_paralyze' editor='resist paralyze &#x25;' length='15' type='int'>
216 &resistances_flesh_desc;
217 </attribute>
218 <attribute arch='resist_fear' editor='resist fear &#x25;' length='15' type='int'>
219 &resistances_flesh_desc;
220 </attribute>
221 <attribute arch='resist_deplete' editor='resist depletion &#x25;' length='15' type='int'>
222 &resistances_flesh_desc;
223 </attribute>
224 <attribute arch='resist_death' editor='resist death-attack &#x25;' length='15' type='int'>
225 &resistances_flesh_desc;
226 </attribute>
227 <attribute arch='resist_chaos' editor='resist chaos &#x25;' length='15' type='int'>
228 &resistances_flesh_desc;
229 </attribute>
230 <attribute arch='resist_blind' editor='resist blinding &#x25;' length='15' type='int'>
231 &resistances_flesh_desc;
232 </attribute>
233 </section>
234 ">
235
236 <!ENTITY resistances_basic "
237 <section name='resistance'>
238 <attribute arch='resist_physical' editor='resist physical &#x25;' length='15' type='int'/>
239 <attribute arch='resist_magic' editor='resist magic &#x25;' length='15' type='int'/>
240 <attribute arch='resist_fire' editor='resist fire &#x25;' length='15' type='int'/>
241 <attribute arch='resist_electricity' editor='resist electricity &#x25;' length='15' type='int'/>
242 <attribute arch='resist_cold' editor='resist cold &#x25;' length='15' type='int'/>
243 <attribute arch='resist_confusion' editor='resist confusion &#x25;' length='15' type='int'/>
244 <attribute arch='resist_acid' editor='resist acid &#x25;' length='15' type='int'/>
245 <attribute arch='resist_drain' editor='resist draining &#x25;' length='15' type='int'/>
246 <attribute arch='resist_weaponmagic' editor='resist weaponmagic &#x25;' length='15' type='int'/>
247 <attribute arch='resist_ghosthit' editor='resist ghosthit &#x25;' length='15' type='int'/>
248 <attribute arch='resist_poison' editor='resist poison &#x25;' length='15' type='int'/>
249 <attribute arch='resist_slow' editor='resist slow &#x25;' length='15' type='int'/>
250 <attribute arch='resist_paralyze' editor='resist paralyze &#x25;' length='15' type='int'/>
251 <attribute arch='resist_fear' editor='resist fear &#x25;' length='15' type='int'/>
252 <attribute arch='resist_deplete' editor='resist depletion &#x25;' length='15' type='int'/>
253 <attribute arch='resist_death' editor='resist death-attack &#x25;' length='15' type='int'/>
254 <attribute arch='resist_chaos' editor='resist chaos &#x25;' length='15' type='int'/>
255 <attribute arch='resist_blind' editor='resist blinding &#x25;' length='15' type='int'/>
256 <attribute arch='resist_holyword' editor='resist holy power &#x25;' length='15' type='int'/>
257 <attribute arch='resist_godpower' editor='resist godpower &#x25;' length='15' type='int'/>
258 </section>
259 ">
260
261 <!ENTITY player_stat_desc "
262 The player's strentgh will rise/fall by the given value for permanent
263 (of course there is an upper limit). Generally there shouldn't be stat
264 potions granting more than one stat. Cursed potions will subtract the
265 stats if positive.
266 ">
267
268 <!ENTITY player_res_desc "
269 The player's resistance to physical will rise by this value in percent
270 (range -100 till +100). The effect is only temporare, and it does NOT
271 add on the values from the player's equipment.
272 Cursed potions will make negative resistance.. very nasty in combat!
273 ">
274
275 <!ENTITY player_stat_resist_sections "
276 <section name='stats'>
277 <attribute arch='Str' editor='strength' type='int'>
278 &player_stat_desc;
279 </attribute>
280 <attribute arch='Dex' editor='dexterity' type='int'>
281 &player_stat_desc;
282 </attribute>
283 <attribute arch='Con' editor='constitution' type='int'>
284 &player_stat_desc;
285 </attribute>
286 <attribute arch='Int' editor='intelligence' type='int'>
287 &player_stat_desc;
288 </attribute>
289 <attribute arch='Pow' editor='power' type='int'>
290 &player_stat_desc;
291 </attribute>
292 <attribute arch='Wis' editor='wisdom' type='int'>
293 &player_stat_desc;
294 </attribute>
295 <attribute arch='Cha' editor='charisma' type='int'>
296 &player_stat_desc;
297 </attribute>
298 </section>
299 <section name='resistance'>
300 <attribute arch='resist_physical' editor='resist physical &#x25;' length='15' type='int'>
301 &player_res_desc;
302 </attribute>
303 <attribute arch='resist_magic' editor='resist magic &#x25;' length='15' type='int'>
304 &player_res_desc;
305 </attribute>
306 <attribute arch='resist_fire' editor='resist fire &#x25;' length='15' type='int'>
307 &player_res_desc;
308 </attribute>
309 <attribute arch='resist_electricity' editor='resist electricity &#x25;' length='15' type='int'>
310 &player_res_desc;
311 </attribute>
312 <attribute arch='resist_cold' editor='resist cold &#x25;' length='15' type='int'>
313 &player_res_desc;
314 </attribute>
315 <attribute arch='resist_acid' editor='resist acid &#x25;' length='15' type='int'>
316 &player_res_desc;
317 </attribute>
318 <attribute arch='resist_confusion' editor='resist confusion &#x25;' length='15' type='int'>
319 &player_res_desc;
320 </attribute>
321 <attribute arch='resist_weaponmagic' editor='resist weaponmagic &#x25;' length='15' type='int'>
322 &player_res_desc;
323 </attribute>
324 <attribute arch='resist_ghosthit' editor='resist ghosthit &#x25;' length='15' type='int'>
325 &player_res_desc;
326 </attribute>
327 <attribute arch='resist_slow' editor='resist slow &#x25;' length='15' type='int'>
328 &player_res_desc;
329 </attribute>
330 <attribute arch='resist_fear' editor='resist fear &#x25;' length='15' type='int'>
331 &player_res_desc;
332 </attribute>
333 <attribute arch='resist_death' editor='resist death-attack &#x25;' length='15' type='int'>
334 &player_res_desc;
335 </attribute>
336 <attribute arch='resist_chaos' editor='resist chaos &#x25;' length='15' type='int'>
337 &player_res_desc;
338 </attribute>
339 <attribute arch='resist_blind' editor='resist blinding &#x25;' length='15' type='int'>
340 &player_res_desc;
341 </attribute>
342 <attribute arch='resist_holyword' editor='resist holy power &#x25;' length='15' type='int'>
343 &player_res_desc;
344 </attribute>
345 <attribute arch='resist_godpower' editor='resist godpower &#x25;' length='15' type='int'>
346 &player_res_desc;
347 </attribute>
348 <attribute arch='resist_paralyze' editor='resist paralyze &#x25;' length='15' type='int'>
349 &player_res_desc;
350 </attribute>
351 <attribute arch='resist_drain' editor='resist draining &#x25;' length='15' type='int'>
352 &player_res_desc;
353 </attribute>
354 <attribute arch='resist_deplete' editor='resist depletion &#x25;' length='15' type='int'>
355 &player_res_desc;
356 </attribute>
357 <attribute arch='resist_poison' editor='resist poison &#x25;' length='15' type='int'>
358 &player_res_desc;
359 </attribute>
360 </section>
361 ">
362
169]> 363]>
170 364
171<types> 365<types>
172 366
173<!--###################### bitmask definitions ######################--> 367<!--###################### bitmask definitions ######################-->
506 <attribute arch="unpaid" editor="unpaid" type="bool"> 700 <attribute arch="unpaid" editor="unpaid" type="bool">
507 An &lt;unpaid&gt; item cannot be used unless a player carried it over 701 An &lt;unpaid&gt; item cannot be used unless a player carried it over
508 a shop mat, paying the demanded price. Setting this flag makes sense 702 a shop mat, paying the demanded price. Setting this flag makes sense
509 only for pickable items inside shops. 703 only for pickable items inside shops.
510 </attribute> 704 </attribute>
705 <attribute arch="sound" editor="sound" type="string">
706 The sound this objects makes on a map. Enter either a sound alias from
707 arch/res/sound.conf.res or a path. If you enter &lt;path&gt; in this
708 field it will point to sound/&lt;path&gt;.ext
709 </attribute>
710 <attribute arch="sound_destroy" editor="destroy sound" type="string">
711 The sound this objects makes when it is destroyed. Enter either a sound alias from
712 arch/res/sound.conf.res or a path. If you enter &lt;path&gt; in this
713 field it will point to sound/&lt;path&gt;.ext
714 </attribute>
511</default_type> 715</default_type>
512 716
513<!-- This ignorelist is for all system objects which are non pickable 717<!-- This ignorelist is for all system objects which are non pickable
514 and invisible. They don't interact with players at all. --> 718 and invisible. They don't interact with players at all. -->
515<ignore_list name="system_object"> 719<ignore_list name="system_object">
756 in the exact moment when the altar is activated. 960 in the exact moment when the altar is activated.
757 </attribute> 961 </attribute>
758</type> 962</type>
759 963
760<!--####################################################################--> 964<!--####################################################################-->
965<type number="74" name="Skill Tool">
966 <description><![CDATA[
967 Wearing a skill tool will give the player the ability to use a skill.
968 ]]>
969 </description>
970 <use><![CDATA[
971 Feel free to assign resistancies and stats to a skill tools or change
972 the skill that is given.
973 ]]>
974 </use>
975 <attribute arch="skill" editor="skill name" type="string">
976 This field describes which skill the player will be able to use wearing this item.
977 </attribute>
978 &player_stat_resist_sections;
979</type>
980<!--####################################################################-->
761<type number="39" name="Amulet"> 981<type number="39" name="Amulet">
762 <description><![CDATA[ 982 <description><![CDATA[
763 Wearing an amulet, the object's stats will directly be inherited to 983 Wearing an amulet, the object's stats will directly be inherited to
764 the player. Amulets are usually meant for protection and defense. ]]> 984 the player. Amulets are usually meant for protection and defense. ]]>
765 </description> 985 </description>
820 you want the monster to use/wear the item - you must set 1040 you want the monster to use/wear the item - you must set
821 &lt;is applied&gt;. 1041 &lt;is applied&gt;.
822 Enabling this flag doesn't make any sense if the item 1042 Enabling this flag doesn't make any sense if the item
823 is NOT in a monster's inventory. 1043 is NOT in a monster's inventory.
824 </attribute> 1044 </attribute>
825<section name="resistance"> 1045 &player_stat_resist_sections;
826 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
827 This adds physical resistance to the item (= armour value). The number is
828 a percent-value in the range 0-100. Treat this with CARE. Look at other maps
829 and what they require to do for getting this-and-that artifact.
830 </attribute>
831 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
832 This adds magic resistance to the item. The number is a percent-value in
833 the range 0-100. Treat this with CARE. Look at other maps and what they
834 require to do for getting this-and-that artifact.
835 </attribute>
836 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
837 This adds fire resistance to the item. The number is a percent-value in
838 the range 0-100. Treat this with CARE. Look at other maps and what they
839 require to do for getting this-and-that artifact.
840 </attribute>
841 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
842 This adds electricity resistance to the item. The number is a percent-value in
843 the range 0-100. Treat this with CARE. Look at other maps and what they
844 require to do for getting this-and-that artifact.
845 </attribute>
846 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
847 This adds fire resistance to the item. The number is a percent-value in
848 the range 0-100. Treat this with CARE. Look at other maps and what they
849 require to do for getting this-and-that artifact.
850 </attribute>
851 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
852 This adds confusion resistance to the item. The number is a percent-value in
853 the range 0-100. Confusion resistance is not very effective
854 unless the value comes close to 100 (= perfect immunity).
855 </attribute>
856 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
857 This adds acid resistance to the item. The number is a percent-value in
858 the range 0-100. Treat this with CARE. Look at other maps and what they
859 require to do for getting this-and-that artifact.
860 </attribute>
861 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
862 This adds draining resistance to the item. The number is a percent-value
863 in the range 0-100. Draining resistance is little effective
864 unless the value is 100 (= perfect immunity).
865 </attribute>
866 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
867 This adds weaponmagic resistance to the item. The number is a percent-value in
868 the range 0-100. Weaponmagic resistance generally should not exist on
869 equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell)
870 are not meant to be easily resisted.
871 </attribute>
872 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
873 This adds ghosthit resistance to the item. The number is a percent-value
874 in the range 0-100. Treat this with CARE. Look at other maps and what they
875 require to do for getting this-and-that artifact.
876 </attribute>
877 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
878 This adds poison resistance to the item. The number is a percent-value in
879 the range 0-100. Treat this with CARE. Look at other maps and what they
880 require to do for getting this-and-that artifact.
881 </attribute>
882 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
883 This adds fear resistance to the item. The number is a percent-value in
884 the range 0-100. Resistance to fear is pretty useless.
885 </attribute>
886 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
887 This adds paralyze resistance to the item. The number is a percent-value in
888 the range 0-100. Paralyze resistance is little effective
889 unless the value is 100 (= perfect immunity).
890 </attribute>
891 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
892 This adds fear resistance to the item. The number is a percent-value in
893 the range 0-100. Resistance to fear is pretty useless.
894 </attribute>
895 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
896 This adds depletion resistance to the item. The number is a percent-value
897 in the range 0-100. Depletion resistance is little effective
898 unless the value is 100 (= perfect immunity).
899 </attribute>
900 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
901 This adds death-attack resistance to the item. The number is a
902 percent-value in the range 0-100. Death-attack resistance is little
903 effective unless the value is 100 (= perfect immunity).
904 Generally, resistance to death-attack is not supposed to be
905 available to players!
906 </attribute>
907 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
908 This adds chaos resistance to the item. The number is a percent-value in
909 the range 0-100. Treat this with CARE. Look at other maps and what they
910 require to do for getting this-and-that artifact.
911 Note that chaos is not a stand-alone attacktype. Chaos "contains" a
912 combination of other attacktypes.
913 </attribute>
914 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
915 This adds blinding resistance to the item. The number is a percent-value
916 in the range 0-100. Treat this with CARE. Look at other maps and what they
917 require to do for getting this-and-that artifact.
918 </attribute>
919 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
920 This adds holy power resistance to the item. The number is a percent-value
921 in the range 0-100. Holy power is the attacktype that holyword-type spells
922 use to hurt undead creatures. This kind of resistance is only reasonable
923 for undead players (wraith or devourer cult).
924 Generally, resistance to holy word should not be available for players.
925 </attribute>
926</section>
927<section name="stats">
928 <attribute arch="Str" editor="strength" type="int">
929 The player's strentgh will rise/fall by the given value
930 while wearing this piece of equipment.
931 </attribute>
932 <attribute arch="Dex" editor="dexterity" type="int">
933 The player's dexterity will rise/fall by the given value
934 while wearing this piece of equipment.
935 </attribute>
936 <attribute arch="Con" editor="constitution" type="int">
937 The player's constitution will rise/fall by the given value
938 while wearing this piece of equipment.
939 </attribute>
940 <attribute arch="Int" editor="intelligence" type="int">
941 The player's intelligence will rise/fall by the given value
942 while wearing this piece of equipment.
943 </attribute>
944 <attribute arch="Pow" editor="power" type="int">
945 The player's power will rise/fall by the given value
946 while wearing this piece of equipment.
947 </attribute>
948 <attribute arch="Wis" editor="wisdom" type="int">
949 The player's wisdom will rise/fall by the given value while
950 wearing this piece of equipment.
951 </attribute>
952 <attribute arch="Cha" editor="charisma" type="int">
953 The player's charisma will rise/fall by the given value
954 while wearing this piece of equipment.
955 </attribute>
956</section>
957<section name="misc"> 1046<section name="misc">
958 <attribute arch="luck" editor="luck bonus" type="int"> 1047 <attribute arch="luck" editor="luck bonus" type="int">
959 With positive luck bonus, the player is more likely to 1048 With positive luck bonus, the player is more likely to
960 succeed in all sorts of things (spellcasting, praying,...). 1049 succeed in all sorts of things (spellcasting, praying,...).
961 Unless the &lt;luck bonus&gt; is very high, the effect will be 1050 Unless the &lt;luck bonus&gt; is very high, the effect will be
1762 This string defines the object that will be created when the door was 1851 This string defines the object that will be created when the door was
1763 defeated. 1852 defeated.
1764 </attribute> 1853 </attribute>
1765 <attribute arch="randomitems" editor="treasurelist" type="treasurelist"> 1854 <attribute arch="randomitems" editor="treasurelist" type="treasurelist">
1766 This entry determines what kind of traps will appear in the door. 1855 This entry determines what kind of traps will appear in the door.
1856 </attribute>
1857 <attribute arch="treasure_env" editor="treasure in env" type="bool">
1858 Set this flag to move treasure items created into the environment (map)
1859 instead of putting them into the object.
1767 </attribute> 1860 </attribute>
1768</type> 1861</type>
1769 1862
1770<!--####################################################################--> 1863<!--####################################################################-->
1771<type number="83" name="Duplicator"> 1864<type number="83" name="Duplicator">
1859 If set, this message will be displayed to the player when he applies the exit. 1952 If set, this message will be displayed to the player when he applies the exit.
1860 This is quite useful to throw in some "role-play feeling": "As you enter the 1953 This is quite useful to throw in some "role-play feeling": "As you enter the
1861 dark cave you hear the sound of rustling dragonscales...". Well, my english 1954 dark cave you hear the sound of rustling dragonscales...". Well, my english
1862 is poor, but you get the point. =) 1955 is poor, but you get the point. =)
1863 </attribute> 1956 </attribute>
1864 <attribute arch="unique" editor="unique destination" type="bool"> 1957 <attribute arch="damned" editor="set savebed" type="bool">
1865 This flag defines the destined map as "personal unique map". If set, 1958 If set, then players using this exit will have their savebed position
1866 there will be a seperate version of that map for every player out there. 1959 set to the destination of the exit when passing through.
1867 This feature is used for the permanent apartments
1868 (in Scorn/Nuernberg/Caterham...). It should not be used for anything else
1869 than apartments, since Crossfire is a *multi*player game. In such a permanent
1870 apartment don't forget to set the unique-flag for all floor tiles too
1871 (see floors).
1872 An exit pointing outside of a personal unique map must have the
1873 "unique destination"-flag unset.
1874 </attribute> 1960 </attribute>
1875</type> 1961</type>
1876 1962
1877<!--####################################################################--> 1963<!--####################################################################-->
1878<type number="72" name="Flesh"> 1964<type number="72" name="Flesh">
1910 </attribute> 1996 </attribute>
1911 <attribute arch="startequip" editor="godgiven item" type="bool"> 1997 <attribute arch="startequip" editor="godgiven item" type="bool">
1912 A godgiven item vanishes as soon as the player 1998 A godgiven item vanishes as soon as the player
1913 drops it to the ground. 1999 drops it to the ground.
1914 </attribute> 2000 </attribute>
1915<section name="resistance"> 2001 &resistances_flesh_section;
1916 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
1917 Resistances on flesh items make them more durable against spellcraft
1918 of the appropriate kind. It also allows dragon players to eventually gain
1919 resistance by eating it. Usually resistance should only be set for flesh
1920 items in a monster's inventory.
1921 </attribute>
1922 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
1923 Resistances on flesh items make them more durable against spellcraft
1924 of the appropriate kind. It also allows dragon players to eventually gain
1925 resistance by eating it. Usually resistance should only be set for flesh
1926 items in a monster's inventory.
1927 </attribute>
1928 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
1929 Resistances on flesh items make them more durable against spellcraft
1930 of the appropriate kind. It also allows dragon players to eventually gain
1931 resistance by eating it. Usually resistance should only be set for flesh
1932 items in a monster's inventory.
1933 </attribute>
1934 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
1935 Resistances on flesh items make them more durable against spellcraft
1936 of the appropriate kind. It also allows dragon players to eventually gain
1937 resistance by eating it. Usually resistance should only be set for flesh
1938 items in a monster's inventory.
1939 </attribute>
1940 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
1941 Resistances on flesh items make them more durable against spellcraft
1942 of the appropriate kind. It also allows dragon players to eventually gain
1943 resistance by eating it. Usually resistance should only be set for flesh
1944 items in a monster's inventory.
1945 </attribute>
1946 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
1947 Resistances on flesh items make them more durable against spellcraft
1948 of the appropriate kind. It also allows dragon players to eventually gain
1949 resistance by eating it. Usually resistance should only be set for flesh
1950 items in a monster's inventory.
1951 </attribute>
1952 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
1953 Resistances on flesh items make them more durable against spellcraft
1954 of the appropriate kind. It also allows dragon players to eventually gain
1955 resistance by eating it. Usually resistance should only be set for flesh
1956 items in a monster's inventory.
1957 </attribute>
1958 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
1959 Resistances on flesh items make them more durable against spellcraft
1960 of the appropriate kind. It also allows dragon players to eventually gain
1961 resistance by eating it. Usually resistance should only be set for flesh
1962 items in a monster's inventory.
1963 </attribute>
1964 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
1965 Resistances on flesh items make them more durable against spellcraft
1966 of the appropriate kind. It also allows dragon players to eventually gain
1967 resistance by eating it. Usually resistance should only be set for flesh
1968 items in a monster's inventory.
1969 </attribute>
1970 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
1971 Resistances on flesh items make them more durable against spellcraft
1972 of the appropriate kind. It also allows dragon players to eventually gain
1973 resistance by eating it. Usually resistance should only be set for flesh
1974 items in a monster's inventory.
1975 </attribute>
1976 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
1977 Resistances on flesh items make them more durable against spellcraft
1978 of the appropriate kind. It also allows dragon players to eventually gain
1979 resistance by eating it. Usually resistance should only be set for flesh
1980 items in a monster's inventory.
1981 </attribute>
1982 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
1983 Resistances on flesh items make them more durable against spellcraft
1984 of the appropriate kind. It also allows dragon players to eventually gain
1985 resistance by eating it. Usually resistance should only be set for flesh
1986 items in a monster's inventory.
1987 </attribute>
1988 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
1989 Resistances on flesh items make them more durable against spellcraft
1990 of the appropriate kind. It also allows dragon players to eventually gain
1991 resistance by eating it. Usually resistance should only be set for flesh
1992 items in a monster's inventory.
1993 </attribute>
1994 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
1995 Resistances on flesh items make them more durable against spellcraft
1996 of the appropriate kind. It also allows dragon players to eventually gain
1997 resistance by eating it. Usually resistance should only be set for flesh
1998 items in a monster's inventory.
1999 </attribute>
2000 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
2001 Resistances on flesh items make them more durable against spellcraft
2002 of the appropriate kind. It also allows dragon players to eventually gain
2003 resistance by eating it. Usually resistance should only be set for flesh
2004 items in a monster's inventory.
2005 </attribute>
2006 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2007 RResistances on flesh items make them more durable against spellcraft
2008 of the appropriate kind. It also allows dragon players to eventually gain
2009 resistance by eating it. Usually resistance should only be set for flesh
2010 items in a monster's inventory.
2011 </attribute>
2012 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2013 Resistances on flesh items make them more durable against spellcraft
2014 of the appropriate kind. It also allows dragon players to eventually gain
2015 resistance by eating it. Usually resistance should only be set for flesh
2016 items in a monster's inventory.
2017 </attribute>
2018 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
2019 Resistances on flesh items make them more durable against spellcraft
2020 of the appropriate kind. It also allows dragon players to eventually gain
2021 resistance by eating it. Usually resistance should only be set for flesh
2022 items in a monster's inventory.
2023 </attribute>
2024</section>
2025 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2002 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2026 This text may describe the item. 2003 This text may describe the item.
2027 </attribute> 2004 </attribute>
2028</type> 2005</type>
2029 2006
2439 alchemical receipes. By themselves, they have no special 2416 alchemical receipes. By themselves, they have no special
2440 functionalities. ]]> 2417 functionalities. ]]>
2441 </description> 2418 </description>
2442 <attribute arch="is_dust" editor="is dust" type="bool"> 2419 <attribute arch="is_dust" editor="is dust" type="bool">
2443 </attribute> 2420 </attribute>
2444<section name="resistance"> 2421 &resistances_basic;
2445 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
2446 </attribute>
2447 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
2448 </attribute>
2449 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
2450 </attribute>
2451 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
2452 </attribute>
2453 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
2454 </attribute>
2455 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
2456 </attribute>
2457 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
2458 </attribute>
2459 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
2460 </attribute>
2461 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
2462 </attribute>
2463 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2464 </attribute>
2465 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2466 </attribute>
2467 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
2468 </attribute>
2469</section>
2470</type> 2422</type>
2471 2423
2472<!--####################################################################--> 2424<!--####################################################################-->
2473<type number="64" name="Inventory Checker"> 2425<type number="64" name="Inventory Checker">
2474 <ignore> 2426 <ignore>
2768 A magic wall of high &lt;armour class&gt; is less likely to get hit from 2720 A magic wall of high &lt;armour class&gt; is less likely to get hit from
2769 an opponent. &lt;armour class&gt; can be considered the "counterpiece" 2721 an opponent. &lt;armour class&gt; can be considered the "counterpiece"
2770 to &lt;weapon class&gt;. 2722 to &lt;weapon class&gt;.
2771 </attribute> 2723 </attribute>
2772</section> 2724</section>
2773<section name="resistance"> 2725&resistances_basic;
2774 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
2775 </attribute>
2776 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
2777 </attribute>
2778 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
2779 </attribute>
2780 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
2781 </attribute>
2782 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
2783 </attribute>
2784 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
2785 </attribute>
2786 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
2787 </attribute>
2788 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
2789 </attribute>
2790 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
2791 </attribute>
2792 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
2793 </attribute>
2794 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
2795 </attribute>
2796 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
2797 </attribute>
2798 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
2799 </attribute>
2800 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
2801 </attribute>
2802 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
2803 </attribute>
2804 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
2805 </attribute>
2806 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2807 </attribute>
2808 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2809 </attribute>
2810 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
2811 </attribute>
2812 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
2813 </attribute>
2814 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
2815 </attribute>
2816</section>
2817</type> 2726</type>
2818 2727
2819<!--####################################################################--> 2728<!--####################################################################-->
2820<type number="55" name="Marker"> 2729<type number="55" name="Marker">
2821 <ignore> 2730 <ignore>
2965 2874
2966 Note that you can always put items into the monster's 2875 Note that you can always put items into the monster's
2967 inventory. Those will drop-at-kill just like the stuff 2876 inventory. Those will drop-at-kill just like the stuff
2968 from the &lt;treasurelist&gt;. 2877 from the &lt;treasurelist&gt;.
2969 </attribute> 2878 </attribute>
2879 <attribute arch="treasure_env" editor="treasure in env" type="bool">
2880 Set this flag to move treasure items created into the environment (map)
2881 instead of putting them into the object.
2882 </attribute>
2970 <attribute arch="level" editor="level" type="int"> 2883 <attribute arch="level" editor="level" type="int">
2971 A monster's &lt;level&gt; is the most important attribute. 2884 A monster's &lt;level&gt; is the most important attribute.
2972 &lt;level&gt; affects the power of a monster in various ways. 2885 &lt;level&gt; affects the power of a monster in various ways.
2973 </attribute> 2886 </attribute>
2974 <attribute arch="race" editor="race" type="string"> 2887 <attribute arch="race" editor="race" type="string">
3020 </attribute> 2933 </attribute>
3021 <attribute arch="carrying" editor="carries weight" type="int"> 2934 <attribute arch="carrying" editor="carries weight" type="int">
3022 If a monster has something in the inventory, this 2935 If a monster has something in the inventory, this
3023 value can be set to reflect the slowdown due to 2936 value can be set to reflect the slowdown due to
3024 the carried weight. 2937 the carried weight.
2938 </attribute>
2939 <attribute arch="precious" editor="precious" type="bool">
2940 Set this flag to indicate that this monster is precious, i.e.
2941 it should not be lightly destroyed. This is most useful on pets and
2942 keeps the server from destroying them on destroy_pets/monster floors
2943 and will try to save them when the player logs out.
3025 </attribute> 2944 </attribute>
3026 2945
3027<section name="melee"> 2946<section name="melee">
3028 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype"> 2947 <attribute arch="attacktype" editor="attacktype" type="bitmask_attacktype">
3029 This number is a bitmask, specifying the monster's attacktypes 2948 This number is a bitmask, specifying the monster's attacktypes
3247 When the monster's health points drop below this percentage 3166 When the monster's health points drop below this percentage
3248 (relative to max health), it attempts to run away from the 3167 (relative to max health), it attempts to run away from the
3249 attacker. 3168 attacker.
3250 </attribute> 3169 </attribute>
3251</section> 3170</section>
3252 3171 &resistances_basic;
3253<section name="resistance">
3254 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
3255 </attribute>
3256 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
3257 </attribute>
3258 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
3259 </attribute>
3260 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
3261 </attribute>
3262 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
3263 </attribute>
3264 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
3265 </attribute>
3266 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
3267 </attribute>
3268 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
3269 </attribute>
3270 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
3271 </attribute>
3272 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
3273 </attribute>
3274 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
3275 </attribute>
3276 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
3277 </attribute>
3278 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
3279 </attribute>
3280 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
3281 </attribute>
3282 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
3283 </attribute>
3284 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
3285 </attribute>
3286 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
3287 </attribute>
3288 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
3289 </attribute>
3290 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
3291 </attribute>
3292 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
3293 </attribute>
3294 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
3295 </attribute>
3296</section>
3297 <attribute arch_begin="msg" arch_end="endmsg" editor="npc message" type="text"> 3172 <attribute arch_begin="msg" arch_end="endmsg" editor="npc message" type="text">
3298 </attribute> 3173 </attribute>
3299</type> 3174</type>
3300 3175
3301<!--####################################################################--> 3176<!--####################################################################-->
3306 <attribute arch="name_pl" /> 3181 <attribute arch="name_pl" />
3307 <attribute arch="nrof" /> 3182 <attribute arch="nrof" />
3308 <attribute arch="value" /> 3183 <attribute arch="value" />
3309 <attribute arch="unpaid" /> 3184 <attribute arch="unpaid" />
3310 </ignore> 3185 </ignore>
3311 <description><![CDATA[ 3186 <description>
3312 A grimreaper is a monster that vanishes after it did some number of 3187 A grimreaper is a monster that vanishes after it did some number of
3313 draining attacks. ]]> <!-- XXX: is this ok? --> 3188 draining attacks.
3314 </description> 3189 </description>
3315<section name="grimreaper"> 3190<section name="grimreaper">
3316 <attribute arch="value" editor="attacks" type="int"> 3191 <attribute arch="value" editor="attacks" type="int">
3317 The object vanishes after this number of draining attacks. 3192 The object vanishes after this number of draining attacks.
3318 </attribute> 3193 </attribute>
3591 </attribute> 3466 </attribute>
3592 <attribute arch="startequip" editor="godgiven item" type="bool"> 3467 <attribute arch="startequip" editor="godgiven item" type="bool">
3593 A godgiven item vanishes as soon as the player 3468 A godgiven item vanishes as soon as the player
3594 drops it to the ground. 3469 drops it to the ground.
3595 </attribute> 3470 </attribute>
3596<section name="stats"> 3471 &player_stat_resist_sections;
3597 <attribute arch="Str" editor="strength" type="int">
3598 The player's strentgh will rise/fall by the given value for permanent
3599 (of course there is an upper limit). Generally there shouldn't be stat
3600 potions granting more than one stat. Cursed potions will subtract the
3601 stats if positive.
3602 </attribute>
3603 <attribute arch="Dex" editor="dexterity" type="int">
3604 The player's dexterity will rise/fall by the given value for permanent
3605 (of course there is an upper limit). Generally there shouldn't be stat
3606 potions granting more than one stat. Cursed potions will subtract the
3607 stats if positive.
3608 </attribute>
3609 <attribute arch="Con" editor="constitution" type="int">
3610 The player's constitution will rise/fall by the given value for permanent
3611 (of course there is an upper limit). Generally there shouldn't be stat
3612 potions granting more than one stat. Cursed potions will subtract the
3613 stats if positive.
3614 </attribute>
3615 <attribute arch="Int" editor="intelligence" type="int">
3616 The player's intelligence will rise/fall by the given value for permanent
3617 (of course there is an upper limit). Generally there shouldn't be stat
3618 potions granting more than one stat. Cursed potions will subtract the
3619 stats if positive.
3620 </attribute>
3621 <attribute arch="Pow" editor="power" type="int">
3622 The player's power will rise/fall by the given value for permanent
3623 (of course there is an upper limit). Generally there shouldn't be stat
3624 potions granting more than one stat. Cursed potions will subtract the
3625 stats if positive.
3626 </attribute>
3627 <attribute arch="Wis" editor="wisdom" type="int">
3628 The player's wisdom will rise/fall by the given value for permanent
3629 (of course there is an upper limit). Generally there shouldn't be stat
3630 potions granting more than one stat. Cursed potions will subtract the
3631 stats if positive.
3632 </attribute>
3633 <attribute arch="Cha" editor="charisma" type="int">
3634 The player's charisma will rise/fall by the given value for permanent
3635 (of course there is an upper limit). Generally there shouldn't be stat
3636 potions granting more than one stat. Cursed potions will subtract the
3637 stats if positive.
3638 </attribute>
3639</section>
3640<section name="resistance">
3641 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
3642 The player's resistance to physical will rise by this value in percent
3643 (range -100 till +100). The effect is only temporare, and it does NOT
3644 add on the values from the player's equipment.
3645 Cursed potions will make negative resistance.. very nasty in combat!
3646 </attribute>
3647 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
3648 The player's resistance to magic will rise by this value in percent
3649 (range -100 till +100). The effect is only temporare, and it does NOT
3650 add on the values from the player's equipment.
3651 Cursed potions will make negative resistance.. very nasty in combat!
3652 </attribute>
3653 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
3654 The player's resistance to fire will rise by this value in percent
3655 (range -100 till +100). The effect is only temporare, and it does NOT
3656 add on the values from the player's equipment.
3657 Cursed potions will make negative resistance.. very nasty in combat!
3658 </attribute>
3659 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
3660 The player's resistance to electricity will rise by this value in percent
3661 (range -100 till +100). The effect is only temporare, and it does NOT
3662 add on the values from the player's equipment.
3663 Cursed potions will make negative resistance.. very nasty in combat!
3664 </attribute>
3665 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
3666 The player's resistance to cold will rise by this value in percent
3667 (range -100 till +100). The effect is only temporare, and it does NOT
3668 add on the values from the player's equipment.
3669 Cursed potions will make negative resistance.. very nasty in combat!
3670 </attribute>
3671 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
3672 The player's resistance to acid will rise by this value in percent
3673 (range -100 till +100). The effect is only temporare, and it does NOT
3674 add on the values from the player's equipment.
3675 Cursed potions will make negative resistance.. very nasty in combat!
3676 </attribute>
3677 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
3678 The player's resistance to confusion will rise by this value in percent
3679 (range -100 till +100). The effect is only temporare, and it does NOT
3680 add on the values from the player's equipment.
3681 Cursed potions will make negative resistance.. very nasty in combat!
3682 </attribute>
3683 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
3684 The player's resistance to weaponmagic will rise by this value in percent
3685 (range -100 till +100). The effect is only temporare, and it does NOT
3686 add on the values from the player's equipment.
3687 Cursed potions will make negative resistance.. very nasty in combat!
3688 </attribute>
3689 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
3690 The player's resistance to paralyze will rise by this value in percent
3691 (range -100 till +100). The effect is only temporare, and it does NOT
3692 add on the values from the player's equipment.
3693 Cursed potions will make negative resistance.. very nasty in combat!
3694 </attribute>
3695 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
3696 The player's resistance to draining will rise by this value in percent
3697 (range -100 till +100). The effect is only temporare, and it does NOT
3698 add on the values from the player's equipment.
3699 Cursed potions will make negative resistance.. very nasty in combat!
3700 </attribute>
3701 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
3702 The player's resistance to depletion will rise by this value in percent
3703 (range -100 till +100). The effect is only temporare, and it does NOT
3704 add on the values from the player's equipment.
3705 Cursed potions will make negative resistance.. very nasty in combat!
3706 </attribute>
3707 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
3708 The player's resistance to poison will rise by this value in percent
3709 (range -100 till +100). The effect is only temporare, and it does NOT
3710 add on the values from the player's equipment.
3711 Cursed potions will make negative resistance.. very nasty in combat!
3712 </attribute>
3713</section>
3714</type> 3472</type>
3715 3473
3716<!--####################################################################--> 3474<!--####################################################################-->
3717<type number="156" name="Power Crystal"> 3475<type number="156" name="Power Crystal">
3718 <description><![CDATA[ 3476 <description><![CDATA[
4299 second time would be silly. &lt;counter&gt; 1 does a perfect job in such cases. 4057 second time would be silly. &lt;counter&gt; 1 does a perfect job in such cases.
4300 Otherwise set &lt;counter&gt; zero/unset for infinite use (that is the default). 4058 Otherwise set &lt;counter&gt; zero/unset for infinite use (that is the default).
4301 </attribute> 4059 </attribute>
4302 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text"> 4060 <attribute arch_begin="msg" arch_end="endmsg" editor="message" type="text">
4303 This text will be displayed to the player. 4061 This text will be displayed to the player.
4062 </attribute>
4063</type>
4064
4065<type number="150" name="Shop Inventory">
4066 <ignore>
4067 <ignore_list name="non_pickable" />
4068 </ignore>
4069 <description><![CDATA[The purpose of a sign is to display the contents of a shop.]]>
4070 </description>
4071 <use><![CDATA[Use these signs to present the player a list of the items in the shop]]>
4072 </use>
4073 <attribute arch="shop_coords" editor="shop rectangle" type="string">
4074 The format of this field is: 'x1,y1,x2,y2'. It defines a rectangle on
4075 the map that will be searched for unpaid items.
4304 </attribute> 4076 </attribute>
4305</type> 4077</type>
4306 4078
4307<!--####################################################################--> 4079<!--####################################################################-->
4308<type number="43" name="Skill"> 4080<type number="43" name="Skill">
4745 and generally have either a physical attack or trigger a reaction. 4517 and generally have either a physical attack or trigger a reaction.
4746 <br><br> 4518 <br><br>
4747 Traps hit any monster or person who steps on them for 'dam' damage in 4519 Traps hit any monster or person who steps on them for 'dam' damage in
4748 'attacktype' attacktype and/or trigger a reaction. 4520 'attacktype' attacktype and/or trigger a reaction.
4749 <br><br> 4521 <br><br>
4750 Many traps are already defined in the archetypes. ]]> 4522 Many traps are already defined in the archetypes.]]>
4751 </description> 4523 </description>
4752 <use><![CDATA[ 4524 <use><![CDATA[
4753 Avoid monsters stepping on your traps. For example, a party of orcs setting 4525 Avoid monsters stepping on your traps. For example, a party of orcs setting
4754off your lightning wall and pit trap is usually a bad idea. ]]> 4526 off your lightning wall and pit trap is usually a bad idea.]]>
4755 </use> 4527 </use>
4756 <attribute arch="no_pick" value="1" type="fixed" /> 4528 <attribute arch="no_pick" value="1" type="fixed" />
4757 &move_on; 4529 &move_on;
4758 <attribute arch="level" editor="trap level" type="int"> 4530 <attribute arch="level" editor="trap level" type="int">
4759 Level effects how easily a trap may be found and disarmed, and 4531 Level effects how easily a trap may be found and disarmed, and
5056 </attribute> 4828 </attribute>
5057 <attribute arch="ac" editor="armour class" type="int"> 4829 <attribute arch="ac" editor="armour class" type="int">
5058 Weak walls of high &lt;armour class&gt; are less likely to get hit. 4830 Weak walls of high &lt;armour class&gt; are less likely to get hit.
5059 &lt;armour class&gt; can be considered the "counterpiece" to &lt;weapon class&gt;. 4831 &lt;armour class&gt; can be considered the "counterpiece" to &lt;weapon class&gt;.
5060 </attribute> 4832 </attribute>
5061<section name="resistance"> 4833 &resistances_basic;
5062 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
5063 </attribute>
5064 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
5065 </attribute>
5066 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
5067 </attribute>
5068 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
5069 </attribute>
5070 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
5071 </attribute>
5072 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
5073 </attribute>
5074 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
5075 </attribute>
5076 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
5077 </attribute>
5078 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
5079 </attribute>
5080 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
5081 </attribute>
5082 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
5083 </attribute>
5084 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
5085 </attribute>
5086 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
5087 </attribute>
5088 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
5089 </attribute>
5090 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
5091 </attribute>
5092 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
5093 </attribute>
5094 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
5095 </attribute>
5096 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
5097 </attribute>
5098 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
5099 </attribute>
5100 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
5101 </attribute>
5102 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
5103 </attribute>
5104</section>
5105</type> 4834</type>
5106 4835
5107<!--####################################################################--> 4836<!--####################################################################-->
5108<type number="15" name="Weapon"> 4837<type number="15" name="Weapon">
5109 <description><![CDATA[ 4838 <description><![CDATA[
5207 </attribute> 4936 </attribute>
5208 <attribute arch="startequip" editor="godgiven item" type="bool"> 4937 <attribute arch="startequip" editor="godgiven item" type="bool">
5209 A godgiven item vanishes as soon as the player 4938 A godgiven item vanishes as soon as the player
5210 drops it to the ground. 4939 drops it to the ground.
5211 </attribute> 4940 </attribute>
5212<section name="resistance"> 4941 &player_stat_resist_sections;
5213 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
5214 This adds physical resistance to the weapon (= armour value). The number is
5215 a percent-value in the range 0-100. Treat this with CARE. Look at other maps
5216 and what they require to do for getting this-and-that artifact.
5217 </attribute>
5218 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
5219 This adds magic resistance to the weapon. The number is a percent-value in
5220 the range 0-100. Treat this with CARE. Look at other maps and what they
5221 require to do for getting this-and-that artifact.
5222 </attribute>
5223 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
5224 This adds fire resistance to the weapon. The number is a percent-value in
5225 the range 0-100. Treat this with CARE. Look at other maps and what they
5226 require to do for getting this-and-that artifact.
5227 </attribute>
5228 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
5229 This adds electricity resistance to the weapon. The number is a percent-value in
5230 the range 0-100. Treat this with CARE. Look at other maps and what they
5231 require to do for getting this-and-that artifact.
5232 </attribute>
5233 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
5234 This adds fire resistance to the weapon. The number is a percent-value in
5235 the range 0-100. Treat this with CARE. Look at other maps and what they
5236 require to do for getting this-and-that artifact.
5237 </attribute>
5238 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
5239 This adds confusion resistance to the weapon. The number is a percent-value in
5240 the range 0-100. Confusion resistance is not very effective
5241 unless the value comes close to 100 (= perfect immunity).
5242 </attribute>
5243 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
5244 This adds acid resistance to the weapon. The number is a percent-value in
5245 the range 0-100. Treat this with CARE. Look at other maps and what they
5246 require to do for getting this-and-that artifact.
5247 </attribute>
5248 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
5249 This adds draining resistance to the weapon. The number is a percent-value
5250 in the range 0-100. Draining resistance is little effective
5251 unless the value is 100 (= perfect immunity).
5252 </attribute>
5253 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
5254 This adds weaponmagic resistance to the weapon. The number is a percent-value in
5255 the range 0-100. Weaponmagic resistance generally should not exist on
5256 equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell)
5257 are not meant to be easily resisted.
5258 </attribute>
5259 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
5260 This adds ghosthit resistance to the weapon. The number is a percent-value
5261 in the range 0-100. Treat this with CARE. Look at other maps and what they
5262 require to do for getting this-and-that artifact.
5263 </attribute>
5264 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
5265 This adds poison resistance to the weapon. The number is a percent-value in
5266 the range 0-100. Treat this with CARE. Look at other maps and what they
5267 require to do for getting this-and-that artifact.
5268 </attribute>
5269 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
5270 This adds fear resistance to the weapon. The number is a percent-value in
5271 the range 0-100. Resistance to fear is pretty useless.
5272 </attribute>
5273 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
5274 This adds paralyze resistance to the weapon. The number is a percent-value in
5275 the range 0-100. Paralyze resistance is little effective
5276 unless the value is 100 (= perfect immunity).
5277 </attribute>
5278 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
5279 This adds fear resistance to the weapon. The number is a percent-value in
5280 the range 0-100. Resistance to fear is pretty useless.
5281 </attribute>
5282 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
5283 This adds depletion resistance to the weapon. The number is a percent-value
5284 in the range 0-100. Depletion resistance is little effective
5285 unless the value is 100 (= perfect immunity).
5286 </attribute>
5287 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
5288 This adds death-attack resistance to the weapon. The number is a
5289 percent-value in the range 0-100. Death-attack resistance is little
5290 effective unless the value is 100 (= perfect immunity).
5291 Generally, resistance to death-attack is not supposed to be
5292 available to players!
5293 </attribute>
5294 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
5295 This adds chaos resistance to the weapon. The number is a percent-value in
5296 the range 0-100. Treat this with CARE. Look at other maps and what they
5297 require to do for getting this-and-that artifact.
5298 Note that chaos is not a stand-alone attacktype. Chaos "contains" a
5299 combination of other attacktypes.
5300 </attribute>
5301 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
5302 This adds blinding resistance to the weapon. The number is a percent-value
5303 in the range 0-100. Treat this with CARE. Look at other maps and what they
5304 require to do for getting this-and-that artifact.
5305 </attribute>
5306 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
5307 This adds holy power resistance to the weapon. The number is a percent-value
5308 in the range 0-100. Holy power is the attacktype that holyword-type spells
5309 use to hurt undead creatures. This kind of resistance is only reasonable
5310 for undead players (wraith or devourer cult).
5311 Generally, resistance to holy word should not be available for players.
5312 </attribute>
5313</section>
5314<section name="stats">
5315 <attribute arch="Str" editor="strength" type="int">
5316 The player's strentgh will rise/fall by the given value
5317 while wearing this weapon.
5318 </attribute>
5319 <attribute arch="Dex" editor="dexterity" type="int">
5320 The player's dexterity will rise/fall by the given value
5321 while wearing this weapon.
5322 </attribute>
5323 <attribute arch="Con" editor="constitution" type="int">
5324 The player's constitution will rise/fall by the given value
5325 while wearing this weapon.
5326 </attribute>
5327 <attribute arch="Int" editor="intelligence" type="int">
5328 The player's intelligence will rise/fall by the given value
5329 while wearing this weapon.
5330 </attribute>
5331 <attribute arch="Pow" editor="power" type="int">
5332 The player's power will rise/fall by the given value
5333 while wearing this weapon.
5334 </attribute>
5335 <attribute arch="Wis" editor="wisdom" type="int">
5336 The player's wisdom will rise/fall by the given value while
5337 wearing this weapon.
5338 </attribute>
5339 <attribute arch="Cha" editor="charisma" type="int">
5340 The player's charisma will rise/fall by the given value
5341 while wearing this weapon.
5342 </attribute>
5343</section>
5344<section name="misc"> 4942<section name="misc">
5345 <attribute arch="luck" editor="luck bonus" type="int"> 4943 <attribute arch="luck" editor="luck bonus" type="int">
5346 With positive luck bonus, the player is more likely to 4944 With positive luck bonus, the player is more likely to
5347 succeed in all sorts of things (spellcasting, praying,...). 4945 succeed in all sorts of things (spellcasting, praying,...).
5348 Unless the &lt;luck bonus&gt; is very high, the effect will be 4946 Unless the &lt;luck bonus&gt; is very high, the effect will be

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines