… | |
… | |
233 | once a player failed to identify an object. So that multiple tries |
233 | once a player failed to identify an object. So that multiple tries |
234 | of identifying aren't more effective than one. |
234 | of identifying aren't more effective than one. |
235 | |
235 | |
236 | =item FLAG_REFLECTING |
236 | =item FLAG_REFLECTING |
237 | |
237 | |
238 | This flag is used by spell effects, LIGHTNING, THROWN_OBJ and ARROW |
238 | This flag is used by spell effects (eg. SP_BOLT), THROWN_OBJ and ARROW |
239 | to indicate whether this object reflects off walls. |
239 | to indicate whether this object reflects off walls. |
240 | |
240 | |
241 | =item FLAG_REFL_SPELL |
241 | =item FLAG_REFL_SPELL |
242 | |
242 | |
243 | This flag indicates whether something reflects spells, like spell reflecting |
243 | This flag indicates whether something reflects spells, like spell reflecting |
… | |
… | |
518 | |
518 | |
519 | =head3 CLOCK - type 9 - Clocks |
519 | =head3 CLOCK - type 9 - Clocks |
520 | |
520 | |
521 | This type of objects just display the time when being applied. |
521 | This type of objects just display the time when being applied. |
522 | |
522 | |
523 | =head3 LIGHTNING - type 12 - Lightnings |
523 | =head3 LIGHTNING - type 12 - Lightnings (DEPRECATED, see SPELL_EFFECT subtype SP_BOLT) |
524 | |
524 | |
525 | This is a spell effect of a moving bolt. It moves straigt forward |
525 | This is a spell effect of a moving bolt. It moves straigt forward |
526 | through the map until something blocks it. |
526 | through the map until something blocks it. |
527 | If FLAG_REFLECTING is set it even reflects on walls. |
527 | If FLAG_REFLECTING is set it even reflects on walls. |
528 | |
528 | |
529 | FLAG_IS_TURNABLE should be set on these objects. |
529 | FLAG_IS_TURNABLE should be set on these objects. |
530 | |
530 | |
531 | =over 4 |
531 | =over 4 |
|
|
532 | |
|
|
533 | =item move_type <movetype> |
|
|
534 | |
|
|
535 | This field affects the move type with which the lightning moves through |
|
|
536 | the map and which map cells will reflect or block it. |
532 | |
537 | |
533 | =item attacktype <attacktype> |
538 | =item attacktype <attacktype> |
534 | |
539 | |
535 | The attacktype with which it hits the objects on the map. |
540 | The attacktype with which it hits the objects on the map. |
536 | |
541 | |
… | |
… | |
705 | FLAG_XRAYS |
710 | FLAG_XRAYS |
706 | FLAG_BLIND |
711 | FLAG_BLIND |
707 | FLAG_SEE_IN_DARK |
712 | FLAG_SEE_IN_DARK |
708 | FLAG_UNDEAD |
713 | FLAG_UNDEAD |
709 | |
714 | |
|
|
715 | =head3 GRIMREAPER - type 28 - Grimreapers |
|
|
716 | |
|
|
717 | These type are mostly used for monsters, they give the |
|
|
718 | monster the ability to dissapear after 10 hits with AT_DRAIN. |
|
|
719 | |
|
|
720 | =over 4 |
|
|
721 | |
|
|
722 | =item value <number> |
|
|
723 | |
|
|
724 | This field stores the hits the monster did yet. |
|
|
725 | |
|
|
726 | =back |
|
|
727 | |
710 | =head3 DRINK - type 54 - Drinkable stuff |
728 | =head3 DRINK - type 54 - Drinkable stuff |
711 | |
729 | |
712 | See FOOD description. |
730 | See FOOD description. |
713 | |
731 | |
714 | =head3 CHECK_INV - type 64 - Inventory checkers |
732 | =head3 CHECK_INV - type 64 - Inventory checkers |
… | |
… | |
767 | =back |
785 | =back |
768 | |
786 | |
769 | =head3 FLESH - type 72 - Organs and body parts |
787 | =head3 FLESH - type 72 - Organs and body parts |
770 | |
788 | |
771 | See FOOD description. |
789 | See FOOD description. |
|
|
790 | |
|
|
791 | =head3 MISC_OBJECT - type 79 - Misc. objects |
|
|
792 | |
|
|
793 | A type for any object that has no special behaviour. |
772 | |
794 | |
773 | =head3 HOLE - type 94 - Holes |
795 | =head3 HOLE - type 94 - Holes |
774 | |
796 | |
775 | Holes are holes in the ground where objects can fall through. When the hole |
797 | Holes are holes in the ground where objects can fall through. When the hole |
776 | opens and/or is completly open all objects above it fall through (more |
798 | opens and/or is completly open all objects above it fall through (more |