mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-05-14 22:50:23 +02:00
fix missing steel texture issues
This commit is contained in:
parent
6e74ec0965
commit
3ffbafda60
@ -1,14 +1,16 @@
|
|||||||
local S = minetest.get_translator("pipeworks")
|
local S = minetest.get_translator("pipeworks")
|
||||||
|
|
||||||
local straight = function(pos, node, velocity, stack) return {velocity} end
|
local straight = function(pos, node, velocity, stack) return {velocity} end
|
||||||
|
local steel_tex = "[combine:16x16^[noalpha^[colorize:#D3D3D3"
|
||||||
|
if minetest.get_modpath("default") then steel_tex = "default_steel_block.png" end
|
||||||
|
|
||||||
minetest.register_node("pipeworks:steel_block_embedded_tube", {
|
minetest.register_node("pipeworks:steel_block_embedded_tube", {
|
||||||
description = S("Airtight steelblock embedded tube"),
|
description = S("Airtight steelblock embedded tube"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"default_steel_block.png", "default_steel_block.png",
|
steel_tex, steel_tex,
|
||||||
"default_steel_block.png", "default_steel_block.png",
|
steel_tex, steel_tex,
|
||||||
"default_steel_block.png^pipeworks_tube_connection_metallic.png",
|
steel_tex .. "^pipeworks_tube_connection_metallic.png",
|
||||||
"default_steel_block.png^pipeworks_tube_connection_metallic.png",
|
steel_tex .. "^pipeworks_tube_connection_metallic.png",
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user