Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

TileRule

First matching rule wins. Masks use GridLayout::neighbors bit order; a neighbor "matches" when its tile's definition has the rule's terrain.

public struct TileRule

Fields

Terrain

public uint Terrain;

Terrain group to transform.

Default: 0.

Required

public uint Required;

Neighbors which must share this terrain.

Default: 0.

Forbidden

public uint Forbidden;

Neighbors which must not share this terrain.

Default: 0.

Tile

public uint Tile;

Output tile number; its definition must have the same terrain.

Default: 0.