updated with more options and flags
authorhenrik.rostedt
Mon, 08 Nov 2010 23:18:06 +0000
changeset 21 e8bcd7c1ba3c
parent 20 0cd14659de00
child 22 af151755fd72
updated with more options and flags
LuaAPI.wiki
--- a/LuaAPI.wiki	Mon Nov 08 22:34:06 2010 +0000
+++ b/LuaAPI.wiki	Mon Nov 08 23:18:06 2010 +0000
@@ -6,8 +6,7 @@
 </blockquote>
 Game flags:
 
-<blockquote><tt>gfForts, gfMultiWeapon, gfSolidLand, gfDivideTeams, gfLowGravity, gfLaserSight, gfInvulnerable, gfMines, gfVampiric, gfKarma, gfArtillery, gfOneClanMode, gfRandomOrder, gfKing, gfPlaceHog, gfSharedAmmo, gfDisableGirders, gfExplosives, gfDisableLandObjects, gfAISurvival</tt>
-</blockquote>
+<blockquote><tt>gfForts, gfMultiWeapon, gfSolidLand, gfDivideTeams, gfLowGravity, gfLaserSight, gfInvulnerable, gfMines, gfVampiric, gfKarma, gfArtillery, gfOneClanMode, gfRandomOrder, gfKing, gfPlaceHog, gfSharedAmmo, gfDisableGirders, gfExplosives, gfDisableLandObjects, gfAISurvival, gfInfAttack, gfResetWeps, gfPerHogAmmo, gfDisableWind</tt></blockquote>
 More constants at [GearTypes Gear Types] , [AmmoTypes Ammo Types], [Sounds], [States]
 
 Additional global changing variables accessible:
@@ -25,10 +24,17 @@
  * <tt>!GameFlags = gfSolidLand + gfArtillery + …</tt> - sets the gameflags, see above for the available flags
  * <tt>!TurnTime = 60000</tt> - set the turntime in ms
  * <tt>!CaseFreq = 0</tt> - frequency of crate drops
- * <tt>!LandAdds = 0</tt> - number of mines being placed
+ * <tt>HealthCaseProb = 35</tt> - chance of receiving a health crate
+ * <tt>HealthCaseAmount = 25</tt> - amount of health in a health crate
+ * <tt>!DamagePercent = 100</tt> - percent of damage to inforce
+ * <tt>!MinesNum = 0</tt> - number of mines being placed (before 0.9.14 LandAdds)
+ * <tt>!MinesTime = 3</tt> - time for a mine to explode from activated, -1 for random
+ * <tt>!MineDudPercent = 0</tt> - chance of mine being a dud
  * <tt>Explosives = 0</tt> - number of explosives being placed
  * <tt>Delay = 0</tt> - delay between each round
  * <tt>!SuddenDeathTurns = 30</tt> - turns until sudden death begins
+ * <tt>WaterRise = 47</tt> - height of water rise at sudden death in pixels
+ * <tt>HealthDecrease = 5</tt> - amount of health decreased on sudden death
  * <tt>Map = "Bamboo"</tt> - the map being played
  * <tt>Theme = "Bamboo"</tt> - the theme to be used