1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

Changed most uses of dyes so that they can come from the game's in-built

groups-based dye system, where appropriate.  Unified Dyes still supplies these
colors, this just makes it possible to use any other dye system that might come
about as long as it uses the groups method.
This commit is contained in:
Vanessa Ezekowitz 2012-09-27 02:09:15 -04:00
parent 0208aaa564
commit ae0d8c0bbc

View File

@ -120,7 +120,7 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
output = 'homedecor:flower_pot_black', output = 'homedecor:flower_pot_black',
recipe = { recipe = {
{ 'unifieddyes:black', 'unifieddyes:black', 'unifieddyes:black' }, { 'group:dye,basecolor_black', 'group:dye,basecolor_black', 'group:dye,basecolor_black' },
{ 'homedecor:plastic_sheeting', 'default:dirt', 'homedecor:plastic_sheeting' }, { 'homedecor:plastic_sheeting', 'default:dirt', 'homedecor:plastic_sheeting' },
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' }, { 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
}, },
@ -214,8 +214,8 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
output = 'homedecor:shingles_asphalt 6', output = 'homedecor:shingles_asphalt 6',
recipe = { recipe = {
{ 'default:dirt', 'unifieddyes:black', 'default:dirt' }, { 'default:dirt', 'group:dye,basecolor_black', 'default:dirt' },
{ 'default:sand', 'unifieddyes:black', 'default:sand' }, { 'default:sand', 'group:dye,basecolor_black', 'default:sand' },
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' }, { 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
}, },
replacements = { replacements = {
@ -356,7 +356,7 @@ minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_black 4', output = 'homedecor:shutter_black 4',
recipe = { recipe = {
'unifieddyes:black', 'group:dye,basecolor_black',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
@ -411,7 +411,7 @@ minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:shutter_grey 4', output = 'homedecor:shutter_grey 4',
recipe = { recipe = {
'unifieddyes:grey_paint', 'group:dye,basecolor_grey',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
@ -499,7 +499,7 @@ minetest.register_craft( {
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'unifieddyes:red', 'group:dye,basecolor_red',
}, },
replacements = { {'unifieddyes:red', 'vessels:glass_bottle'}, }, replacements = { {'unifieddyes:red', 'vessels:glass_bottle'}, },
}) })
@ -530,7 +530,7 @@ minetest.register_craft( {
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'homedecor:shutter_oak', 'homedecor:shutter_oak',
'unifieddyes:yellow', 'group:dye,basecolor_yellow',
}, },
replacements = { {'unifieddyes:yellow', 'vessels:glass_bottle'}, }, replacements = { {'unifieddyes:yellow', 'vessels:glass_bottle'}, },
}) })
@ -794,7 +794,6 @@ minetest.register_craft({
burntime = 30, burntime = 30,
}) })
-- --
minetest.register_craftitem("homedecor:dresser_oak", { minetest.register_craftitem("homedecor:dresser_oak", {
@ -825,7 +824,6 @@ minetest.register_craftitem("homedecor:dresser_mahogany", {
inventory_image = "homedecor_dresser_mahogany_inv.png", inventory_image = "homedecor_dresser_mahogany_inv.png",
}) })
minetest.register_craft( { minetest.register_craft( {
type = 'shapeless', type = 'shapeless',
output = 'homedecor:dresser_mahogany', output = 'homedecor:dresser_mahogany',