diff -r 89d9153aaf4f -r 83ede97a33c6 LuaAPI.wiki
--- 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:
* Seed = 0 - sets the seed of the random number generator
* !EnableGameFlags(gfSolidLand, gfArtillery) - sets the !GameFlags (just 2 of them in this example), see above for the available flags/
- * !TurnTime = 60000 - set the turntime in ms
+ * !TurnTime = 60000 - set the turn time in ms
* !CaseFreq = 0 - frequency of crate drops
* !HealthCaseProb = 35 - chance of receiving a health crate
* !HealthCaseAmount = 25 - amount of health in a health crate
* !DamagePercent = 100 - percent of damage to inforce
* !MinesNum = 0 - number of mines being placed (before 0.9.14 !LandAdds)
- * !MinesTime = 3 - time for a mine to explode from activated, -1 for random
+ * !MinesTime = 3000 - time for a mine to explode from activated (in milliseconds), -1000 for random
* !MineDudPercent = 0 - chance of mine being a dud
* Explosives = 0 - number of explosives being placed
* Delay = 0 - delay between each round
@@ -146,7 +146,7 @@
* !HealthDecrease = 5 - amount of health decreased on sudden death
* Map = "Bamboo" - the map being played
* Theme = "Bamboo" - the theme to be used
- * Ready = 5000 - the ready timer at the start of the round
+ * Ready = 5000 - the ready timer at the start of the round (in milliseconds)
* !MapGen - type of map generator. One of `mgRandom`, `mgMaze`, `mgPerlin`, `mgDrawn`.
* !TemplateFilter
* Goals = "Jumping is disabled" - if you want to add info to the game mode dialog, use "|" to separate lines