You might place a private variable "cost" (or something else) for each tile/chess.
Instead of having the code set up the tiles automatically at the start, I tried drawing it manually and then include all tile objects in a family. Then use it like this instead of the tile sprite:
Would that work then? As a way to have different terrain types.
My own attempt didn't do much, but that is possibly because I tried doing it with the Tilemap object. Would I have to put in each square of the map as sprites? Or am I completely off the mark?
Sorry for all the questions! I like this plugin a lot, and would love to understand it better.