Fixed the careless mistake I forgot I committed.
parent
6338a7ee92
commit
a5ff93b834
|
@ -84,7 +84,7 @@ minetest.register_node("mineralz:stone_with_malachite", {
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_item("mineralz:salt", {
|
||||
minetest.register_craftitem("mineralz:salt", {
|
||||
description = "Salt",
|
||||
inventory_image = "mineralz_salt.png",
|
||||
})
|
||||
|
@ -101,8 +101,8 @@ minetest.register_node("mineralz:salt_block", {
|
|||
})
|
||||
|
||||
minetest.register_node("mineralz:sandstone_with_salt", {
|
||||
description "Sandstone with Salt",
|
||||
tiles = {"default_sandstone.png^mineralz_salt_ore.png"}.
|
||||
description = "Sandstone with Salt",
|
||||
tiles = {"default_sandstone.png^mineralz_salt_ore.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=1,level=1},
|
||||
sounds = default.node_sound_stone_defaults,
|
||||
|
|
|
@ -193,7 +193,8 @@ for _,rock in pairs(stonez) do
|
|||
-- block_form denotes what the name of the blocks to insert should be with @ being replaced with the local stone variable. eg @_cobble = andesite_cobble
|
||||
local block_form = {"@_cobble", "@_block", "@_brick", "polished_@", "polished_@_block", "polished_@_brick"}
|
||||
for _,form in pairs(block_form) do
|
||||
table.insert(rockznodes, form:gsub("@",stone))
|
||||
--table.insert(rockznodes, #rockznodes+1, form:gsub("@",stone)) -- Why?
|
||||
rockznodes[#rockznodes+1] = form:gsub("@",stone)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 981 KiB |
Binary file not shown.
After Width: | Height: | Size: 978 KiB |
Binary file not shown.
After Width: | Height: | Size: 972 KiB |
Loading…
Reference in New Issue