--- deliantra/server/pod/objects.pod 2007/05/07 06:14:03 1.21 +++ deliantra/server/pod/objects.pod 2007/11/10 22:41:59 1.27 @@ -1,6 +1,6 @@ -=head1 CROSSFIRE+ OBJECT AND INTERNALS DOCUMENTATION +=head1 DELIANTRA OBJECT AND INTERNALS DOCUMENTATION -Here is all information about the object types Crossfire+ +Here is all information about the object types Deliantra supports at the moment. This is not a complete documentation (yet) and browsing the source is still recommended to learn about the objects that aren't documented here. @@ -340,28 +340,12 @@ The beginning of the headers of the following subsection are the server internal names for the objects types, see include/define.h. -=head3 B - type 65 - change mood of monsters - -speed == 0 for triggered mood changes, speed != 0 for non-triggered mood -changes. - - (based on value that last_sp takes): - 0: 'furious' Makes all monsters aggressive - 1: 'angry' As above but pets are unaffected - 2: 'calm' Makes all monsters unaggressive - 3: 'sleep' Puts all monsters to sleep - 4: 'charm' Makes monster into a pet of person - who triggers the square. This setting - is not enabled for continous operation - 5: 'destroy mons' destroy any monsters on this space - 6: 'destroy pets' destroy friendly monsters on this space - =head3 B - type 2 - Player transports This type is implemented by the transport extension and has currently no special fields that affect it. -=head3 B - type 3 - Rods that fire spells +=head3 B, B - type 3, 35 - Rods that fire spells Rods contain spells and can be fired by a player. @@ -377,7 +361,8 @@ =item I -The amount of spellpoints this rod has left. +The amount of spellpoints this rod has left. Recharges at a rate of C<1 + +maxhp/10> per tick. =item I @@ -565,8 +550,8 @@ =item I -This field affects the propability of poisoning. The higher the level difference -between the one who is hit and the poision the more propable it is the attacked +This field affects the probability of poisoning. The higher the level difference +between the one who is hit and the poision the more probable it is the attacked one will be poisoned. =item I @@ -702,7 +687,7 @@ =item I -The weapon class of the arrow, which has effect on the propability of hitting. +The weapon class of the arrow, which has effect on the probability of hitting. It is recomputed when the arrow is being fired by this formula: @@ -727,7 +712,7 @@ =item I (interally used) -The level of the arrow, this affects the propability of piercing FLAG_REFL_MISSILE, +The level of the arrow, this affects the probability of piercing FLAG_REFL_MISSILE, see above in the B description. The I is set when the arrow is fired to either the skill level or the @@ -869,9 +854,10 @@ The part/slot of the body you need to use this weapon, possible values for C should be looked up in common/item.C at body_locations. -The value (in the range C<-7..7>) gives the number of those body slots used -up by the item, or C<-1> for one handed weapons, C<-2> for two handed -weapons, or C<-1> for other very special things. +The value (in the range C<-7..7>) gives the number of those body slots +used up by the item (if negative) or the number of body slots this object +has (if positive, e.g. for monsters or players). The special value C<0> +indicates that this object cannot equip items requiring these body slots. =item I @@ -1056,6 +1042,22 @@ =back +=head3 B - type 65 - change mood of monsters + +speed == 0 for triggered mood changes, speed != 0 for non-triggered mood +changes. + + (based on value that last_sp takes): + 0: 'furious' Makes all monsters aggressive + 1: 'angry' As above but pets are unaffected + 2: 'calm' Makes all monsters unaggressive + 3: 'sleep' Puts all monsters to sleep + 4: 'charm' Makes monster into a pet of person + who triggers the square. This setting + is not enabled for continous operation + 5: 'destroy mons' destroy any monsters on this space + 6: 'destroy pets' destroy friendly monsters on this space + =head3 B - type 72 - Organs and body parts See B description.