Page 1 of 1

[0.18.X] Resource map preview behaviour

Posted: Thu Mar 19, 2020 10:47 am
by Linver
Hi to all. As described in the title:

Image

Image

This is a modded resource. Hovering the mouse on the resource, in the map, change the visibility of resource patchs, some resource patch appear.
I look many times the definition of this resources and I don't think this is the problem:
https://pastebin.com/Wd9Szxih

Is (almost) identical with the definition of crude oil, and the sprite priority is on "extra high", so should be not a problem of z-axis.

Re: [0.18.X] Resource map preview behaviour

Posted: Thu Mar 19, 2020 10:58 am
by posila
Linver wrote: Thu Mar 19, 2020 10:47 amIs (almost) identical with the definition of crude oil, and the sprite priority is on "extra high", so should be not a problem of z-axis.
It's not z-axis problem, it's "checkboard pattern" problem. Set map_grid = false (that's the key difference between your definition and crude oil definition)

Re: [0.18.X] Resource map preview behaviour

Posted: Thu Mar 19, 2020 1:25 pm
by Linver
Oh, thank you for the tip, I can't deduce this from the documentation because map_grid haven't a description.