… | |
… | |
123 | =item no_steal (0|1) |
123 | =item no_steal (0|1) |
124 | |
124 | |
125 | Sets the flag FLAG_NO_STEAL. |
125 | Sets the flag FLAG_NO_STEAL. |
126 | See Flags section below. |
126 | See Flags section below. |
127 | |
127 | |
|
|
128 | =item reflecting (0|1) |
|
|
129 | |
|
|
130 | Sets the flag FLAG_REFLECTING. |
|
|
131 | See Flags section below. |
|
|
132 | |
|
|
133 | =item reflect_spell (0|1) |
|
|
134 | |
|
|
135 | Sets the flag FLAG_REFL_SPELL. |
|
|
136 | See Flags section below. |
|
|
137 | |
128 | =item no_skill_ident (0|1) |
138 | =item no_skill_ident (0|1) |
129 | |
139 | |
130 | Sets the flag FLAG_NO_SKILL_IDENT. |
140 | Sets the flag FLAG_NO_SKILL_IDENT. |
131 | See Flags section below. |
141 | See Flags section below. |
132 | |
142 | |
… | |
… | |
220 | skills. |
230 | skills. |
221 | |
231 | |
222 | This flag is used to mark objects to never being identified by a skill |
232 | This flag is used to mark objects to never being identified by a skill |
223 | 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 |
224 | of identifying aren't more effective than one. |
234 | of identifying aren't more effective than one. |
|
|
235 | |
|
|
236 | =item FLAG_REFLECTING |
|
|
237 | |
|
|
238 | This flag is used by spell effects (eg. SP_BOLT), THROWN_OBJ and ARROW |
|
|
239 | to indicate whether this object reflects off walls. |
|
|
240 | |
|
|
241 | =item FLAG_REFL_SPELL |
|
|
242 | |
|
|
243 | This flag indicates whether something reflects spells, like spell reflecting |
|
|
244 | amuletts. |
225 | |
245 | |
226 | =back |
246 | =back |
227 | |
247 | |
228 | =head2 Description of type specific attributes |
248 | =head2 Description of type specific attributes |
229 | |
249 | |
… | |
… | |
493 | |
513 | |
494 | This field determines the type of the readable. |
514 | This field determines the type of the readable. |
495 | Please see common/readable.C in the readable_message_types table. |
515 | Please see common/readable.C in the readable_message_types table. |
496 | |
516 | |
497 | =back |
517 | =back |
|
|
518 | |
|
|
519 | =head3 CLOCK - type 9 - Clocks |
|
|
520 | |
|
|
521 | This type of objects just display the time when being applied. |
|
|
522 | |
|
|
523 | =head3 LIGHTNING - type 12 - Lightnings (DEPRECATED, see SPELL_EFFECT subtype SP_BOLT) |
|
|
524 | |
|
|
525 | This is a spell effect of a moving bolt. It moves straigt forward |
|
|
526 | through the map until something blocks it. |
|
|
527 | If FLAG_REFLECTING is set it even reflects on walls. |
|
|
528 | |
|
|
529 | FLAG_IS_TURNABLE should be set on these objects. |
|
|
530 | |
|
|
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. |
|
|
537 | |
|
|
538 | =item attacktype <attacktype> |
|
|
539 | |
|
|
540 | The attacktype with which it hits the objects on the map. |
|
|
541 | |
|
|
542 | =item dam <number> |
|
|
543 | |
|
|
544 | The damage this bolt inflicts when it hits objects on the map. |
|
|
545 | |
|
|
546 | =item Dex <number> |
|
|
547 | |
|
|
548 | This is the fork percentage, it is reduced by 10 per fork. |
|
|
549 | And the damage is halved on each fork. |
|
|
550 | |
|
|
551 | =item Con <number> |
|
|
552 | |
|
|
553 | This value is a percentage of which the forking lightning |
|
|
554 | is deflected to the left. This value should be mostly used internally. |
|
|
555 | |
|
|
556 | =item duration <number> |
|
|
557 | |
|
|
558 | The duration the bolt stays on a map cell. This field is decreased each time |
|
|
559 | the object is processed (see the meaning of speed and speed_left fields in |
|
|
560 | the object general description). |
|
|
561 | |
|
|
562 | =item range <number> |
|
|
563 | |
|
|
564 | This is the range of the bolt, each space it advances this field is decreased. |
|
|
565 | |
|
|
566 | =back |
|
|
567 | |
498 | |
568 | |
499 | =head3 WEAPON - type 15 - Weapons |
569 | =head3 WEAPON - type 15 - Weapons |
500 | |
570 | |
501 | This type is for general hack and slash weapons like swords, maces |
571 | This type is for general hack and slash weapons like swords, maces |
502 | and daggers and and .... |
572 | and daggers and and .... |
… | |
… | |
640 | FLAG_XRAYS |
710 | FLAG_XRAYS |
641 | FLAG_BLIND |
711 | FLAG_BLIND |
642 | FLAG_SEE_IN_DARK |
712 | FLAG_SEE_IN_DARK |
643 | FLAG_UNDEAD |
713 | FLAG_UNDEAD |
644 | |
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 | |
645 | =head3 DRINK - type 54 - Drinkable stuff |
728 | =head3 DRINK - type 54 - Drinkable stuff |
646 | |
729 | |
647 | See FOOD description. |
730 | See FOOD description. |
648 | |
731 | |
649 | =head3 CHECK_INV - type 64 - Inventory checkers |
732 | =head3 CHECK_INV - type 64 - Inventory checkers |
… | |
… | |
702 | =back |
785 | =back |
703 | |
786 | |
704 | =head3 FLESH - type 72 - Organs and body parts |
787 | =head3 FLESH - type 72 - Organs and body parts |
705 | |
788 | |
706 | 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. |
707 | |
794 | |
708 | =head3 HOLE - type 94 - Holes |
795 | =head3 HOLE - type 94 - Holes |
709 | |
796 | |
710 | 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 |
711 | 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 |