Use proper textures for generator

This commit is contained in:
mrkubax10 2023-03-04 20:52:40 +01:00
parent 2bc80fbb72
commit cbdf1c1fcc

View File

@ -51,8 +51,17 @@ local function generatorMclAfterDigNode(pos,oldnode,oldmeta,digger)
end end
local definition={ local definition={
description=S("Generator"), description=S("Generator"),
tiles={"industrialtest_iron_furnace.png"}, tiles={
paramtype2="4dir", "industrialtest_machine_block.png",
"industrialtest_machine_block.png",
"industrialtest_machine_block.png",
"industrialtest_machine_block.png",
"industrialtest_machine_block.png",
"industrialtest_iron_furnace_front.png",
"industrialtest_machine_block.png"
},
paramtype2="facedir",
legacy_facedir_simple=true,
on_construct=function(pos,placer) on_construct=function(pos,placer)
local meta=minetest.get_meta(pos) local meta=minetest.get_meta(pos)
local inv=meta:get_inventory() local inv=meta:get_inventory()