diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-04-01 20:02:19 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-04-01 21:09:33 -0400 |
commit | da66780a569712c23ae4f2996cfb4608a9f9d69d (patch) | |
tree | 217556029a78bc23ad4564720afc86de97228a04 /castle/shields_decor.lua | |
parent | 615b22df4d423aded3613db7716943a2f389b047 (diff) | |
download | dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.gz dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.bz2 dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.xz dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.zip |
copy all standard Dreambuilder mods in from the old subgame
(exactly as last supplied there, updates to these mods will follow later)
Diffstat (limited to 'castle/shields_decor.lua')
-rw-r--r-- | castle/shields_decor.lua | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/castle/shields_decor.lua b/castle/shields_decor.lua new file mode 100644 index 0000000..0772f41 --- /dev/null +++ b/castle/shields_decor.lua @@ -0,0 +1,100 @@ +minetest.register_node("castle:shield",{ + description = "Mounted Shield", + tiles = {"castle_shield_side.png", "castle_shield_side.png", "castle_shield_side.png", "castle_shield_side.png", "castle_shield_back.png", "castle_shield_front.png"}, + drawtype="nodebox", + paramtype2 = "facedir", + paramtype = "light", + groups={cracky=3}, + node_box = { + type = "fixed", + fixed = { + {-0.500000,-0.125000,0.375000,0.500000,0.500000,0.500000}, --NodeBox 1 + {-0.437500,-0.312500,0.375000,0.425000,0.500000,0.500000}, --NodeBox 2 + {-0.312500,-0.437500,0.375000,0.312500,0.500000,0.500000}, --NodeBox 3 + {-0.187500,-0.500000,0.375000,0.187500,0.500000,0.500000}, --NodeBox 4 + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.500000,-0.500000,0.375000,0.500000,0.500000,0.500000}, --NodeBox 1 + }, + }, +}) + + +minetest.register_craft({ + output = "castle:shield", + recipe = { + {"default:steel_ingot","default:steel_ingot","default:steel_ingot"}, + {"default:steel_ingot", "default:steel_ingot","default:steel_ingot"}, + {"dye:red", "default:steel_ingot","dye:blue"}, + } +}) + +minetest.register_node("castle:shield_2",{ + description = "Mounted Shield", + tiles = {"castle_shield_side_2.png", "castle_shield_side_2.png", "castle_shield_side_2.png", "castle_shield_side_2.png", "castle_shield_back.png", "castle_shield_front_2.png"}, + drawtype="nodebox", + paramtype2 = "facedir", + paramtype = "light", + groups={cracky=3}, + node_box = { + type = "fixed", + fixed = { + {-0.500000,-0.125000,0.375000,0.500000,0.500000,0.500000}, --NodeBox 1 + {-0.437500,-0.312500,0.375000,0.425000,0.500000,0.500000}, --NodeBox 2 + {-0.312500,-0.437500,0.375000,0.312500,0.500000,0.500000}, --NodeBox 3 + {-0.187500,-0.500000,0.375000,0.187500,0.500000,0.500000}, --NodeBox 4 + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.500000,-0.500000,0.375000,0.500000,0.500000,0.500000}, --NodeBox 1 + }, + }, +}) + +minetest.register_craft({ + output = "castle:shield_2", + recipe = { + {"default:steel_ingot","default:steel_ingot","default:steel_ingot"}, + {"default:steel_ingot", "default:steel_ingot","default:steel_ingot"}, + {"dye:cyan", "default:steel_ingot","dye:yellow"}, + } +}) + +minetest.register_node("castle:shield_3",{ + description = "Mounted Shield", + tiles = {"castle_shield_side_3.png", "castle_shield_side_3.png", "castle_shield_side_3.png", "castle_shield_side_3.png", "castle_shield_back.png", "castle_shield_front_3.png"}, + drawtype="nodebox", + paramtype2 = "facedir", + paramtype = "light", + groups={cracky=3}, + node_box = { + type = "fixed", + fixed = { + {-0.500000,-0.125000,0.375000,0.500000,0.500000,0.500000}, --NodeBox 1 + {-0.437500,-0.312500,0.375000,0.425000,0.500000,0.500000}, --NodeBox 2 + {-0.312500,-0.437500,0.375000,0.312500,0.500000,0.500000}, --NodeBox 3 + {-0.187500,-0.500000,0.375000,0.187500,0.500000,0.500000}, --NodeBox 4 + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.500000,-0.500000,0.375000,0.500000,0.500000,0.500000}, --NodeBox 1 + }, + }, +}) + +minetest.register_craft({ + output = "castle:shield_3", + recipe = { + {"default:steel_ingot","default:steel_ingot","default:steel_ingot"}, + {"default:steel_ingot", "default:steel_ingot","default:steel_ingot"}, + {"dye:grey", "default:steel_ingot","dye:green"}, + } +}) + |