mirror of
https://github.com/minetest-mods/moreores.git
synced 2025-07-04 00:50:43 +02:00
[init.lua] Update Description and add inner and outer for stairs
This commit is contained in:
11
init.lua
11
init.lua
@ -107,7 +107,7 @@ local function add_ore(modname, description, mineral_name, oredef)
|
||||
})
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
stairsplus:register_all("moreores", mineral_name.."_block", block_item, {
|
||||
description = S("%s Block"):format(S(description)),
|
||||
description = S("@1 Block", S(description)),
|
||||
tiles = { img_base .. "_block.png" },
|
||||
groups = {snappy = 1, bendy = 2, cracky = 1, melty = 2, level= 2},
|
||||
sounds = default.node_sound_metal_defaults()
|
||||
@ -118,9 +118,12 @@ local function add_ore(modname, description, mineral_name, oredef)
|
||||
block_item,
|
||||
{snappy = 1, bendy = 2, cracky = 1, melty = 2, level= 2},
|
||||
{ img_base .. "_block.png"},
|
||||
S("%s Block Stair"):format(S(description)),
|
||||
S("%s Block Slab"):format(S(description)),
|
||||
default.node_sound_metal_defaults()
|
||||
S("@1 Block Stair", S(description)),
|
||||
S("@1 Block Slab", S(description)),
|
||||
default.node_sound_metal_defaults(),
|
||||
false,
|
||||
S("@1 Block Inner Stair", S(description)),
|
||||
S("@1 Block Outer Stair", S(description)),
|
||||
)
|
||||
end
|
||||
minetest.register_alias(mineral_name.."_block", block_item)
|
||||
|
Reference in New Issue
Block a user