# HG changeset patch # User almikes@aol.com # Date 1438100367 0 # Node ID dd27ba1f54a625869d28813cdfcff4953f1ec048 # Parent 76d662d0494790cf6bdcac098b788eb8d7400fc9 Add GetAwayTime diff -r 76d662d04947 -r dd27ba1f54a6 LuaAPI.wiki --- 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: * 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/ + * Ready = 5000 - the ready timer at the start of the round (in milliseconds) + * Delay = 0 - delay between each round in ms + * !GetAwayTime = 100 set the retreat time in percent * !TurnTime = 60000 - set the turn time in ms * !CaseFreq = 0 - frequency of crate drops * !HealthCaseProb = 35 - chance of receiving a health crate @@ -142,13 +145,11 @@ * !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 * !SuddenDeathTurns = 30 - turns until sudden death begins * !WaterRise = 47 - height of water rise at sudden death in pixels * !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 (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