ore tweaks

This commit is contained in:
wsor 2021-07-18 12:46:47 -04:00
parent c99a3671bd
commit 3685e1304c
3 changed files with 2 additions and 1 deletions

View File

@ -23,8 +23,9 @@ local function register_ore(name, block_groups)
for _, bm in pairs(base_material) do
local sgp = table.copy(minetest.registered_nodes["fl_stone:" .. bm]["groups"])
sgp.stairable, sgp.wallable = nil, nil
local desc = string.gsub(bm, "_", " ")
minetest.register_node("fl_ores:" .. name .. "_in_" .. bm, {
description = name .. " in " .. bm,
description = name .. " in " .. desc,
tiles = {"farlands_" .. bm .. ".png^farlands_" .. name .. "_overlay.png"},
groups = sgp,
drop = "fl_ores:" .. name .. "_ore",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B