diff --git a/machines.lua b/machines.lua index 0a4865e..48e53c3 100644 --- a/machines.lua +++ b/machines.lua @@ -173,6 +173,7 @@ elseif industrialtest.mclAvailable then definition.after_dig_node=function(pos,oldnode,oldmeta) mclAfterDigNode(pos,oldmeta,{"charged","fuel"}) end + definition.sounds=mcl_sounds.node_sound_metal_defaults() definition._mcl_blast_resistance=3.5 definition._mcl_hardness=3.9 end @@ -204,6 +205,15 @@ minetest.register_craft({ {"","",industrialtest.elementKeys.furnace} } }) +minetest.register_craft({ + type="shaped", + output="industrialtest:generator", + recipe={ + {"","industrialtest:re_battery",""}, + {"industrialtest:refined_iron_ingot","industrialtest:refined_iron_ingot","industrialtest:refined_iron_ingot"}, + {"","industrialtest:iron_furnace",""} + } +}) -- Item processing machines local function ironFurnaceFormspec(fuelPercent,srcPercent) @@ -402,6 +412,7 @@ if industrialtest.mtgAvailable then cracky=1, level=2 } + definition.sounds=default.node_sound_metal_defaults() definition.can_dig=function(pos) local meta=minetest.get_meta(pos) local inv=meta:get_inventory() @@ -411,6 +422,7 @@ elseif industrialtest.mclAvailable then definition.after_dig_node=function(pos,oldnode,oldmeta) mclAfterDigNode(pos,oldmeta,{"src","fuel","dst"}) end + definition.sounds=mcl_sounds.node_sound_metal_defaults() definition._mcl_blast_resistance=3 definition._mcl_hardness=3.5 end @@ -424,6 +436,15 @@ minetest.register_craft({ {industrialtest.elementKeys.ironIngot,industrialtest.elementKeys.ironIngot,industrialtest.elementKeys.ironIngot} } }) +minetest.register_craft({ + type="shaped", + output="industrialtest:iron_furnace", + recipe={ + {"",industrialtest.elementKeys.ironIngot,""}, + {industrialtest.elementKeys.ironIngot,"",industrialtest.elementKeys.ironIngot}, + {industrialtest.elementKeys.ironIngot,industrialtest.elementKeys.furnace,industrialtest.elementKeys.ironIngot} + } +}) local function electricFurnaceFormspec(powerPercent,srcPercent) local formspec @@ -636,6 +657,7 @@ if industrialtest.mtgAvailable then cracky=1, level=2 } + definition.sounds=default.node_sound_metal_defaults() definition.can_dig=function(pos) local meta=minetest.get_meta(pos) local inv=meta:get_inventory() @@ -645,6 +667,7 @@ elseif industrialtest.mclAvailable then definition.after_dig_node=function(pos,oldnode,oldmeta) mclAfterDigNode(pos,oldmeta,{"src","powerStorage","dst","upgrades"}) end + definition.sounds=mcl_sounds.node_sound_metal_defaults() definition._mcl_blast_resistance=3 definition._mcl_hardness=3.5 end