# HG changeset patch # User Wuzzy # Date 1444676913 0 # Node ID 42b3e6a6ea8aee45af27cac190f90f7a44b8c293 # Parent 044ef16b8ac598c63ec25117055f20db1e22e854 Minor copy-editing diff -r 044ef16b8ac5 -r 42b3e6a6ea8a LuaAPI.wiki --- a/LuaAPI.wiki Mon Oct 12 19:07:14 2015 +0000 +++ b/LuaAPI.wiki Mon Oct 12 19:08:33 2015 +0000 @@ -153,7 +153,7 @@ * Map = "Bamboo" - the map being played * Theme = "Bamboo" - the theme to be used * !MapGen - type of map generator. One of `mgRandom`, `mgMaze`, `mgPerlin`, `mgDrawn`. - * Goals = "Jumping is disabled" - Use this to add additional text to the goal text popup shown at the beginning and when using the quit or pause keys. The text is added to the default text which usually explains the game modifiers and does not replace it. Use “`|`” for line breaks. Also, all text before and including a “`:`” in a line will be highlighted. See also ShowMission + * Goals = "Jumping is disabled" - Use this to add additional text to the goal text popup shown at the beginning and when using the quit or pause keys. The text is added to the default text which usually explains the game modifiers and does not replace it. Use `|` for line breaks. Also, all text before and including a `:` in a line will be highlighted. See also !ShowMission. * !TemplateFilter - _unknown meaning_ * !TemplateNumber - _unknown meaning_ * !MapFeatureSize - 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). @@ -1055,7 +1055,7 @@ `caption` is the text displayed in the first line, `subcaption` is displayed in the second line and `text` is the text displayed in the third and following lines. -`text` uses some special characters for formatting: “`|`” is used for a line break, and everything written before and including a “`:`” in a line is written in a lighter color. +`text` uses some special characters for formatting: `|` is used for a line break, and everything written before and including a `:` in a line is written in a lighter color. As of version 0.9.22, `icon` accepts the following values: