TilesInSet
Count of tiles a tile set contributes to the theater, and the marker that ends the theater read.
- Applies to
- tile controls
- File
theater control file- Section
[<TileSet ID>]- Value
- integer
- When omitted
-1The theater read stops at this section, and no tile set numbered at or above it is loaded.
The figure is how many tiles the set defines. Each one becomes a tile type in the theater heap, numbered consecutively from wherever the previous set left off, and each one is looked for on disk as FileName plus a two-digit index counting from 01. A set is registered before its count is read, so a set whose count says zero still claims a position in the numbering that General roles resolve against, but contributes no tiles.
[TileSet0631] ; example setSetName=Riverbank cliffsFileName=RVCLIFTilesInSet=8 ; RVCLIF01 through RVCLIF08The count is trusted as written. A count larger than the artwork on disk still creates that many tile types; the surplus ones hold no image, report zero width and height, and draw nothing where a cell places them. A negative count other than the omission marker creates no tiles at all and then subtracts from the running total the map-index fixup is built from, so LastTilesInSet adjustments recorded after it land at the wrong indices.