diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-04-27 17:55:49 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-05-07 17:14:23 -0400 |
commit | 1cd512913e4d4ad1fb43d4b6e3d7971bb6c67528 (patch) | |
tree | 8c1e2c708f567656684e89faee4f7c8e6c5ec673 /builtin/detached_inventory.lua | |
parent | fef2729fd0945601e6772780514ee55fec35b068 (diff) | |
download | minetest-1cd512913e4d4ad1fb43d4b6e3d7971bb6c67528.tar.gz minetest-1cd512913e4d4ad1fb43d4b6e3d7971bb6c67528.tar.bz2 minetest-1cd512913e4d4ad1fb43d4b6e3d7971bb6c67528.zip |
Organize builtin into subdirectories
Diffstat (limited to 'builtin/detached_inventory.lua')
-rw-r--r-- | builtin/detached_inventory.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/builtin/detached_inventory.lua b/builtin/detached_inventory.lua deleted file mode 100644 index 3757f1387..000000000 --- a/builtin/detached_inventory.lua +++ /dev/null @@ -1,19 +0,0 @@ --- Minetest: builtin/detached_inventory.lua - -minetest.detached_inventories = {} - -function minetest.create_detached_inventory(name, callbacks) - local stuff = {} - stuff.name = name - if callbacks then - stuff.allow_move = callbacks.allow_move - stuff.allow_put = callbacks.allow_put - stuff.allow_take = callbacks.allow_take - stuff.on_move = callbacks.on_move - stuff.on_put = callbacks.on_put - stuff.on_take = callbacks.on_take - end - minetest.detached_inventories[name] = stuff - return minetest.create_detached_inventory_raw(name) -end - |