# HG changeset patch # User Wuzzy # Date 1493033586 -3600 # Node ID 606b2d0c5a09a797f4caf5d0a7ecb2f5aa142a8b # Parent 6d7740d5a85e0b90034456e60007062178b651f1 Theme: Explain multiple buried rectangles in 0.9.23 diff -r 6d7740d5a85e -r 606b2d0c5a09 Theme.wiki --- a/Theme.wiki Thu Apr 20 04:15:59 2017 +0100 +++ b/Theme.wiki Mon Apr 24 12:33:06 2017 +0100 @@ -164,18 +164,25 @@ There may be multiple object keys in the file, each one representing one land object. * `filename`: The object’s filename (without the “.png”). Case-sensitive. - * `max`: The maximum number of this object that may be generated in a map (must by between 1 and 32) - * `buriedrec`: A rectangle that must be buried in the terrain (`left, top, width, height`). In version 0.9.23, if all 4 values are 0, the object will be placed on top of the water + * `max`: The maximum number of this object that may be generated in a map (must by between 1 and 32 + * `buriedrects_num`: (optional): Number of rectangles that must be buried in the terrain. If this value is ommitted, a value of 1 is assumed. Only available in version 0.9.23 or later + * `buriedrects`: A rectangle that must be buried in the terrain (`left, top, width, height`). In version 0.9.23, if all 4 values are 0, the object will be placed on top of the water * `minvisible`: The minimum amount of rectangles that must be visible - * `visiblerec`: list of the rectangles for being visible (`left, top, width, height`) + * `visiblerects`: List of the rectangles for being visible (`left, top, width, height`) + +Syntax for version 0.9.22, or when you only need 1 buried rectangle: Values: filename, max, buriedrec, minvisible, visiblerec -Here's an example where `visiblerec` and the `buriedrec` are visualized on an ancient picture: +Syntax when using multiple buried rectangles in 0.9.23: + +Values: filename, max, buriedrects_num, buriedrects, minvisible, visiblerects + +Here's an example where `visiblerects` and the `buriedrects` are visualized on an ancient picture: https://hedgewars.org/images/avematantheme/hw-avematan.rects.png -The large rectangle shows a `visiblerec` and the small one shows a `buriedrec`. +The large rectangle shows a `visiblerects` and the small one shows a `buriedrects`. == `spray` == There may be several spray keys in the file, each one representing one spray object.