mirror of
https://codeberg.org/tenplus1/bakedclay.git
synced 2025-07-17 07:30:21 +02:00
Compare commits
8 Commits
master
...
3e0ef20bd8
Author | SHA1 | Date | |
---|---|---|---|
3e0ef20bd8 | |||
599158ff67 | |||
762100db46 | |||
7fc5410778 | |||
e8e1a446b7 | |||
1ba54476b1 | |||
2eddb13f80 | |||
eecbae9db7 |
36
init.lua
36
init.lua
@ -141,37 +141,7 @@ minetest.register_craft({
|
|||||||
recipe = "default:clay",
|
recipe = "default:clay",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- register a few extra dye colour options
|
-- 2x2 red bakedclay makes 16x clay brick
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
type = "shapeless",
|
|
||||||
output = "dye:dark_grey 3",
|
|
||||||
recipe = {"dye:black", "dye:black", "dye:white"}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
type = "shapeless",
|
|
||||||
output = "dye:green 4",
|
|
||||||
recipe = {"default:cactus"}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
type = "shapeless",
|
|
||||||
output = "dye:brown 4",
|
|
||||||
recipe = {"default:dry_shrub"}
|
|
||||||
})
|
|
||||||
|
|
||||||
-- only add light grey recipe if unifieddye mod isnt present (conflict)
|
|
||||||
if not minetest.get_modpath("unifieddyes") then
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
type = "shapeless",
|
|
||||||
output = "dye:grey 3",
|
|
||||||
recipe = {"dye:black", "dye:white", "dye:white"}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
-- 2x2 red baked clay makes 16x clay brick
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "default:clay_brick 16",
|
output = "default:clay_brick 16",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -405,6 +375,7 @@ end
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- flowerpot mod
|
-- flowerpot mod
|
||||||
|
|
||||||
if minetest.get_modpath("flowerpot") then
|
if minetest.get_modpath("flowerpot") then
|
||||||
@ -414,5 +385,4 @@ if minetest.get_modpath("flowerpot") then
|
|||||||
flowerpot.register_node("bakedclay:mannagrass")
|
flowerpot.register_node("bakedclay:mannagrass")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.log("action", "[MOD] Baked Clay loaded.")
|
||||||
print ("[MOD] Baked Clay loaded")
|
|
||||||
|
Reference in New Issue
Block a user