diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-06-25 23:33:29 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-06-25 23:33:29 +0200 |
commit | 83ec1aaae44d865d00cd9115c445831fbc3c9ff7 (patch) | |
tree | 7154a8f0d85e7326b528109b73c717bd068bb110 /init.lua | |
parent | 9d601cb4d6bf3abccfecd2b810c59ba3e64f3300 (diff) | |
download | atm-83ec1aaae44d865d00cd9115c445831fbc3c9ff7.tar.gz atm-83ec1aaae44d865d00cd9115c445831fbc3c9ff7.tar.bz2 atm-83ec1aaae44d865d00cd9115c445831fbc3c9ff7.zip |
Removed unused code
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -85,27 +85,9 @@ minetest.register_node("atm:atm", { can_dig = can_dig, - on_construct = function(pos) - local meta = minetest.get_meta(pos) --- meta:set_string("formspec", formspec) - local inv = meta:get_inventory() - inv:set_size('in', 3) - end, on_rightclick = function(pos, node, player, itemstack, pointed_thing) atm.showform(player) end, - - on_blast = function(pos) - local drops = {} - default.get_inventory_drops(pos, "src", drops) - drops[#drops+1] = "atm:atm" - minetest.remove_node(pos) - return drops - end, - - allow_metadata_inventory_put = allow_metadata_inventory_put, - allow_metadata_inventory_move = allow_metadata_inventory_move, - allow_metadata_inventory_take = allow_metadata_inventory_take, }) -- Check the form |