df.global.world.raws.language.colors[value-100]
. One example of how to use this is the included script realcolors.lua, which processes material definitions and replaces tile colours with values from material.state_color.Solid
, which will give results similar to the screenshots below.
Before:
![](http://mifki.com/assets/uploads/tumblr_inline_noiqs875Ok1qzj0rp_540.png)
![](http://mifki.com/assets/uploads/tumblr_inline_noiqsdcGs81qzj0rp_540.png)