summaryrefslogtreecommitdiff
path: root/castle
diff options
context:
space:
mode:
Diffstat (limited to 'castle')
-rw-r--r--castle/init.lua10
-rw-r--r--castle/sounds/LICENSE.txt2
-rw-r--r--castle/sounds/castle_crossbow_reload.oggbin0 -> 12213 bytes
-rw-r--r--castle/town_item.lua6
4 files changed, 13 insertions, 5 deletions
diff --git a/castle/init.lua b/castle/init.lua
index 5235d52..4e60014 100644
--- a/castle/init.lua
+++ b/castle/init.lua
@@ -257,8 +257,16 @@ 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*4)
+ inv:set_size("main", 8*3)
end,
can_dig = function(pos,player)
local meta = minetest.get_meta(pos);
diff --git a/castle/sounds/LICENSE.txt b/castle/sounds/LICENSE.txt
index d461ac2..f8041dd 100644
--- a/castle/sounds/LICENSE.txt
+++ b/castle/sounds/LICENSE.txt
@@ -4,7 +4,7 @@ License Sounds
(From Simple Shooter mod by Stuart Jones)
-castle_crossbow_click.ogg
-castle_crossbow_shoot.ogg
--castle_reload.ogg
+-castle_crossbow_reload.ogg
Author : freesound.org
License : Attribution 3.0 Unported (CC BY 3.0)
diff --git a/castle/sounds/castle_crossbow_reload.ogg b/castle/sounds/castle_crossbow_reload.ogg
new file mode 100644
index 0000000..47f7245
--- /dev/null
+++ b/castle/sounds/castle_crossbow_reload.ogg
Binary files differ
diff --git a/castle/town_item.lua b/castle/town_item.lua
index 6e2b4f8..0cf6043 100644
--- a/castle/town_item.lua
+++ b/castle/town_item.lua
@@ -201,7 +201,7 @@ minetest.register_craft({
})
minetest.register_node("castle:crate", {
- description = "Crate",
+ description = "Cratelol",
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},
@@ -214,11 +214,11 @@ minetest.register_node("castle:crate", {
default.gui_bg ..
default.gui_bg_img ..
default.gui_slots ..
- "list[current_name;main;0,1;8,4;]"..
+ "list[current_name;main;0,0;8,5;]"..
"list[current_player;main;0,5;8,4;]")
meta:set_string("infotext", "Crate")
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);