Zefram
2014-07-03 636b0f20df4fef3eef821c23ccc2f606828f5c6f
technic/machines/other/constructor.lua
@@ -134,7 +134,7 @@
   meta:set_string("formspec",
            "invsize[8,9;]"..
            "label[0,0;"..S("Constructor Mk%d"):format(1).."]"..
            "label[5,0;Slot 1]"..
            "label[5,0;"..S("Slot %d"):format(1).."]"..
            "list[current_name;slot1;6,0;1,1;]"..
            "list[current_player;main;0,5;8,4;]")
      meta:set_string("infotext", S("Constructor Mk%d"):format(1))
@@ -153,10 +153,11 @@
})
minetest.register_node("technic:constructor_mk1_on", {
   description = S("Constructor Mk%d"):format(3),
   description = S("Constructor Mk%d"):format(1),
   tile_images = {"technic_constructor_mk1_top_on.png","technic_constructor_mk1_bottom_on.png","technic_constructor_mk1_side2_on.png","technic_constructor_mk1_side1_on.png",
         "technic_constructor_back.png","technic_constructor_front_on.png"},
   paramtype2 = "facedir",
   drop = "technic:constructor_mk1_off",
   groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,mesecon = 2,not_in_creative_inventory=1},
   mesecons= {effector={action_off=mk1_off}},
   sounds = default.node_sound_stone_defaults(),
@@ -215,9 +216,9 @@
   meta:set_string("formspec",
            "invsize[8,9;]"..
            "label[0,0;"..S("Constructor Mk%d"):format(2).."]"..
            "label[5,0;Slot 1]"..
            "label[5,0;"..S("Slot %d"):format(1).."]"..
            "list[current_name;slot1;6,0;1,1;]"..
            "label[5,1;Slot 2]"..
            "label[5,1;"..S("Slot %d"):format(2).."]"..
            "list[current_name;slot2;6,1;1,1;]"..
            "list[current_player;main;0,5;8,4;]")
      meta:set_string("infotext", S("Constructor Mk%d"):format(2))
@@ -242,6 +243,7 @@
         "technic_constructor_back.png","technic_constructor_front_on.png"},
   is_ground_content = true,
   paramtype2 = "facedir",
   drop = "technic:constructor_mk2_off",
   groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2, not_in_creative_inventory=1},
   mesecons = {effector={action_off=mk2_off}},
   sounds = default.node_sound_stone_defaults(),
@@ -316,13 +318,13 @@
   meta:set_string("formspec",
            "invsize[8,9;]"..
            "label[0,0;"..S("Constructor Mk%d"):format(3).."]"..
            "label[5,0;Slot 1]"..
            "label[5,0;"..S("Slot %d"):format(1).."]"..
            "list[current_name;slot1;6,0;1,1;]"..
            "label[5,1;Slot 2]"..
            "label[5,1;"..S("Slot %d"):format(2).."]"..
            "list[current_name;slot2;6,1;1,1;]"..
            "label[5,2;Slot 3]"..
            "label[5,2;"..S("Slot %d"):format(3).."]"..
            "list[current_name;slot3;6,2;1,1;]"..
            "label[5,3;Slot 4]"..
            "label[5,3;"..S("Slot %d"):format(4).."]"..
            "list[current_name;slot4;6,3;1,1;]"..
            "list[current_player;main;0,5;8,4;]")
      meta:set_string("infotext", S("Constructor Mk%d"):format(3))
@@ -351,6 +353,7 @@
         "technic_constructor_back.png","technic_constructor_front_on.png"},
   is_ground_content = true,
   paramtype2 = "facedir",
   drop = "technic:constructor_mk3_off",
   groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,not_in_creative_inventory=1},
   mesecons = {effector={action_off=mk3_off}},
   sounds = default.node_sound_stone_defaults(),