mauvebic wrote:Interesting, is the code posted anywhere?
Not yet, since it's not organized at all.
But here's an example:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("dunes:desert_sand", {
description = "Desert Sand",
drawtype = "flowingliquid",
liquidtype = "flowing",
liquid_alternative_flowing = "group:liquid",
liquid_alternative_source = "default:desert_sand",
paramtype = "light",
walkable = false,
inventory_image = minetest.inventorycube("default_desert_sand.png"),
tiles = {"default_desert_sand.png"},
special_tiles = {image="default_desert_sand.png"},
groups = {crumbly=3, falling_node=1, liquid=3, not_in_creative_inventory=1},
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, 0, 1/2},
},
drop = 'default:desert_sand',
sounds = default.node_sound_sand_defaults(),
})