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( { minetest.register_craft( {
type = "shapeless", type = "shapeless",
output = "dye:dark_grey 3", output = "dye:dark_grey 3",
recipe = { recipe = {"dye:black", "dye:black", "dye:white"}
"dye:black", "dye:black", "dye:white",
},
}) })
minetest.register_craft( { minetest.register_craft( {
type = "shapeless", type = "shapeless",
output = "dye:grey 3", output = "dye:grey 3",
recipe = { recipe = {"dye:black", "dye:white", "dye:white"}
"dye:black", "dye:white", "dye:white",
},
}) })
minetest.register_craft( { minetest.register_craft( {
type = "shapeless", type = "shapeless",
output = "dye:green 4", output = "dye:green 4",
recipe = { recipe = {"default:cactus"}
"default:cactus",
},
}) })
minetest.register_craft( { minetest.register_craft( {
type = "shapeless", type = "shapeless",
output = "dye:black 4", output = "dye:black 4",
recipe = { recipe = {"default:coal_lump"}
"default:coal_lump",
},
}) })
minetest.register_craft( { minetest.register_craft( {
type = "shapeless", type = "shapeless",
output = "dye:brown 4", output = "dye:brown 4",
recipe = { recipe = {"default:dry_shrub"}
"default:dry_shrub",
},
}) })
print ("[MOD] Baked Clay loaded") 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