What
Please allow for calling LuaSurface::request_path with a new argument preferred_tiles. This could be in the formCode: Select all
-- Array of arrays of tile prototype names.
preferred_tiles = {
-- All tiles listed in an array have the same
{ "concrete", "hazard-concrete-left", "hazard-concrete-right", },
{ "stone-path" },
...
}
-- Map: tile_name --> priority
preferred_tiles = {
["concrete"] = 1,
["hazard-concrete-left"] = 1,
["hazard-concrete-right"] = 1,
["stone-path"] = 2,
...
}
