forked from mtcontrib/darkage
compatibility with stairsplus added
dsarkage have now a lot of new nodes and is full compatible with stairsplus :)
This commit is contained in:
parent
12326c7bee
commit
e81652db15
|
@ -1,2 +1,2 @@
|
|||
default
|
||||
|
||||
stairsplus
|
||||
|
|
4
init.lua
4
init.lua
|
@ -3,8 +3,8 @@ print (" ---- Dark Age is Loading! ---- ")
|
|||
dofile(minetest.get_modpath("darkage").."/mapgen.lua")
|
||||
dofile(minetest.get_modpath("darkage").."/building.lua")
|
||||
dofile(minetest.get_modpath("darkage").."/furniture.lua")
|
||||
dofile(minetest.get_modpath("darkage").."/stairs.lua")
|
||||
|
||||
--dofile(minetest.get_modpath("darkage").."/stairs.lua")
|
||||
dofile(minetest.get_modpath("darkage").."/stairsplus.lua")
|
||||
----------
|
||||
-- Items
|
||||
----------
|
||||
|
|
65
stairsplus.lua
Normal file
65
stairsplus.lua
Normal file
|
@ -0,0 +1,65 @@
|
|||
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"
|
||||
)
|
Loading…
Reference in New Issue
Block a user