Big update: new stair types, code looks better.

This commit is contained in:
Calinou
2014-01-20 19:49:40 +01:00
parent 2b01bd5cbc
commit 62f9f00fe8
8 changed files with 136 additions and 196 deletions

View File

@ -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
})