add pipeworks tube overlay to top of quarry

(and get rid of obsolete inventorycube() image)
This commit is contained in:
Vanessa Ezekowitz 2017-04-11 08:09:53 -04:00
parent 869d0597ef
commit 0e9caf069d

View File

@ -1,6 +1,8 @@
local S = technic.getter local S = technic.getter
local tube_entry = "^pipeworks_tube_connection_metallic.png"
minetest.register_craft({ minetest.register_craft({
recipe = { recipe = {
{"technic:carbon_plate", "pipeworks:filter", "technic:composite_plate"}, {"technic:carbon_plate", "pipeworks:filter", "technic:composite_plate"},
@ -207,12 +209,14 @@ end
minetest.register_node("technic:quarry", { minetest.register_node("technic:quarry", {
description = S("%s Quarry"):format("HV"), description = S("%s Quarry"):format("HV"),
tiles = {"technic_carbon_steel_block.png", "technic_carbon_steel_block.png", tiles = {
"technic_carbon_steel_block.png", "technic_carbon_steel_block.png", "technic_carbon_steel_block.png"..tube_entry,
"technic_carbon_steel_block.png^default_tool_mesepick.png", "technic_carbon_steel_block.png"}, "technic_carbon_steel_block.png",
inventory_image = minetest.inventorycube("technic_carbon_steel_block.png", "technic_carbon_steel_block.png",
"technic_carbon_steel_block.png",
"technic_carbon_steel_block.png^default_tool_mesepick.png", "technic_carbon_steel_block.png^default_tool_mesepick.png",
"technic_carbon_steel_block.png"), "technic_carbon_steel_block.png"
},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky=2, tubedevice=1, technic_machine=1, technic_hv=1}, groups = {cracky=2, tubedevice=1, technic_machine=1, technic_hv=1},
connect_sides = {"bottom", "front", "left", "right"}, connect_sides = {"bottom", "front", "left", "right"},