Improved recipe outputs for all shutters and mahogany folding door (better

ratios of objects to colorants).  Added intermediate "unprocessed plastic" step
to get from materials to plastic sheeting (now craft some materials to get
unprocessed plastic, then smelt that to get the sheeting), added alternate
recipes to produce it, improved ratio of materials to plastic.  Minor code
cleanups.
This commit is contained in:
Vanessa Ezekowitz 2012-09-27 01:30:22 -04:00
parent 961943019c
commit 0208aaa564
4 changed files with 240 additions and 151 deletions

View File

@ -43,16 +43,50 @@ minetest.register_craftitem("homedecor:plastic_sheeting", {
inventory_image = "homedecor_plastic_sheeting.png", inventory_image = "homedecor_plastic_sheeting.png",
}) })
minetest.register_craftitem("homedecor:plastic_base", {
description = "Unprocessed Plastic base",
wield_image = "homedecor_plastic_base.png",
inventory_image = "homedecor_plastic_base_inv.png",
})
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "shapeless",
output = "homedecor:plastic_sheeting", output = 'homedecor:plastic_base 4',
recipe = "default:junglegrass", recipe = { "default:junglegrass",
"default:junglegrass"
}
})
minetest.register_craft({
type = "shapeless",
output = 'homedecor:plastic_base 2',
recipe = { "default:dry_shrub",
"default:dry_shrub"
},
})
minetest.register_craft({
type = "shapeless",
output = 'homedecor:plastic_base 4',
recipe = { "default:leaves",
"default:leaves",
"default:leaves",
"default:leaves",
"default:leaves",
"default:leaves"
}
}) })
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "homedecor:plastic_sheeting", output = "homedecor:plastic_sheeting",
recipe = "default:dry_shrub", recipe = "homedecor:plastic_base",
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:plastic_base',
burntime = 30,
}) })
minetest.register_craft({ minetest.register_craft({
@ -286,8 +320,6 @@ minetest.register_craft({
-- --
--
minetest.register_craft( { minetest.register_craft( {
output = 'homedecor:wood_table_large 2', output = 'homedecor:wood_table_large 2',
recipe = { recipe = {
@ -301,7 +333,7 @@ minetest.register_craft({
burntime = 30, burntime = 30,
}) })
-- -- Various colors of shutters
minetest.register_craft( { minetest.register_craft( {
output = 'homedecor:shutter_oak 2', output = 'homedecor:shutter_oak 2',
@ -322,9 +354,12 @@ minetest.register_craft({
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_black', output = 'homedecor:shutter_black 4',
recipe = { recipe = {
'unifieddyes:black', 'unifieddyes:black',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak' 'homedecor:shutter_oak'
}, },
replacements = { {'unifieddyes:black', 'vessels:glass_bottle'}, }, replacements = { {'unifieddyes:black', 'vessels:glass_bottle'}, },
@ -332,10 +367,13 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_black', output = 'homedecor:shutter_black 4',
recipe = { recipe = {
'default:coal_lump', 'default:coal_lump',
'default:coal_lump', 'default:coal_lump',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak' 'homedecor:shutter_oak'
}, },
}) })
@ -350,9 +388,12 @@ minetest.register_craft({
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_dark_grey', output = 'homedecor:shutter_dark_grey 4',
recipe = { recipe = {
'unifieddyes:darkgrey_paint', 'unifieddyes:darkgrey_paint',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak' 'homedecor:shutter_oak'
}, },
replacements = { {'unifieddyes:darkgrey_paint', 'bucket:bucket_empty'}, }, replacements = { {'unifieddyes:darkgrey_paint', 'bucket:bucket_empty'}, },
@ -368,9 +409,12 @@ minetest.register_craft({
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_grey', output = 'homedecor:shutter_grey 4',
recipe = { recipe = {
'unifieddyes:grey_paint', 'unifieddyes:grey_paint',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak' 'homedecor:shutter_oak'
}, },
replacements = { {'unifieddyes:grey_paint', 'bucket:bucket_empty'}, }, replacements = { {'unifieddyes:grey_paint', 'bucket:bucket_empty'}, },
@ -378,9 +422,12 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_grey', output = 'homedecor:shutter_grey 4',
recipe = { recipe = {
'default:coal_lump', 'default:coal_lump',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak' 'homedecor:shutter_oak'
}, },
}) })
@ -394,34 +441,11 @@ minetest.register_craft({
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_forest_green', output = 'homedecor:shutter_white 4',
recipe = { recipe = {
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'unifieddyes:dark_green',
},
replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, },
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_forest_green',
recipe = {
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'default:leaves', 'homedecor:shutter_oak',
'default:coal_lump',
},
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_forest_green',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_white',
recipe = {
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'unifieddyes:white_paint', 'unifieddyes:white_paint',
}, },
@ -436,6 +460,175 @@ minetest.register_craft({
-- --
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_mahogany 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'unifieddyes:dark_orange',
},
replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, },
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_mahogany 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'default:coal_lump',
'default:dirt',
},
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_mahogany',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_red 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'unifieddyes:red',
},
replacements = { {'unifieddyes:red', 'vessels:glass_bottle'}, },
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_red 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'default:apple',
},
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_red',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_yellow 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'unifieddyes:yellow',
},
replacements = { {'unifieddyes:yellow', 'vessels:glass_bottle'}, },
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_yellow 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'default:mese',
},
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_yellow',
burntime = 30,
})
--
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_forest_green 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'unifieddyes:dark_green',
},
replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, },
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_forest_green 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'default:leaves',
'default:coal_lump',
},
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_forest_green',
burntime = 30,
})
--
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_light_blue 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'unifieddyes:light_blue',
},
replacements = { {'unifieddyes:light_blue', 'vessels:glass_bottle'}, },
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_light_blue',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_purple 4',
recipe = {
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'homedecor:shutter_oak',
'unifieddyes:violet',
},
replacements = { {'unifieddyes:violet', 'vessels:glass_bottle'}, },
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_purple',
burntime = 30,
})
-- Table legs and stuff
minetest.register_craft( { minetest.register_craft( {
output = 'homedecor:table_legs_wrought_iron 2', output = 'homedecor:table_legs_wrought_iron 2',
recipe = { recipe = {
@ -808,114 +1001,6 @@ minetest.register_craft({
burntime = 30, burntime = 30,
}) })
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_mahogany',
recipe = {
'homedecor:shutter_oak',
'unifieddyes:dark_orange',
},
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',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_purple',
recipe = {
'homedecor:shutter_oak',
'unifieddyes:violet',
},
replacements = { {'unifieddyes:violet', 'vessels:glass_bottle'}, },
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_purple',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_red',
recipe = {
'homedecor:shutter_oak',
'unifieddyes:red',
},
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',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_yellow',
recipe = {
'homedecor:shutter_oak',
'unifieddyes:yellow',
},
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',
burntime = 30,
})
minetest.register_craft( {
type = 'shapeless',
output = 'homedecor:shutter_light_blue',
recipe = {
'homedecor:shutter_oak',
'unifieddyes:light_blue',
},
replacements = { {'unifieddyes:light_blue', 'vessels:glass_bottle'}, },
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:shutter_light_blue',
burntime = 30,
})
-- ===================================== -- =====================================
-- Speakers require copper from moreores -- Speakers require copper from moreores

View File

@ -415,8 +415,9 @@ minetest.register_craft({
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:folding_door_mahogany', output = 'homedecor:folding_door_mahogany 2',
recipe = { recipe = {
'homedecor:folding_door_oak',
'homedecor:folding_door_oak', 'homedecor:folding_door_oak',
'unifieddyes:dark_orange', 'unifieddyes:dark_orange',
}, },
@ -425,8 +426,9 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:folding_door_mahogany', output = 'homedecor:folding_door_mahogany 2',
recipe = { recipe = {
'homedecor:folding_door_oak',
'homedecor:folding_door_oak', 'homedecor:folding_door_oak',
'default:coal_lump', 'default:coal_lump',
'default:dirt', 'default:dirt',
@ -435,8 +437,9 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:folding_door_mahogany_right', output = 'homedecor:folding_door_mahogany_right 2',
recipe = { recipe = {
'homedecor:folding_door_oak_right',
'homedecor:folding_door_oak_right', 'homedecor:folding_door_oak_right',
'unifieddyes:dark_orange', 'unifieddyes:dark_orange',
}, },
@ -445,8 +448,9 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:folding_door_mahogany_right', output = 'homedecor:folding_door_mahogany_right 2',
recipe = { recipe = {
'homedecor:folding_door_oak_right',
'homedecor:folding_door_oak_right', 'homedecor:folding_door_oak_right',
'default:coal_lump', 'default:coal_lump',
'default:dirt', 'default:dirt',

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B