darkage/stairsplus.lua
adrido e81652db15 compatibility with stairsplus added
dsarkage have now a lot of new nodes and is full compatible with
stairsplus :)
2013-01-26 10:44:27 +01:00

65 lines
1.7 KiB
Lua

darkage = {};
function darkage.register_stairs(modname, subname, groups, images, desc)
recipeitem = modname..":"..subname;
desc_stair = desc.." stair";
desc_slab = desc.." slab";
desc_panel = desc.." panel";
desc_micro = desc.." micro";
drop = subname
stairsplus.register_stair(modname, subname, recipeitem, groups, images, desc_stair, drop)
stairsplus.register_slab(modname, subname, recipeitem, groups, images, desc_slab, drop)
stairsplus.register_panel(modname, subname, recipeitem, groups, images, desc_panel, drop)
stairsplus.register_micro(modname, subname, recipeitem, groups, images, desc_micro, drop)
end
darkage.register_stairs("darkage","basalt_cobble",
{cracky=3},
{"darkage_basalt_cobble.png"},
"Basalt Cobble"
)
darkage.register_stairs("darkage","slate_tale",
{cracky=3},
{"darkage_slate_tale.png"},
"Slate Tale"
)
darkage.register_stairs("darkage","straw",
{snappy=3, flammable=2},
{"darkage_straw.png"},
"Straw"
)
darkage.register_stairs("darkage","stone_brick",
{cracky=3},
{"darkage_stone_brick.png"},
"Stone Brick"
)
darkage.register_stairs("darkage","ors_cobble",
{cracky=3},
{"darkage_ors_cobble.png"},
"Old Red Sandtone"
)
darkage.register_stairs("darkage","desert_stone_cobble",
{cracky=3},
{"darkage_desert_stone_cobble.png"},
"Desert Stone Cobble"
)
darkage.register_stairs("darkage","slate_cobble",
{cracky=3},
{"darkage_slate_cobble.png"},
"Slate Cobble"
)
darkage.register_stairs("darkage","sandstone_cobble",
{cracky=3},
{"darkage_sandstone_cobble.png"},
"Sandstone Cobble"
)
darkage.register_stairs("darkage","gneiss_cobble",
{cracky=3},
{"darkage_gneiss_cobble.png"},
"Gneiss Cobble"
)