*a different color than the layer color
1 Like
use style()
2 Likes
Only whenever you can afford it?
buyables: {
11: {
// ...
style() {
if (tmp[this.layer].buyables[this.id].canBuy) return { color: "#000000" /* or whatever color you wish */}
}
}
}
3 Likes