1/16 slabs are now train compatible
parent
07add6dd15
commit
e21568c31a
|
@ -158,3 +158,14 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields)
|
|||
recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname},
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -96,6 +96,9 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields)
|
|||
def.paramtype2 = def.paramtype2 or "facedir"
|
||||
def.on_place = minetest.rotate_node
|
||||
def.groups = stairsplus:prepare_groups(fields.groups)
|
||||
if alternate == "_1" then
|
||||
def.groups.not_blocking_trains = 1
|
||||
end
|
||||
if fields.drop and not (type(fields.drop) == "table") then
|
||||
def.drop = modname.. ":slab_" .. fields.drop .. alternate
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue