=head1 Random Map Deployment Guide =head2 Using random maps Any exit with "/!" as the destination map will generate a random map. To specify random map parameters, you put parameters in the message field for the exit. =head2 How styles work A "style" is usually a small map which contains only objects which define the "style". For example, a monsterstyle "orc" might be a map which has six orcs, a kobold, and a troll in it. When monsters are placed, the generator will randomly choose monsters from the "orc" style, and for this example, on average, it will generate 6 orcs/troll and 1 kobold/troll. So orcs will be very common, and there'll be occasional trolls and kobolds. In principle, you may put any object in any style map. However, the map generator will do special things with the object depending on which directory it is in. Style maps are located in maps/styles/*, you may use the editor to modify the style maps, or create new ones. Any style parameters that accept a map path accept both simple maps (F<.map> files), meta files (F<.rmg>) and directories. Maps will simply be used as-is. Meta files are JSON objects with (currently) only one key: "maps" which must be a hash with C<"path" : weight> pairs, of which one is randomly chosen. Directories are handled based on the filenames in it: if there are any files with "_\d+" in their name (e.g F, F), then the one with the value closest to the difficulty value is chosen, otherwise a random entry is picked (which can in turn be a meta file, directory etc.). =head2 Style Parameters layoutstyle