ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/server/pod/objects.pod
(Generate patch)

Comparing cf.schmorp.de/server/pod/objects.pod (file contents):
Revision 1.33 by root, Sat Nov 7 18:30:05 2009 UTC vs.
Revision 1.34 by root, Sun Nov 29 09:41:28 2009 UTC

114 114
115This field indicates how far an object glows. Default is a radius of 0 (no 115This field indicates how far an object glows. Default is a radius of 0 (no
116glowing at all). Negative glow radii darken areas - currently, negative 116glowing at all). Negative glow radii darken areas - currently, negative
117glow radii are stronger than positive ones. 117glow radii are stronger than positive ones.
118 118
119=item I<speed> <number> 119=item I<speed> <float>
120 120
121If this field is greater than MIN_ACTIVE_SPEED (~0.0001) the object is placed 121If this field is greater than MIN_ACTIVE_SPEED (~0.0001) the object is placed
122on the active object list and will be processed each tick (see also speed_left!). 122on the active object list and will be processed each tick (see also speed_left!).
123 123
124If I<speed> drops below the MIN_ACTIVE_SPEED the object is removed 124If I<speed> drops below the MIN_ACTIVE_SPEED the object is removed
125from the active object list and it won't experience any processing per tick. 125from the active object list and it won't experience any processing per tick.
126 126
127Negative speed settings in archetypes and files cause a speed_left
128randomisation on load or instantiatian, but for calculations, the absolute
129value is used always.
130
127=item I<speed_left> <number> 131=item I<speed_left> <float>
128 132
129If this field is greater than 0 and the object is on the 133If this field is greater than 0 and the object is on the
130active list (mostly means it's speed is also greater than 0): 134active list (mostly means it's speed is also greater than 0):
131 135
132 - speed_left is decreased by 1 136 - speed_left is decreased by 1
747The minimum I<speed> of an arrow is 1.0. 751The minimum I<speed> of an arrow is 1.0.
748 752
749While flying the arrows I<speed> is decreased by 0.05 each time it's moved. 753While flying the arrows I<speed> is decreased by 0.05 each time it's moved.
750 754
751If the I<speed> is above 10.0 it goes straight through the creature it hits and 755If the I<speed> is above 10.0 it goes straight through the creature it hits and
752it's I<speed> is reduced by 1. If the I<speed> is lower or equal 10.0 the arrow is 756its I<speed> is reduced by 1. If the I<speed> is lower or equal 10.0 the arrow is
753stopped and either sticked into the victim (see I<weight> field description) or 757stopped and either stuck into the victim (see I<weight> field description) or
754put on it's map square (if it didn't break, see description of the I<food> field). 758put on its map square (if it didn't break, see description of the I<food> field).
755 759
756=item I<weight> <number> 760=item I<weight> <number>
757 761
758This field is the weight of the arrow, if I<weight> is below or equal 5000 (5 kg) 762This field is the weight of the arrow, if I<weight> is below or equal 5000 (5 kg)
759the arrow will stick in the victim it hits. Otherwise it will fall to the ground. 763the arrow will stick in the victim it hits. Otherwise it will fall to the ground.
971=item I<hp> <number> 975=item I<hp> <number>
972 976
973If FLAG_LIVE_SAVE is not set it is the absolute number of times the creator can 977If FLAG_LIVE_SAVE is not set it is the absolute number of times the creator can
974be used. 978be used.
975 979
976=item I<speed> <number> 980=item I<speed> <float>
977 981
978If I<speed> is set the creator will create an object periodically, 982If I<speed> is set the creator will create an object periodically,
979see I<speed> and I<speed_left> fields in the general object field description 983see I<speed> and I<speed_left> fields in the general object field description
980for more details. 984for more details.
981 985

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines