> 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.

![](/files/26DBhjftCpUQ8CBnkicR)

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="/files/tc1XuoTv1d3ZbUWrJ6mq" 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="/files/kknYvqzcSFZvY93pJmxH" alt="" width="521"> <img src="/files/LaGd1YrODaaFIpnpIbSa" 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="/files/LuDYZtcdnfYJIphJLeWT" alt="" width="563">

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

<img src="/files/toa79EeSmoqIQ9gynXXJ" alt="" width="375">


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cainos.net/pixel-art-top-down-village/tile-palette.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
