aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-06-25 23:33:29 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-06-25 23:33:29 +0200
commit83ec1aaae44d865d00cd9115c445831fbc3c9ff7 (patch)
tree7154a8f0d85e7326b528109b73c717bd068bb110 /init.lua
parent9d601cb4d6bf3abccfecd2b810c59ba3e64f3300 (diff)
downloadatm-83ec1aaae44d865d00cd9115c445831fbc3c9ff7.tar.gz
atm-83ec1aaae44d865d00cd9115c445831fbc3c9ff7.tar.bz2
atm-83ec1aaae44d865d00cd9115c445831fbc3c9ff7.zip
Removed unused code
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/init.lua b/init.lua
index 12a828c..1c68f5e 100644
--- a/init.lua
+++ b/init.lua
@@ -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