From 3a76ffa1cb383f2246c064371a186e0543dd387c Mon Sep 17 00:00:00 2001 From: laza83 <41151943+laza83@users.noreply.github.com> Date: Sun, 23 Jun 2019 18:37:01 +0200 Subject: [PATCH] Add bakedclay materials --- materials_bakedclay.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 materials_bakedclay.lua diff --git a/materials_bakedclay.lua b/materials_bakedclay.lua new file mode 100644 index 0000000..bc2ff4c --- /dev/null +++ b/materials_bakedclay.lua @@ -0,0 +1,26 @@ +local clay = { + {"white", "White"}, + {"grey", "Grey"}, + {"black", "Black"}, + {"red", "Red"}, + {"yellow", "Yellow"}, + {"green", "Green"}, + {"cyan", "Cyan"}, + {"blue", "Blue"}, + {"magenta", "Magenta"}, + {"orange", "Orange"}, + {"violet", "Violet"}, + {"brown", "Brown"}, + {"pink", "Pink"}, + {"dark_grey", "Dark Grey"}, + {"dark_green", "Dark Green"}, +} + +for _,c in ipairs(clay) do + mymillwork.register("bakedclay:" .. c[1], + "bakedclay_" .. c[1], + c[2] .. " Clay", + "baked_clay_" .. c[1] .. ".png", + {crumbly = 3, not_in_creative_inventory = 1} + ) +end