mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
Added optional recipes for items that use wool to also use cotton
instead. Choose one or the other in any given recipe (you can't mix the two). No, it isn't a Kosher thing. ;-)
This commit is contained in:
parent
0fda8f7322
commit
d482b4ba7c
@ -1,6 +1,10 @@
|
|||||||
Changelog
|
Changelog
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
2012-08-01: Added optional recipes for items that use wool to also use cotton
|
||||||
|
instead. Choose one or the other in any given recipe (you can't mix the two).
|
||||||
|
No, it isn't a Kosher thing. ;-)
|
||||||
|
|
||||||
2012-07-28: Noticed I technically had left/right textures swapped on a few
|
2012-07-28: Noticed I technically had left/right textures swapped on a few
|
||||||
blocks. The textures were drawn to counteract this, without my realizing I was
|
blocks. The textures were drawn to counteract this, without my realizing I was
|
||||||
doing just that. :-) Fixed. Also replaced all "tile_images" references with
|
doing just that. :-) Fixed. Also replaced all "tile_images" references with
|
||||||
|
132
crafts.lua
132
crafts.lua
@ -632,45 +632,53 @@ if ( minetest.get_modpath("mesecons") ) ~= nil then
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- ======================================================
|
-- ===========================================================
|
||||||
-- Recipes that require materials from Jordach's Wool mod
|
-- Recipes that require materials from wool (cotton alternate)
|
||||||
|
|
||||||
if ( minetest.get_modpath("wool") ) ~= nil then
|
minetest.register_craft( {
|
||||||
|
type = 'shapeless',
|
||||||
|
output = 'homedecor:rug_small 8',
|
||||||
|
recipe = {
|
||||||
|
'wool:red',
|
||||||
|
'wool:yellow',
|
||||||
|
'wool:blue',
|
||||||
|
'wool:black'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
-- cotton version:
|
||||||
type = 'shapeless',
|
|
||||||
output = 'homedecor:rug_small 8',
|
|
||||||
recipe = {
|
|
||||||
'wool:red',
|
|
||||||
'wool:yellow',
|
|
||||||
'wool:blue',
|
|
||||||
'wool:black'
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft( {
|
||||||
type = 'fuel',
|
type = 'shapeless',
|
||||||
recipe = 'homedecor:rug_small',
|
output = 'homedecor:rug_small 8',
|
||||||
burntime = 30,
|
recipe = {
|
||||||
})
|
'cotton:red',
|
||||||
|
'cotton:yellow',
|
||||||
|
'cotton:blue',
|
||||||
|
'cotton:black'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = 'fuel',
|
||||||
|
recipe = 'homedecor:rug_small',
|
||||||
|
burntime = 30,
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = 'shapeless',
|
type = 'shapeless',
|
||||||
output = 'homedecor:rug_large 2',
|
output = 'homedecor:rug_large 2',
|
||||||
recipe = {
|
recipe = {
|
||||||
'homedecor:rug_small',
|
'homedecor:rug_small',
|
||||||
'homedecor:rug_small',
|
'homedecor:rug_small',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = 'fuel',
|
type = 'fuel',
|
||||||
recipe = 'homedecor:rug_large',
|
recipe = 'homedecor:rug_large',
|
||||||
burntime = 30,
|
burntime = 30,
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = 'shapeless',
|
type = 'shapeless',
|
||||||
@ -752,30 +760,44 @@ minetest.register_craft({
|
|||||||
burntime = 30,
|
burntime = 30,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- ================================================================
|
-- =====================================================================
|
||||||
-- Speakers require both Jordache's wool and Jeija's mesecons mods.
|
-- Speakers require both Jeija's mesecons mod abnd either wool or cotton
|
||||||
|
|
||||||
if ( minetest.get_modpath("wool") ) ~= nil then
|
minetest.register_craft( {
|
||||||
if ( minetest.get_modpath("mesecons") ) ~= nil then
|
output = 'homedecor:speaker',
|
||||||
|
recipe = {
|
||||||
minetest.register_craft( {
|
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||||
output = 'homedecor:speaker',
|
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||||
recipe = {
|
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
},
|
||||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
})
|
||||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = 'homedecor:speaker_small',
|
output = 'homedecor:speaker_small',
|
||||||
recipe = {
|
recipe = {
|
||||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
|
||||||
end
|
-- cotton version
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = 'homedecor:speaker',
|
||||||
|
recipe = {
|
||||||
|
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||||
|
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||||
|
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = 'homedecor:speaker_small',
|
||||||
|
recipe = {
|
||||||
|
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||||
|
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user