151 |
151 |
152 If the gear state flag `gsttmpFlag` is set, it is a flake from a land spray, otherwise, it is a snowflake. |
152 If the gear state flag `gsttmpFlag` is set, it is a flake from a land spray, otherwise, it is a snowflake. |
153 |
153 |
154 ==== `gtFlame` ==== |
154 ==== `gtFlame` ==== |
155 A single flame. |
155 A single flame. |
156 In the main game, there are two kinds of flames: Sticky ones and non-sticky ones. Non-sticky ones will quickly burn through land and are guaranteed to be destroyed at the end of a turn. Sticky flames may live through multiple turns and burn very slowly through land. Sticky flames die based on time. |
156 In the main game, there are two kinds of flames: Normal flames and sticky flames. Normal flames will quickly burn through land and are guaranteed to be destroyed at the end of a turn. Sticky flames may live through multiple turns and burn very slowly through land. Sticky flames die based on time. |
157 |
157 |
158 Sticky flames have the gear state flag `gsttmpFlag` set, non-sticky ones haven't. |
158 Sticky flames have the gear state flag `gsttmpFlag` set, non-sticky ones haven't. |
159 |
159 |
160 * `Tag`: For sticky flames, this determines the burning time (higher = longer). Burning time in ms = `3000+1500*Tag`. This also sets the “direction” of the animation. If the last binary digit is a 0, the animation is played forwards, otherwise its backwards. `Tag` is initialized with a random value between 0 and 31. |
160 * `Tag`: For sticky flames, this determines the burning time (higher = longer). Burning time in ms = `3000+1500*Tag`. This also sets the “direction” of the animation. If the last binary digit is a 0, the animation is played forwards, otherwise its backwards. `Tag` is initialized with a random value between 0 and 31. |
161 * `Health`: Size of the flame. Non-sticky flames starts at 5 (largest) and become smaller as they destroy land and damage gears. All flames die when they reach a health of 0. |
161 * `Health`: Size of the flame. Normal flames starts at 5 (largest) and become smaller as they destroy land and damage gears. All flames die when they reach a health of 0. |
162 * `FlightTime`: If set to `0`, this flame can damage hedgehogs and other gears even in mid-air. Otherwise, flames don't do damage while they are still falling. By default, the `FlightTime` is a huge non-zero value. |
162 * `FlightTime`: If set to `0`, this flame can damage hedgehogs and other gears even in mid-air. Otherwise, flames don't do damage while they are still falling. By default, the `FlightTime` is a huge non-zero value. |
163 * `Boom`: Damage and size of destroyed land (default: 2). Sticky flames always deal `Boom` damage, non-sticky flames deal either `Boom` or sometimes deal 3 times this value as damage. |
163 * `Boom`: Damage and size of destroyed land (default: 2). Sticky flames always deal `Boom` damage, normal flames deal either `Boom` or sometimes deal 3 times this value as damage. |
164 |
164 |
165 ==== `gtGrave` ==== |
165 ==== `gtGrave` ==== |
166 A grave from a dead hedgehog. |
166 A grave from a dead hedgehog. |
167 |
167 |
168 * `Pos`: `gearUid` of the dead hedgehog |
168 * `Pos`: `gearUid` of the dead hedgehog |