… | |
… | |
114 | |
114 | |
115 | This field indicates how far an object glows. Default is a radius of 0 (no |
115 | This field indicates how far an object glows. Default is a radius of 0 (no |
116 | glowing at all). Negative glow radii darken areas - currently, negative |
116 | glowing at all). Negative glow radii darken areas - currently, negative |
117 | glow radii are stronger than positive ones. |
117 | glow radii are stronger than positive ones. |
118 | |
118 | |
119 | =item I<speed> <number> |
119 | =item I<speed> <float> |
120 | |
120 | |
121 | If this field is greater than MIN_ACTIVE_SPEED (~0.0001) the object is placed |
121 | If this field is greater than MIN_ACTIVE_SPEED (~0.0001) the object is placed |
122 | on the active object list and will be processed each tick (see also speed_left!). |
122 | on the active object list and will be processed each tick (see also speed_left!). |
123 | |
123 | |
124 | If I<speed> drops below the MIN_ACTIVE_SPEED the object is removed |
124 | If I<speed> drops below the MIN_ACTIVE_SPEED the object is removed |
125 | from the active object list and it won't experience any processing per tick. |
125 | from the active object list and it won't experience any processing per tick. |
126 | |
126 | |
|
|
127 | Negative speed settings in archetypes and files cause a speed_left |
|
|
128 | randomisation on load or instantiatian, but for calculations, the absolute |
|
|
129 | value is used always. |
|
|
130 | |
127 | =item I<speed_left> <number> |
131 | =item I<speed_left> <float> |
128 | |
132 | |
129 | If this field is greater than 0 and the object is on the |
133 | If this field is greater than 0 and the object is on the |
130 | active list (mostly means it's speed is also greater than 0): |
134 | active 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 |
… | |
… | |
462 | This field has some special meaning in potions, currently the |
466 | This field has some special meaning in potions, currently the |
463 | bits for AT_DEPLETE and AT_GODPOWER control whethere this is a |
467 | bits for AT_DEPLETE and AT_GODPOWER control whethere this is a |
464 | restoration potion or improvement potion. |
468 | restoration potion or improvement potion. |
465 | See include/attackinc.h for the bits of these types. |
469 | See include/attackinc.h for the bits of these types. |
466 | |
470 | |
467 | If AT_DEPLETE is set the player will be restored and the ARCH_DEPLETION |
471 | If AT_DEPLETE is set the player will be restored and the "depletion" |
468 | will be removed from him. If the potion has FLAG_CURSED or FLAG_DAMNED |
472 | will be removed from him. If the potion has FLAG_CURSED or FLAG_DAMNED |
469 | set the player will be drained a random stat by inserting an ARCH_DEPLETION |
473 | set the player will be drained a random stat by inserting an "depletion" |
470 | into him. |
474 | into him. |
471 | |
475 | |
472 | If AT_GODPOWER is enabled the player will gain +1 maxvalue in his hp, sp or grace stat. |
476 | If AT_GODPOWER is enabled the player will gain +1 maxvalue in his hp, sp or grace stat. |
473 | When the potion has FLAG_CURSED or FLAG_DAMNED set he will loose one in one of these stats. |
477 | When the potion has FLAG_CURSED or FLAG_DAMNED set he will loose one in one of these stats. |
474 | |
478 | |
… | |
… | |
747 | The minimum I<speed> of an arrow is 1.0. |
751 | The minimum I<speed> of an arrow is 1.0. |
748 | |
752 | |
749 | While flying the arrows I<speed> is decreased by 0.05 each time it's moved. |
753 | While flying the arrows I<speed> is decreased by 0.05 each time it's moved. |
750 | |
754 | |
751 | If the I<speed> is above 10.0 it goes straight through the creature it hits and |
755 | If the I<speed> is above 10.0 it goes straight through the creature it hits and |
752 | it's I<speed> is reduced by 1. If the I<speed> is lower or equal 10.0 the arrow is |
756 | its I<speed> is reduced by 1. If the I<speed> is lower or equal 10.0 the arrow is |
753 | stopped and either sticked into the victim (see I<weight> field description) or |
757 | stopped and either stuck into the victim (see I<weight> field description) or |
754 | put on it's map square (if it didn't break, see description of the I<food> field). |
758 | put 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 | |
758 | This field is the weight of the arrow, if I<weight> is below or equal 5000 (5 kg) |
762 | This field is the weight of the arrow, if I<weight> is below or equal 5000 (5 kg) |
759 | the arrow will stick in the victim it hits. Otherwise it will fall to the ground. |
763 | the 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 | |
973 | If FLAG_LIVE_SAVE is not set it is the absolute number of times the creator can |
977 | If FLAG_LIVE_SAVE is not set it is the absolute number of times the creator can |
974 | be used. |
978 | be used. |
975 | |
979 | |
976 | =item I<speed> <number> |
980 | =item I<speed> <float> |
977 | |
981 | |
978 | If I<speed> is set the creator will create an object periodically, |
982 | If I<speed> is set the creator will create an object periodically, |
979 | see I<speed> and I<speed_left> fields in the general object field description |
983 | see I<speed> and I<speed_left> fields in the general object field description |
980 | for more details. |
984 | for more details. |
981 | |
985 | |