Emon
2016-05-18 413d20d6c83a218c63fcb4fbf840010d1d380f86
technic/machines/LV/water_mill.lua
@@ -11,7 +11,7 @@
   recipe = {
      {'technic:marble', 'default:diamond',        'technic:marble'},
      {'group:wood',     'technic:machine_casing', 'group:wood'},
      {'technic:marble', 'technic:lv_cable0',      'technic:marble'},
      {'technic:marble', 'technic:lv_cable',       'technic:marble'},
   }
})
@@ -72,7 +72,8 @@
            "technic_water_mill_side.png", "technic_water_mill_side.png",
            "technic_water_mill_side.png", "technic_water_mill_side.png"},
   paramtype2 = "facedir",
   groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, technic_machine=1},
   groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
      technic_machine=1, technic_lv=1},
   legacy_facedir_simple = true,
   sounds = default.node_sound_wood_defaults(),
   on_construct = function(pos)
@@ -80,7 +81,7 @@
      meta:set_string("infotext", S("Hydro %s Generator"):format("LV"))
      meta:set_int("LV_EU_supply", 0)
   end,
   technic_run,
   technic_run = run,
})
minetest.register_node("technic:water_mill_active", {
@@ -89,11 +90,12 @@
            "technic_water_mill_side.png",       "technic_water_mill_side.png",
            "technic_water_mill_side.png",       "technic_water_mill_side.png"},
   paramtype2 = "facedir",
   groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, technic_machine=1, not_in_creative_inventory=1},
   groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
      technic_machine=1, technic_lv=1, not_in_creative_inventory=1},
   legacy_facedir_simple = true,
   sounds = default.node_sound_wood_defaults(),
   drop = "technic:water_mill",
   technic_run,
   technic_run = run,
   technic_disabled_machine_name = "technic:water_mill",
})