mat9117
2019-04-14 a9b10cc4b10110a9c54bd03ac07eea3151b10ede
technic/machines/LV/geothermal.lua
@@ -11,14 +11,18 @@
   output = 'technic:geothermal',
   recipe = {
      {'technic:granite',          'default:diamond',        'technic:granite'},
      {'technic:fine_copper_wire', 'technic:machine_casing', 'technic:fine_copper_wire'},
      {'basic_materials:copper_wire', 'technic:machine_casing', 'basic_materials:copper_wire'},
      {'technic:granite',          'technic:lv_cable',       'technic:granite'},
   }
   },
   replacements = {
      {"basic_materials:copper_wire", "basic_materials:empty_spool"},
      {"basic_materials:copper_wire", "basic_materials:empty_spool"}
   },
})
minetest.register_craftitem("technic:geothermal", {
   description = S("Geothermal %s Generator"):format("LV"),
})
})
local check_node_around = function(pos)
   local node = minetest.get_node(pos)