--- deliantra/server/pod/objects.pod 2006/12/18 12:01:20 1.2 +++ deliantra/server/pod/objects.pod 2006/12/18 12:11:08 1.3 @@ -146,6 +146,8 @@ this object is removed or not, see the Force type below for the meaning of the duration field in this context. +If FLAG_APPLIED is not set the object is destroyed. + =back =head2 Description of type specific attributes @@ -155,6 +157,32 @@ The numeric values are maybe not 100% accurate, as the code is a changing target, please consult include/define.h in doubt :-) +=head3 FORCE - type 114 - Forces + +Forces are a very 'thin' type. They don't have much behaviour other than +disappearing after a time and/or affecting the player if they are in his inventory. + +Forces only take effect on the player if they have set FLAG_APPLIED. + +Whether the duration field is processed or not a tick is controlled via the +speed and speed_left field. Look above at the generic description of these +fields. + +=over 4 + +=item duration + +While this field is greater than 0 the force/object is not destroyed. +It is decreased each tick by 1. + +If it reaches 0 the force/object is destroyed. + +This field can have this meaning for B object if that object has +FLAG_IS_USED_UP and FLAG_APPLIED set. See the description of FLAG_IS_USED_UP +what happens then. + +=back + =head3 WEAPON - type 15 - Weapons This type is for general hack and slash weapons like swords, maces @@ -294,20 +322,3 @@ FLAG_LIFESAVE, FLAG_REFL_SPELL, FLAG_REFL_MISSILE, FLAG_STEALTH, FLAG_XRAYS, FLAG_BLIND, FLAG_SEE_IN_DARK, FLAG_UNDEAD - -=head3 FORCE - type 114 - Forces - -Note: Forces only take effect on the player if they have set FLAG_APPLIED. - -Whether the duration field is processed or not a tick is controlled via the -speed and speed_left field. Look above at the generic description of these -fields. - -=over 4 - -=item duration - -While this field is greater than 0 the force is not removed. -It is decreased each tick by 1. - -=back