# HG changeset patch
# User Wuzzy
# Date 1459085210 -3600
# Node ID ef44649bd9dfed19a881c0ecfe20bbb536289cad
# Parent 9ec4666eed9e565ec879ba0d752390adb42f870c
Theme: Explain values syntax everywhere
diff -r 9ec4666eed9e -r ef44649bd9df 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`.
+Values: opacity
+
== `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`.
+Values: number
+
== `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.
+Values: number, frames, frame ticks, speed, fall speed
+
== `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 @@
Values: name, number
== `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