Christopher Head
2019-01-26 4f78a69ffc714886c9d6e812f78d543bb33fe674
technic/machines/register/generator.lua
@@ -57,7 +57,7 @@
      -- Burn another piece of fuel
      if burn_time == 0 then
         local inv = meta:get_inventory()
         if not inv:is_empty("src") then
         if not inv:is_empty("src") then
            local fuellist = inv:get_list("src")
            local fuel
            local afterfuel
@@ -96,7 +96,7 @@
            }
         )..pipeworks.button_label
      end
      meta:set_string("formspec",
      meta:set_string("formspec",
         "size[8, 9]"..
         "label[0, 0;"..minetest.formspec_escape(desc).."]"..
         "list[current_name;src;3, 1;1, 1;]"..
@@ -120,7 +120,7 @@
            "technic_"..ltier.."_generator_side.png"..tentry,
            "technic_"..ltier.."_generator_side.png"..tentry,
            "technic_"..ltier.."_generator_front.png"
      },
      },
      paramtype2 = "facedir",
      groups = groups,
      connect_sides = {"bottom", "back", "left", "right"},
@@ -240,7 +240,7 @@
               }
            )..pipeworks.button_label
         end
         meta:set_string("formspec",
         meta:set_string("formspec",
            "size[8, 9]"..
            "label[0, 0;"..minetest.formspec_escape(desc).."]"..
            "list[current_name;src;3, 1;1, 1;]"..
@@ -274,7 +274,7 @@
         local burn_time = meta:get_int("burn_time")
         local percent = math.floor(burn_time / burn_totaltime * 100)
         meta:set_string("formspec",
         meta:set_string("formspec",
            "size[8, 9]"..
            "label[0, 0;"..minetest.formspec_escape(desc).."]"..
            "list[current_name;src;3, 1;1, 1;]"..