--- a/LuaAPI.wiki Tue Jul 28 11:05:36 2015 +0000
+++ b/LuaAPI.wiki Tue Jul 28 11:44:47 2015 +0000
@@ -131,13 +131,13 @@
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>!TurnTime = 60000</tt> - set the turntime in ms
+ * <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
* <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>!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
@@ -146,7 +146,7 @@
* <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
+ * <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