From b8d77627a4d28c624e63423eef317dd09c68e533 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Thu, 13 Dec 2012 01:49:02 +0100 Subject: update the mod --- project_table.lua | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 project_table.lua (limited to 'project_table.lua') diff --git a/project_table.lua b/project_table.lua deleted file mode 100644 index 355295c..0000000 --- a/project_table.lua +++ /dev/null @@ -1,39 +0,0 @@ -minetest.register_craft({ - output = 'technic:project_table 1', - recipe = { - {'default:wood','default:wood','default:wood'}, - {'default:wood','default:chest','default:wood'}, - {'default:stone','default:stone','default:stone'}, - } -}) - - -minetest.register_craftitem("technic:project_table", { - description = "Project Table", - stack_max = 99, -}) - -minetest.register_node("technic:project_table", { - description = "Project Table", - tiles = {"technic_iron_chest_top.png", "technic_iron_chest_top.png", "technic_iron_chest_side.png", - "technic_iron_chest_side.png", "technic_iron_chest_side.png", "technic_iron_chest_front.png"}, - paramtype2 = "facedir", - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, - legacy_facedir_simple = true, - sounds = default.node_sound_wood_defaults(), - on_construct = function(pos) - local meta = minetest.env:get_meta(pos) - meta:set_string("formspec", - "invsize[9,9;]".. - "list[current_name;main;0,2;8,2;]".. - "list[current_player;main;0,5;8,4;]") - meta:set_string("infotext", "Iron Chest") - local inv = meta:get_inventory() - inv:set_size("main", 8*4) - end, - can_dig = function(pos,player) - local meta = minetest.env:get_meta(pos); - local inv = meta:get_inventory() - return inv:is_empty("main") - end, -}) \ No newline at end of file -- cgit v1.2.3