summaryrefslogtreecommitdiff
path: root/castle_farming/hides.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-17 16:53:18 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-17 16:53:18 -0400
commit907e8bf6a64215a516fdf16869dd81248aeaa2f6 (patch)
treed199282e5764c7ab5183fe0d78ed0412dbb0b89f /castle_farming/hides.lua
parent06d9243586cecb1abed74550ce2544b436572a35 (diff)
downloaddreambuilder_modpack-907e8bf6a64215a516fdf16869dd81248aeaa2f6.tar
dreambuilder_modpack-907e8bf6a64215a516fdf16869dd81248aeaa2f6.tar.gz
dreambuilder_modpack-907e8bf6a64215a516fdf16869dd81248aeaa2f6.tar.bz2
dreambuilder_modpack-907e8bf6a64215a516fdf16869dd81248aeaa2f6.tar.xz
dreambuilder_modpack-907e8bf6a64215a516fdf16869dd81248aeaa2f6.zip
update digilines, technic, unified inventory,
and switched castles to the new modpack form
Diffstat (limited to 'castle_farming/hides.lua')
-rw-r--r--castle_farming/hides.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/castle_farming/hides.lua b/castle_farming/hides.lua
new file mode 100644
index 0000000..73a9df2
--- /dev/null
+++ b/castle_farming/hides.lua
@@ -0,0 +1,32 @@
+-- internationalization boilerplate
+local MP = minetest.get_modpath(minetest.get_current_modname())
+local S, NS = dofile(MP.."/intllib.lua")
+
+minetest.register_alias("castle:hides", "castle_farming:hides")
+
+minetest.register_node("castle_farming:hides", {
+ drawtype = "nodebox",
+ description = S("Hides"),
+ inventory_image = "castle_hide.png",
+ paramtype = "light",
+ walkable = false,
+ tiles = {'castle_hide.png'},
+ climbable = true,
+ paramtype2 = "wallmounted",
+ groups = {dig_immediate=2},
+ node_box = {
+ type = "wallmounted",
+ wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
+ wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
+ wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
+ },
+})
+
+minetest.register_craft( {
+ type = "shapeless",
+ output = "castle_farming:hides 6",
+ recipe = { "wool:white" , "bucket:bucket_water" },
+ replacements = {
+ { 'bucket:bucket_water', 'bucket:bucket_empty' }
+ }
+})