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.24 by root, Wed May 9 11:44:41 2007 UTC vs.
Revision 1.31 by root, Mon Sep 17 17:23:16 2007 UTC

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 ######################-->
458 attached to the name. Typical titles are "of Mostrai", "of xray vision" etc. 652 attached to the name. Typical titles are "of Mostrai", "of xray vision" etc.
459 </attribute> 653 </attribute>
460 <attribute arch="face" editor="image" type="string"> 654 <attribute arch="face" editor="image" type="string">
461 The image-name defines what image is displayed for this object in-game. 655 The image-name defines what image is displayed for this object in-game.
462 </attribute> 656 </attribute>
657 <attribute arch="tag" editor="tag" type="string">
658 You can tag objects with an identifier. Tagged objects can be found quickly
659 from their tag, which makes them useful to tag exits and refer to those by
660 their name.
661 </attribute>
463 <attribute arch="nrof" editor="number" type="int"> 662 <attribute arch="nrof" editor="number" type="int">
464 This value determines the number of objects in one stack (for example: 663 This value determines the number of objects in one stack (for example:
465 100 goldcoins =&gt; "number = 100"). You should set this at least to one, for 664 100 goldcoins =&gt; "number = 100"). You should set this at least to one, for
466 any pickable object - otherwise it won't be mergeable into a stack. 665 any pickable object - otherwise it won't be mergeable into a stack.
467 </attribute> 666 </attribute>
505 </attribute> 704 </attribute>
506 <attribute arch="unpaid" editor="unpaid" type="bool"> 705 <attribute arch="unpaid" editor="unpaid" type="bool">
507 An &lt;unpaid&gt; item cannot be used unless a player carried it over 706 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 707 a shop mat, paying the demanded price. Setting this flag makes sense
509 only for pickable items inside shops. 708 only for pickable items inside shops.
709 </attribute>
710 <attribute arch="sound" editor="sound" type="string">
711 The sound this objects makes on a map. 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>
715 <attribute arch="sound_destroy" editor="destroy sound" type="string">
716 The sound this objects makes when it is destroyed. Enter either a sound alias from
717 arch/res/sound.conf.res or a path. If you enter &lt;path&gt; in this
718 field it will point to sound/&lt;path&gt;.ext
510 </attribute> 719 </attribute>
511</default_type> 720</default_type>
512 721
513<!-- This ignorelist is for all system objects which are non pickable 722<!-- This ignorelist is for all system objects which are non pickable
514 and invisible. They don't interact with players at all. --> 723 and invisible. They don't interact with players at all. -->
756 in the exact moment when the altar is activated. 965 in the exact moment when the altar is activated.
757 </attribute> 966 </attribute>
758</type> 967</type>
759 968
760<!--####################################################################--> 969<!--####################################################################-->
970<type number="74" name="Skill Tool">
971 <description><![CDATA[
972 Wearing a skill tool will give the player the ability to use a skill.
973 ]]>
974 </description>
975 <use><![CDATA[
976 Feel free to assign resistancies and stats to a skill tools or change
977 the skill that is given.
978 ]]>
979 </use>
980 <attribute arch="skill" editor="skill name" type="string">
981 This field describes which skill the player will be able to use wearing this item.
982 </attribute>
983 &player_stat_resist_sections;
984</type>
985<!--####################################################################-->
761<type number="39" name="Amulet"> 986<type number="39" name="Amulet">
762 <description><![CDATA[ 987 <description><![CDATA[
763 Wearing an amulet, the object's stats will directly be inherited to 988 Wearing an amulet, the object's stats will directly be inherited to
764 the player. Amulets are usually meant for protection and defense. ]]> 989 the player. Amulets are usually meant for protection and defense. ]]>
765 </description> 990 </description>
820 you want the monster to use/wear the item - you must set 1045 you want the monster to use/wear the item - you must set
821 &lt;is applied&gt;. 1046 &lt;is applied&gt;.
822 Enabling this flag doesn't make any sense if the item 1047 Enabling this flag doesn't make any sense if the item
823 is NOT in a monster's inventory. 1048 is NOT in a monster's inventory.
824 </attribute> 1049 </attribute>
825<section name="resistance"> 1050 &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"> 1051<section name="misc">
958 <attribute arch="luck" editor="luck bonus" type="int"> 1052 <attribute arch="luck" editor="luck bonus" type="int">
959 With positive luck bonus, the player is more likely to 1053 With positive luck bonus, the player is more likely to
960 succeed in all sorts of things (spellcasting, praying,...). 1054 succeed in all sorts of things (spellcasting, praying,...).
961 Unless the &lt;luck bonus&gt; is very high, the effect will be 1055 Unless the &lt;luck bonus&gt; is very high, the effect will be
1096 or destroying the items in a shop. Put this object below all floor tiles 1190 or destroying the items in a shop. Put this object below all floor tiles
1097 in your map and your shop will be safe. It's generally useful for making 1191 in your map and your shop will be safe. It's generally useful for making
1098 areas where really no kind of spell should be invoked by a player. 1192 areas where really no kind of spell should be invoked by a player.
1099 ]]> 1193 ]]>
1100 </use> 1194 </use>
1195 &movement_types_terrain;
1101 <attribute arch="no_pick" value="1" type="fixed" /> 1196 <attribute arch="no_pick" value="1" type="fixed" />
1102</type> 1197</type>
1103 1198
1104<!--####################################################################--> 1199<!--####################################################################-->
1105<type number="8" name="Book"> 1200<type number="8" name="Book">
1863 If set, this message will be displayed to the player when he applies the exit. 1958 If set, this message will be displayed to the player when he applies the exit.
1864 This is quite useful to throw in some "role-play feeling": "As you enter the 1959 This is quite useful to throw in some "role-play feeling": "As you enter the
1865 dark cave you hear the sound of rustling dragonscales...". Well, my english 1960 dark cave you hear the sound of rustling dragonscales...". Well, my english
1866 is poor, but you get the point. =) 1961 is poor, but you get the point. =)
1867 </attribute> 1962 </attribute>
1868 <attribute arch="unique" editor="unique destination" type="bool"> 1963 <attribute arch="damned" editor="set savebed" type="bool">
1869 This flag defines the destined map as "personal unique map". If set, 1964 If set, then players using this exit will have their savebed position
1870 there will be a seperate version of that map for every player out there. 1965 set to the destination of the exit when passing through.
1871 This feature is used for the permanent apartments
1872 (in Scorn/Nuernberg/Caterham...). It should not be used for anything else
1873 than apartments, since Crossfire is a *multi*player game. In such a permanent
1874 apartment don't forget to set the unique-flag for all floor tiles too
1875 (see floors).
1876 An exit pointing outside of a personal unique map must have the
1877 "unique destination"-flag unset.
1878 </attribute> 1966 </attribute>
1879</type> 1967</type>
1880 1968
1881<!--####################################################################--> 1969<!--####################################################################-->
1882<type number="72" name="Flesh"> 1970<type number="72" name="Flesh">
1914 </attribute> 2002 </attribute>
1915 <attribute arch="startequip" editor="godgiven item" type="bool"> 2003 <attribute arch="startequip" editor="godgiven item" type="bool">
1916 A godgiven item vanishes as soon as the player 2004 A godgiven item vanishes as soon as the player
1917 drops it to the ground. 2005 drops it to the ground.
1918 </attribute> 2006 </attribute>
1919<section name="resistance"> 2007 &resistances_flesh_section;
1920 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
1921 Resistances on flesh items make them more durable against spellcraft
1922 of the appropriate kind. It also allows dragon players to eventually gain
1923 resistance by eating it. Usually resistance should only be set for flesh
1924 items in a monster's inventory.
1925 </attribute>
1926 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
1927 Resistances on flesh items make them more durable against spellcraft
1928 of the appropriate kind. It also allows dragon players to eventually gain
1929 resistance by eating it. Usually resistance should only be set for flesh
1930 items in a monster's inventory.
1931 </attribute>
1932 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
1933 Resistances on flesh items make them more durable against spellcraft
1934 of the appropriate kind. It also allows dragon players to eventually gain
1935 resistance by eating it. Usually resistance should only be set for flesh
1936 items in a monster's inventory.
1937 </attribute>
1938 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
1939 Resistances on flesh items make them more durable against spellcraft
1940 of the appropriate kind. It also allows dragon players to eventually gain
1941 resistance by eating it. Usually resistance should only be set for flesh
1942 items in a monster's inventory.
1943 </attribute>
1944 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
1945 Resistances on flesh items make them more durable against spellcraft
1946 of the appropriate kind. It also allows dragon players to eventually gain
1947 resistance by eating it. Usually resistance should only be set for flesh
1948 items in a monster's inventory.
1949 </attribute>
1950 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
1951 Resistances on flesh items make them more durable against spellcraft
1952 of the appropriate kind. It also allows dragon players to eventually gain
1953 resistance by eating it. Usually resistance should only be set for flesh
1954 items in a monster's inventory.
1955 </attribute>
1956 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
1957 Resistances on flesh items make them more durable against spellcraft
1958 of the appropriate kind. It also allows dragon players to eventually gain
1959 resistance by eating it. Usually resistance should only be set for flesh
1960 items in a monster's inventory.
1961 </attribute>
1962 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
1963 Resistances on flesh items make them more durable against spellcraft
1964 of the appropriate kind. It also allows dragon players to eventually gain
1965 resistance by eating it. Usually resistance should only be set for flesh
1966 items in a monster's inventory.
1967 </attribute>
1968 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
1969 Resistances on flesh items make them more durable against spellcraft
1970 of the appropriate kind. It also allows dragon players to eventually gain
1971 resistance by eating it. Usually resistance should only be set for flesh
1972 items in a monster's inventory.
1973 </attribute>
1974 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
1975 Resistances on flesh items make them more durable against spellcraft
1976 of the appropriate kind. It also allows dragon players to eventually gain
1977 resistance by eating it. Usually resistance should only be set for flesh
1978 items in a monster's inventory.
1979 </attribute>
1980 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
1981 Resistances on flesh items make them more durable against spellcraft
1982 of the appropriate kind. It also allows dragon players to eventually gain
1983 resistance by eating it. Usually resistance should only be set for flesh
1984 items in a monster's inventory.
1985 </attribute>
1986 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
1987 Resistances on flesh items make them more durable against spellcraft
1988 of the appropriate kind. It also allows dragon players to eventually gain
1989 resistance by eating it. Usually resistance should only be set for flesh
1990 items in a monster's inventory.
1991 </attribute>
1992 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
1993 Resistances on flesh items make them more durable against spellcraft
1994 of the appropriate kind. It also allows dragon players to eventually gain
1995 resistance by eating it. Usually resistance should only be set for flesh
1996 items in a monster's inventory.
1997 </attribute>
1998 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
1999 Resistances on flesh items make them more durable against spellcraft
2000 of the appropriate kind. It also allows dragon players to eventually gain
2001 resistance by eating it. Usually resistance should only be set for flesh
2002 items in a monster's inventory.
2003 </attribute>
2004 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
2005 Resistances on flesh items make them more durable against spellcraft
2006 of the appropriate kind. It also allows dragon players to eventually gain
2007 resistance by eating it. Usually resistance should only be set for flesh
2008 items in a monster's inventory.
2009 </attribute>
2010 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2011 RResistances on flesh items make them more durable against spellcraft
2012 of the appropriate kind. It also allows dragon players to eventually gain
2013 resistance by eating it. Usually resistance should only be set for flesh
2014 items in a monster's inventory.
2015 </attribute>
2016 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2017 Resistances on flesh items make them more durable against spellcraft
2018 of the appropriate kind. It also allows dragon players to eventually gain
2019 resistance by eating it. Usually resistance should only be set for flesh
2020 items in a monster's inventory.
2021 </attribute>
2022 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
2023 Resistances on flesh items make them more durable against spellcraft
2024 of the appropriate kind. It also allows dragon players to eventually gain
2025 resistance by eating it. Usually resistance should only be set for flesh
2026 items in a monster's inventory.
2027 </attribute>
2028</section>
2029 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2008 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2030 This text may describe the item. 2009 This text may describe the item.
2031 </attribute> 2010 </attribute>
2032</type> 2011</type>
2033 2012
2443 alchemical receipes. By themselves, they have no special 2422 alchemical receipes. By themselves, they have no special
2444 functionalities. ]]> 2423 functionalities. ]]>
2445 </description> 2424 </description>
2446 <attribute arch="is_dust" editor="is dust" type="bool"> 2425 <attribute arch="is_dust" editor="is dust" type="bool">
2447 </attribute> 2426 </attribute>
2448<section name="resistance"> 2427 &resistances_basic;
2449 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
2450 </attribute>
2451 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
2452 </attribute>
2453 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
2454 </attribute>
2455 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
2456 </attribute>
2457 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
2458 </attribute>
2459 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
2460 </attribute>
2461 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
2462 </attribute>
2463 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
2464 </attribute>
2465 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
2466 </attribute>
2467 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2468 </attribute>
2469 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2470 </attribute>
2471 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
2472 </attribute>
2473</section>
2474</type> 2428</type>
2475 2429
2476<!--####################################################################--> 2430<!--####################################################################-->
2477<type number="64" name="Inventory Checker"> 2431<type number="64" name="Inventory Checker">
2478 <ignore> 2432 <ignore>
2772 A magic wall of high &lt;armour class&gt; is less likely to get hit from 2726 A magic wall of high &lt;armour class&gt; is less likely to get hit from
2773 an opponent. &lt;armour class&gt; can be considered the "counterpiece" 2727 an opponent. &lt;armour class&gt; can be considered the "counterpiece"
2774 to &lt;weapon class&gt;. 2728 to &lt;weapon class&gt;.
2775 </attribute> 2729 </attribute>
2776</section> 2730</section>
2777<section name="resistance"> 2731&resistances_basic;
2778 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
2779 </attribute>
2780 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
2781 </attribute>
2782 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
2783 </attribute>
2784 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
2785 </attribute>
2786 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
2787 </attribute>
2788 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
2789 </attribute>
2790 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
2791 </attribute>
2792 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
2793 </attribute>
2794 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
2795 </attribute>
2796 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
2797 </attribute>
2798 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
2799 </attribute>
2800 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
2801 </attribute>
2802 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
2803 </attribute>
2804 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
2805 </attribute>
2806 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
2807 </attribute>
2808 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
2809 </attribute>
2810 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2811 </attribute>
2812 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2813 </attribute>
2814 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
2815 </attribute>
2816 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
2817 </attribute>
2818 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
2819 </attribute>
2820</section>
2821</type> 2732</type>
2822 2733
2823<!--####################################################################--> 2734<!--####################################################################-->
2824<type number="55" name="Marker"> 2735<type number="55" name="Marker">
2825 <ignore> 2736 <ignore>
3030 If a monster has something in the inventory, this 2941 If a monster has something in the inventory, this
3031 value can be set to reflect the slowdown due to 2942 value can be set to reflect the slowdown due to
3032 the carried weight. 2943 the carried weight.
3033 </attribute> 2944 </attribute>
3034 <attribute arch="precious" editor="precious" type="bool"> 2945 <attribute arch="precious" editor="precious" type="bool">
3035 Set this flag to indicate that this monster is <i>precious</i>, i.e. 2946 Set this flag to indicate that this monster is precious, i.e.
3036 it should not be lightly destroyed. This is most useful on pets and 2947 it should not be lightly destroyed. This is most useful on pets and
3037 keeps the server from destroying them on destroy_pets/monster floors 2948 keeps the server from destroying them on destroy_pets/monster floors
3038 and will try to save them when the player logs out. 2949 and will try to save them when the player logs out.
3039 </attribute> 2950 </attribute>
3040 2951
3261 When the monster's health points drop below this percentage 3172 When the monster's health points drop below this percentage
3262 (relative to max health), it attempts to run away from the 3173 (relative to max health), it attempts to run away from the
3263 attacker. 3174 attacker.
3264 </attribute> 3175 </attribute>
3265</section> 3176</section>
3266 3177 &resistances_basic;
3267<section name="resistance">
3268 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
3269 </attribute>
3270 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
3271 </attribute>
3272 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
3273 </attribute>
3274 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
3275 </attribute>
3276 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
3277 </attribute>
3278 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
3279 </attribute>
3280 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
3281 </attribute>
3282 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
3283 </attribute>
3284 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
3285 </attribute>
3286 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
3287 </attribute>
3288 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
3289 </attribute>
3290 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
3291 </attribute>
3292 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
3293 </attribute>
3294 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
3295 </attribute>
3296 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
3297 </attribute>
3298 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
3299 </attribute>
3300 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
3301 </attribute>
3302 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
3303 </attribute>
3304 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
3305 </attribute>
3306 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
3307 </attribute>
3308 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
3309 </attribute>
3310</section>
3311 <attribute arch_begin="msg" arch_end="endmsg" editor="npc message" type="text"> 3178 <attribute arch_begin="msg" arch_end="endmsg" editor="npc message" type="text">
3312 </attribute> 3179 </attribute>
3313</type> 3180</type>
3314 3181
3315<!--####################################################################--> 3182<!--####################################################################-->
3320 <attribute arch="name_pl" /> 3187 <attribute arch="name_pl" />
3321 <attribute arch="nrof" /> 3188 <attribute arch="nrof" />
3322 <attribute arch="value" /> 3189 <attribute arch="value" />
3323 <attribute arch="unpaid" /> 3190 <attribute arch="unpaid" />
3324 </ignore> 3191 </ignore>
3325 <description><![CDATA[ 3192 <description>
3326 A grimreaper is a monster that vanishes after it did some number of 3193 A grimreaper is a monster that vanishes after it did some number of
3327 draining attacks. ]]> <!-- XXX: is this ok? --> 3194 draining attacks.
3328 </description> 3195 </description>
3329<section name="grimreaper"> 3196<section name="grimreaper">
3330 <attribute arch="value" editor="attacks" type="int"> 3197 <attribute arch="value" editor="attacks" type="int">
3331 The object vanishes after this number of draining attacks. 3198 The object vanishes after this number of draining attacks.
3332 </attribute> 3199 </attribute>
3605 </attribute> 3472 </attribute>
3606 <attribute arch="startequip" editor="godgiven item" type="bool"> 3473 <attribute arch="startequip" editor="godgiven item" type="bool">
3607 A godgiven item vanishes as soon as the player 3474 A godgiven item vanishes as soon as the player
3608 drops it to the ground. 3475 drops it to the ground.
3609 </attribute> 3476 </attribute>
3610<section name="stats"> 3477 &player_stat_resist_sections;
3611 <attribute arch="Str" editor="strength" type="int">
3612 The player's strentgh will rise/fall by the given value for permanent
3613 (of course there is an upper limit). Generally there shouldn't be stat
3614 potions granting more than one stat. Cursed potions will subtract the
3615 stats if positive.
3616 </attribute>
3617 <attribute arch="Dex" editor="dexterity" type="int">
3618 The player's dexterity will rise/fall by the given value for permanent
3619 (of course there is an upper limit). Generally there shouldn't be stat
3620 potions granting more than one stat. Cursed potions will subtract the
3621 stats if positive.
3622 </attribute>
3623 <attribute arch="Con" editor="constitution" type="int">
3624 The player's constitution will rise/fall by the given value for permanent
3625 (of course there is an upper limit). Generally there shouldn't be stat
3626 potions granting more than one stat. Cursed potions will subtract the
3627 stats if positive.
3628 </attribute>
3629 <attribute arch="Int" editor="intelligence" type="int">
3630 The player's intelligence will rise/fall by the given value for permanent
3631 (of course there is an upper limit). Generally there shouldn't be stat
3632 potions granting more than one stat. Cursed potions will subtract the
3633 stats if positive.
3634 </attribute>
3635 <attribute arch="Pow" editor="power" type="int">
3636 The player's power will rise/fall by the given value for permanent
3637 (of course there is an upper limit). Generally there shouldn't be stat
3638 potions granting more than one stat. Cursed potions will subtract the
3639 stats if positive.
3640 </attribute>
3641 <attribute arch="Wis" editor="wisdom" type="int">
3642 The player's wisdom will rise/fall by the given value for permanent
3643 (of course there is an upper limit). Generally there shouldn't be stat
3644 potions granting more than one stat. Cursed potions will subtract the
3645 stats if positive.
3646 </attribute>
3647 <attribute arch="Cha" editor="charisma" type="int">
3648 The player's charisma will rise/fall by the given value for permanent
3649 (of course there is an upper limit). Generally there shouldn't be stat
3650 potions granting more than one stat. Cursed potions will subtract the
3651 stats if positive.
3652 </attribute>
3653</section>
3654<section name="resistance">
3655 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
3656 The player's resistance to physical will rise by this value in percent
3657 (range -100 till +100). The effect is only temporare, and it does NOT
3658 add on the values from the player's equipment.
3659 Cursed potions will make negative resistance.. very nasty in combat!
3660 </attribute>
3661 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
3662 The player's resistance to magic will rise by this value in percent
3663 (range -100 till +100). The effect is only temporare, and it does NOT
3664 add on the values from the player's equipment.
3665 Cursed potions will make negative resistance.. very nasty in combat!
3666 </attribute>
3667 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
3668 The player's resistance to fire will rise by this value in percent
3669 (range -100 till +100). The effect is only temporare, and it does NOT
3670 add on the values from the player's equipment.
3671 Cursed potions will make negative resistance.. very nasty in combat!
3672 </attribute>
3673 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
3674 The player's resistance to electricity will rise by this value in percent
3675 (range -100 till +100). The effect is only temporare, and it does NOT
3676 add on the values from the player's equipment.
3677 Cursed potions will make negative resistance.. very nasty in combat!
3678 </attribute>
3679 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
3680 The player's resistance to cold will rise by this value in percent
3681 (range -100 till +100). The effect is only temporare, and it does NOT
3682 add on the values from the player's equipment.
3683 Cursed potions will make negative resistance.. very nasty in combat!
3684 </attribute>
3685 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
3686 The player's resistance to acid will rise by this value in percent
3687 (range -100 till +100). The effect is only temporare, and it does NOT
3688 add on the values from the player's equipment.
3689 Cursed potions will make negative resistance.. very nasty in combat!
3690 </attribute>
3691 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
3692 The player's resistance to confusion will rise by this value in percent
3693 (range -100 till +100). The effect is only temporare, and it does NOT
3694 add on the values from the player's equipment.
3695 Cursed potions will make negative resistance.. very nasty in combat!
3696 </attribute>
3697 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
3698 The player's resistance to weaponmagic will rise by this value in percent
3699 (range -100 till +100). The effect is only temporare, and it does NOT
3700 add on the values from the player's equipment.
3701 Cursed potions will make negative resistance.. very nasty in combat!
3702 </attribute>
3703 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
3704 The player's resistance to paralyze will rise by this value in percent
3705 (range -100 till +100). The effect is only temporare, and it does NOT
3706 add on the values from the player's equipment.
3707 Cursed potions will make negative resistance.. very nasty in combat!
3708 </attribute>
3709 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
3710 The player's resistance to draining will rise by this value in percent
3711 (range -100 till +100). The effect is only temporare, and it does NOT
3712 add on the values from the player's equipment.
3713 Cursed potions will make negative resistance.. very nasty in combat!
3714 </attribute>
3715 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
3716 The player's resistance to depletion will rise by this value in percent
3717 (range -100 till +100). The effect is only temporare, and it does NOT
3718 add on the values from the player's equipment.
3719 Cursed potions will make negative resistance.. very nasty in combat!
3720 </attribute>
3721 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
3722 The player's resistance to poison will rise by this value in percent
3723 (range -100 till +100). The effect is only temporare, and it does NOT
3724 add on the values from the player's equipment.
3725 Cursed potions will make negative resistance.. very nasty in combat!
3726 </attribute>
3727</section>
3728</type> 3478</type>
3729 3479
3730<!--####################################################################--> 3480<!--####################################################################-->
3731<type number="156" name="Power Crystal"> 3481<type number="156" name="Power Crystal">
3732 <description><![CDATA[ 3482 <description><![CDATA[
4001 It is absolutely neccessary that a place with savebeds is 100% secure. 3751 It is absolutely neccessary that a place with savebeds is 100% secure.
4002 That means: 3752 That means:
4003 <UL> 3753 <UL>
4004 <LI> Monsters must not be able to reach the savebeds under any circumstances! 3754 <LI> Monsters must not be able to reach the savebeds under any circumstances!
4005 <LI> If there are NPCs around, make sure they have the friendly-flag set. 3755 <LI> If there are NPCs around, make sure they have the friendly-flag set.
4006 <LI> Insert a relyable exit! Make sure there is no possibility that 3756 <LI> Insert a reliable exit! Make sure there is no possibility that
4007 players get trapped in a savebed location. 3757 players get trapped in a savebed location.
4008 <LI> If possible, mark the whole site as no-spell area (Insert this 3758 <LI> If possible, mark the whole site as no-spell area (Insert this
4009 arch called "dungeon_magic" everywhere). This is not required, 3759 arch called "dungeon_magic" everywhere). This is not required,
4010 but it makes the place much more safe. 3760 but it makes the place much more safe.
4011 </UL> ]]> 3761 </UL> ]]>
4773 and generally have either a physical attack or trigger a reaction. 4523 and generally have either a physical attack or trigger a reaction.
4774 <br><br> 4524 <br><br>
4775 Traps hit any monster or person who steps on them for 'dam' damage in 4525 Traps hit any monster or person who steps on them for 'dam' damage in
4776 'attacktype' attacktype and/or trigger a reaction. 4526 'attacktype' attacktype and/or trigger a reaction.
4777 <br><br> 4527 <br><br>
4778 Many traps are already defined in the archetypes. ]]> 4528 Many traps are already defined in the archetypes.]]>
4779 </description> 4529 </description>
4780 <use><![CDATA[ 4530 <use><![CDATA[
4781 Avoid monsters stepping on your traps. For example, a party of orcs setting 4531 Avoid monsters stepping on your traps. For example, a party of orcs setting
4782off your lightning wall and pit trap is usually a bad idea. ]]> 4532 off your lightning wall and pit trap is usually a bad idea.]]>
4783 </use> 4533 </use>
4784 <attribute arch="no_pick" value="1" type="fixed" /> 4534 <attribute arch="no_pick" value="1" type="fixed" />
4785 &move_on; 4535 &move_on;
4786 <attribute arch="level" editor="trap level" type="int"> 4536 <attribute arch="level" editor="trap level" type="int">
4787 Level effects how easily a trap may be found and disarmed, and 4537 Level effects how easily a trap may be found and disarmed, and
5084 </attribute> 4834 </attribute>
5085 <attribute arch="ac" editor="armour class" type="int"> 4835 <attribute arch="ac" editor="armour class" type="int">
5086 Weak walls of high &lt;armour class&gt; are less likely to get hit. 4836 Weak walls of high &lt;armour class&gt; are less likely to get hit.
5087 &lt;armour class&gt; can be considered the "counterpiece" to &lt;weapon class&gt;. 4837 &lt;armour class&gt; can be considered the "counterpiece" to &lt;weapon class&gt;.
5088 </attribute> 4838 </attribute>
5089<section name="resistance"> 4839 &resistances_basic;
5090 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
5091 </attribute>
5092 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
5093 </attribute>
5094 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
5095 </attribute>
5096 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
5097 </attribute>
5098 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
5099 </attribute>
5100 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
5101 </attribute>
5102 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
5103 </attribute>
5104 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
5105 </attribute>
5106 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
5107 </attribute>
5108 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
5109 </attribute>
5110 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
5111 </attribute>
5112 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
5113 </attribute>
5114 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
5115 </attribute>
5116 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
5117 </attribute>
5118 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
5119 </attribute>
5120 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
5121 </attribute>
5122 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
5123 </attribute>
5124 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
5125 </attribute>
5126 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
5127 </attribute>
5128 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
5129 </attribute>
5130 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
5131 </attribute>
5132</section>
5133</type> 4840</type>
5134 4841
5135<!--####################################################################--> 4842<!--####################################################################-->
5136<type number="15" name="Weapon"> 4843<type number="15" name="Weapon">
5137 <description><![CDATA[ 4844 <description><![CDATA[
5235 </attribute> 4942 </attribute>
5236 <attribute arch="startequip" editor="godgiven item" type="bool"> 4943 <attribute arch="startequip" editor="godgiven item" type="bool">
5237 A godgiven item vanishes as soon as the player 4944 A godgiven item vanishes as soon as the player
5238 drops it to the ground. 4945 drops it to the ground.
5239 </attribute> 4946 </attribute>
5240<section name="resistance"> 4947 &player_stat_resist_sections;
5241 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
5242 This adds physical resistance to the weapon (= armour value). The number is
5243 a percent-value in the range 0-100. Treat this with CARE. Look at other maps
5244 and what they require to do for getting this-and-that artifact.
5245 </attribute>
5246 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
5247 This adds magic resistance to the weapon. The number is a percent-value in
5248 the range 0-100. Treat this with CARE. Look at other maps and what they
5249 require to do for getting this-and-that artifact.
5250 </attribute>
5251 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
5252 This adds fire resistance to the weapon. The number is a percent-value in
5253 the range 0-100. Treat this with CARE. Look at other maps and what they
5254 require to do for getting this-and-that artifact.
5255 </attribute>
5256 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
5257 This adds electricity resistance to the weapon. The number is a percent-value in
5258 the range 0-100. Treat this with CARE. Look at other maps and what they
5259 require to do for getting this-and-that artifact.
5260 </attribute>
5261 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
5262 This adds fire resistance to the weapon. The number is a percent-value in
5263 the range 0-100. Treat this with CARE. Look at other maps and what they
5264 require to do for getting this-and-that artifact.
5265 </attribute>
5266 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
5267 This adds confusion resistance to the weapon. The number is a percent-value in
5268 the range 0-100. Confusion resistance is not very effective
5269 unless the value comes close to 100 (= perfect immunity).
5270 </attribute>
5271 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
5272 This adds acid resistance to the weapon. The number is a percent-value in
5273 the range 0-100. Treat this with CARE. Look at other maps and what they
5274 require to do for getting this-and-that artifact.
5275 </attribute>
5276 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
5277 This adds draining resistance to the weapon. The number is a percent-value
5278 in the range 0-100. Draining resistance is little effective
5279 unless the value is 100 (= perfect immunity).
5280 </attribute>
5281 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
5282 This adds weaponmagic resistance to the weapon. The number is a percent-value in
5283 the range 0-100. Weaponmagic resistance generally should not exist on
5284 equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell)
5285 are not meant to be easily resisted.
5286 </attribute>
5287 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
5288 This adds ghosthit resistance to the weapon. The number is a percent-value
5289 in the range 0-100. Treat this with CARE. Look at other maps and what they
5290 require to do for getting this-and-that artifact.
5291 </attribute>
5292 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
5293 This adds poison resistance to the weapon. The number is a percent-value in
5294 the range 0-100. Treat this with CARE. Look at other maps and what they
5295 require to do for getting this-and-that artifact.
5296 </attribute>
5297 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
5298 This adds fear resistance to the weapon. The number is a percent-value in
5299 the range 0-100. Resistance to fear is pretty useless.
5300 </attribute>
5301 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
5302 This adds paralyze resistance to the weapon. The number is a percent-value in
5303 the range 0-100. Paralyze resistance is little effective
5304 unless the value is 100 (= perfect immunity).
5305 </attribute>
5306 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
5307 This adds fear resistance to the weapon. The number is a percent-value in
5308 the range 0-100. Resistance to fear is pretty useless.
5309 </attribute>
5310 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
5311 This adds depletion resistance to the weapon. The number is a percent-value
5312 in the range 0-100. Depletion resistance is little effective
5313 unless the value is 100 (= perfect immunity).
5314 </attribute>
5315 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
5316 This adds death-attack resistance to the weapon. The number is a
5317 percent-value in the range 0-100. Death-attack resistance is little
5318 effective unless the value is 100 (= perfect immunity).
5319 Generally, resistance to death-attack is not supposed to be
5320 available to players!
5321 </attribute>
5322 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
5323 This adds chaos resistance to the weapon. The number is a percent-value in
5324 the range 0-100. Treat this with CARE. Look at other maps and what they
5325 require to do for getting this-and-that artifact.
5326 Note that chaos is not a stand-alone attacktype. Chaos "contains" a
5327 combination of other attacktypes.
5328 </attribute>
5329 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
5330 This adds blinding resistance to the weapon. The number is a percent-value
5331 in the range 0-100. Treat this with CARE. Look at other maps and what they
5332 require to do for getting this-and-that artifact.
5333 </attribute>
5334 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
5335 This adds holy power resistance to the weapon. The number is a percent-value
5336 in the range 0-100. Holy power is the attacktype that holyword-type spells
5337 use to hurt undead creatures. This kind of resistance is only reasonable
5338 for undead players (wraith or devourer cult).
5339 Generally, resistance to holy word should not be available for players.
5340 </attribute>
5341</section>
5342<section name="stats">
5343 <attribute arch="Str" editor="strength" type="int">
5344 The player's strentgh will rise/fall by the given value
5345 while wearing this weapon.
5346 </attribute>
5347 <attribute arch="Dex" editor="dexterity" type="int">
5348 The player's dexterity will rise/fall by the given value
5349 while wearing this weapon.
5350 </attribute>
5351 <attribute arch="Con" editor="constitution" type="int">
5352 The player's constitution will rise/fall by the given value
5353 while wearing this weapon.
5354 </attribute>
5355 <attribute arch="Int" editor="intelligence" type="int">
5356 The player's intelligence will rise/fall by the given value
5357 while wearing this weapon.
5358 </attribute>
5359 <attribute arch="Pow" editor="power" type="int">
5360 The player's power will rise/fall by the given value
5361 while wearing this weapon.
5362 </attribute>
5363 <attribute arch="Wis" editor="wisdom" type="int">
5364 The player's wisdom will rise/fall by the given value while
5365 wearing this weapon.
5366 </attribute>
5367 <attribute arch="Cha" editor="charisma" type="int">
5368 The player's charisma will rise/fall by the given value
5369 while wearing this weapon.
5370 </attribute>
5371</section>
5372<section name="misc"> 4948<section name="misc">
5373 <attribute arch="luck" editor="luck bonus" type="int"> 4949 <attribute arch="luck" editor="luck bonus" type="int">
5374 With positive luck bonus, the player is more likely to 4950 With positive luck bonus, the player is more likely to
5375 succeed in all sorts of things (spellcasting, praying,...). 4951 succeed in all sorts of things (spellcasting, praying,...).
5376 Unless the &lt;luck bonus&gt; is very high, the effect will be 4952 Unless the &lt;luck bonus&gt; is very high, the effect will be

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines