mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-12 21:10:24 +02:00
Big update: new stair types, code looks better.
This commit is contained in:
@ -26,10 +26,6 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0, 0.5},
|
||||
},
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
||||
@ -47,10 +43,6 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, -0.4375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, -0.4375, 0.5},
|
||||
},
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
||||
@ -68,10 +60,6 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, -0.375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, -0.375, 0.5},
|
||||
},
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
||||
@ -89,10 +77,6 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, -0.25, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, -0.25, 0.5},
|
||||
},
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
||||
@ -110,10 +94,6 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0.25, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0.25, 0.5},
|
||||
},
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
||||
@ -131,10 +111,6 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0.375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0.375, 0.5},
|
||||
},
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
||||
@ -152,10 +128,6 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0.4375, 0.5},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, 0, 0.5, 0.4375, 0.5},
|
||||
},
|
||||
on_place = stairsplus_rotate_and_place
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user