SmallJoker
2018-07-19 fb93388f06fe87ee75aaaf04cf6edcf01a26d981
Replace deprecated invsize[] with size[]
5 files modified
10 ■■■■ changed files
technic/machines/LV/cnc.lua 2 ●●● patch | view | raw | blame | history
technic/machines/MV/tool_workshop.lua 2 ●●● patch | view | raw | blame | history
technic/machines/other/injector.lua 2 ●●● patch | view | raw | blame | history
technic/machines/register/generator.lua 2 ●●● patch | view | raw | blame | history
technic/machines/register/machine_base.lua 2 ●●● patch | view | raw | blame | history
technic/machines/LV/cnc.lua
@@ -48,7 +48,7 @@
}
local cnc_formspec =
    "invsize[9,11;]"..
    "size[9,11;]"..
    "label[1,0;"..S("Choose Milling Program:").."]"..
    "image_button[1,0.5;1,1;technic_cnc_slope.png;slope; ]"..
    "image_button[2,0.5;1,1;technic_cnc_slope_edge.png;slope_edge; ]"..
technic/machines/MV/tool_workshop.lua
@@ -19,7 +19,7 @@
local workshop_demand = {5000, 3500, 2000}
local workshop_formspec =
    "invsize[8,9;]"..
    "size[8,9;]"..
    "list[current_name;src;3,1;1,1;]"..
    "label[0,0;"..S("%s Tool Workshop"):format("MV").."]"..
    "list[current_name;upgrade1;1,3;1,1;]"..
technic/machines/other/injector.lua
@@ -55,7 +55,7 @@
local function set_injector_formspec(meta)
    local is_stack = meta:get_string("mode") == "whole stacks"
    meta:set_string("formspec",
        "invsize[8,9;]"..
        "size[8,9;]"..
        "item_image[0,0;1,1;technic:injector]"..
        "label[1,0;"..S("Self-Contained Injector").."]"..
        (is_stack and
technic/machines/register/generator.lua
@@ -35,7 +35,7 @@
    for k, v in pairs(groups) do active_groups[k] = v end
    local generator_formspec =
        "invsize[8,9;]"..
        "size[8,9;]"..
        "label[0,0;"..S("Fuel-Fired %s Generator"):format(tier).."]"..
        "list[current_name;src;3,1;1,1;]"..
        "image[4,1;1,1;default_furnace_fire_bg.png]"..
technic/machines/register/machine_base.lua
@@ -44,7 +44,7 @@
    for k, v in pairs(groups) do active_groups[k] = v end
    local formspec =
        "invsize[8,9;]"..
        "size[8,9;]"..
        "list[current_name;src;"..(4-input_size)..",1;"..input_size..",1;]"..
        "list[current_name;dst;5,1;2,2;]"..
        "list[current_player;main;0,5;8,4;]"..