forked from mtcontrib/homedecor_modpack
Added alternate recipes for most items that use dyes. Removed Mesecons
dependency from TV and stereo (uses in-built silicon lumps if Mesecons isn't present). Replaced speakers' Mesecons Noteblocks with copper ingots from Moreores.
This commit is contained in:
parent
c3b8a65b8d
commit
055df4a336
173
crafts.lua
173
crafts.lua
|
@ -49,6 +49,12 @@ minetest.register_craft({
|
|||
recipe = "default:junglegrass",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "homedecor:plastic_sheeting",
|
||||
recipe = "default:dry_shrub",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:plastic_sheeting',
|
||||
|
@ -66,6 +72,17 @@ minetest.register_craft( {
|
|||
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:flower_pot_green',
|
||||
recipe = {
|
||||
{ 'default:leaves', '', 'default:leaves' },
|
||||
{ 'homedecor:plastic_sheeting', 'default:dirt', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
},
|
||||
replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, },
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:flower_pot_black',
|
||||
recipe = {
|
||||
|
@ -80,6 +97,14 @@ minetest.register_craft( {
|
|||
}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:flower_pot_black',
|
||||
recipe = {
|
||||
{ 'default:coal_lump', 'default:coal_lump', 'default:coal_lump' },
|
||||
{ 'homedecor:plastic_sheeting', 'default:dirt', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
},
|
||||
})
|
||||
--
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -165,6 +190,14 @@ minetest.register_craft( {
|
|||
}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:shingles_asphalt 6',
|
||||
recipe = {
|
||||
{ 'default:dirt', 'default:coal_lump', 'default:dirt' },
|
||||
{ 'default:sand', 'default:coal_lump', 'default:sand' },
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
},
|
||||
})
|
||||
--
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -297,6 +330,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:black', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_black',
|
||||
recipe = {
|
||||
'default:coal_lump',
|
||||
'default:coal_lump',
|
||||
'homedecor:shutter_oak'
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_black',
|
||||
|
@ -321,7 +364,6 @@ minetest.register_craft({
|
|||
burntime = 30,
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -334,6 +376,14 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:grey_paint', 'bucket:bucket_empty'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_grey',
|
||||
recipe = {
|
||||
'default:coal_lump',
|
||||
'homedecor:shutter_oak'
|
||||
},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_grey',
|
||||
|
@ -352,6 +402,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_forest_green',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:leaves',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_forest_green',
|
||||
|
@ -450,6 +510,14 @@ minetest.register_craft( {
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:nightstand_oak_two_drawers',
|
||||
recipe = {
|
||||
{ 'homedecor:nightstand_oak_one_drawer' },
|
||||
{ 'homedecor:drawer_small' },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:nightstand_oak_two_drawers',
|
||||
|
@ -468,6 +536,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:nightstand_mahogany_one_drawer',
|
||||
recipe = {
|
||||
'homedecor:nightstand_oak_one_drawer',
|
||||
'default:dirt',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:nightstand_mahogany_one_drawer',
|
||||
|
@ -484,6 +562,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:nightstand_mahogany_two_drawers',
|
||||
recipe = {
|
||||
'homedecor:nightstand_oak_two_drawers',
|
||||
'default:dirt',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:nightstand_mahogany_two_drawers',
|
||||
|
@ -559,6 +647,18 @@ minetest.register_craft( {
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:dresser_mahogany',
|
||||
recipe = {
|
||||
'homedecor:dresser_oak',
|
||||
'default:dirt',
|
||||
'default:dirt',
|
||||
'default:coal_lump',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:dresser_oak',
|
||||
|
@ -573,8 +673,6 @@ minetest.register_craftitem("homedecor:brass_ingot", {
|
|||
inventory_image = "homedecor_brass_ingot.png",
|
||||
})
|
||||
|
||||
if ( minetest.get_modpath("moreores") ) ~= nil then
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:brass_ingot 2',
|
||||
|
@ -611,19 +709,26 @@ if ( minetest.get_modpath("moreores") ) ~= nil then
|
|||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
|
||||
-- ========================================================
|
||||
-- Recipes that require materials from Jeija's Mesecons mod
|
||||
|
||||
if ( minetest.get_modpath("mesecons") ) ~= nil then
|
||||
if ( minetest.get_modpath("mesecons") ) == nil then
|
||||
|
||||
minetest.register_craftitem("homedecor:ic", {
|
||||
description = "Simple Integrated Circuit",
|
||||
inventory_image = "homedecor_ic.png",
|
||||
minetest.register_craftitem(":mesecons_materials:silicon", {
|
||||
description = "Silicon lump",
|
||||
inventory_image = "homedecor_silicon.png",
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "mesecons_materials:silicon 4",
|
||||
recipe = {
|
||||
{ "default:sand", "default:sand" },
|
||||
{ "default:sand", "default:steel_ingot" },
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:ic 4",
|
||||
recipe = {
|
||||
|
@ -632,6 +737,11 @@ if ( minetest.get_modpath("mesecons") ) ~= nil then
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("homedecor:ic", {
|
||||
description = "Simple Integrated Circuit",
|
||||
inventory_image = "homedecor_ic.png",
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:television',
|
||||
recipe = {
|
||||
|
@ -650,9 +760,6 @@ if ( minetest.get_modpath("mesecons") ) ~= nil then
|
|||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
|
||||
-- ===========================================================
|
||||
-- Recipes that require materials from wool (cotton alternate)
|
||||
|
||||
|
@ -711,6 +818,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_mahogany',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:coal_lump',
|
||||
'default:dirt',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_mahogany',
|
||||
|
@ -743,6 +860,15 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:red', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_red',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:apple',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_red',
|
||||
|
@ -759,6 +885,15 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:yellow', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_yellow',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:mese',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_yellow',
|
||||
|
@ -781,14 +916,14 @@ minetest.register_craft({
|
|||
burntime = 30,
|
||||
})
|
||||
|
||||
-- =====================================================================
|
||||
-- Speakers require both Jeija's mesecons mod and either wool or cotton
|
||||
-- =====================================
|
||||
-- Speakers require copper from moreores
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:speaker',
|
||||
recipe = {
|
||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
@ -797,7 +932,7 @@ minetest.register_craft( {
|
|||
output = 'homedecor:speaker_small',
|
||||
recipe = {
|
||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -807,7 +942,7 @@ minetest.register_craft( {
|
|||
output = 'homedecor:speaker',
|
||||
recipe = {
|
||||
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
@ -816,7 +951,7 @@ minetest.register_craft( {
|
|||
output = 'homedecor:speaker_small',
|
||||
recipe = {
|
||||
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -413,12 +413,6 @@ minetest.register_craft({
|
|||
burntime = 30,
|
||||
})
|
||||
|
||||
|
||||
-- You only need Unfiied Dyes to get the dark orange necessary to actually
|
||||
-- craft a mahogany door (either one), but not to /give or use one.
|
||||
|
||||
if ( minetest.get_modpath("flowers") ) ~= nil then
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany',
|
||||
|
@ -429,6 +423,16 @@ if ( minetest.get_modpath("flowers") ) ~= nil then
|
|||
replacements = { {'unifieddyes:dark_orange', 'unifieddyes:empty_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak',
|
||||
'default:coal_lump',
|
||||
'default:dirt',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany_right',
|
||||
|
@ -439,4 +443,12 @@ if ( minetest.get_modpath("flowers") ) ~= nil then
|
|||
replacements = { {'unifieddyes:dark_orange', 'unifieddyes:empty_bottle'}, },
|
||||
})
|
||||
|
||||
end
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany_right',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak_right',
|
||||
'default:coal_lump',
|
||||
'default:dirt',
|
||||
},
|
||||
})
|
||||
|
|
BIN
textures/homedecor_silicon.png
Normal file
BIN
textures/homedecor_silicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 867 B |
Loading…
Reference in New Issue
Block a user