… | |
… | |
1688 | Detectors work quite much like inv. checkers/pedestals: If the detector |
1688 | Detectors work quite much like inv. checkers/pedestals: If the detector |
1689 | finds a specific object, it toggles its connected value. |
1689 | finds a specific object, it toggles its connected value. |
1690 | <br><br> |
1690 | <br><br> |
1691 | What is "unique" about them, compared to inv. checkers/ pedestals? |
1691 | What is "unique" about them, compared to inv. checkers/ pedestals? |
1692 | - 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 |
1693 | instantly. Second, detectors check directly for object names. Third, |
1694 | Second, detectors check directly for object names. Third, |
1694 | detectors do not check the inventory of players/monsters.]]> |
1695 | detectors do not check the inventory of players/monsters.]]> |
1695 | </description> |
1696 | </description> |
1696 | <use><![CDATA[ |
1697 | <use> |
1697 | There is one major speciality about detectors: You can detect spells |
1698 | Best avoid this type at all costs, use a pedestal instead. |
1698 | blown over a detector! To detect a lighting bolt for example, set |
|
|
1699 | "slaying ligthing" and "speed 1.0". In combination with spellcasting |
|
|
1700 | walls, this can be very useful for map-mechanisms.]]> |
|
|
1701 | </use> |
1699 | </use> |
1702 | <attribute arch="no_pick" value="1" type="fixed" /> |
1700 | <attribute arch="no_pick" value="1" type="fixed" /> |
1703 | <attribute arch="slaying" editor="match name" type="string"> |
1701 | <attribute arch="slaying" editor="match name" type="string"> |
1704 | <match name> specifies the name of the object we are looking for. |
1702 | <match name> specifies the name of the object we are looking for. |
1705 | Actually it does also check for the <key string> in key-objects, |
1703 | Actually it does also check for the <key string> in key-objects, |
… | |
… | |
3484 | place where only fireborns can enter, by setting "slaying unnatural". |
3482 | place where only fireborns can enter, by setting "slaying unnatural". |
3485 | |
3483 | |
3486 | 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 |
3487 | 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 |
3488 | but not for monsters. |
3486 | but not for monsters. |
|
|
3487 | |
|
|
3488 | &match_compat; |
3489 | </attribute> |
3489 | </attribute> |
3490 | <attribute arch="connected" editor="connection" type="string"> |
3490 | <attribute arch="connected" editor="connection" type="string"> |
3491 | When the pedestal is triggered, all objects with the same |
3491 | When the pedestal is triggered, all objects with the same |
3492 | connection value get activated. |
3492 | connection value get activated. |
3493 | </attribute> |
3493 | </attribute> |