summaryrefslogtreecommitdiff
path: root/games/minimal/mods/chest
diff options
context:
space:
mode:
Diffstat (limited to 'games/minimal/mods/chest')
-rw-r--r--games/minimal/mods/chest/init.lua27
-rw-r--r--games/minimal/mods/chest/mod.conf2
-rw-r--r--games/minimal/mods/chest/textures/chest_chest.pngbin163 -> 0 bytes
3 files changed, 0 insertions, 29 deletions
diff --git a/games/minimal/mods/chest/init.lua b/games/minimal/mods/chest/init.lua
deleted file mode 100644
index c44522cb9..000000000
--- a/games/minimal/mods/chest/init.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-minetest.register_node("chest:chest", {
- description = "Chest",
- tiles ={"chest_chest.png^[sheet:2x2:0,0", "chest_chest.png^[sheet:2x2:0,0",
- "chest_chest.png^[sheet:2x2:1,0", "chest_chest.png^[sheet:2x2:1,0",
- "chest_chest.png^[sheet:2x2:1,0", "chest_chest.png^[sheet:2x2:0,1"},
- paramtype2 = "facedir",
- groups = {dig_immediate=2,choppy=3},
- is_ground_content = false,
- on_construct = function(pos)
- local meta = minetest.get_meta(pos)
- meta:set_string("formspec",
- "size[8,9]"..
- "list[current_name;main;0,0;8,4;]"..
- "list[current_player;main;0,5;8,4;]" ..
- "listring[]")
- meta:set_string("infotext", "Chest")
- local inv = meta:get_inventory()
- inv:set_size("main", 8*4)
- end,
- can_dig = function(pos,player)
- local meta = minetest.get_meta(pos);
- local inv = meta:get_inventory()
- return inv:is_empty("main")
- end,
-})
-
-
diff --git a/games/minimal/mods/chest/mod.conf b/games/minimal/mods/chest/mod.conf
deleted file mode 100644
index 0d7500164..000000000
--- a/games/minimal/mods/chest/mod.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-name = chest
-description = A simple chest to store items
diff --git a/games/minimal/mods/chest/textures/chest_chest.png b/games/minimal/mods/chest/textures/chest_chest.png
deleted file mode 100644
index 824b4d502..000000000
--- a/games/minimal/mods/chest/textures/chest_chest.png
+++ /dev/null
Binary files differ