I've uploaded test builds of the new tile assignment system, for DF version 0.34.11, and 0.40.01. Trees do not show up at all for some reason in the 0.34 version, and the 0.40 version does not yet have tree materials. There are, however, tree tiletypes, which you can use for testing sprites.
0.34.110.40.01Neither of these are intended for regular use.
When you run stonesense, it will create two CSV files in the DF root directory, TiletypeList.csv, and MatList.csv. They can be used for finding what tokens are used for what.
There are no changes to material assignment yet, but tiletypes are now assigned as follows:
<terrain value="*" token="*" shape="*" special="*" variant="*" material="*"/>If
value is used, Stonesense will use that, ignoring the rest, and will give a warning.
If
token is used, Stonesense will likewise ignore the rest. Valid token names are found in TiletypeList.csv, along with their corresponding numerical value. This is the preferred way to assign a tile to a single specific tiletype.
The rest are used to assign the sprite to all matching tile types. shape=FLOOR will assign the tile to all floor tiles, and adding material=FROZEN_LIQUID to that will make it apply to ice floors only.
Tag priorities are as follows:
Direct assignment: 16
shape: 8
special: 4
variant: 2
material: 1
Priorities of all used tags are added together, and the assignment with the higher priority is used. If an assignment has the same priority as annother, the behavior is the same as before, the one defined first is used.
There is currently no change to how materials are assigned, but there will be in the future.