--- deliantra/server/pod/objects.pod 2006/12/19 23:41:56 1.9 +++ deliantra/server/pod/objects.pod 2006/12/20 03:57:26 1.11 @@ -125,6 +125,16 @@ Sets the flag FLAG_NO_STEAL. See Flags section below. +=item reflecting (0|1) + +Sets the flag FLAG_REFLECTING. +See Flags section below. + +=item reflect_spell (0|1) + +Sets the flag FLAG_REFL_SPELL. +See Flags section below. + =item no_skill_ident (0|1) Sets the flag FLAG_NO_SKILL_IDENT. @@ -223,6 +233,16 @@ once a player failed to identify an object. So that multiple tries of identifying aren't more effective than one. +=item FLAG_REFLECTING + +This flag is used by spell effects, LIGHTNING, THROWN_OBJ and ARROW +to indicate whether this object reflects off walls. + +=item FLAG_REFL_SPELL + +This flag indicates whether something reflects spells, like spell reflecting +amuletts. + =back =head2 Description of type specific attributes @@ -496,6 +516,56 @@ =back +=head3 CLOCK - type 9 - Clocks + +This type of objects just display the time when being applied. + +=head3 LIGHTNING - type 12 - Lightnings + +This is a spell effect of a moving bolt. It moves straigt forward +through the map until something blocks it. +If FLAG_REFLECTING is set it even reflects on walls. + +FLAG_IS_TURNABLE should be set on these objects. + +=over 4 + +=item move_type + +This field affects the move type with which the lightning moves through +the map and which map cells will reflect or block it. + +=item attacktype + +The attacktype with which it hits the objects on the map. + +=item dam + +The damage this bolt inflicts when it hits objects on the map. + +=item Dex + +This is the fork percentage, it is reduced by 10 per fork. +And the damage is halved on each fork. + +=item Con + +This value is a percentage of which the forking lightning +is deflected to the left. This value should be mostly used internally. + +=item duration + +The duration the bolt stays on a map cell. This field is decreased each time +the object is processed (see the meaning of speed and speed_left fields in +the object general description). + +=item range + +This is the range of the bolt, each space it advances this field is decreased. + +=back + + =head3 WEAPON - type 15 - Weapons This type is for general hack and slash weapons like swords, maces @@ -642,6 +712,19 @@ FLAG_SEE_IN_DARK FLAG_UNDEAD +=head3 GRIMREAPER - type 28 - Grimreapers + +These type are mostly used for monsters, they give the +monster the ability to dissapear after 10 hits with AT_DRAIN. + +=over 4 + +=item value + +This field stores the hits the monster did yet. + +=back + =head3 DRINK - type 54 - Drinkable stuff See FOOD description. @@ -705,6 +788,19 @@ See FOOD description. +=head3 MISC_OBJECT - type 79 - Misc. objects + +A type for any object that has no special behaviour. + +=head3 MONSTER - type 80 - Monsters + +This is the main type for monsters. This type does almost +nothing except taking care of animations a bit. + +The special behaviour of a monster is given to an object by FLAG_MONSTER and +FLAG_ALIVE, please consult the section about flags above in the general object +section. + =head3 HOLE - type 94 - Holes Holes are holes in the ground where objects can fall through. When the hole