# HG changeset patch # User Wuzzy # Date 1570554427 -3600 # Node ID 99c1f52853a200ecdf2413f0f8b5838fcc061309 # Parent 657ff12d44b9dc7c9cc7152565022fa0161e95fc LuaGlobals: Update MapFeatureSize diff -r 657ff12d44b9 -r 99c1f52853a2 LuaGlobals.wiki --- a/LuaGlobals.wiki Tue Oct 08 18:02:47 2019 +0100 +++ b/LuaGlobals.wiki Tue Oct 08 18:07:07 2019 +0100 @@ -78,7 +78,7 @@ || `MapGen` || `mgRandom` || Type of map generator. One of `mgRandom`, `mgMaze`, `mgPerlin`, `mgDrawn`. || || `TemplateNumber` || `0` || Set the number of the land template for the random map generator `mgRandom`. Use this to force a certain “style” of random map. A land template is a rule set for random maps. Maps generated with the same template look similar. You can see the land template number in console when you generate a new random map in the frontend. This field is write-only, you cannot use it to read the template number that Hedgewars chose (you will always get `0`). To be able to set the `TemplateNumber`, you must also set `TemplateFilter` to `6`. || || `TemplateFilter` || `0` || Used for random map generators. This is the number of the template filter to be used. A template filter is a grouping of multiple land templates. This corresponds directly to the map size / map style selection in the frontend (e.g. Small/Medium/Large/Cavern/Wacky). || -|| `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`. || +|| `MapFeatureSize` || `12` || Used by maps to set their land detail/complexity. For drawn maps, this sets the map size. Game styles can use this value in a special way as well. This value can be set by the user with the slider under the map preview in the game setup screen. The user-set value ranges from 1 (leftmost position) to 25 (rightmost position). || || `GameFlags` || `0` || All `GameFlags` combined as a bitmask. Setting `GameFlags` directly is discouraged, use the [LuaGameplay#GameFlags_functions GameFlags functions] instead || || `InitHealth` || `100` || (1.0.0) Initial hedgehog health from the game scheme (read-only) || || `Ready` || `5000` || Ready timer at the start of the turn (in milliseconds) ||