Update stairsplus
This commit is contained in:
parent
0cd26b0e45
commit
e6a3450571
4 changed files with 14 additions and 2 deletions
|
@ -105,6 +105,12 @@ local function add_ore(modname, description, mineral_name, oredef)
|
||||||
groups = {snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2},
|
groups = {snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2},
|
||||||
sounds = default_metal_sounds,
|
sounds = default_metal_sounds,
|
||||||
})
|
})
|
||||||
|
stairsplus:register_all("moreblocks",mineral_name.."_block", block_item, {
|
||||||
|
description = S("@1 Block", S(description)),
|
||||||
|
tiles = {img_base .. "_block.png"},
|
||||||
|
groups = {snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2},
|
||||||
|
sounds = default_metal_sounds,
|
||||||
|
})
|
||||||
minetest.register_alias(mineral_name.."_block", block_item)
|
minetest.register_alias(mineral_name.."_block", block_item)
|
||||||
if oredef.makes.ingot then
|
if oredef.makes.ingot then
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name = moreores
|
name = moreores
|
||||||
description = Adds new ore types.
|
description = Adds new ore types.
|
||||||
depends = default
|
depends = default, moreblocks
|
||||||
optional_depends = carts,farming,frame,mg,toolranks
|
optional_depends = carts,farming,frame,mg,toolranks
|
||||||
min_minetest_version = 5.0.0
|
min_minetest_version = 5.0.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name = xdecor
|
name = xdecor
|
||||||
description = A decoration mod meant to be simple and well-featured.
|
description = A decoration mod meant to be simple and well-featured.
|
||||||
depends = default, bucket, doors, farming, stairs, xpanes
|
depends = default, bucket, doors, farming, stairs, xpanes, moreblocks
|
||||||
optional_depends = fire, oresplus, moreblocks, mesecons
|
optional_depends = fire, oresplus, moreblocks, mesecons
|
||||||
min_minetest_version = 5.1.0
|
min_minetest_version = 5.1.0
|
||||||
|
|
|
@ -542,6 +542,12 @@ local function register_hard_node(name, desc, def)
|
||||||
groups = def.groups or {cracky = 1},
|
groups = def.groups or {cracky = 1},
|
||||||
sounds = def.sounds or default.node_sound_stone_defaults()
|
sounds = def.sounds or default.node_sound_stone_defaults()
|
||||||
})
|
})
|
||||||
|
stairsplus:register_all("moreblocks",name,"xdecor:"..name, {
|
||||||
|
description = desc,
|
||||||
|
tiles = {"xdecor_" .. name .. ".png"},
|
||||||
|
groups = def.groups or {cracky = 1},
|
||||||
|
sounds = def.sounds or default.node_sound_stone_defaults()
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
register_hard_node("cactusbrick", S("Cactus Brick"))
|
register_hard_node("cactusbrick", S("Cactus Brick"))
|
||||||
|
|
Loading…
Reference in a new issue