… | |
… | |
116 | <attribute arch='move_type' editor='movement type' type='movement_type'> |
116 | <attribute arch='move_type' editor='movement type' type='movement_type'> |
117 | Determines which kinds of movement this object can use (e.g. for monsters) |
117 | Determines which kinds of movement this object can use (e.g. for monsters) |
118 | or grants (e.g. for amulets). |
118 | or grants (e.g. for amulets). |
119 | </attribute> |
119 | </attribute> |
120 | "> |
120 | "> |
121 | <!ENTITY movement_types_terrain " |
121 | <!ENTITY move_block " |
122 | <attribute arch='move_block' editor='blocked movement' type='movement_type'> |
122 | <attribute arch='move_block' editor='blocked movement' type='movement_type'> |
123 | Objects using these movement types cannot move over this space. |
123 | Objects using these movement types cannot move over this space. |
124 | </attribute> |
124 | </attribute> |
|
|
125 | "> |
|
|
126 | <!ENTITY movement_types_terrain " |
|
|
127 | &move_block; |
125 | <attribute arch='move_allow' editor='allowed movement' type='movement_type'> |
128 | <attribute arch='move_allow' editor='allowed movement' type='movement_type'> |
126 | Objects using these movement types are allowed to move over this space. Takes |
129 | Objects using these movement types are allowed to move over this space. Takes |
127 | precedence over 'blocked movements'. |
130 | precedence over 'blocked movements'. |
128 | </attribute> |
131 | </attribute> |
129 | <attribute arch='move_slow' editor='slowed movement' type='movement_type'> |
132 | <attribute arch='move_slow' editor='slowed movement' type='movement_type'> |
… | |
… | |
1725 | <ignore> |
1728 | <ignore> |
1726 | <ignore_list name="system_object" /> |
1729 | <ignore_list name="system_object" /> |
1727 | </ignore> |
1730 | </ignore> |
1728 | <description><![CDATA[ |
1731 | <description><![CDATA[ |
1729 | The map script object is a very special object that can react to connected |
1732 | The map script object is a very special object that can react to connected |
1730 | events and executes a perl script. |
1733 | events and executes a perl script in the msg slot. |
1731 | ]]> |
1734 | ]]> |
1732 | </description> |
1735 | </description> |
1733 | <use><![CDATA[ |
1736 | <use><![CDATA[ |
1734 | The perl script gets passed an $activator object and can use the set/get/find/timer functions |
1737 | The perl script gets passed a $state value and $activator, $self, $originator objects and can use the set/get/find/timer functions |
1735 | to react to/trigger other objects. |
1738 | to react to/trigger other objects. See http://pod.tst.eu/http://cvs.schmorp.de/deliantra/server/lib/cf/mapscript.pm for details. |
1736 | ]]> |
1739 | ]]> |
1737 | </use> |
1740 | </use> |
1738 | <attribute arch="connected" editor="connection" type="string"> |
1741 | <attribute arch="connected" editor="connection" type="string"> |
1739 | When the map script object is triggered, it will execute |
1742 | When the map script object is triggered, it will execute |
1740 | the perl script with the triggering object as $activator. |
1743 | the perl script with the triggering object as $activator. |
… | |
… | |
3493 | </attribute> |
3496 | </attribute> |
3494 | &move_on; |
3497 | &move_on; |
3495 | </type> |
3498 | </type> |
3496 | |
3499 | |
3497 | <!--####################################################################--> |
3500 | <!--####################################################################--> |
|
|
3501 | <type number="19" name="Item Match"> |
|
|
3502 | <ignore> |
|
|
3503 | <ignore_list name="non_pickable" /> |
|
|
3504 | </ignore> |
|
|
3505 | <description><![CDATA[ |
|
|
3506 | Match objects use the deliantra matching language |
|
|
3507 | (http://pod.tst.eu/http://cvs.schmorp.de/deliantra/server/lib/cf/match.pm) |
|
|
3508 | to match items on the same mapspace (if move_on/off are unset) or |
|
|
3509 | items trying to enter (if move_blocked is set). |
|
|
3510 | |
|
|
3511 | If a connected value is given, then it is triggered if the first object |
|
|
3512 | matching the expression is put on it, and the last is removed.]]> |
|
|
3513 | </description> |
|
|
3514 | <use><![CDATA[ |
|
|
3515 | If you want to trigger something else (e.g. a gate) when an item is above this object, |
|
|
3516 | use the move_on/move_off settings. |
|
|
3517 | |
|
|
3518 | If you want to keep something from entering if it has (or lacks) a specific item, |
|
|
3519 | use the move_blocked setting.]]> |
|
|
3520 | </use> |
|
|
3521 | <attribute arch="no_pick" value="1" type="fixed" /> |
|
|
3522 | <attribute arch="slaying" editor="match expression" type="string"> |
|
|
3523 | &match_compat; |
|
|
3524 | |
|
|
3525 | Optionally you can leave out the "match " prefix. |
|
|
3526 | </attribute> |
|
|
3527 | <attribute arch="connected" editor="connection" type="string"> |
|
|
3528 | When the match is triggered, all objects with the same |
|
|
3529 | connection value get activated. |
|
|
3530 | </attribute> |
|
|
3531 | &move_on; |
|
|
3532 | &move_off; |
|
|
3533 | &move_block; |
|
|
3534 | </type> |
|
|
3535 | |
|
|
3536 | <!--####################################################################--> |
3498 | <type number="94" name="Pit"> |
3537 | <type number="94" name="Pit"> |
3499 | <ignore> |
3538 | <ignore> |
3500 | <ignore_list name="non_pickable" /> |
3539 | <ignore_list name="non_pickable" /> |
3501 | </ignore> |
3540 | </ignore> |
3502 | <description><![CDATA[ |
3541 | <description><![CDATA[ |