# HG changeset patch # User Wuzzy # Date 1558044905 -3600 # Node ID 686923e40b80ffe1641983f9ae18d965c3920b34 # Parent e19e8b5cbf5a1fdca7790da46371ac940e730307 ThemeCfg: Add anchors help (stub) diff -r e19e8b5cbf5a -r 686923e40b80 ThemeCfg.wiki --- a/ThemeCfg.wiki Thu May 16 22:53:17 2019 +0100 +++ b/ThemeCfg.wiki Thu May 16 23:15:05 2019 +0100 @@ -78,6 +78,17 @@ * `overlay_filename_1`: File name of the overlay image to use * You must repeat the last 3 arguments if `overlay_count` is greater than 1; each overlay needs its own offset and file name. +=== `anchors` === +An anchor does not create land itself, but instead is a setting that alters the positioning of an object. + +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. + +Values: object_filename, anchor_count, anchor_rect1, anchor_rect2, anchor_rect3, ... + + * `object_filename`: File name of the object to which this overlay applies + * `overlay_count`: Number of overlays for this object + * `anchor_rect1`, etc.: A rectangle defining the anchor (`left, top, width, height`) + == Land decoration keys == Land decorations alter the appearance of the main terrain without adding any terrain. They are purely decorational.