Theme: Explain values syntax everywhere
authorWuzzy
Sun, 27 Mar 2016 14:26:50 +0100
changeset 803 ef44649bd9df
parent 802 9ec4666eed9e
child 804 ed22ff58ac55
Theme: Explain values syntax everywhere
Theme.wiki
--- a/Theme.wiki	Sun Mar 27 14:16:58 2016 +0100
+++ b/Theme.wiki	Sun Mar 27 14:26:50 2016 +0100
@@ -63,6 +63,8 @@
 == `sd-water-opacity` ==
 The water opacity while in Sudden Death. By default, it has the same value as `water-opacity`.
 
+<code>Values: opacity</code>
+
 == `music` ==
 Name of the music file to be played in the theme before Sudden Death, e.g. `Nature.ogg`. You find music tracks in `Data/Music` of the Hedgewars installation directory. The file name is case-sensitive!
 
@@ -79,9 +81,13 @@
 == `sd-clouds` ==
 Number of clouds while in Sudden Death, uses the file `SDClouds.png`. By default it is the same number as `clouds`.
 
+<code>Values: number</code>
+
 == `flatten-clouds` ==
 Normally, the clouds vary in size and are drawn on different layers. But if this key is present (any value) in `theme.cfg`, all clouds have the same size and are on the same layer (background).
 
+The value of this key does not matter, the key must only be present to take effect.
+
 == `flakes` ==
 Values for the flakes of this theme before Sudden Death. Uses `Flake.png`. If this field is left out, then there are no flakes.
 
@@ -98,9 +104,13 @@
 == `sd-flakes` ==
 Sudden death version of `flakes`, the parameters are the same as in `flakes`. This uses `SDFlake.png`. By default, the flakes are skulls and bones.
 
+<code>Values: number, frames, frame ticks, speed, fall speed</code>
+
 == `flatten-flakes` ==
 Normally, the flakes vary in size and are drawn on different layers, some of them even in front of the terrain. But if this key is present (any value) in `theme.cfg`, all flakes have the same size and are on the same layer: In front of the sky and horizont and behind the terrain.
 
+The value of this key does not matter, the key must only be present to take effect.
+
 == `object` ==
 There may be multiple object keys in the file, each one representing one land object.
 
@@ -122,11 +132,11 @@
 <code>Values: name, number</code>
 
 == `ice` ==
-If this key is present (any value), girders become slippery like ice. This also applies to placed girders. This significantly changes the gameplay of your theme, so use wisely.
+If this key is present (any value), girders become slippery like ice. This also applies to placed girders. This significantly changes the gameplay of your theme, so use wisely. If this key is not present, the terrain is not slippery.
 
-If this key is not present, the terrain is not slippery.
+The value of this key does not matter, the key must only be present to take effect.
 
 == `snow` ==
-If this key is present (any value), the flakes which are normally purely decorational now behave like snowflakes. When they collide with terrain, they become a part of the landscape. This significantly changes the gameplay of your theme, so use wisely.
+If this key is present (any value), the flakes which are normally purely decorational now behave like snowflakes. When they collide with terrain, they become a part of the landscape. This significantly changes the gameplay of your theme, so use wisely. If this key is not present, the flakes are purely decorational.
 
-If this key is not present, the flakes are purely decorational.
\ No newline at end of file
+The value of this key does not matter, the key must only be present to take effect.
\ No newline at end of file