This commit is contained in:
fishyWET 2017-11-02 17:36:47 +00:00 committed by GitHub
commit 70d81096c5
6 changed files with 244 additions and 0 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Added
- All Stairs+ nodes can be now converted into microblocks
## [1.1.0] - 2017-10-04
### Added

View File

@ -154,4 +154,40 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields)
output = recipeitem,
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},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":micro_" .. subname .. "_1"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":micro_" .. subname .. "_2"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":micro_" .. subname .. "_4"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":micro_" .. subname .. "_12"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":micro_" .. subname .. "_14"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":micro_" .. subname .. "_15"},
})
end

View File

@ -134,4 +134,40 @@ function stairsplus:register_panel(modname, subname, recipeitem, fields)
output = recipeitem,
recipe = {modname .. ":panel_" .. subname, modname .. ":panel_" .. subname, modname .. ":panel_" .. subname, modname .. ":panel_" .. subname},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":panel_" .. subname .. "_1"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":panel_" .. subname .. "_2"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":panel_" .. subname .. "_4"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 3",
recipe = {modname .. ":panel_" .. subname .. "_12"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 4",
recipe = {modname .. ":panel_" .. subname .. "_14"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 4",
recipe = {modname .. ":panel_" .. subname .. "_15"},
})
end

View File

@ -254,4 +254,58 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields)
output = modname .. ":slab_" .. subname .. " 3",
recipe = {modname .. ":stair_" .. subname, modname .. ":stair_" .. subname},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":slab_" .. subname .. "_two_sides"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":slab_" .. subname .. "_three_sides"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":slab_" .. subname .. "_three_sides_u"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":slab_" .. subname .. "_1"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":slab_" .. subname .. "_2"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":slab_" .. subname .. "_quarter"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 6",
recipe = {modname .. ":slab_" .. subname .. "_three_quarter"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 7",
recipe = {modname .. ":slab_" .. subname .. "_14"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 8",
recipe = {modname .. ":slab_" .. subname .. "_15"},
})
end

View File

@ -363,4 +363,100 @@ function stairsplus:register_slope(modname, subname, recipeitem, fields)
output = modname .. ":slope_" .. subname .. "_inner_cut_half_raised",
recipe = {modname .. ":slab_" .. subname, modname .. ":slope_" .. subname .. "_inner_cut_half"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 4",
recipe = {modname .. ":slope_" .. subname},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":slope_" .. subname .. "_half"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 6",
recipe = {modname .. ":slope_" .. subname .. "_half_raised"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 7",
recipe = {modname .. ":slope_" .. subname .. "_inner"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 3",
recipe = {modname .. ":slope_" .. subname .. "_inner_half"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 7",
recipe = {modname .. ":slope_" .. subname .. "_inner_half_raised"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 7",
recipe = {modname .. ":slope_" .. subname .. "_inner_cut"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 4",
recipe = {modname .. ":slope_" .. subname .. "_inner_cut_half"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 8",
recipe = {modname .. ":slope_" .. subname .. "_inner_cut_half_raised"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 3",
recipe = {modname .. ":slope_" .. subname .. "_outer"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":slope_" .. subname .. "_outer_half"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 6",
recipe = {modname .. ":slope_" .. subname .. "_outer_half_raised"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":slope_" .. subname .. "_outer_cut"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":slope_" .. subname .. "_outer_cut_half"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 3",
recipe = {modname .. ":slope_" .. subname .. "_outer_cut_half_raised"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 4",
recipe = {modname .. ":slope_" .. subname .. "_cut"},
})
end

View File

@ -240,4 +240,22 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields)
{modname .. ":panel_" .. subname, ""},
},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":stair_" .. subname .. "_alt_1"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 1",
recipe = {modname .. ":stair_" .. subname .. "_alt_2"},
})
minetest.register_craft({
type = "shapeless",
output = modname .. ":micro_" .. subname .. " 2",
recipe = {modname .. ":stair_" .. subname .. "_alt_4"},
})
end