LuaAPI.wiki
changeset 572 dd27ba1f54a6
parent 567 17cf8a0c007f
child 573 aa505738aff0
--- a/LuaAPI.wiki	Tue Jul 28 15:09:59 2015 +0000
+++ b/LuaAPI.wiki	Tue Jul 28 16:19:27 2015 +0000
@@ -133,6 +133,9 @@
 This function is called before the game loads its resources. One can modify various game variables here:
  * <tt>Seed = 0</tt> - sets the seed of the random number generator
  * <tt>!EnableGameFlags(gfSolidLand, gfArtillery)</tt> - sets the !GameFlags (just 2 of them in this example), see above for the available flags/
+ * <tt>Ready = 5000</tt> - the ready timer at the start of the round (in milliseconds)
+ * <tt>Delay = 0</tt> - delay between each round in ms
+ * <tt>!GetAwayTime = 100</tt> set the retreat time in percent
  * <tt>!TurnTime = 60000</tt> - set the turn time in ms
  * <tt>!CaseFreq = 0</tt> - frequency of crate drops
  * <tt>!HealthCaseProb = 35</tt> - chance of receiving a health crate
@@ -142,13 +145,11 @@
  * <tt>!MinesTime = 3000</tt> - time for a mine to explode from activated (in milliseconds), -1000 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
- * <tt>Ready = 5000</tt> - the ready timer at the start of the round (in milliseconds)
  * <tt>!MapGen</tt> - type of map generator. One of `mgRandom`, `mgMaze`, `mgPerlin`, `mgDrawn`.
  * <tt>!TemplateFilter</tt>
  * <tt>Goals = "Jumping is disabled"</tt> - if you want to add info to the game mode dialog, use "|" to separate lines