GearTypes: add infinite globals
authorWuzzy
Tue, 04 Dec 2018 00:12:39 +0000
changeset 1646 5255f589c12b
parent 1645 35f6bcebe525
child 1647 4185517621d5
GearTypes: add infinite globals
GearTypes.wiki
--- a/GearTypes.wiki	Tue Dec 04 00:09:38 2018 +0000
+++ b/GearTypes.wiki	Tue Dec 04 00:12:39 2018 +0000
@@ -207,7 +207,7 @@
 ==== `gtJetpack` ====
 A flying saucer. Its fuel is stored in `Health` and starts at 2000, which stands for 100% fuel. The fuel value is reduced whenever the player taps one of the direction keys. The up direction costs 50 fuel and the left and right directions cost 10 fuel.
 
- * `Health`: Amount of remaining fuel. `2000` denotes 100% fuel.
+ * `Health`: Amount of remaining fuel. `2000` denotes 100% fuel. The special value `JETPACK_FUEL_INFINITE` is used for infinite fuel
 
 ==== `gtLandGun` ====
 The land spray tool. Creates [GearTypes#gtFlake `gtFlake`] gears.
@@ -304,7 +304,7 @@
 Birdy. Transports hogs and can drop eggs ([GearTypes#gtEgg `gtEgg`]). Birdy works like a flying saucer and depletes energy (stored in `Health`) whenever you tap one of the direction keys. Flapping left and right costs 10 energy, flapping upwards costs 50 energy.
 
  * `Tag`: Facing direction (`-1` = left, `1` = right)
- * `Health`: “Flapping energy” left, default is 2000
+ * `Health`: “Flapping energy” left, default is 2000. The special value `BIRDY_ENERGY_INFINITE` is used for infinite energy
  * `FlightTime`: Number of eggs left (default: 2)
 
 ==== `gtBlowTorch` ====