added recipes to make unified dyes titanium dioxide and white paint in the

event that UD isn't present.  Same recipes (plus a couple of alternates), same
item names, interchangeable/compatible with all other recipes that use the two
items in UD.
This commit is contained in:
Vanessa Ezekowitz 2012-10-05 02:41:24 -04:00
parent b85f6dff59
commit 511eec087f
3 changed files with 58 additions and 0 deletions

View File

@ -6,6 +6,64 @@
-- License: GPL -- License: GPL
-- --
-- Some recipes need white paint. If Unified Dyes isn't present,
-- implement the standard white paint recipe here instead.
if ( minetest.get_modpath("unifieddyes") ) == nil then
minetest.register_craftitem(":unifieddyes:titanium_dioxide", {
description = "Titanium Dioxide",
inventory_image = "homedecor_titanium_dioxide.png",
})
minetest.register_craft({
type = "cooking",
output = "unifieddyes:titanium_dioxide 10",
recipe = "default:stone",
})
minetest.register_craftitem(":unifieddyes:white_paint", {
description = "Bucket of white paint",
inventory_image = "homedecor_white_paint.png",
})
minetest.register_craft( {
type = "shapeless",
output = "unifieddyes:white_paint",
recipe = {
"unifieddyes:titanium_dioxide",
"bucket:bucket_water",
"default:junglegrass",
},
})
minetest.register_craft( {
type = "shapeless",
output = "unifieddyes:white_paint",
recipe = {
"unifieddyes:titanium_dioxide",
"bucket:bucket_water",
"default:dry_shrub",
"default:dry_shrub",
},
})
minetest.register_craft( {
type = "shapeless",
output = "unifieddyes:white_paint",
recipe = {
"unifieddyes:titanium_dioxide",
"bucket:bucket_water",
"default:leaves",
"default:leaves",
"default:leaves",
},
})
end
-- misc stuff :D
minetest.register_craftitem("homedecor:terracotta_base", { minetest.register_craftitem("homedecor:terracotta_base", {
description = "Uncooked Terracotta Base", description = "Uncooked Terracotta Base",
inventory_image = "homedecor_terracotta_base.png", inventory_image = "homedecor_terracotta_base.png",

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B