mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make devtest grass use overlay tiles
This commit is contained in:
parent
0eb047ca33
commit
8449f5f6db
1 changed files with 8 additions and 4 deletions
|
@ -22,11 +22,15 @@ core.register_node("basenodes:desert_stone", {
|
||||||
|
|
||||||
core.register_node("basenodes:dirt_with_grass", {
|
core.register_node("basenodes:dirt_with_grass", {
|
||||||
description = "Dirt with Grass",
|
description = "Dirt with Grass",
|
||||||
tiles ={"default_grass.png",
|
-- Using overlays here has no real merit here but we do it anyway so
|
||||||
|
-- overlay-related bugs become more apparent in devtest.
|
||||||
|
tiles = {"default_dirt.png"},
|
||||||
|
overlay_tiles = {
|
||||||
|
"default_grass.png",
|
||||||
-- a little dot on the bottom to distinguish it from dirt
|
-- a little dot on the bottom to distinguish it from dirt
|
||||||
"default_dirt.png^basenodes_dirt_with_grass_bottom.png",
|
"basenodes_dirt_with_grass_bottom.png",
|
||||||
{name = "default_dirt.png^default_grass_side.png",
|
{name = "default_grass_side.png", tileable_vertical = false},
|
||||||
tileable_vertical = false}},
|
},
|
||||||
groups = {crumbly=3, soil=1},
|
groups = {crumbly=3, soil=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue