From b8d77627a4d28c624e63423eef317dd09c68e533 Mon Sep 17 00:00:00 2001 From: RealBadAngel <mk@realbadangel.pl> Date: Thu, 13 Dec 2012 01:49:02 +0100 Subject: [PATCH] update the mod --- technic/technic/iron_chest.lua | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/iron_chest.lua b/technic/technic/iron_chest.lua similarity index 93% rename from iron_chest.lua rename to technic/technic/iron_chest.lua index f0e0fcb..27b1aba 100644 --- a/iron_chest.lua +++ b/technic/technic/iron_chest.lua @@ -54,15 +54,6 @@ local inv = meta:get_inventory() inv:set_size("main", 9*4) end, - - after_place_node = function(pos, placer) - ntop1 = minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}) - ntop = minetest.env:get_node({x=pos.x, y=pos.y+1, z=pos.z}) - if ntop.name ~= "air" then - minetest.node_dig(pos, ntop1, placer) - end - end, - can_dig = function(pos,player) local meta = minetest.env:get_meta(pos); local inv = meta:get_inventory() @@ -170,7 +161,3 @@ " takes stuff from locked chest at "..minetest.pos_to_string(pos)) end, }) - -function add_item (player) -player:get_inventory():add_item("main", "blabla 1") -end \ No newline at end of file -- Gitblit v1.8.0