ThemeCfg.wiki
changeset 2077 514babfbad9e
parent 1889 e6b16d2d7377
child 2084 7fe5cb216b02
equal deleted inserted replaced
2076:0b6e80767d96 2077:514babfbad9e
    26 Literally all lines in the `theme.cfg` file are optional, thus an empty file is valid. Everything has a default value. However, some default values are not really useful (e.g. the water or sky color) and you should therefore explicitly specify enough values.
    26 Literally all lines in the `theme.cfg` file are optional, thus an empty file is valid. Everything has a default value. However, some default values are not really useful (e.g. the water or sky color) and you should therefore explicitly specify enough values.
    27 
    27 
    28 == General configuration keys ==
    28 == General configuration keys ==
    29 === `hidden` ===
    29 === `hidden` ===
    30 If this key is present in `theme.cfg` (the value does not matter), the theme will be hidden from the theme selection menu. Background themes *must* be hidden.
    30 If this key is present in `theme.cfg` (the value does not matter), the theme will be hidden from the theme selection menu. Background themes *must* be hidden.
    31 
       
    32 This key has been added in 0.9.24.
       
    33 
    31 
    34 === `ice` ===
    32 === `ice` ===
    35 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.
    33 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.
    36 
    34 
    37 === `snow` ===
    35 === `snow` ===
   170  * `frame ticks`: Duration of a single frame. Must be >0 if `frames`>1, otherwise it is ignored
   168  * `frame ticks`: Duration of a single frame. Must be >0 if `frames`>1, otherwise it is ignored
   171  * `movement speed`: How fast the water moves to the right. Higher values means faster movement. If negative, it moves to the left. Use 0 to stop movement
   169  * `movement speed`: How fast the water moves to the right. Higher values means faster movement. If negative, it moves to the left. Use 0 to stop movement
   172 
   170 
   173 <code>Default: 1, 0, 1</code>
   171 <code>Default: 1, 0, 1</code>
   174 
   172 
   175 This key has been added in 0.9.23.
       
   176 
       
   177 === `sd-water-animation` ===
   173 === `sd-water-animation` ===
   178 Sudden Death equivalent of `water-animation`, uses `SDWater.png`.
   174 Sudden Death equivalent of `water-animation`, uses `SDWater.png`.
   179 
   175 
   180 == Background keys ==
   176 == Background keys ==
   181 === `sky` ===
   177 === `sky` ===
   182 The colour of the sky.
   178 The colour of the sky.
   183 
   179 
   184 <code>Values: red, green, blue</code>
   180 <code>Values: red, green, blue</code>
   185 
   181 
   186 <code>Default: $00, $00, $00</code>
   182 <code>Default: $00, $00, $00</code>
   187 
       
   188 This key has been added in 0.9.23.
       
   189 
   183 
   190 === `rq-sky` ===
   184 === `rq-sky` ===
   191 The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
   185 The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
   192 
   186 
   193 <code>Values: red, green, blue</code>
   187 <code>Values: red, green, blue</code>