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.25 by root, Sat Jul 14 13:29:05 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">
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="damned" editor="set savebed" type="bool"> 1963 <attribute arch="damned" editor="set savebed" type="bool">
1869 If set, then players using this exit will have their savebed position 1964 If set, then players using this exit will have their savebed position
1870 set to the destination of the exit, when used. 1965 set to the destination of the exit when passing through.
1871 </attribute> 1966 </attribute>
1872</type> 1967</type>
1873 1968
1874<!--####################################################################--> 1969<!--####################################################################-->
1875<type number="72" name="Flesh"> 1970<type number="72" name="Flesh">
1907 </attribute> 2002 </attribute>
1908 <attribute arch="startequip" editor="godgiven item" type="bool"> 2003 <attribute arch="startequip" editor="godgiven item" type="bool">
1909 A godgiven item vanishes as soon as the player 2004 A godgiven item vanishes as soon as the player
1910 drops it to the ground. 2005 drops it to the ground.
1911 </attribute> 2006 </attribute>
1912<section name="resistance"> 2007 &resistances_flesh_section;
1913 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
1914 Resistances on flesh items make them more durable against spellcraft
1915 of the appropriate kind. It also allows dragon players to eventually gain
1916 resistance by eating it. Usually resistance should only be set for flesh
1917 items in a monster's inventory.
1918 </attribute>
1919 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
1920 Resistances on flesh items make them more durable against spellcraft
1921 of the appropriate kind. It also allows dragon players to eventually gain
1922 resistance by eating it. Usually resistance should only be set for flesh
1923 items in a monster's inventory.
1924 </attribute>
1925 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
1926 Resistances on flesh items make them more durable against spellcraft
1927 of the appropriate kind. It also allows dragon players to eventually gain
1928 resistance by eating it. Usually resistance should only be set for flesh
1929 items in a monster's inventory.
1930 </attribute>
1931 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
1932 Resistances on flesh items make them more durable against spellcraft
1933 of the appropriate kind. It also allows dragon players to eventually gain
1934 resistance by eating it. Usually resistance should only be set for flesh
1935 items in a monster's inventory.
1936 </attribute>
1937 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
1938 Resistances on flesh items make them more durable against spellcraft
1939 of the appropriate kind. It also allows dragon players to eventually gain
1940 resistance by eating it. Usually resistance should only be set for flesh
1941 items in a monster's inventory.
1942 </attribute>
1943 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
1944 Resistances on flesh items make them more durable against spellcraft
1945 of the appropriate kind. It also allows dragon players to eventually gain
1946 resistance by eating it. Usually resistance should only be set for flesh
1947 items in a monster's inventory.
1948 </attribute>
1949 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
1950 Resistances on flesh items make them more durable against spellcraft
1951 of the appropriate kind. It also allows dragon players to eventually gain
1952 resistance by eating it. Usually resistance should only be set for flesh
1953 items in a monster's inventory.
1954 </attribute>
1955 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
1956 Resistances on flesh items make them more durable against spellcraft
1957 of the appropriate kind. It also allows dragon players to eventually gain
1958 resistance by eating it. Usually resistance should only be set for flesh
1959 items in a monster's inventory.
1960 </attribute>
1961 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
1962 Resistances on flesh items make them more durable against spellcraft
1963 of the appropriate kind. It also allows dragon players to eventually gain
1964 resistance by eating it. Usually resistance should only be set for flesh
1965 items in a monster's inventory.
1966 </attribute>
1967 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
1968 Resistances on flesh items make them more durable against spellcraft
1969 of the appropriate kind. It also allows dragon players to eventually gain
1970 resistance by eating it. Usually resistance should only be set for flesh
1971 items in a monster's inventory.
1972 </attribute>
1973 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
1974 Resistances on flesh items make them more durable against spellcraft
1975 of the appropriate kind. It also allows dragon players to eventually gain
1976 resistance by eating it. Usually resistance should only be set for flesh
1977 items in a monster's inventory.
1978 </attribute>
1979 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
1980 Resistances on flesh items make them more durable against spellcraft
1981 of the appropriate kind. It also allows dragon players to eventually gain
1982 resistance by eating it. Usually resistance should only be set for flesh
1983 items in a monster's inventory.
1984 </attribute>
1985 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
1986 Resistances on flesh items make them more durable against spellcraft
1987 of the appropriate kind. It also allows dragon players to eventually gain
1988 resistance by eating it. Usually resistance should only be set for flesh
1989 items in a monster's inventory.
1990 </attribute>
1991 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
1992 Resistances on flesh items make them more durable against spellcraft
1993 of the appropriate kind. It also allows dragon players to eventually gain
1994 resistance by eating it. Usually resistance should only be set for flesh
1995 items in a monster's inventory.
1996 </attribute>
1997 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
1998 Resistances on flesh items make them more durable against spellcraft
1999 of the appropriate kind. It also allows dragon players to eventually gain
2000 resistance by eating it. Usually resistance should only be set for flesh
2001 items in a monster's inventory.
2002 </attribute>
2003 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2004 RResistances on flesh items make them more durable against spellcraft
2005 of the appropriate kind. It also allows dragon players to eventually gain
2006 resistance by eating it. Usually resistance should only be set for flesh
2007 items in a monster's inventory.
2008 </attribute>
2009 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2010 Resistances on flesh items make them more durable against spellcraft
2011 of the appropriate kind. It also allows dragon players to eventually gain
2012 resistance by eating it. Usually resistance should only be set for flesh
2013 items in a monster's inventory.
2014 </attribute>
2015 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
2016 Resistances on flesh items make them more durable against spellcraft
2017 of the appropriate kind. It also allows dragon players to eventually gain
2018 resistance by eating it. Usually resistance should only be set for flesh
2019 items in a monster's inventory.
2020 </attribute>
2021</section>
2022 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2008 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2023 This text may describe the item. 2009 This text may describe the item.
2024 </attribute> 2010 </attribute>
2025</type> 2011</type>
2026 2012
2436 alchemical receipes. By themselves, they have no special 2422 alchemical receipes. By themselves, they have no special
2437 functionalities. ]]> 2423 functionalities. ]]>
2438 </description> 2424 </description>
2439 <attribute arch="is_dust" editor="is dust" type="bool"> 2425 <attribute arch="is_dust" editor="is dust" type="bool">
2440 </attribute> 2426 </attribute>
2441<section name="resistance"> 2427 &resistances_basic;
2442 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
2443 </attribute>
2444 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
2445 </attribute>
2446 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
2447 </attribute>
2448 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
2449 </attribute>
2450 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
2451 </attribute>
2452 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
2453 </attribute>
2454 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
2455 </attribute>
2456 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
2457 </attribute>
2458 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
2459 </attribute>
2460 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2461 </attribute>
2462 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2463 </attribute>
2464 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
2465 </attribute>
2466</section>
2467</type> 2428</type>
2468 2429
2469<!--####################################################################--> 2430<!--####################################################################-->
2470<type number="64" name="Inventory Checker"> 2431<type number="64" name="Inventory Checker">
2471 <ignore> 2432 <ignore>
2765 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
2766 an opponent. &lt;armour class&gt; can be considered the "counterpiece" 2727 an opponent. &lt;armour class&gt; can be considered the "counterpiece"
2767 to &lt;weapon class&gt;. 2728 to &lt;weapon class&gt;.
2768 </attribute> 2729 </attribute>
2769</section> 2730</section>
2770<section name="resistance"> 2731&resistances_basic;
2771 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
2772 </attribute>
2773 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
2774 </attribute>
2775 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
2776 </attribute>
2777 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
2778 </attribute>
2779 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
2780 </attribute>
2781 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
2782 </attribute>
2783 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
2784 </attribute>
2785 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
2786 </attribute>
2787 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
2788 </attribute>
2789 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
2790 </attribute>
2791 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
2792 </attribute>
2793 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
2794 </attribute>
2795 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
2796 </attribute>
2797 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
2798 </attribute>
2799 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
2800 </attribute>
2801 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
2802 </attribute>
2803 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
2804 </attribute>
2805 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
2806 </attribute>
2807 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
2808 </attribute>
2809 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
2810 </attribute>
2811 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
2812 </attribute>
2813</section>
2814</type> 2732</type>
2815 2733
2816<!--####################################################################--> 2734<!--####################################################################-->
2817<type number="55" name="Marker"> 2735<type number="55" name="Marker">
2818 <ignore> 2736 <ignore>
3023 If a monster has something in the inventory, this 2941 If a monster has something in the inventory, this
3024 value can be set to reflect the slowdown due to 2942 value can be set to reflect the slowdown due to
3025 the carried weight. 2943 the carried weight.
3026 </attribute> 2944 </attribute>
3027 <attribute arch="precious" editor="precious" type="bool"> 2945 <attribute arch="precious" editor="precious" type="bool">
3028 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.
3029 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
3030 keeps the server from destroying them on destroy_pets/monster floors 2948 keeps the server from destroying them on destroy_pets/monster floors
3031 and will try to save them when the player logs out. 2949 and will try to save them when the player logs out.
3032 </attribute> 2950 </attribute>
3033 2951
3254 When the monster's health points drop below this percentage 3172 When the monster's health points drop below this percentage
3255 (relative to max health), it attempts to run away from the 3173 (relative to max health), it attempts to run away from the
3256 attacker. 3174 attacker.
3257 </attribute> 3175 </attribute>
3258</section> 3176</section>
3259 3177 &resistances_basic;
3260<section name="resistance">
3261 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
3262 </attribute>
3263 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
3264 </attribute>
3265 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
3266 </attribute>
3267 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
3268 </attribute>
3269 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
3270 </attribute>
3271 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
3272 </attribute>
3273 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
3274 </attribute>
3275 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
3276 </attribute>
3277 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
3278 </attribute>
3279 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
3280 </attribute>
3281 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
3282 </attribute>
3283 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
3284 </attribute>
3285 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
3286 </attribute>
3287 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
3288 </attribute>
3289 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
3290 </attribute>
3291 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
3292 </attribute>
3293 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
3294 </attribute>
3295 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
3296 </attribute>
3297 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
3298 </attribute>
3299 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
3300 </attribute>
3301 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
3302 </attribute>
3303</section>
3304 <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">
3305 </attribute> 3179 </attribute>
3306</type> 3180</type>
3307 3181
3308<!--####################################################################--> 3182<!--####################################################################-->
3313 <attribute arch="name_pl" /> 3187 <attribute arch="name_pl" />
3314 <attribute arch="nrof" /> 3188 <attribute arch="nrof" />
3315 <attribute arch="value" /> 3189 <attribute arch="value" />
3316 <attribute arch="unpaid" /> 3190 <attribute arch="unpaid" />
3317 </ignore> 3191 </ignore>
3318 <description><![CDATA[ 3192 <description>
3319 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
3320 draining attacks. ]]> <!-- XXX: is this ok? --> 3194 draining attacks.
3321 </description> 3195 </description>
3322<section name="grimreaper"> 3196<section name="grimreaper">
3323 <attribute arch="value" editor="attacks" type="int"> 3197 <attribute arch="value" editor="attacks" type="int">
3324 The object vanishes after this number of draining attacks. 3198 The object vanishes after this number of draining attacks.
3325 </attribute> 3199 </attribute>
3598 </attribute> 3472 </attribute>
3599 <attribute arch="startequip" editor="godgiven item" type="bool"> 3473 <attribute arch="startequip" editor="godgiven item" type="bool">
3600 A godgiven item vanishes as soon as the player 3474 A godgiven item vanishes as soon as the player
3601 drops it to the ground. 3475 drops it to the ground.
3602 </attribute> 3476 </attribute>
3603<section name="stats"> 3477 &player_stat_resist_sections;
3604 <attribute arch="Str" editor="strength" type="int">
3605 The player's strentgh will rise/fall by the given value for permanent
3606 (of course there is an upper limit). Generally there shouldn't be stat
3607 potions granting more than one stat. Cursed potions will subtract the
3608 stats if positive.
3609 </attribute>
3610 <attribute arch="Dex" editor="dexterity" type="int">
3611 The player's dexterity will rise/fall by the given value for permanent
3612 (of course there is an upper limit). Generally there shouldn't be stat
3613 potions granting more than one stat. Cursed potions will subtract the
3614 stats if positive.
3615 </attribute>
3616 <attribute arch="Con" editor="constitution" type="int">
3617 The player's constitution will rise/fall by the given value for permanent
3618 (of course there is an upper limit). Generally there shouldn't be stat
3619 potions granting more than one stat. Cursed potions will subtract the
3620 stats if positive.
3621 </attribute>
3622 <attribute arch="Int" editor="intelligence" type="int">
3623 The player's intelligence will rise/fall by the given value for permanent
3624 (of course there is an upper limit). Generally there shouldn't be stat
3625 potions granting more than one stat. Cursed potions will subtract the
3626 stats if positive.
3627 </attribute>
3628 <attribute arch="Pow" editor="power" type="int">
3629 The player's power will rise/fall by the given value for permanent
3630 (of course there is an upper limit). Generally there shouldn't be stat
3631 potions granting more than one stat. Cursed potions will subtract the
3632 stats if positive.
3633 </attribute>
3634 <attribute arch="Wis" editor="wisdom" type="int">
3635 The player's wisdom will rise/fall by the given value for permanent
3636 (of course there is an upper limit). Generally there shouldn't be stat
3637 potions granting more than one stat. Cursed potions will subtract the
3638 stats if positive.
3639 </attribute>
3640 <attribute arch="Cha" editor="charisma" type="int">
3641 The player's charisma will rise/fall by the given value for permanent
3642 (of course there is an upper limit). Generally there shouldn't be stat
3643 potions granting more than one stat. Cursed potions will subtract the
3644 stats if positive.
3645 </attribute>
3646</section>
3647<section name="resistance">
3648 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
3649 The player's resistance to physical will rise by this value in percent
3650 (range -100 till +100). The effect is only temporare, and it does NOT
3651 add on the values from the player's equipment.
3652 Cursed potions will make negative resistance.. very nasty in combat!
3653 </attribute>
3654 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
3655 The player's resistance to magic will rise by this value in percent
3656 (range -100 till +100). The effect is only temporare, and it does NOT
3657 add on the values from the player's equipment.
3658 Cursed potions will make negative resistance.. very nasty in combat!
3659 </attribute>
3660 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
3661 The player's resistance to fire will rise by this value in percent
3662 (range -100 till +100). The effect is only temporare, and it does NOT
3663 add on the values from the player's equipment.
3664 Cursed potions will make negative resistance.. very nasty in combat!
3665 </attribute>
3666 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
3667 The player's resistance to electricity will rise by this value in percent
3668 (range -100 till +100). The effect is only temporare, and it does NOT
3669 add on the values from the player's equipment.
3670 Cursed potions will make negative resistance.. very nasty in combat!
3671 </attribute>
3672 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
3673 The player's resistance to cold will rise by this value in percent
3674 (range -100 till +100). The effect is only temporare, and it does NOT
3675 add on the values from the player's equipment.
3676 Cursed potions will make negative resistance.. very nasty in combat!
3677 </attribute>
3678 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
3679 The player's resistance to acid will rise by this value in percent
3680 (range -100 till +100). The effect is only temporare, and it does NOT
3681 add on the values from the player's equipment.
3682 Cursed potions will make negative resistance.. very nasty in combat!
3683 </attribute>
3684 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
3685 The player's resistance to confusion will rise by this value in percent
3686 (range -100 till +100). The effect is only temporare, and it does NOT
3687 add on the values from the player's equipment.
3688 Cursed potions will make negative resistance.. very nasty in combat!
3689 </attribute>
3690 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
3691 The player's resistance to weaponmagic will rise by this value in percent
3692 (range -100 till +100). The effect is only temporare, and it does NOT
3693 add on the values from the player's equipment.
3694 Cursed potions will make negative resistance.. very nasty in combat!
3695 </attribute>
3696 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
3697 The player's resistance to paralyze will rise by this value in percent
3698 (range -100 till +100). The effect is only temporare, and it does NOT
3699 add on the values from the player's equipment.
3700 Cursed potions will make negative resistance.. very nasty in combat!
3701 </attribute>
3702 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
3703 The player's resistance to draining will rise by this value in percent
3704 (range -100 till +100). The effect is only temporare, and it does NOT
3705 add on the values from the player's equipment.
3706 Cursed potions will make negative resistance.. very nasty in combat!
3707 </attribute>
3708 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
3709 The player's resistance to depletion will rise by this value in percent
3710 (range -100 till +100). The effect is only temporare, and it does NOT
3711 add on the values from the player's equipment.
3712 Cursed potions will make negative resistance.. very nasty in combat!
3713 </attribute>
3714 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
3715 The player's resistance to poison will rise by this value in percent
3716 (range -100 till +100). The effect is only temporare, and it does NOT
3717 add on the values from the player's equipment.
3718 Cursed potions will make negative resistance.. very nasty in combat!
3719 </attribute>
3720</section>
3721</type> 3478</type>
3722 3479
3723<!--####################################################################--> 3480<!--####################################################################-->
3724<type number="156" name="Power Crystal"> 3481<type number="156" name="Power Crystal">
3725 <description><![CDATA[ 3482 <description><![CDATA[
3994 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.
3995 That means: 3752 That means:
3996 <UL> 3753 <UL>
3997 <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!
3998 <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.
3999 <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
4000 players get trapped in a savebed location. 3757 players get trapped in a savebed location.
4001 <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
4002 arch called "dungeon_magic" everywhere). This is not required, 3759 arch called "dungeon_magic" everywhere). This is not required,
4003 but it makes the place much more safe. 3760 but it makes the place much more safe.
4004 </UL> ]]> 3761 </UL> ]]>
4766 and generally have either a physical attack or trigger a reaction. 4523 and generally have either a physical attack or trigger a reaction.
4767 <br><br> 4524 <br><br>
4768 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
4769 'attacktype' attacktype and/or trigger a reaction. 4526 'attacktype' attacktype and/or trigger a reaction.
4770 <br><br> 4527 <br><br>
4771 Many traps are already defined in the archetypes. ]]> 4528 Many traps are already defined in the archetypes.]]>
4772 </description> 4529 </description>
4773 <use><![CDATA[ 4530 <use><![CDATA[
4774 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
4775off your lightning wall and pit trap is usually a bad idea. ]]> 4532 off your lightning wall and pit trap is usually a bad idea.]]>
4776 </use> 4533 </use>
4777 <attribute arch="no_pick" value="1" type="fixed" /> 4534 <attribute arch="no_pick" value="1" type="fixed" />
4778 &move_on; 4535 &move_on;
4779 <attribute arch="level" editor="trap level" type="int"> 4536 <attribute arch="level" editor="trap level" type="int">
4780 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
5077 </attribute> 4834 </attribute>
5078 <attribute arch="ac" editor="armour class" type="int"> 4835 <attribute arch="ac" editor="armour class" type="int">
5079 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.
5080 &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;.
5081 </attribute> 4838 </attribute>
5082<section name="resistance"> 4839 &resistances_basic;
5083 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
5084 </attribute>
5085 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
5086 </attribute>
5087 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
5088 </attribute>
5089 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
5090 </attribute>
5091 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
5092 </attribute>
5093 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
5094 </attribute>
5095 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
5096 </attribute>
5097 <attribute arch="resist_drain" editor="resist draining %" length="15" type="int">
5098 </attribute>
5099 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
5100 </attribute>
5101 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
5102 </attribute>
5103 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
5104 </attribute>
5105 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
5106 </attribute>
5107 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
5108 </attribute>
5109 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
5110 </attribute>
5111 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
5112 </attribute>
5113 <attribute arch="resist_turn_undead" editor="resist turn undead %" length="15" type="int">
5114 </attribute>
5115 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
5116 </attribute>
5117 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
5118 </attribute>
5119 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
5120 </attribute>
5121 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
5122 </attribute>
5123 <attribute arch="resist_godpower" editor="resist godpower %" length="15" type="int">
5124 </attribute>
5125</section>
5126</type> 4840</type>
5127 4841
5128<!--####################################################################--> 4842<!--####################################################################-->
5129<type number="15" name="Weapon"> 4843<type number="15" name="Weapon">
5130 <description><![CDATA[ 4844 <description><![CDATA[
5228 </attribute> 4942 </attribute>
5229 <attribute arch="startequip" editor="godgiven item" type="bool"> 4943 <attribute arch="startequip" editor="godgiven item" type="bool">
5230 A godgiven item vanishes as soon as the player 4944 A godgiven item vanishes as soon as the player
5231 drops it to the ground. 4945 drops it to the ground.
5232 </attribute> 4946 </attribute>
5233<section name="resistance"> 4947 &player_stat_resist_sections;
5234 <attribute arch="resist_physical" editor="resist physical %" length="15" type="int">
5235 This adds physical resistance to the weapon (= armour value). The number is
5236 a percent-value in the range 0-100. Treat this with CARE. Look at other maps
5237 and what they require to do for getting this-and-that artifact.
5238 </attribute>
5239 <attribute arch="resist_magic" editor="resist magic %" length="15" type="int">
5240 This adds magic resistance to the weapon. The number is a percent-value in
5241 the range 0-100. Treat this with CARE. Look at other maps and what they
5242 require to do for getting this-and-that artifact.
5243 </attribute>
5244 <attribute arch="resist_fire" editor="resist fire %" length="15" type="int">
5245 This adds fire resistance to the weapon. The number is a percent-value in
5246 the range 0-100. Treat this with CARE. Look at other maps and what they
5247 require to do for getting this-and-that artifact.
5248 </attribute>
5249 <attribute arch="resist_electricity" editor="resist electricity %" length="15" type="int">
5250 This adds electricity resistance to the weapon. The number is a percent-value in
5251 the range 0-100. Treat this with CARE. Look at other maps and what they
5252 require to do for getting this-and-that artifact.
5253 </attribute>
5254 <attribute arch="resist_cold" editor="resist cold %" length="15" type="int">
5255 This adds fire resistance to the weapon. The number is a percent-value in
5256 the range 0-100. Treat this with CARE. Look at other maps and what they
5257 require to do for getting this-and-that artifact.
5258 </attribute>
5259 <attribute arch="resist_confusion" editor="resist confusion %" length="15" type="int">
5260 This adds confusion resistance to the weapon. The number is a percent-value in
5261 the range 0-100. Confusion resistance is not very effective
5262 unless the value comes close to 100 (= perfect immunity).
5263 </attribute>
5264 <attribute arch="resist_acid" editor="resist acid %" length="15" type="int">
5265 This adds acid 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_drain" editor="resist draining %" length="15" type="int">
5270 This adds draining resistance to the weapon. The number is a percent-value
5271 in the range 0-100. Draining resistance is little effective
5272 unless the value is 100 (= perfect immunity).
5273 </attribute>
5274 <attribute arch="resist_weaponmagic" editor="resist weaponmagic %" length="15" type="int">
5275 This adds weaponmagic resistance to the weapon. The number is a percent-value in
5276 the range 0-100. Weaponmagic resistance generally should not exist on
5277 equipment at all. Spells/Monsters doing weaponmagic damage (e.g. comet spell)
5278 are not meant to be easily resisted.
5279 </attribute>
5280 <attribute arch="resist_ghosthit" editor="resist ghosthit %" length="15" type="int">
5281 This adds ghosthit resistance to the weapon. The number is a percent-value
5282 in the range 0-100. Treat this with CARE. Look at other maps and what they
5283 require to do for getting this-and-that artifact.
5284 </attribute>
5285 <attribute arch="resist_poison" editor="resist poison %" length="15" type="int">
5286 This adds poison resistance to the weapon. The number is a percent-value in
5287 the range 0-100. Treat this with CARE. Look at other maps and what they
5288 require to do for getting this-and-that artifact.
5289 </attribute>
5290 <attribute arch="resist_slow" editor="resist slow %" length="15" type="int">
5291 This adds fear resistance to the weapon. The number is a percent-value in
5292 the range 0-100. Resistance to fear is pretty useless.
5293 </attribute>
5294 <attribute arch="resist_paralyze" editor="resist paralyze %" length="15" type="int">
5295 This adds paralyze resistance to the weapon. The number is a percent-value in
5296 the range 0-100. Paralyze resistance is little effective
5297 unless the value is 100 (= perfect immunity).
5298 </attribute>
5299 <attribute arch="resist_fear" editor="resist fear %" length="15" type="int">
5300 This adds fear resistance to the weapon. The number is a percent-value in
5301 the range 0-100. Resistance to fear is pretty useless.
5302 </attribute>
5303 <attribute arch="resist_deplete" editor="resist depletion %" length="15" type="int">
5304 This adds depletion resistance to the weapon. The number is a percent-value
5305 in the range 0-100. Depletion resistance is little effective
5306 unless the value is 100 (= perfect immunity).
5307 </attribute>
5308 <attribute arch="resist_death" editor="resist death-attack %" length="15" type="int">
5309 This adds death-attack resistance to the weapon. The number is a
5310 percent-value in the range 0-100. Death-attack resistance is little
5311 effective unless the value is 100 (= perfect immunity).
5312 Generally, resistance to death-attack is not supposed to be
5313 available to players!
5314 </attribute>
5315 <attribute arch="resist_chaos" editor="resist chaos %" length="15" type="int">
5316 This adds chaos resistance to the weapon. The number is a percent-value in
5317 the range 0-100. Treat this with CARE. Look at other maps and what they
5318 require to do for getting this-and-that artifact.
5319 Note that chaos is not a stand-alone attacktype. Chaos "contains" a
5320 combination of other attacktypes.
5321 </attribute>
5322 <attribute arch="resist_blind" editor="resist blinding %" length="15" type="int">
5323 This adds blinding resistance to the weapon. The number is a percent-value
5324 in 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 </attribute>
5327 <attribute arch="resist_holyword" editor="resist holy power %" length="15" type="int">
5328 This adds holy power resistance to the weapon. The number is a percent-value
5329 in the range 0-100. Holy power is the attacktype that holyword-type spells
5330 use to hurt undead creatures. This kind of resistance is only reasonable
5331 for undead players (wraith or devourer cult).
5332 Generally, resistance to holy word should not be available for players.
5333 </attribute>
5334</section>
5335<section name="stats">
5336 <attribute arch="Str" editor="strength" type="int">
5337 The player's strentgh will rise/fall by the given value
5338 while wearing this weapon.
5339 </attribute>
5340 <attribute arch="Dex" editor="dexterity" type="int">
5341 The player's dexterity will rise/fall by the given value
5342 while wearing this weapon.
5343 </attribute>
5344 <attribute arch="Con" editor="constitution" type="int">
5345 The player's constitution will rise/fall by the given value
5346 while wearing this weapon.
5347 </attribute>
5348 <attribute arch="Int" editor="intelligence" type="int">
5349 The player's intelligence will rise/fall by the given value
5350 while wearing this weapon.
5351 </attribute>
5352 <attribute arch="Pow" editor="power" type="int">
5353 The player's power will rise/fall by the given value
5354 while wearing this weapon.
5355 </attribute>
5356 <attribute arch="Wis" editor="wisdom" type="int">
5357 The player's wisdom will rise/fall by the given value while
5358 wearing this weapon.
5359 </attribute>
5360 <attribute arch="Cha" editor="charisma" type="int">
5361 The player's charisma will rise/fall by the given value
5362 while wearing this weapon.
5363 </attribute>
5364</section>
5365<section name="misc"> 4948<section name="misc">
5366 <attribute arch="luck" editor="luck bonus" type="int"> 4949 <attribute arch="luck" editor="luck bonus" type="int">
5367 With positive luck bonus, the player is more likely to 4950 With positive luck bonus, the player is more likely to
5368 succeed in all sorts of things (spellcasting, praying,...). 4951 succeed in all sorts of things (spellcasting, praying,...).
5369 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