Adjust metal textures
This commit is contained in:
parent
6e5b98bb16
commit
33eb16544b
@ -39,7 +39,7 @@ PyuTest.make_node("pyutest_blocks:torch", "Torch", {
|
||||
|
||||
PyuTest.make_node("pyutest_blocks:glass", "Glass", {
|
||||
cracky = PyuTest.BLOCK_FAST
|
||||
}, { "pyutest-glass.png", "pyutest-shiny-metal-overlay.png" }, {
|
||||
}, { "pyutest-glass.png", "pyutest-glass-overlay.png" }, {
|
||||
drawtype = "glasslike_framed",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true
|
||||
|
@ -109,7 +109,7 @@ for k, v in pairs(PyuTest.COLORS) do
|
||||
cracky = PyuTest.BLOCK_FAST,
|
||||
glass = 1,
|
||||
colored = 1
|
||||
}, {"pyutest-glass.png", "pyutest-shiny-metal-overlay.png"}, {
|
||||
}, {"pyutest-glass.png", "pyutest-glass-overlay.png"}, {
|
||||
drawtype = "glasslike_framed",
|
||||
color = v[2],
|
||||
paramtype = "light",
|
||||
|
@ -119,7 +119,8 @@ PyuTest.make_ore_and_item = function(id, desc, item_id_suffix, item_description_
|
||||
block_conf = {},
|
||||
block_color = nil,
|
||||
block_tiles = {},
|
||||
block_groups = {}
|
||||
block_groups = {},
|
||||
block_shiny = false,
|
||||
}
|
||||
local conf = {}
|
||||
|
||||
@ -213,7 +214,12 @@ PyuTest.make_ore_and_item = function(id, desc, item_id_suffix, item_description_
|
||||
|
||||
PyuTest.make_building_blocks(id, desc, conf.block_tiles, conf.block_color, PyuTest.util.tableconcat({
|
||||
cracky = conf.ore_strength
|
||||
}, conf.block_groups), conf.block_conf)
|
||||
}, conf.block_groups), PyuTest.util.tableconcat(conf.block_conf, {
|
||||
overlay_tiles = conf.block_shiny and {
|
||||
-- {name = "pyutest-shiny-metal-overlay.png", color = "white"},
|
||||
"pyutest-shiny-metal-overlay.png"
|
||||
} or nil
|
||||
}))
|
||||
|
||||
local bid = id.."_block"
|
||||
minetest.register_craft({
|
||||
@ -267,7 +273,7 @@ PyuTest.make_ore_and_item("pyutest_ores:iron", "Iron", "ingot", "Ingot", {
|
||||
make_raw = true,
|
||||
raw_texture = "pyutest-lump.png",
|
||||
|
||||
block_tiles = {"pyutest-metal.png"}
|
||||
block_tiles = {"pyutest-metal.png"},
|
||||
})
|
||||
|
||||
PyuTest.make_ore_and_item("pyutest_ores:zinc", "Zinc", "ingot", "Ingot", {
|
||||
@ -336,7 +342,8 @@ PyuTest.make_ore_and_item("pyutest_ores:gold", "Gold", "ingot", "Ingot", {
|
||||
},
|
||||
|
||||
block_tiles = {"pyutest-metal.png"},
|
||||
block_color = "gold"
|
||||
block_color = "gold",
|
||||
block_shiny = true,
|
||||
})
|
||||
|
||||
PyuTest.make_ore_and_item("pyutest_ores:diamond", "Diamond", "shard", "Shard", {
|
||||
@ -353,7 +360,8 @@ PyuTest.make_ore_and_item("pyutest_ores:diamond", "Diamond", "shard", "Shard", {
|
||||
},
|
||||
|
||||
block_tiles = {"pyutest-metal.png"},
|
||||
block_color = "cyan"
|
||||
block_color = "cyan",
|
||||
block_shiny = true,
|
||||
})
|
||||
|
||||
PyuTest.make_ore_and_item("pyutest_ores:emerald", "Emerald", "shard", "Shard", {
|
||||
@ -370,7 +378,8 @@ PyuTest.make_ore_and_item("pyutest_ores:emerald", "Emerald", "shard", "Shard", {
|
||||
},
|
||||
|
||||
block_tiles = {"pyutest-metal.png"},
|
||||
block_color = "seagreen"
|
||||
block_color = "seagreen",
|
||||
block_shiny = true,
|
||||
})
|
||||
|
||||
-- "Secondary" Ores
|
||||
|
BIN
textures/pyutest-glass-overlay.png
Normal file
BIN
textures/pyutest-glass-overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 B |
Binary file not shown.
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 109 B |
Binary file not shown.
Before Width: | Height: | Size: 95 B After Width: | Height: | Size: 95 B |
Loading…
x
Reference in New Issue
Block a user