forked from mtcontrib/darkage
updated, to work with new versions of moreblocks
This commit is contained in:
parent
128f480e49
commit
0541679cf9
|
@ -1,15 +1,16 @@
|
||||||
darkage = {};
|
darkage = {};
|
||||||
function darkage.register_stairs(modname, subname, groups, images, desc)
|
function darkage.register_stairs(modname, subname, groups, images, desc)
|
||||||
|
table.insert(circular_saw.known_stairs, modname..":"..subname);
|
||||||
recipeitem = modname..":"..subname;
|
recipeitem = modname..":"..subname;
|
||||||
desc_stair = desc.." stair";
|
desc_stair = desc.." stair";
|
||||||
desc_slab = desc.." slab";
|
desc_slab = desc.." slab";
|
||||||
desc_panel = desc.." panel";
|
desc_panel = desc.." panel";
|
||||||
desc_micro = desc.." micro";
|
desc_micro = desc.." micro";
|
||||||
drop = subname
|
drop = subname
|
||||||
stairsplus.register_stair(modname, subname, recipeitem, groups, images, desc_stair, drop)
|
register_stair(modname, subname, recipeitem, groups, images, desc_stair, drop)
|
||||||
stairsplus.register_slab(modname, subname, recipeitem, groups, images, desc_slab, drop)
|
register_slab(modname, subname, recipeitem, groups, images, desc_slab, drop)
|
||||||
stairsplus.register_panel(modname, subname, recipeitem, groups, images, desc_panel, drop)
|
register_panel(modname, subname, recipeitem, groups, images, desc_panel, drop)
|
||||||
stairsplus.register_micro(modname, subname, recipeitem, groups, images, desc_micro, drop)
|
register_micro(modname, subname, recipeitem, groups, images, desc_micro, drop)
|
||||||
end
|
end
|
||||||
darkage.register_stairs("darkage","basalt_cobble",
|
darkage.register_stairs("darkage","basalt_cobble",
|
||||||
{cracky=3},
|
{cracky=3},
|
||||||
|
@ -62,4 +63,4 @@ darkage.register_stairs("darkage","gneiss_cobble",
|
||||||
{cracky=3},
|
{cracky=3},
|
||||||
{"darkage_gneiss_cobble.png"},
|
{"darkage_gneiss_cobble.png"},
|
||||||
"Gneiss Cobble"
|
"Gneiss Cobble"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user