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.45 by root, Thu Jan 8 03:05:17 2009 UTC vs.
Revision 1.51 by root, Mon Oct 12 02:58:49 2009 UTC

349 &player_res_desc; 349 &player_res_desc;
350 </attribute> 350 </attribute>
351 </section> 351 </section>
352 "> 352 ">
353 353
354 <!ENTITY match_compat "
355 If the string starts with 'match ', then it is interpreted
356 as a match expression (e.g. 'match type=POTION', or 'match type=SPELL
357 in applied type=CONTAINER in inv in originator'). For details, see
358 http://pod.tst.eu/http://cvs.schmorp.de/deliantra/server/lib/cf/match.pm
359 ">
354]> 360]>
355 361
356<types> 362<types>
357 363
358<!--###################### bitmask definitions ######################--> 364<!--###################### bitmask definitions ######################-->
674 usually inevitable. 680 usually inevitable.
675 </attribute> 681 </attribute>
676 <attribute arch="glow_radius" editor="glow radius" type="int"> 682 <attribute arch="glow_radius" editor="glow radius" type="int">
677 If &lt;glow radius&gt; is set to a value greater zero, the object 683 If &lt;glow radius&gt; is set to a value greater zero, the object
678 appears lit up on dark maps. &lt;glow radius&gt; can be a value 684 appears lit up on dark maps. &lt;glow radius&gt; can be a value
679 between 0 and 4, the higher, the more light does the object emit. 685 between 0 and 9, the higher, the more light does the object emit.
680 </attribute> 686 </attribute>
681 <attribute arch="material" editor="material" type="bitmask_material"> 687 <attribute arch="material" editor="material" type="bitmask_material">
682 This bitmask-value informs the player of which material(s) the 688 This bitmask-value informs the player of which material(s) the
683 object consists. Material does also affect how likely the object 689 object consists. Material does also affect how likely the object
684 can be destroyed by hazardous spell-effects. 690 can be destroyed by hazardous spell-effects.
692 Putting an invisible object under the floor always prevents it from being 698 Putting an invisible object under the floor always prevents it from being
693 shown. 699 shown.
694 </attribute> 700 </attribute>
695 <attribute arch="blocksview" editor="block view" type="bool"> 701 <attribute arch="blocksview" editor="block view" type="bool">
696 If an item is set to block view, players (and monsters) cannot 702 If an item is set to block view, players (and monsters) cannot
697 see byond it unless they cross it or manage to stand ontop. 703 see beyond it unless they cross it or manage to stand ontop.
698 </attribute> 704 </attribute>
699 <attribute arch="identified" editor="identified" type="bool"> 705 <attribute arch="identified" editor="identified" type="bool">
700 If an item is identified, the player has full knowledge about it. 706 If an item is identified, the player has full knowledge about it.
701 </attribute> 707 </attribute>
702 <attribute arch="unpaid" editor="unpaid" type="bool"> 708 <attribute arch="unpaid" editor="unpaid" type="bool">
843 Note that non-magical abilities are more dangerous because 849 Note that non-magical abilities are more dangerous because
844 magic resistance does not protect from those.</attribute> 850 magic resistance does not protect from those.</attribute>
845</type> 851</type>
846 852
847<!--####################################################################--> 853<!--####################################################################-->
854
855<type number="81" name="Torch">
856 <description><![CDATA[
857 Torches are a special kind of Lamp, they are worn out by repeatedly
858 lightening them up (when the is_lightable flag is set) and otherwise
859 they can only be used once.]]>
860 </description>
861 <attribute arch="food" editor="burning duration" type="int">
862 This field specifies the burning duration of the torch.
863 </attribute>
864 <attribute arch="range" editor="enabled glow radius" type="int">
865 This field sets the glow radius of the torch if it is enabled.
866 If you want to make a torch that is already burning set the
867 "glow radius" field.
868 </attribute>
869 <attribute arch="level" editor="level" type="int">
870 If this field specyfies the cursed effect's level. If it is
871 0 no cursed effect will be generate. See also the "cursed" flag.
872 </attribute>
873 <attribute arch="cursed" editor="cursed" type="bool">
874 Cursed torches, which have a level above 0, explode if the
875 player applies them.
876 </attribute>
877</type>
878
879<type number="82" name="Lamp">
880 <description><![CDATA[
881 Lamps are carryable light sources for players with a fuel tank.]]>
882 </description>
883 <attribute arch="speed" editor="burn speed" type="float">
884 This field is the speed of the lamp. (If the value 0.00208 is given
885 here the fuel field will specify the burning duration in minutes.)
886 </attribute>
887 <attribute arch="food" editor="fuel" type="int">
888 This field sets the burning duration of the lamp, which depends on the speed
889 field of this object.
890 </attribute>
891 <attribute arch="range" editor="enabled glow radius" type="int">
892 This field sets the glow radius of the lamp if it is enabled.
893 If you want to make a lamp that is already burning set the
894 "glow radius" field.
895 </attribute>
896 <attribute arch="level" editor="level" type="int">
897 If this field specyfies the cursed effect's level. If it is
898 0 no cursed effect will be generate. See also the "cursed" flag.
899 </attribute>
900 <attribute arch="cursed" editor="cursed" type="bool">
901 Cursed lamps, which have a level above 0, explode if the
902 player applies them.
903 </attribute>
904</type>
905
906<!--####################################################################-->
848<type number="18" name="Altar"> 907<type number="18" name="Altar">
849 <ignore> 908 <ignore>
850 <ignore_list name="non_pickable" /> 909 <ignore_list name="non_pickable" />
851 </ignore> 910 </ignore>
852 <description><![CDATA[ 911 <description><![CDATA[
861 This string specifies the item that must be put on the altar to 920 This string specifies the item that must be put on the altar to
862 activate it. It can either be the name of an archetype, or directly 921 activate it. It can either be the name of an archetype, or directly
863 the name of an object. Yet, titles are not recognized by altars. 922 the name of an object. Yet, titles are not recognized by altars.
864 If you want the player to have to drop a specific amount of money use "money". 923 If you want the player to have to drop a specific amount of money use "money".
865 See also the "drop amount" attribute. 924 See also the "drop amount" attribute.
925 &match_compat;
866 </attribute> 926 </attribute>
867 <attribute arch="food" editor="drop amount" type="int"> 927 <attribute arch="food" editor="drop amount" type="int">
868 The drop amount specifies the amount of items (specified 928 The drop amount specifies the amount of items (specified
869 in &lt;match item name&gt;) that must be dropped to activate the altar. 929 in &lt;match item name&gt;) that must be dropped to activate the altar.
870 930
916 This string specifies the item that must be put on the altar to 976 This string specifies the item that must be put on the altar to
917 activate it. It can either be the name of an archetype, or directly 977 activate it. It can either be the name of an archetype, or directly
918 the name of an object. Yet, titles are not recognized by altars. 978 the name of an object. Yet, titles are not recognized by altars.
919 If you want the player to have to drop a specific amount of money use "money". 979 If you want the player to have to drop a specific amount of money use "money".
920 See also the "drop amount" attribute. 980 See also the "drop amount" attribute.
981 &match_compat;
921 </attribute> 982 </attribute>
922 <attribute arch="food" editor="drop amount" type="int"> 983 <attribute arch="food" editor="drop amount" type="int">
923 The drop amount specifies the amount of items (specified 984 The drop amount specifies the amount of items (specified
924 in &lt;match item name&gt;) that must be dropped to activate the altar. 985 in &lt;match item name&gt;) that must be dropped to activate the altar.
925 986
1225 item with by using a skill. 1286 item with by using a skill.
1226 </attribute> 1287 </attribute>
1227</type> 1288</type>
1228 1289
1229<!--####################################################################--> 1290<!--####################################################################-->
1291<type number="110" name="Inscribable">
1292 <description><![CDATA[
1293 Inscribable Item - when inscribed, it becomes another object.]]>
1294 </description>
1295 <attribute arch="startequip" editor="godgiven item" type="bool">
1296 A godgiven item vanishes as soon as the player
1297 drops it to the ground.
1298 </attribute>
1299 <attribute arch="unique" editor="unique item" type="bool">
1300 Unique items exist only one time on a server. If the item
1301 is taken, lost or destroyed - it's gone for good.
1302 </attribute>
1303 <attribute arch="other_arch" editor="book/scroll arch" type="string">
1304 This is the item created after being inscribed - scrolls are treated
1305 like spell scrolls, all else will have it's message replaced.
1306 </attribute>
1307</type>
1308
1309<!--####################################################################-->
1230<type number="99" name="Boots"> 1310<type number="99" name="Boots">
1231 <import_type name="Amulet" /> 1311 <import_type name="Amulet" />
1232 <description><![CDATA[ 1312 <description><![CDATA[
1233 Wearing boots, the object's stats will directly be inherited to 1313 Wearing boots, the object's stats will directly be inherited to
1234 the player. Usually enhancing his speed, or granting some minor 1314 the player. Usually enhancing his speed, or granting some minor
1608 Detectors work quite much like inv. checkers/pedestals: If the detector 1688 Detectors work quite much like inv. checkers/pedestals: If the detector
1609 finds a specific object, it toggles its connected value. 1689 finds a specific object, it toggles its connected value.
1610 <br><br> 1690 <br><br>
1611 What is "unique" about them, compared to inv. checkers/ pedestals? 1691 What is "unique" about them, compared to inv. checkers/ pedestals?
1612 - First, detectors check their square for a match periodically, not 1692 - First, detectors check their square for a match periodically, not
1693 instantly, so generate much higher server load
1613 instantly. Second, detectors check directly for object names. Third, 1694 Second, detectors check directly for object names. Third,
1614 detectors do not check the inventory of players/monsters.]]> 1695 detectors do not check the inventory of players/monsters.]]>
1615 </description> 1696 </description>
1616 <use><![CDATA[ 1697 <use>
1617 There is one major speciality about detectors: You can detect spells 1698 Best avoid this type at all costs, use a pedestal instead.
1618 blown over a detector! To detect a lighting bolt for example, set
1619 "slaying ligthing" and "speed 1.0". In combination with spellcasting
1620 walls, this can be very useful for map-mechanisms.]]>
1621 </use> 1699 </use>
1622 <attribute arch="no_pick" value="1" type="fixed" /> 1700 <attribute arch="no_pick" value="1" type="fixed" />
1623 <attribute arch="slaying" editor="match name" type="string"> 1701 <attribute arch="slaying" editor="match name" type="string">
1624 &lt;match name&gt; specifies the name of the object we are looking for. 1702 &lt;match name&gt; specifies the name of the object we are looking for.
1625 Actually it does also check for the &lt;key string&gt; in key-objects, 1703 Actually it does also check for the &lt;key string&gt; in key-objects,
2074 If enabled, it is impossible for players to use prayers 2152 If enabled, it is impossible for players to use prayers
2075 on that spot. It also prevents players from saving. 2153 on that spot. It also prevents players from saving.
2076 </attribute> 2154 </attribute>
2077 <attribute arch="unique" editor="unique map" type="bool"> 2155 <attribute arch="unique" editor="unique map" type="bool">
2078 Unique floor means that any items dropped on that spot 2156 Unique floor means that any items dropped on that spot
2079 will be saved byond map reset. For permanent apartments, 2157 will be saved beyond map reset. For permanent apartments,
2080 all floor tiles must be set &lt;unique map&gt;. 2158 all floor tiles must be set &lt;unique map&gt;.
2081 </attribute> 2159 </attribute>
2082 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2160 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2083 This text may describe the object. 2161 This text may describe the object.
2084 </attribute> 2162 </attribute>
2118 If enabled, it is impossible for players to use prayers 2196 If enabled, it is impossible for players to use prayers
2119 on that spot. It also prevents players from saving. 2197 on that spot. It also prevents players from saving.
2120 </attribute> 2198 </attribute>
2121 <attribute arch="unique" editor="unique map" type="bool"> 2199 <attribute arch="unique" editor="unique map" type="bool">
2122 Unique floor means that any items dropped on that spot 2200 Unique floor means that any items dropped on that spot
2123 will be saved byond map reset. For permanent apartments, 2201 will be saved beyond map reset. For permanent apartments,
2124 all floor tiles must be set &lt;unique map&gt;. 2202 all floor tiles must be set &lt;unique map&gt;.
2125 </attribute> 2203 </attribute>
2126 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> 2204 <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text">
2127 This text may describe the object. 2205 This text may describe the object.
2128 </attribute> 2206 </attribute>
2337 If enabled, it is impossible for players to use prayers 2415 If enabled, it is impossible for players to use prayers
2338 on that spot. It also prevents players from saving. 2416 on that spot. It also prevents players from saving.
2339 </attribute> 2417 </attribute>
2340 <attribute arch="unique" editor="unique map" type="bool"> 2418 <attribute arch="unique" editor="unique map" type="bool">
2341 Unique floor means that any items dropped on that spot 2419 Unique floor means that any items dropped on that spot
2342 will be saved byond map reset. For permanent apartments, 2420 will be saved beyond map reset. For permanent apartments,
2343 all floor tiles must be set &lt;unique map&gt;. 2421 all floor tiles must be set &lt;unique map&gt;.
2344 </attribute> 2422 </attribute>
2345</type> 2423</type>
2346 2424
2347<!--####################################################################--> 2425<!--####################################################################-->
2372<type number="56" name="Holy Altar"> 2450<type number="56" name="Holy Altar">
2373 <ignore> 2451 <ignore>
2374 <ignore_list name="non_pickable" /> 2452 <ignore_list name="non_pickable" />
2375 </ignore> 2453 </ignore>
2376 <description><![CDATA[ 2454 <description><![CDATA[
2377 Holy_altars are altars for the various religions. Praying 2455 Holy Altars are altars for the various religions. Praying
2378 at a Holy_altar will make you a follower of that god, and 2456 at a Holy_altar will make you a follower of that god, and
2379 if you already follow that god, you may get some extra bonus.]]> 2457 if you already follow that god, you may get some extra bonus.]]>
2380 </description> 2458 </description>
2381 <attribute arch="no_pick" value="1" type="fixed" /> 2459 <attribute arch="no_pick" value="1" type="fixed" />
2382 <attribute arch="other_arch" editor="god name" type="string"> 2460 <attribute arch="other_arch" editor="god name" type="string">
3404 place where only fireborns can enter, by setting "slaying unnatural". 3482 place where only fireborns can enter, by setting "slaying unnatural".
3405 3483
3406 If it is set to "player", any player stepping on the pedestal 3484 If it is set to "player", any player stepping on the pedestal
3407 is a match. Very useful if you want to open a gate for players 3485 is a match. Very useful if you want to open a gate for players
3408 but not for monsters. 3486 but not for monsters.
3487
3488 &match_compat;
3409 </attribute> 3489 </attribute>
3410 <attribute arch="connected" editor="connection" type="string"> 3490 <attribute arch="connected" editor="connection" type="string">
3411 When the pedestal is triggered, all objects with the same 3491 When the pedestal is triggered, all objects with the same
3412 connection value get activated. 3492 connection value get activated.
3413 </attribute> 3493 </attribute>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines