> For the complete documentation index, see [llms.txt](https://docs.cainos.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cainos.net/pixel-art-top-down-village/tile-palette.md).

# TILE PALETTE

### Scripted Tile

There is one single tile besides every terrain texture tile sets. This tile is a scripted tile and will automatically draw different tiles from the normal tile set as variation with each paint.

![](https://1143501299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIPBJbsBHfwnXGNm0L3kh%2Fuploads%2FsEXEVKOGbcs8IaBAFoAh%2F4.png?alt=media)

You can find the configurations of the scripted tiles at `Cainos/Pixel Art Top Down – Village/Tileset/Scripted Tile`.

`Decoration Rate` is the chance to draw a random tile from the `Decoration` list rather than from the `Basic` list, in range `[0, 1]`

`Seed` is the random seed to use.

<img src="https://1143501299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIPBJbsBHfwnXGNm0L3kh%2Fuploads%2F9sn0rNVW6GMt9klcQLcS%2F5.png?alt=media" alt="" width="375">

Below is an example of using `Decoration Rate` at `1.0` vs `Decoration Rate` at `0.0` for `ST Glass`

<div><img src="https://1143501299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIPBJbsBHfwnXGNm0L3kh%2Fuploads%2FOVkoiJhMHTOuYyka7E9o%2F6.png?alt=media" alt="" width="521"> <img src="https://1143501299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIPBJbsBHfwnXGNm0L3kh%2Fuploads%2FhBe1rg9UFSuYWirGv5g8%2F7.png?alt=media" alt="" width="524"></div>

### No Collision Tile

The last group of the terrain tiles are the same as the first group, but with no collision

<img src="https://1143501299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIPBJbsBHfwnXGNm0L3kh%2Fuploads%2FEM6w8d5HuYqi6bdWbjp6%2F8.png?alt=media" alt="" width="563">

They are used in positions like the example shown below to prevent generating collision into higher layer of terrain.

<img src="https://1143501299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIPBJbsBHfwnXGNm0L3kh%2Fuploads%2FakCogCMZyxibinqOOpNa%2F9.png?alt=media" alt="" width="375">
