use basic_materials for concrete
This commit is contained in:
parent
27737e07d5
commit
28a7d1cc43
@ -1,4 +1,5 @@
|
||||
default
|
||||
streetsmod
|
||||
basic_materials
|
||||
stairs?
|
||||
moreblocks?
|
||||
moreblocks?
|
||||
|
@ -3,7 +3,7 @@
|
||||
]]
|
||||
if rawget(_G, "register_stair_slab_panel_micro")
|
||||
and type(register_stair_slab_panel_micro) == "function" and streets.extendedBy.prefab == false then
|
||||
register_stair_slab_panel_micro("streets", "concrete", "streets:concrete", {cracky=2}, {"streets_concrete.png"}, "Concrete", "concrete", nil)
|
||||
register_stair_slab_panel_micro("streets", "concrete", "streets:concrete", {cracky=2}, {"basic_materials_concrete_block.png"}, "Concrete", "concrete", nil)
|
||||
table.insert(circular_saw.known_stairs,"streets:concrete")
|
||||
minetest.register_alias("stairs:stair_concrete","streets:stair_concrete")
|
||||
else
|
||||
|
@ -1,2 +1,3 @@
|
||||
default
|
||||
streetsmod
|
||||
streetsmod
|
||||
basic_materials
|
||||
|
@ -1,12 +1,11 @@
|
||||
--[[
|
||||
StreetsMod: Concrete, Concrete wall (flat), Concrete wall (full)
|
||||
]]
|
||||
if streets.extendedBy.technic == true then
|
||||
minetest.register_alias("streets:concrete","technic:concrete")
|
||||
minetest.register_alias("streets:concrete","basic_materials:concrete_block")
|
||||
-- Use technic's concrete block for the seperating wall
|
||||
minetest.register_node(":streets:concrete_wall",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"technic_concrete_block.png"},
|
||||
tiles = {"basic_materials_concrete_block.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
@ -22,14 +21,14 @@ if streets.extendedBy.technic == true then
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall 3",
|
||||
recipe = {
|
||||
{"","technic:concrete",""},
|
||||
{"","technic:concrete",""},
|
||||
{"technic:concrete","technic:concrete","technic:concrete"}
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"basic_materials:concrete_block","basic_materials:concrete_block","basic_materials:concrete_block"}
|
||||
}
|
||||
})
|
||||
minetest.register_node(":streets:concrete_wall_flat",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"technic_concrete_block.png"},
|
||||
tiles = {"basic_materials_concrete_block.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
@ -44,113 +43,8 @@ if streets.extendedBy.technic == true then
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall_flat 3",
|
||||
recipe = {
|
||||
{"","technic:concrete",""},
|
||||
{"","technic:concrete",""},
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
||||
elseif streets.extendedBy.prefab then
|
||||
minetest.register_alias("streets:concrete","prefab:concrete")
|
||||
minetest.register_node(":streets:concrete_wall",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"prefab_concrete.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.4, -0.5, -0.5, 0.4, -0.4, 0.5},
|
||||
{-0.1, -0.4, -0.5, 0.1, 0.5, 0.5}
|
||||
}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall 3",
|
||||
recipe = {
|
||||
{"","streets:concrete",""},
|
||||
{"","streets:concrete",""},
|
||||
{"streets:concrete","streets:concrete","streets:concrete"}
|
||||
}
|
||||
})
|
||||
minetest.register_node(":streets:concrete_wall_flat",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"prefab_concrete.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.1, -0.5, -0.5, 0.1, 0.5, 0.5}
|
||||
}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall_flat 3",
|
||||
recipe = {
|
||||
{"","streets:concrete",""},
|
||||
{"","streets:concrete",""},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
||||
else
|
||||
-- Register concrete block with streets' texture and then the seperating wall
|
||||
minetest.register_node(":streets:concrete",{
|
||||
description = streets.S("Concrete"),
|
||||
tiles = {"streets_concrete.png"},
|
||||
groups = {cracky=2}
|
||||
})
|
||||
minetest.register_node(":streets:concrete_wall",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"streets_concrete.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.4, -0.5, -0.5, 0.4, -0.4, 0.5},
|
||||
{-0.1, -0.4, -0.5, 0.1, 0.5, 0.5}
|
||||
}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall 3",
|
||||
recipe = {
|
||||
{"","streets:concrete",""},
|
||||
{"","streets:concrete",""},
|
||||
{"streets:concrete","streets:concrete","streets:concrete"}
|
||||
}
|
||||
})
|
||||
minetest.register_node(":streets:concrete_wall_flat",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"streets_concrete.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.1, -0.5, -0.5, 0.1, 0.5, 0.5}
|
||||
}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall_flat 3",
|
||||
recipe = {
|
||||
{"","streets:concrete",""},
|
||||
{"","streets:concrete",""},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "streets:concrete",
|
||||
recipe = {"default:stone"}
|
||||
})
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user