Serhiy Zahoriya
2020-01-11 1a45ad19d4fa627e147bd385665e37942f6147fb
technic/machines/MV/wind_mill.lua
@@ -13,7 +13,7 @@
minetest.register_craft({
   output = 'technic:wind_mill',
   recipe = {
      {'',                           'technic:motor',              ''},
      {'',                           'basic_materials:motor',              ''},
      {'technic:carbon_steel_ingot', 'technic:carbon_steel_block', 'technic:carbon_steel_ingot'},
      {'',                           'technic:mv_cable',           ''},
   }
@@ -60,7 +60,8 @@
   elseif check == true then
      local power = math.min(pos.y * 100, 5000)
      meta:set_int("MV_EU_supply", power)
      meta:set_string("infotext", S("@1 (@2 EU)", machine_name, technic.pretty_num(power)))
      meta:set_string("infotext", S("@1 (@2)", machine_name,
         technic.EU_string(power)))
   end
   -- check == nil: assume nothing has changed
end