diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-27 13:47:49 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-27 13:47:49 -0500 |
commit | 12284b7cd6d9a1926246406e6ab3cda0a1b41b99 (patch) | |
tree | 8881e359d0dd7fb5e10512e51bfee11cce4c2a90 /homedecor | |
parent | e04cee42cc3aedfd31de963be1022b1be4cd232e (diff) | |
download | dreambuilder_modpack-12284b7cd6d9a1926246406e6ab3cda0a1b41b99.tar dreambuilder_modpack-12284b7cd6d9a1926246406e6ab3cda0a1b41b99.tar.gz dreambuilder_modpack-12284b7cd6d9a1926246406e6ab3cda0a1b41b99.tar.bz2 dreambuilder_modpack-12284b7cd6d9a1926246406e6ab3cda0a1b41b99.tar.xz dreambuilder_modpack-12284b7cd6d9a1926246406e6ab3cda0a1b41b99.zip |
update homedecor
Diffstat (limited to 'homedecor')
-rw-r--r-- | homedecor/crafts.lua | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index e2570cb..0174b67 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -2227,30 +2227,29 @@ minetest.register_craft( { -- bathroom/kitchen tiles -local color_pairings = { - { "grey", "white", "1" }, - { "dark_grey", "white", "2" }, - { "black", "white", "3" }, - { "black", "dark_grey", "4" }, - { "red", "white", "red" }, - { "green", "white", "green" }, - { "blue", "white", "blue" }, - { "yellow", "white", "yellow" }, - { "brown", "white", "tan" } -} +minetest.register_craft( { + output = "homedecor:bathroom_tiles_light 4", + recipe = { + { "group:marble", "group:marble" }, + { "group:marble", "group:marble" } + }, +}) -for i in ipairs(color_pairings) do - local dye1 = color_pairings[i][1] - local dye2 = color_pairings[i][2] - local result = color_pairings[i][3] - minetest.register_craft( { - output = "homedecor:tiles_"..result.." 2", - recipe = { - { "group:marble", "dye:"..dye1 }, - { "group:marble", "dye:"..dye2 } - }, - }) -end +minetest.register_craft( { + output = "homedecor:bathroom_tiles_medium 4", + recipe = { + { "group:marble", "group:marble", "" }, + { "group:marble", "group:marble", "dye:grey" } + }, +}) + +minetest.register_craft( { + output = "homedecor:bathroom_tiles_dark 4", + recipe = { + { "group:marble", "group:marble", "" }, + { "group:marble", "group:marble", "dye:dark_grey" } + }, +}) -- misc electrical |