forked from minetest-mods/moreblocks
Big update: new stair types, code looks better.
This commit is contained in:
@ -26,10 +26,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
@ -47,10 +43,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
@ -69,10 +61,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
@ -91,10 +79,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.25, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.25, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
@ -113,10 +97,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
@ -135,10 +115,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
@ -157,10 +133,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.375, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
@ -179,10 +151,6 @@ function register_slab(modname, subname, recipeitem, groups, images, description
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.4375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.4375, 0.5},
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
Reference in New Issue
Block a user