| | |
| | | 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)) |
| | |
| | | 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(), |
| | |
| | | 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)) |
| | |
| | | "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(), |
| | |
| | | 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)) |
| | |
| | | "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(), |