# HG changeset patch # User Wuzzy # Date 1572695164 0 # Node ID c6cb4d0c2b1a9c0310d9fa5fd01fe9019ab670e1 # Parent a0a6ebfa2aabc48751a751705257568ff29527a5 LuaGlobals: Seed is a string diff -r a0a6ebfa2aab -r c6cb4d0c2b1a LuaGlobals.wiki --- a/LuaGlobals.wiki Fri Nov 01 19:34:47 2019 +0000 +++ b/LuaGlobals.wiki Sat Nov 02 11:46:04 2019 +0000 @@ -73,7 +73,7 @@ || *Identifier* || *Default* || *Description* || || `Theme` || _depends_ || The theme to be used. When `Map` is set, a default value is used. For missions which don't use an image map, `Theme` *must* be set explicitly || || `Map` || `""` || The image map being played or `""` if no image map is used || -|| `Seed` || `0` || Seed of the random number generator || +|| `Seed` || `""` || Seed of the random number generator. This is a string || || `LandDigest` || _N/A_ || Digest for the current map. Only meant for internal use by Hedgewars || || `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`. ||