Added support for circular_saw (concrete)
This commit is contained in:
parent
a568333805
commit
6db1a35ef1
@ -1,3 +1,4 @@
|
|||||||
default
|
default
|
||||||
streetsmod
|
streetsmod
|
||||||
stairs?
|
stairs?
|
||||||
|
moreblocks?
|
@ -1,8 +1,9 @@
|
|||||||
--[[
|
--[[
|
||||||
StreetsMod: Concrete stairs (not compatible to circular_saw
|
StreetsMod: Concrete stairs (compatible to circular saw)
|
||||||
]]
|
]]
|
||||||
if streets.extendedBy.stairs == true and streets.extendedBy.prefab == false then
|
if streets.extendedBy.moreblocks == true and streets.extendedBy.prefab == false then
|
||||||
stairs.register_stair_and_slab("concrete", "streets:concrete", {cracky = 2, level = 2}, {"streets_concrete.png"}, "Concrete stair", "Concrete slab", nil)
|
register_stair_slab_panel_micro("streets", "concrete", "streets:concrete", {cracky=2}, {"streets_concrete.png"}, "Concrete", "", nil)
|
||||||
|
table.insert(circular_saw.known_stairs,"streets:concrete")
|
||||||
else
|
else
|
||||||
minetest.register_alias("stairs:stair_concrete","prefab:concrete_stair")
|
minetest.register_alias("stairs:stair_concrete","prefab:concrete_stair")
|
||||||
minetest.register_alias("stairs:slab_concrete","prefab:concrete_slab")
|
minetest.register_alias("stairs:slab_concrete","prefab:concrete_slab")
|
||||||
|
@ -29,11 +29,11 @@
|
|||||||
streets.extendedBy.technic = false
|
streets.extendedBy.technic = false
|
||||||
end
|
end
|
||||||
if minetest.get_modpath("stairs") then
|
if minetest.get_modpath("stairs") then
|
||||||
print("'Stairs' is installed \n\t => There will be stairs and slabs'")
|
print("'Moreblocks' is installed \n\t => There will be stairs and slabs'")
|
||||||
streets.extendedBy.stairs = true
|
streets.extendedBy.moreblocks = true
|
||||||
else
|
else
|
||||||
print("'Stairs' not installed \n\t => There won't be stairs and slabs'")
|
print("'Moreblocks' not installed \n\t => There won't be stairs and slabs'")
|
||||||
streets.extendedBy.stairs = false
|
streets.extendedBy.moreblocks = false
|
||||||
end
|
end
|
||||||
if minetest.get_modpath("bucket") then
|
if minetest.get_modpath("bucket") then
|
||||||
print("'Bucket' is installed \n\t => All signs are available")
|
print("'Bucket' is installed \n\t => All signs are available")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user