mirror of
https://codeberg.org/tenplus1/bakedclay.git
synced 2024-11-07 00:40:22 +01:00
Code tidy
This commit is contained in:
parent
ea938b9ba5
commit
cc5dd341fe
1
description.txt
Normal file
1
description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Adds the ability to bake clay into blocks and colour them with dye.
|
20
init.lua
20
init.lua
|
@ -67,41 +67,31 @@ minetest.register_craft({
|
|||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:dark_grey 3",
|
||||
recipe = {
|
||||
"dye:black", "dye:black", "dye:white",
|
||||
},
|
||||
recipe = {"dye:black", "dye:black", "dye:white"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:grey 3",
|
||||
recipe = {
|
||||
"dye:black", "dye:white", "dye:white",
|
||||
},
|
||||
recipe = {"dye:black", "dye:white", "dye:white"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:green 4",
|
||||
recipe = {
|
||||
"default:cactus",
|
||||
},
|
||||
recipe = {"default:cactus"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:black 4",
|
||||
recipe = {
|
||||
"default:coal_lump",
|
||||
},
|
||||
recipe = {"default:coal_lump"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:brown 4",
|
||||
recipe = {
|
||||
"default:dry_shrub",
|
||||
},
|
||||
recipe = {"default:dry_shrub"}
|
||||
})
|
||||
|
||||
print ("[MOD] Baked Clay loaded")
|
||||
|
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
Loading…
Reference in New Issue
Block a user