diff options
Diffstat (limited to 'technic/machines/HV')
| -rw-r--r-- | technic/machines/HV/forcefield.lua | 20 | ||||
| -rw-r--r-- | technic/machines/HV/quarry.lua | 17 | 
2 files changed, 29 insertions, 8 deletions
| diff --git a/technic/machines/HV/forcefield.lua b/technic/machines/HV/forcefield.lua index 1d46bcf..3bb8d03 100644 --- a/technic/machines/HV/forcefield.lua +++ b/technic/machines/HV/forcefield.lua @@ -12,6 +12,8 @@ local forcefield_power_drain   = 10  local S = technic.getter +local cable_entry = "^technic_cable_connection_overlay.png" +  minetest.register_craft({  	output = "technic:forcefield_emitter_off",  	recipe = { @@ -258,7 +260,14 @@ end  minetest.register_node("technic:forcefield_emitter_off", {  	description = S("%s Forcefield Emitter"):format("HV"), -	tiles = {"technic_forcefield_emitter_off.png"}, +	tiles = { +		"technic_forcefield_emitter_off.png", +		"technic_machine_bottom.png"..cable_entry, +		"technic_forcefield_emitter_off.png", +		"technic_forcefield_emitter_off.png", +		"technic_forcefield_emitter_off.png", +		"technic_forcefield_emitter_off.png" +	},  	groups = {cracky = 1, technic_machine = 1, technic_hv = 1},  	on_receive_fields = forcefield_receive_fields,  	on_construct = function(pos) @@ -282,7 +291,14 @@ minetest.register_node("technic:forcefield_emitter_off", {  minetest.register_node("technic:forcefield_emitter_on", {  	description = S("%s Forcefield Emitter"):format("HV"), -	tiles = {"technic_forcefield_emitter_on.png"}, +	tiles = { +		"technic_forcefield_emitter_on.png", +		"technic_machine_bottom.png"..cable_entry, +		"technic_forcefield_emitter_on.png", +		"technic_forcefield_emitter_on.png", +		"technic_forcefield_emitter_on.png", +		"technic_forcefield_emitter_on.png" +	},  	groups = {cracky = 1, technic_machine = 1, technic_hv = 1,  			not_in_creative_inventory=1},  	drop = "technic:forcefield_emitter_off", diff --git a/technic/machines/HV/quarry.lua b/technic/machines/HV/quarry.lua index 8d87b65..c1ee1bb 100644 --- a/technic/machines/HV/quarry.lua +++ b/technic/machines/HV/quarry.lua @@ -1,6 +1,9 @@  local S = technic.getter +local tube_entry = "^pipeworks_tube_connection_metallic.png" +local cable_entry = "^technic_cable_connection_overlay.png" +  minetest.register_craft({  	recipe = {  		{"technic:carbon_plate",       "pipeworks:filter",       "technic:composite_plate"}, @@ -207,12 +210,14 @@ end  minetest.register_node("technic:quarry", {  	description = S("%s Quarry"):format("HV"), -	tiles = {"technic_carbon_steel_block.png", "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"}, -	inventory_image = minetest.inventorycube("technic_carbon_steel_block.png", -	         "technic_carbon_steel_block.png^default_tool_mesepick.png", -	         "technic_carbon_steel_block.png"), +	tiles = { +		"technic_carbon_steel_block.png"..tube_entry, +		"technic_carbon_steel_block.png"..cable_entry, +		"technic_carbon_steel_block.png"..cable_entry, +		"technic_carbon_steel_block.png"..cable_entry, +		"technic_carbon_steel_block.png^default_tool_mesepick.png", +		"technic_carbon_steel_block.png"..cable_entry +	},  	paramtype2 = "facedir",  	groups = {cracky=2, tubedevice=1, technic_machine=1, technic_hv=1},  	connect_sides = {"bottom", "front", "left", "right"}, | 
