kts.SetReflect – set up reflected versions of tiles
kts.SetReflect(tile1, tile2)
This function tells the dungeon generator that tile1 is a horizontally flipped/reflected version of tile2.
The dungeon generator will sometimes randomly create reflected and/or rotated versions of map segments for added variety. In doing so, it may be necessary to create reflected versions of certain tiles (for example, a skull facing east becomes a skull facing west). This is set up by the kts.SetReflect function.
None.
Errors may be raised if the input parameters have the wrong type.
Several of the standard Knights tiles contain reflected and rotated versions. See tiles.lua.