summaryrefslogtreecommitdiff
path: root/castle/town_item.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-05-17 20:57:26 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-05-17 20:57:26 -0400
commit94f81cdae1d23aaf3214bd87a56a6b6c4cb3bf06 (patch)
tree31039e2c0fb9744fccda027ee6e4f3152974cce6 /castle/town_item.lua
parent08597e7890192c845fba193e2456891bb85ac4cd (diff)
downloaddreambuilder_modpack-94f81cdae1d23aaf3214bd87a56a6b6c4cb3bf06.tar
dreambuilder_modpack-94f81cdae1d23aaf3214bd87a56a6b6c4cb3bf06.tar.gz
dreambuilder_modpack-94f81cdae1d23aaf3214bd87a56a6b6c4cb3bf06.tar.bz2
dreambuilder_modpack-94f81cdae1d23aaf3214bd87a56a6b6c4cb3bf06.tar.xz
dreambuilder_modpack-94f81cdae1d23aaf3214bd87a56a6b6c4cb3bf06.zip
update castle, mesecons, and tpr mods
Diffstat (limited to 'castle/town_item.lua')
-rw-r--r--castle/town_item.lua50
1 files changed, 50 insertions, 0 deletions
diff --git a/castle/town_item.lua b/castle/town_item.lua
index 0cf6043..0875e89 100644
--- a/castle/town_item.lua
+++ b/castle/town_item.lua
@@ -334,3 +334,53 @@ else
default.node_sound_stone_defaults()
)
end
+
+minetest.register_node( "castle:chandelier", {
+ drawtype = "plantlike",
+ description = "Chandelier",
+ paramtype = "light",
+ wield_image = "castle_chandelier_wield.png",
+ inventory_image = "castle_chandelier_wield.png",
+ groups = {cracky=2},
+ sounds = default.node_sound_glass_defaults(),
+ sunlight_propagates = true,
+ light_source = 14,
+ tiles = {
+ {
+ name = "castle_chandelier.png",
+ animation = {
+ type = "vertical_frames",
+ aspect_w = 16,
+ aspect_h = 16,
+ length = 1.0
+ },
+ },
+ },
+ selection_box = {
+ type = "fixed",
+ fixed = {
+ {0.35,-0.375,0.35,-0.35,0.5,-0.35},
+
+ },
+ },
+})
+
+minetest.register_node( "castle:chandelier_chain", {
+ drawtype = "plantlike",
+ description = "Chandelier Chain",
+ paramtype = "light",
+ wield_image = "castle_chandelier_chain.png",
+ inventory_image = "castle_chandelier_chain.png",
+ groups = {cracky=2},
+ sounds = default.node_sound_glass_defaults(),
+ sunlight_propagates = true,
+ tiles = {"castle_chandelier_chain.png"},
+ selection_box = {
+ type = "fixed",
+ fixed = {
+ {0.1,-0.5,0.1,-0.1,0.5,-0.1},
+
+ },
+ },
+})
+