Code tidy

This commit is contained in:
TenPlus1 2016-10-09 20:06:24 +01:00
parent ea938b9ba5
commit cc5dd341fe
4 changed files with 7 additions and 15 deletions

1
description.txt Normal file
View File

@ -0,0 +1 @@
Adds the ability to bake clay into blocks and colour them with dye.

View File

@ -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")

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = bakedclay

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB