LuaAPI.wiki
changeset 1683 e8df7f4501a6
parent 1679 3f5e880b0375
child 1692 cb3ddd1c394a
equal deleted inserted replaced
1682:22a1cfe0eaf3 1683:e8df7f4501a6
   157 || `Seed` || `0` || Seed of the random number generator ||
   157 || `Seed` || `0` || Seed of the random number generator ||
   158 || `LandDigest` || _N/A_ || Digest for the current map. Only meant for internal use by Hedgewars ||
   158 || `LandDigest` || _N/A_ || Digest for the current map. Only meant for internal use by Hedgewars ||
   159 || `MapGen` || `mgRandom` || Type of map generator. One of `mgRandom`, `mgMaze`, `mgPerlin`, `mgDrawn`. ||
   159 || `MapGen` || `mgRandom` || Type of map generator. One of `mgRandom`, `mgMaze`, `mgPerlin`, `mgDrawn`. ||
   160 || `TemplateFilter` || `0` || _unknown meaning_ ||
   160 || `TemplateFilter` || `0` || _unknown meaning_ ||
   161 || `TemplateNumber` || `0` || _unknown meaning_ ||
   161 || `TemplateNumber` || `0` || _unknown meaning_ ||
   162 || `MapFeatureSize` || `50` || Used by random maps to determine its “curvyness” or complexity. This value can be set by the user with the slider under the random map preview in the game setup screen. The user-set value ranges from 1 (leftmost position) to 25 (rightmost position). A good starting value is `12`. ||
   162 || `MapFeatureSize` || `50` (`12` in 1.0.0) || Used by random maps to determine its “curvyness” or complexity. This value can be set by the user with the slider under the random map preview in the game setup screen. The user-set value ranges from 1 (leftmost position) to 25 (rightmost position). A good starting value is `12`. ||
   163 || `GameFlags` || `0` || All `GameFlags` combined as a bitmask. Setting `GameFlags` directly is discouraged, use the [LuaAPI#GameFlags_functions] instead ||
   163 || `GameFlags` || `0` || All `GameFlags` combined as a bitmask. Setting `GameFlags` directly is discouraged, use the [LuaAPI#GameFlags_functions] instead ||
   164 || `Ready` || `5000` || Ready timer at the start of the turn (in milliseconds) ||
   164 || `Ready` || `5000` || Ready timer at the start of the turn (in milliseconds) ||
   165 || `Delay` || `100` || Time the current hedgehog needs to be inactive before gear stuff gets updated in infinite attack mode, like applying hog damage and deaths. This is quite an obscure variable, only change it if you know what you're doing ||
   165 || `Delay` || `100` || Time the current hedgehog needs to be inactive before gear stuff gets updated in infinite attack mode, like applying hog damage and deaths. This is quite an obscure variable, only change it if you know what you're doing ||
   166 || `TurnTime` || `45000` || Turn time in milliseconds ||
   166 || `TurnTime` || `45000` || Turn time in milliseconds ||
   167 || `GetAwayTime` || `100` || Retreat time in percent ||
   167 || `GetAwayTime` || `100` || Retreat time in percent ||