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.15 by elmex, Tue Aug 8 20:29:31 2006 UTC vs.
Revision 1.19 by elmex, Tue Aug 15 18:17:10 2006 UTC

156 than 0, the object acts/triggers/moves etc. and the value gets 156 than 0, the object acts/triggers/moves etc. and the value gets
157 decremented by 1. Otherwise, it is incremented by <speed> on 157 decremented by 1. Otherwise, it is incremented by <speed> on
158 every tick. 158 every tick.
159 </attribute> 159 </attribute>
160 "> 160 ">
161 <!ENTITY activate_on "
162 <attribute arch='activate_on_push' editor='Activate on push' type='bool'>
163 Whether the teleporter should only be activated on push.
164 </attribute>
165 <attribute arch='activate_on_release' editor='Activate on release' type='bool'>
166 Whether the teleporter should only be activated on release.
167 </attribute>
168 ">
161]> 169]>
162 170
163<types> 171<types>
164 172
165<!--###################### bitmask definitions ######################--> 173<!--###################### bitmask definitions ######################-->
400 <entry value="9" name="throw" /> 408 <entry value="9" name="throw" />
401 <entry value="10" name="trigger" /> 409 <entry value="10" name="trigger" />
402 <entry value="11" name="close" /> 410 <entry value="11" name="close" />
403 <entry value="12" name="timer" /> 411 <entry value="12" name="timer" />
404 <entry value="28" name="move" /> 412 <entry value="28" name="move" />
413 <entry value="41" name="drop_on" />
405</list> 414</list>
406 415
407<list name="attack_movement_bits_0_3"> 416<list name="attack_movement_bits_0_3">
408 <entry value="0" name="default" /> 417 <entry value="0" name="default" />
409 <entry value="1" name="attack from distance" /> 418 <entry value="1" name="attack from distance" />
1067 get teleported after they died on this battleground. 1076 get teleported after they died on this battleground.
1068 </attribute> 1077 </attribute>
1069</type> 1078</type>
1070 1079
1071<!--####################################################################--> 1080<!--####################################################################-->
1081<type number="165" name="Safe ground (CF+)">
1082 <ignore>
1083 <ignore_list name="non_pickable" />
1084 </ignore>
1085 <description><![CDATA[
1086 Safe ground is a special object that prevents any effects that might
1087 be harmful for the map, other players or items on the map.
1088 It blocks all magic and prayers, usage of alchemy, prevents potions
1089 from being used and blocks bombs from exploding.
1090 (This is a Crossfire+ feature, and might not work elsewhere)
1091 ]]>
1092 </description>
1093 <use><![CDATA[
1094 Safe ground is meant mostly for shops, it prevents any means of burning
1095 or destroying the items on this ground. Put this object below all floor tiles
1096 in your map and your shop will be safe. ]]>
1097 </use>
1098 <attribute arch="no_pick" value="1" type="fixed" />
1099</type>
1100
1101<!--####################################################################-->
1072<type number="8" name="Book"> 1102<type number="8" name="Book">
1073 <description><![CDATA[ 1103 <description><![CDATA[
1074 Applying a book, the containing message is displayed to the player. ]]> 1104 Applying a book, the containing message is displayed to the player. ]]>
1075 </description> 1105 </description>
1076 <attribute arch="level" editor="literacy level" type="int"> 1106 <attribute arch="level" editor="literacy level" type="int">
1437 </attribute> 1467 </attribute>
1438 <attribute arch="connected" editor="connection" type="int"> 1468 <attribute arch="connected" editor="connection" type="int">
1439 Whenever the connection value is activated, 1469 Whenever the connection value is activated,
1440 the creator gets triggered. 1470 the creator gets triggered.
1441 </attribute> 1471 </attribute>
1472 &activate_on;
1442 <attribute arch="lifesave" editor="infinit uses" type="bool"> 1473 <attribute arch="lifesave" editor="infinit uses" type="bool">
1443 If &lt;infinit uses&gt; is set, the creator will work 1474 If &lt;infinit uses&gt; is set, the creator will work
1444 infinitely, regardless of the value in &lt;number of uses&gt;. 1475 infinitely, regardless of the value in &lt;number of uses&gt;.
1445 </attribute> 1476 </attribute>
1446 <attribute arch="hp" editor="number of uses" type="int"> 1477 <attribute arch="hp" editor="number of uses" type="int">
1749 loose the input matches the chance to earn winnings.<br> 1780 loose the input matches the chance to earn winnings.<br>
1750 A duplicator with &lt;multiply factor&gt; 3 for example should have a 1781 A duplicator with &lt;multiply factor&gt; 3 for example should have a
1751 loosing rate of 2/3 = 67%. ]]> 1782 loosing rate of 2/3 = 67%. ]]>
1752 </use> 1783 </use>
1753 <attribute arch="other_arch" editor="target arch" type="string"> 1784 <attribute arch="other_arch" editor="target arch" type="string">
1754 Only objects of matching archtype, lying ontop of the dublicator will be 1785 Only objects of matching archtype, lying ontop of the duplicator will be
1755 dublicated, multiplied or removed. All other objects will be ignored. 1786 duplicated, multiplied or removed. All other objects will be ignored.
1756 </attribute> 1787 </attribute>
1757 <attribute arch="level" editor="multiply factor" type="int"> 1788 <attribute arch="level" editor="multiply factor" type="int">
1758 The number of items in the target pile will be multiplied by the 1789 The number of items in the target pile will be multiplied by the
1759 &lt;multiply factor&gt;. If it is set to zero, all target objects 1790 &lt;multiply factor&gt;. If it is set to zero, all target objects
1760 will be destroyed. 1791 will be destroyed.
1762 <attribute arch="connected" editor="connection" type="int"> 1793 <attribute arch="connected" editor="connection" type="int">
1763 An activator (lever, altar, button, etc) with matching connection value 1794 An activator (lever, altar, button, etc) with matching connection value
1764 is able to trigger this duplicator. Be very careful that players cannot 1795 is able to trigger this duplicator. Be very careful that players cannot
1765 abuse it to create endless amounts of money or other valuable stuff! 1796 abuse it to create endless amounts of money or other valuable stuff!
1766 </attribute> 1797 </attribute>
1798 &activate_on;
1767</type> 1799</type>
1768 1800
1769<!--####################################################################--> 1801<!--####################################################################-->
1770<type number="66" name="Exit"> 1802<type number="66" name="Exit">
1771 <ignore> 1803 <ignore>
2336 <attribute arch="level" editor="reconsecrate level" type="int"> 2368 <attribute arch="level" editor="reconsecrate level" type="int">
2337 To re-consecrate an altar, the player's wisdom level must be as 2369 To re-consecrate an altar, the player's wisdom level must be as
2338 high or higher than this value. In that way, some altars can not 2370 high or higher than this value. In that way, some altars can not
2339 be re-consecrated, while other altars, like those in dungeons, could be. 2371 be re-consecrated, while other altars, like those in dungeons, could be.
2340 2372
2341 Altars located in temples should have at least &lt;reconsecrate level&gt; 100. 2373 Altars located in temples should have at least &lt;reconsecrate level&gt; 120.
2342 Some characters might need those altars, they would be very unhappy to 2374 Some characters might need those altars, they would be very unhappy to
2343 see them re-consecrated to another cult. 2375 see them re-consecrated to another cult.
2344 </attribute> 2376 </attribute>
2345</type> 2377</type>
2346 2378
2693 <attribute arch="connected" editor="connection" type="int"> 2725 <attribute arch="connected" editor="connection" type="int">
2694 Every time the &lt;connection&gt; value is triggered, the wall will cast 2726 Every time the &lt;connection&gt; value is triggered, the wall will cast
2695 it's spell. You should set &lt;casting speed&gt; to zero, or this won't 2727 it's spell. You should set &lt;casting speed&gt; to zero, or this won't
2696 have much visible effect. 2728 have much visible effect.
2697 </attribute> 2729 </attribute>
2730 &activate_on;
2698 <attribute arch="speed" editor="casting speed" type="float"> 2731 <attribute arch="speed" editor="casting speed" type="float">
2699 The &lt;casting speed&gt; defines the spellcasting speed of the wall. 2732 The &lt;casting speed&gt; defines the spellcasting speed of the wall.
2700 You can fine-tune how long the duration between two casts shall 2733 You can fine-tune how long the duration between two casts shall
2701 be. If you want to create a wall that can be activated (cast per 2734 be. If you want to create a wall that can be activated (cast per
2702 trigger) via connected lever/button/etc, you must set "speed 0". 2735 trigger) via connected lever/button/etc, you must set "speed 0".
3484 <attribute arch="no_pick" value="1" type="fixed" /> 3517 <attribute arch="no_pick" value="1" type="fixed" />
3485 <attribute arch="connected" editor="connection" type="int"> 3518 <attribute arch="connected" editor="connection" type="int">
3486 When a &lt;connection&gt; value is set, the pit can be opened/closed 3519 When a &lt;connection&gt; value is set, the pit can be opened/closed
3487 by activating the connection. 3520 by activating the connection.
3488 </attribute> 3521 </attribute>
3522 &activate_on;
3489 <attribute arch="hp" editor="destination X" type="int"> 3523 <attribute arch="hp" editor="destination X" type="int">
3490 The pit will transport creatures (and items) randomly into a two-square 3524 The pit will transport creatures (and items) randomly into a two-square
3491 radius of the destination coordinates. 3525 radius of the destination coordinates.
3492 If the destination square becomes blocked, the pit will act like 3526 If the destination square becomes blocked, the pit will act like
3493 being filled up and not work anymore! 3527 being filled up and not work anymore!
4009</type> 4043</type>
4010 4044
4011<!--####################################################################--> 4045<!--####################################################################-->
4012<type number="14" name="Shooting Weapon"> 4046<type number="14" name="Shooting Weapon">
4013 <description><![CDATA[ 4047 <description><![CDATA[
4014 Schooting weapons like bows/crossbows are used to shoot projectiles 4048 Shooting weapons like bows/crossbows are used to shoot projectiles
4015 (arrows/bolts). Shooting weapons and normal (melee) weapons can be 4049 (arrows/bolts). Shooting weapons and normal (melee) weapons can be
4016 wielded both at the same time. Like with any other equipment, 4050 wielded both at the same time. Like with any other equipment,
4017 stats/bonuses from shooting weapons are directly inherited to the player. 4051 stats/bonuses from shooting weapons are directly inherited to the player.
4018 <br><br> 4052 <br><br>
4019 It's very easy to add new pairs of weapons &amp; projectiles. 4053 It's very easy to add new pairs of weapons &amp; projectiles.
4021 weapon and projectile. ]]> 4055 weapon and projectile. ]]>
4022 </description> 4056 </description>
4023 <use><![CDATA[ 4057 <use><![CDATA[
4024 Shooting weapons should not add bonuses in general. There's already 4058 Shooting weapons should not add bonuses in general. There's already
4025 enough "equipment-slots" doing that: swords, rings, amulets, girdles etc. 4059 enough "equipment-slots" doing that: swords, rings, amulets, girdles etc.
4026 Schooting weapons should especially not add bonuses to the player 4060 Shooting weapons should especially not add bonuses to the player
4027 that have nothing to do with schooting. A Wisdom bonus on a bow 4061 that have nothing to do with schooting. A Wisdom bonus on a bow
4028 is crap for example! A name like "Longbow of great Wisdom" doesn't help 4062 is crap for example! A name like "Longbow of great Wisdom" doesn't help
4029 - still crap. ]]> 4063 - still crap. ]]>
4030 </use> 4064 </use>
4031 <attribute arch="race" editor="ammunition class" type="string"> 4065 <attribute arch="race" editor="ammunition class" type="string">
4239 the connection is triggered. This should be used in combination with 4273 the connection is triggered. This should be used in combination with
4240 &lt;invisible&gt; enabled and &lt;activate by walking/flying&gt; disabled. 4274 &lt;invisible&gt; enabled and &lt;activate by walking/flying&gt; disabled.
4241 If activating your magic_mouth this way, the message will not only be 4275 If activating your magic_mouth this way, the message will not only be
4242 printed to one player, but all players on the current map. 4276 printed to one player, but all players on the current map.
4243 </attribute> 4277 </attribute>
4278 &activate_on;
4244 &move_on; 4279 &move_on;
4245 <attribute arch="food" editor="counter" type="int"> 4280 <attribute arch="food" editor="counter" type="int">
4246 If a counter-value is set (greater zero), the sign/magic_mouth can be applied 4281 If a counter-value is set (greater zero), the sign/magic_mouth can be applied
4247 (printing the message) only that many times. For signs this really shouldn't 4282 (printing the message) only that many times. For signs this really shouldn't
4248 be used, while for magic_mouths it is extremely helpful. 4283 be used, while for magic_mouths it is extremely helpful.
4620 <attribute arch="connected" editor="connection" type="int"> 4655 <attribute arch="connected" editor="connection" type="int">
4621 If a connection value is set, the teleporter will be activated 4656 If a connection value is set, the teleporter will be activated
4622 whenever the connection is triggered. To use this properly, 4657 whenever the connection is triggered. To use this properly,
4623 &lt;activation speed&gt; must be zero. 4658 &lt;activation speed&gt; must be zero.
4624 </attribute> 4659 </attribute>
4660 &activate_on;
4625 <attribute arch="speed" editor="activation speed" type="float"> 4661 <attribute arch="speed" editor="activation speed" type="float">
4626 If the &lt;activation speed&gt; is nonzero, the teleporter will 4662 If the &lt;activation speed&gt; is nonzero, the teleporter will
4627 automatically be activated in regular time-intervals. Hence, the 4663 automatically be activated in regular time-intervals. Hence, the
4628 player can just step on it and gets teleported sooner or later. 4664 player can just step on it and gets teleported sooner or later.
4629 The duration between two activates depends on the given value. 4665 The duration between two activates depends on the given value.
4659 Whenever the inventory checker is triggered, all objects with identical 4695 Whenever the inventory checker is triggered, all objects with identical
4660 &lt;connection&gt; value get activated. This only makes sense together with 4696 &lt;connection&gt; value get activated. This only makes sense together with
4661 &lt;blocking passage&gt; disabled. If unset, the gate opens automatically 4697 &lt;blocking passage&gt; disabled. If unset, the gate opens automatically
4662 after some time. 4698 after some time.
4663 </attribute> 4699 </attribute>
4700 &activate_on;
4664 <attribute arch="wc" editor="position state" type="int"> 4701 <attribute arch="wc" editor="position state" type="int">
4665 The &lt;position state&gt; defines the position of the gate: 4702 The &lt;position state&gt; defines the position of the gate:
4666 Zero means completely open/down, the "number of animation-steps" (usually 4703 Zero means completely open/down, the "number of animation-steps" (usually
4667 about 6 or 7) means completely closed/up state. I suggest you don't 4704 about 6 or 7) means completely closed/up state. I suggest you don't
4668 mess with this value - Leave the default in place. 4705 mess with this value - Leave the default in place.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines