add glazed terracotta
@ -7,6 +7,7 @@ https://forum.minetest.net/viewtopic.php?id=8890
|
|||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
|
- 1.0 - Added glazed terracotta blocks when you cook baked clay in furnace (thanks D3monPixel)
|
||||||
- 0.9 - Baked clay now works in the technic cnc machine
|
- 0.9 - Baked clay now works in the technic cnc machine
|
||||||
- 0.8 - Cooking clay block in furnace gives natural baked clay which you can dye
|
- 0.8 - Cooking clay block in furnace gives natural baked clay which you can dye
|
||||||
- 0.7 - Added support for stairsplus so that stairs are registered properly
|
- 0.7 - Added support for stairsplus so that stairs are registered properly
|
||||||
|
37
init.lua
@ -92,6 +92,37 @@ for _, clay in pairs(clay) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Terracotta blocks (textures by D3monPixel, thanks for use :)
|
||||||
|
for _, clay in pairs(clay) do
|
||||||
|
|
||||||
|
if clay[1] ~= "natural" then
|
||||||
|
|
||||||
|
local texture = "baked_clay_terracotta_" .. clay[1] ..".png"
|
||||||
|
|
||||||
|
minetest.register_node("bakedclay:terracotta_" .. clay[1], {
|
||||||
|
description = clay[2] .. " Glazed Terracotta",
|
||||||
|
tiles = {
|
||||||
|
texture .. "",
|
||||||
|
texture .. "",
|
||||||
|
texture .. "^[transformR180",
|
||||||
|
texture .. "",
|
||||||
|
texture .. "^[transformR270",
|
||||||
|
texture .. "^[transformR90",
|
||||||
|
},
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
groups = {cracky = 3, terracotta = 1},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
on_place = minetest.rotate_node
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "bakedclay:terracotta_" .. clay[1],
|
||||||
|
recipe = "bakedclay:" .. clay[1]
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- cook clay block into white baked clay
|
-- cook clay block into white baked clay
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -123,12 +154,6 @@ minetest.register_craft( {
|
|||||||
recipe = {"default:cactus"}
|
recipe = {"default:cactus"}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
type = "shapeless",
|
|
||||||
output = "dye:black 4",
|
|
||||||
recipe = {"default:coal_lump"}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "dye:brown 4",
|
output = "dye:brown 4",
|
||||||
|
@ -19,3 +19,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
Textures by D3monPixel (https://mcpedl.com/better-glazed-terracotta-pack)
|
||||||
|
baked_clay_terracotta*.png
|
||||||
|
BIN
textures/baked_clay_terracotta_black.png
Normal file
After Width: | Height: | Size: 328 B |
BIN
textures/baked_clay_terracotta_blue.png
Normal file
After Width: | Height: | Size: 257 B |
BIN
textures/baked_clay_terracotta_brown.png
Normal file
After Width: | Height: | Size: 718 B |
BIN
textures/baked_clay_terracotta_cyan.png
Normal file
After Width: | Height: | Size: 661 B |
BIN
textures/baked_clay_terracotta_cyan2.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
textures/baked_clay_terracotta_dark_green.png
Normal file
After Width: | Height: | Size: 714 B |
BIN
textures/baked_clay_terracotta_dark_grey.png
Normal file
After Width: | Height: | Size: 328 B |
BIN
textures/baked_clay_terracotta_green.png
Normal file
After Width: | Height: | Size: 575 B |
BIN
textures/baked_clay_terracotta_grey.png
Normal file
After Width: | Height: | Size: 659 B |
BIN
textures/baked_clay_terracotta_magenta.png
Normal file
After Width: | Height: | Size: 275 B |
BIN
textures/baked_clay_terracotta_orange.png
Normal file
After Width: | Height: | Size: 606 B |
BIN
textures/baked_clay_terracotta_pink.png
Normal file
After Width: | Height: | Size: 409 B |
BIN
textures/baked_clay_terracotta_red.png
Normal file
After Width: | Height: | Size: 292 B |
BIN
textures/baked_clay_terracotta_violet.png
Normal file
After Width: | Height: | Size: 619 B |
BIN
textures/baked_clay_terracotta_white.png
Normal file
After Width: | Height: | Size: 512 B |
BIN
textures/baked_clay_terracotta_yellow.png
Normal file
After Width: | Height: | Size: 676 B |