From 7bda846ea7f8c3ad127b167e6c7a797bfd46f73f Mon Sep 17 00:00:00 2001 From: Christian Danscheid Date: Sat, 10 Aug 2013 19:23:52 +0200 Subject: Initial commit --- asphaltstairs/init.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 asphaltstairs/init.lua (limited to 'asphaltstairs/init.lua') diff --git a/asphaltstairs/init.lua b/asphaltstairs/init.lua new file mode 100644 index 0000000..1e206ab --- /dev/null +++ b/asphaltstairs/init.lua @@ -0,0 +1,15 @@ +--[[ + StreetsMod: These stairs are just a workaround until stairs/stairs+ and circular_saw + can work together without problems. This definetly needs an API! +]] +if streets.extendedBy.stairs == false then return end +-- +dofile(minetest.get_modpath(minetest.get_current_modname()).."/function.lua") + +-- Asphalt +streets.register_stair_and_slab("asphalt","Asphalt",{"streets_asphalt.png"},"streets:asphalt") +minetest.register_alias("streets:asphalt_stairs","streets:asphalt_stair") +-- Asphalt with solid line: +streets.register_stair_and_slab("asphalt_solid_line","Asphalt with solid line",{"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_solid_line.png"},"streets:asphalt_solid_line") +-- Asphalt with dashed line: +streets.register_stair_and_slab("asphalt_dashed_line","Asphalt with dashed line",{"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_dashed_line.png"},"streets:asphalt_dashed_line") -- cgit v1.2.3