81 === `anchors` === |
81 === `anchors` === |
82 An anchor does not create land itself, but instead is a setting that alters the positioning of an object. Each object can have multiple anchors. |
82 An anchor does not create land itself, but instead is a setting that alters the positioning of an object. Each object can have multiple anchors. |
83 |
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. |
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 |
85 |
86 <code>Values: object_filename, anchor_count, anchor_rect1, anchor_rect2, anchor_rect3, ...</code> |
86 <code>Values: object_filename, anchor_count, anchor_rect1, anchor_rect2, ...</code> |
87 |
87 |
88 * `object_filename`: File name of the object to which this overlay applies |
88 * `object_filename`: File name of the object to which this overlay applies |
89 * `overlay_count`: Number of overlays for this object |
89 * `anchor_count`: Number of anchor for this object |
90 * `anchor_rect1`, etc.: A rectangle defining the anchor (`left, top, width, height`) |
90 * `anchor_rect1`, etc.: A rectangle defining the anchor (`left, top, width, height`) |
91 |
91 |
92 == Land decoration keys == |
92 == Land decoration keys == |
93 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. |
94 |
94 |