mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-09-27 14:50:30 +02:00
cut nodes aren't ground content
By default make cut nodes non ground content but allow mods to register theirs as ground content if they want to.
This commit is contained in:
parent
500a07d680
commit
ba5f11271a
|
@ -133,6 +133,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
|
||||||
def[k] = v
|
def[k] = v
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def.is_ground_content = def.is_ground_content == true
|
||||||
def.drawtype = "nodebox"
|
def.drawtype = "nodebox"
|
||||||
def.paramtype = "light"
|
def.paramtype = "light"
|
||||||
def.paramtype2 = def.paramtype2 or "facedir"
|
def.paramtype2 = def.paramtype2 or "facedir"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user