… | |
… | |
22 | # </required> # |
22 | # </required> # |
23 | # <ignore> # |
23 | # <ignore> # |
24 | # list of attributes not to import from default_type # |
24 | # list of attributes not to import from default_type # |
25 | # </ignore> # |
25 | # </ignore> # |
26 | # <description><![CDATA[ # |
26 | # <description><![CDATA[ # |
27 | # Description of this type.]]> # |
27 | # Description of this type.]]> # |
28 | # </description> # |
28 | # </description> # |
29 | # <use><![CDATA[ # |
29 | # <use><![CDATA[ # |
30 | # How to use this type.]]> # |
30 | # How to use this type.]]> # |
31 | # </use> # |
31 | # </use> # |
32 | # ... attributes ... # |
32 | # ... attributes ... # |
33 | # </type> # |
33 | # </type> # |
34 | # # |
34 | # # |
35 | # about the 'attribute' type: <attribute ... type="XXX" > # |
35 | # about the 'attribute' type: <attribute ... type="XXX" > # |
… | |
… | |
778 | This text may describe the object. |
778 | This text may describe the object. |
779 | </attribute> |
779 | </attribute> |
780 | </type> |
780 | </type> |
781 | |
781 | |
782 | <!--####################################################################--> |
782 | <!--####################################################################--> |
|
|
783 | <!-- former typ 110, which is 'inscribable' in deliantra, and was never used in cf afaik --> |
783 | <type number="110" name="Ability"> |
784 | <type number="999" name="Ability"> |
784 | <ignore> |
785 | <ignore> |
785 | <ignore_list name="system_object" /> |
786 | <ignore_list name="system_object" /> |
786 | </ignore> |
787 | </ignore> |
787 | <description><![CDATA[ |
788 | <description><![CDATA[ |
788 | Abilities are to be put in a monster's inventory. They grant monsters the |
789 | Abilities are to be put in a monster's inventory. They grant monsters the |
789 | knowledge to cast spells. Spells from abilities are usually magical in |
790 | knowledge to cast spells. Spells from abilities are usually magical in |
790 | nature, thus adding magic attacktype to the spell-damage they produce. |
791 | nature, thus adding magic attacktype to the spell-damage they produce. |
791 | <br><br> |
792 | <br><br> |
792 | A particularly nice feature of abilities is that they can hold two |
793 | A particularly nice feature of abilities is that they can hold two |
793 | spells: One for short range- and one for long range use. |
794 | spells: One for short range - and one for long range use. |
794 | \n\n |
795 | \n\n |
795 | You should know that spellcasting monsters receive abilities via |
796 | You should know that spellcasting monsters receive abilities via |
796 | <treasurelist>.]]> |
797 | <treasurelist>.]]> |
797 | </description> |
798 | </description> |
798 | <use><![CDATA[ |
799 | <use><![CDATA[ |
… | |
… | |
1217 | </attribute> |
1218 | </attribute> |
1218 | <attribute arch="slaying" editor="key string" type="string"> |
1219 | <attribute arch="slaying" editor="key string" type="string"> |
1219 | This is the key string of the book. The key string is checked by an inventory checker. |
1220 | This is the key string of the book. The key string is checked by an inventory checker. |
1220 | (This is used eg. for the gate/port passes in scorn) |
1221 | (This is used eg. for the gate/port passes in scorn) |
1221 | </attribute> |
1222 | </attribute> |
|
|
1223 | <attribute arch="no_skill_ident" editor="no skill ident" type="bool"> |
|
|
1224 | If this flag is true the player won't be able to identify this |
|
|
1225 | item with by using a skill. |
|
|
1226 | </attribute> |
1222 | </type> |
1227 | </type> |
1223 | |
1228 | |
1224 | <!--####################################################################--> |
1229 | <!--####################################################################--> |
1225 | <type number="99" name="Boots"> |
1230 | <type number="99" name="Boots"> |
1226 | <import_type name="Amulet" /> |
1231 | <import_type name="Amulet" /> |
… | |
… | |
1531 | of <receive arch>. |
1536 | of <receive arch>. |
1532 | </attribute> |
1537 | </attribute> |
1533 | <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> |
1538 | <attribute arch_begin="msg" arch_end="endmsg" editor="description" type="text"> |
1534 | This text may contain a description of the converter. |
1539 | This text may contain a description of the converter. |
1535 | </attribute> |
1540 | </attribute> |
|
|
1541 | <attribute arch="precious" editor="output unpaid" type="bool"> |
|
|
1542 | If the converter has this flag set the generated items will |
|
|
1543 | be flagged as unpaid. Useful if you want to make a converter in a shop. |
|
|
1544 | (For instance for 'dragon scale' to 'dragon shield' converters in some |
|
|
1545 | armour shops.) |
|
|
1546 | </attribute> |
1536 | </type> |
1547 | </type> |
1537 | |
1548 | |
1538 | <!--####################################################################--> |
1549 | <!--####################################################################--> |
1539 | <type number="42" name="Creator"> |
1550 | <type number="42" name="Creator"> |
1540 | <ignore> |
1551 | <ignore> |
… | |
… | |
1626 | &speed_left; |
1637 | &speed_left; |
1627 | <attribute arch="speed_left" editor="speed left" type="float"> |
1638 | <attribute arch="speed_left" editor="speed left" type="float"> |
1628 | The speed left. This value is incremented by <speed> on every tick. |
1639 | The speed left. This value is incremented by <speed> on every tick. |
1629 | If it is larger than 0, the detector checks, and the speed is decremented |
1640 | If it is larger than 0, the detector checks, and the speed is decremented |
1630 | by 1. |
1641 | by 1. |
|
|
1642 | </attribute> |
|
|
1643 | </type> |
|
|
1644 | |
|
|
1645 | <!--####################################################################--> |
|
|
1646 | <type number="164" name="Map Script"> |
|
|
1647 | <ignore> |
|
|
1648 | <ignore_list name="system_object" /> |
|
|
1649 | </ignore> |
|
|
1650 | <description><![CDATA[ |
|
|
1651 | The map script object is a very special object that can react to connected |
|
|
1652 | events and executes a perl script. |
|
|
1653 | ]]> |
|
|
1654 | </description> |
|
|
1655 | <use><![CDATA[ |
|
|
1656 | The perl script gets passed an $activator object and can use the set/get/find/timer functions |
|
|
1657 | to react to/trigger other objects. |
|
|
1658 | ]]> |
|
|
1659 | </use> |
|
|
1660 | <attribute arch="connected" editor="connection" type="int"> |
|
|
1661 | When the map script object is triggered, it will execute |
|
|
1662 | the perl script with the triggering object as $activator. |
|
|
1663 | </attribute> |
|
|
1664 | &activate_on; |
|
|
1665 | <attribute arch_begin="msg" arch_end="endmsg" editor="script" type="text"> |
|
|
1666 | This perl script will be executed each time the objetc is triggered. |
1631 | </attribute> |
1667 | </attribute> |
1632 | </type> |
1668 | </type> |
1633 | |
1669 | |
1634 | <!--####################################################################--> |
1670 | <!--####################################################################--> |
1635 | <type number="112" name="Director"> |
1671 | <type number="112" name="Director"> |
… | |
… | |
3398 | player to some kind of lower level. They should not be used to |
3434 | player to some kind of lower level. They should not be used to |
3399 | randomly interconnect maps like teleporters do.]]> |
3435 | randomly interconnect maps like teleporters do.]]> |
3400 | </use> |
3436 | </use> |
3401 | <attribute arch="no_pick" value="1" type="fixed" /> |
3437 | <attribute arch="no_pick" value="1" type="fixed" /> |
3402 | <attribute arch="range" editor="spread radius" type="int"> |
3438 | <attribute arch="range" editor="spread radius" type="int"> |
3403 | The radius of the square area that the pit will randomly put the player into (0 to 3). |
3439 | The radius of the square area that the pit will randomly put the player into (0 to 3, default 1). |
3404 | </attribute> |
3440 | </attribute> |
3405 | <attribute arch="connected" editor="connection" type="int"> |
3441 | <attribute arch="connected" editor="connection" type="int"> |
3406 | When a <connection> value is set, the pit can be opened/closed |
3442 | When a <connection> value is set, the pit can be opened/closed |
3407 | by activating the connection. |
3443 | by activating the connection. |
3408 | </attribute> |
3444 | </attribute> |