nodes that aren't ground content (#16)

This commit is contained in:
Luke aka SwissalpS
2024-03-01 00:48:45 +01:00
committed by GitHub
parent 8102117572
commit 4b5e58331c
6 changed files with 21 additions and 2 deletions

View File

@ -13,6 +13,7 @@ local function reg_simple(name, def)
paramtype = "light",
paramtype2 = "facedir",
groups = def.groups or {snappy=3},
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}
@ -57,4 +58,4 @@ function home_vending_machines.register_machine(type, name, def)
reg_simple(name, def)
end
--TODO: add more complex machine type with formspec and selections
end
end