summaryrefslogtreecommitdiff
path: root/castle
diff options
context:
space:
mode:
Diffstat (limited to 'castle')
-rw-r--r--castle/init.lua11
-rw-r--r--castle/town_item.lua2
2 files changed, 3 insertions, 10 deletions
diff --git a/castle/init.lua b/castle/init.lua
index 73a97d7..ed82a66 100644
--- a/castle/init.lua
+++ b/castle/init.lua
@@ -258,16 +258,8 @@ minetest.register_node("castle:ironbound_chest",{
local meta = minetest.get_meta(pos)
meta:set_string("infotext", "Ironbound Chest")
meta:set_string("owner", "")
- meta:set_string("formspec",
- "size[8,8]"..
- default.gui_bg ..
- default.gui_bg_img ..
- default.gui_slots ..
- "list[current_name;main;0,0;8,5;]"..
- "list[current_player;main;0,4;8,4;]"..
- "infotext", "Ironbound Chest")
local inv = meta:get_inventory()
- inv:set_size("main", 8*3)
+ inv:set_size("main", 8*4)
end,
can_dig = function(pos,player)
local meta = minetest.get_meta(pos);
@@ -329,6 +321,7 @@ minetest.register_node("castle:ironbound_chest",{
)
end
end,
+ on_blast = function() end,
})
minetest.register_craft({
diff --git a/castle/town_item.lua b/castle/town_item.lua
index d1b496a..ee7d22f 100644
--- a/castle/town_item.lua
+++ b/castle/town_item.lua
@@ -201,7 +201,7 @@ minetest.register_craft({
})
minetest.register_node("castle:crate", {
- description = "Cratelol",
+ description = "Crate",
drawtype = "normal",
tiles = {"castle_crate_top.png","castle_crate_top.png","castle_crate.png","castle_crate.png","castle_crate.png","castle_crate.png"},
groups = {choppy=3},