Add land flags
authoralmikes@aol.com
Wed, 31 Dec 2014 04:07:49 +0000
changeset 540 b41b9305be9f
parent 539 7173ac8996f9
child 541 1973f3d9df3d
Add land flags
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Dec 31 03:59:46 2014 +0000
+++ b/LuaAPI.wiki	Wed Dec 31 04:07:49 2014 +0000
@@ -111,6 +111,15 @@
 || `gfTagTeam` || Tag Team: Teams in the same clan share their turn time. ||
 || `gfResetHealth` || The health of all living hedgehogs is reset at the end of each turn. ||
 
+=== Land flags ===
+The land flags denote several types of terrain. Like all flags, they can be combined at will.
+
+|| *Identifier* || *Meaning* ||
+|| `lfIce` || Slippery terrain, hogs will slide on it. ||
+|| `lfBouncy` || Bouncy terrain, hogs and some other gears will bounce off when they collide with it. ||
+|| `lfIndestructible` || Almost indestructible terrain, most weapons will not destroy it. ||
+|| `lfNormal` || Normal destroyable terrain. Note that this is only actually the case when no other land flag is set. ||
+
 === More constants ===
 More constants are at at [GearTypes Gear Types] , [AmmoTypes Ammo Types], [Sounds], [States], [Sprites], [VisualGearTypes Visual Gear Types].
 
@@ -810,7 +819,7 @@
  * `sprCustom1`
  * `sprCustom2`
 
-The 5th and later arguments specify land flags (see data types) to be used for the newly created terrain. If omited, `lfNormal` is assumed.
+The 5th and later arguments specify land flags (see the constants section) to be used for the newly created terrain. If omited, `lfNormal` is assumed.
 
 Example: