ThemeCfg.wiki
changeset 1879 686923e40b80
parent 1878 e19e8b5cbf5a
child 1880 5125933b2cd0
equal deleted inserted replaced
1878:e19e8b5cbf5a 1879:686923e40b80
    76  * `x_offset_1`: X position offset of the overlay image relative to the object. Note: The top left corner acts as the image origin
    76  * `x_offset_1`: X position offset of the overlay image relative to the object. Note: The top left corner acts as the image origin
    77  * `y_offset_1`: Y position offset of the overlay
    77  * `y_offset_1`: Y position offset of the overlay
    78  * `overlay_filename_1`: File name of the overlay image to use
    78  * `overlay_filename_1`: File name of the overlay image to use
    79  * You must repeat the last 3 arguments if `overlay_count` is greater than 1; each overlay needs its own offset and file name.
    79  * You must repeat the last 3 arguments if `overlay_count` is greater than 1; each overlay needs its own offset and file name.
    80 
    80 
       
    81 === `anchors` ===
       
    82 An anchor does not create land itself, but instead is a setting that alters the positioning of an object.
       
    83 
       
    84 This key needs an object file name, an anchor count and rectangles for each anchor. It must be written after the object has been defined.
       
    85 
       
    86 <code>Values: object_filename, anchor_count, anchor_rect1, anchor_rect2, anchor_rect3, ...</code>
       
    87 
       
    88  * `object_filename`: File name of the object to which this overlay applies
       
    89  * `overlay_count`: Number of overlays for this object
       
    90  * `anchor_rect1`, etc.: A rectangle defining the anchor (`left, top, width, height`)
       
    91 
    81 == Land decoration keys ==
    92 == Land decoration keys ==
    82 Land decorations alter the appearance of the main terrain without adding any terrain. They are purely decorational.
    93 Land decorations alter the appearance of the main terrain without adding any terrain. They are purely decorational.
    83 
    94 
    84 === `border` ===
    95 === `border` ===
    85 The colour of the outline of explosions.
    96 The colour of the outline of explosions.