Rename dye to mcl_dye

This commit is contained in:
Wuzzy 2017-01-30 15:33:04 +01:00
parent fe283986ba
commit 8417b246b5
25 changed files with 63 additions and 66 deletions

View file

@ -149,18 +149,18 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:bone_block", output = "mcl_dye:bone_block",
recipe = { recipe = {
{ "dye:white", "dye:white", "dye:white" }, { "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
{ "dye:white", "dye:white", "dye:white" }, { "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
{ "dye:white", "dye:white", "dye:white" }, { "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
}, },
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:white 9", output = "mcl_dye:white 9",
recipe = { recipe = {
{ "dye:bone_block" }, { "mcl_dye:bone_block" },
}, },
}) })
@ -496,7 +496,7 @@ minetest.register_craft({
output = 'default:prismarine_dark', output = 'default:prismarine_dark',
recipe = { recipe = {
{'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'}, {'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'},
{'default:prismarine_shard', 'dye:black', 'default:prismarine_shard'}, {'default:prismarine_shard', 'mcl_dye:black', 'default:prismarine_shard'},
{'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'}, {'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'},
} }
}) })
@ -662,14 +662,14 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'default:lapisblock', output = 'default:lapisblock',
recipe = { recipe = {
{'dye:blue', 'dye:blue', 'dye:blue'}, {'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
{'dye:blue', 'dye:blue', 'dye:blue'}, {'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
{'dye:blue', 'dye:blue', 'dye:blue'}, {'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'dye:blue 9', output = 'mcl_dye:blue 9',
recipe = { recipe = {
{'default:lapisblock'}, {'default:lapisblock'},
} }
@ -891,7 +891,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "dye:blue", output = "mcl_dye:blue",
recipe = "default:stone_with_lapis", recipe = "default:stone_with_lapis",
cooktime = 10, cooktime = 10,
}) })

View file

@ -135,11 +135,11 @@ minetest.register_node("default:stone_with_lapis", {
drop = { drop = {
max_items = 1, max_items = 1,
items = { items = {
{items = {'dye:blue 8'},rarity = 5}, {items = {'mcl_dye:blue 8'},rarity = 5},
{items = {'dye:blue 7'},rarity = 5}, {items = {'mcl_dye:blue 7'},rarity = 5},
{items = {'dye:blue 6'},rarity = 5}, {items = {'mcl_dye:blue 6'},rarity = 5},
{items = {'dye:blue 5'},rarity = 5}, {items = {'mcl_dye:blue 5'},rarity = 5},
{items = {'dye:blue 4'}}, {items = {'mcl_dye:blue 4'}},
} }
}, },
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),

View file

@ -392,7 +392,7 @@ minetest.register_tool("default:pole", {
elseif r <= 72 then elseif r <= 72 then
itemname = "default:bone" itemname = "default:bone"
elseif r <= 73 then elseif r <= 73 then
itemname = "dye:black" itemname = "mcl_dye:black"
itemcount = 10 itemcount = 10
else else
-- TODO: Tripwire hook -- TODO: Tripwire hook

View file

@ -141,7 +141,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "farming:cookie 8", output = "farming:cookie 8",
recipe = { recipe = {
{'farming:wheat_harvested', 'dye:brown', 'farming:wheat_harvested'}, {'farming:wheat_harvested', 'mcl_dye:brown', 'farming:wheat_harvested'},
} }
}) })

View file

@ -53,7 +53,7 @@ for _, row in ipairs(clay.dyes) do
output = 'hardened_clay:'..name..' 8', output = 'hardened_clay:'..name..' 8',
recipe = { recipe = {
{'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay'}, {'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay'},
{'hardened_clay:hardened_clay', 'dye:'..craft_color_group, 'hardened_clay:hardened_clay'}, {'hardened_clay:hardened_clay', 'mcl_dye:'..craft_color_group, 'hardened_clay:hardened_clay'},
{'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay'}, {'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay', 'hardened_clay:hardened_clay'},
}, },
}) })

View file

@ -86,7 +86,7 @@ for _, row in ipairs(dyelocal.dyes) do
local name = row[1] local name = row[1]
local description = row[2] local description = row[2]
local groups = row[3] local groups = row[3]
local item_name = "dye:"..name local item_name = "mcl_dye:"..name
local item_image = "dye_"..name..".png" local item_image = "dye_"..name..".png"
minetest.register_craftitem(item_name, { minetest.register_craftitem(item_name, {
inventory_image = item_image, inventory_image = item_image,
@ -96,7 +96,7 @@ for _, row in ipairs(dyelocal.dyes) do
}) })
end end
minetest.register_craftitem("dye:white", { minetest.register_craftitem("mcl_dye:white", {
inventory_image = "dye_white.png", inventory_image = "dye_white.png",
description = "Bone Meal", description = "Bone Meal",
stack_max = 64, stack_max = 64,
@ -112,136 +112,132 @@ minetest.register_craftitem("dye:white", {
-- Dye mixing -- Dye mixing
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:dark_grey 2", output = "mcl_dye:dark_grey 2",
recipe = {"dye:black", "dye:white"}, recipe = {"mcl_dye:black", "mcl_dye:white"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:lightblue 2", output = "mcl_dye:lightblue 2",
recipe = {"dye:blue", "dye:white"}, recipe = {"mcl_dye:blue", "mcl_dye:white"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:grey 3", output = "mcl_dye:grey 3",
recipe = {"dye:black", "dye:white", "dye:white"}, recipe = {"mcl_dye:black", "mcl_dye:white", "mcl_dye:white"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:grey 2", output = "mcl_dye:grey 2",
recipe = {"dye:dark_grey", "dye:white"}, recipe = {"mcl_dye:dark_grey", "mcl_dye:white"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:green 2", output = "mcl_dye:green 2",
recipe = {"dye:dark_green", "dye:white"}, recipe = {"mcl_dye:dark_green", "mcl_dye:white"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:magenta 4", output = "mcl_dye:magenta 4",
recipe = {"dye:blue", "dye:white", "dye:red", "dye:red"}, recipe = {"mcl_dye:blue", "mcl_dye:white", "mcl_dye:red", "mcl_dye:red"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:pink 2", output = "mcl_dye:pink 2",
recipe = {"dye:red", "dye:white"}, recipe = {"mcl_dye:red", "mcl_dye:white"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:cyan 2", output = "mcl_dye:cyan 2",
recipe = {"dye:blue", "dye:dark_green"}, recipe = {"mcl_dye:blue", "mcl_dye:dark_green"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:violet 2", output = "mcl_dye:violet 2",
recipe = {"dye:blue", "dye:red"}, recipe = {"mcl_dye:blue", "mcl_dye:red"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:orange 2", output = "mcl_dye:orange 2",
recipe = {"dye:yellow", "dye:red"}, recipe = {"mcl_dye:yellow", "mcl_dye:red"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:magenta 2", output = "mcl_dye:magenta 2",
recipe = {"dye:violet", "dye:pink"}, recipe = {"mcl_dye:violet", "mcl_dye:pink"},
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "dye:magenta 3", output = "mcl_dye:magenta 3",
recipe = {"dye:pink", "dye:red", "dye:blue"}, recipe = {"mcl_dye:pink", "mcl_dye:red", "mcl_dye:blue"},
}) })
-- Dye creation -- Dye creation
minetest.register_craft({ minetest.register_craft({
output = "dye:yellow", output = "mcl_dye:yellow",
recipe = {{"flowers:dandelion_yellow"}}, recipe = {{"flowers:dandelion_yellow"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:yellow 2", output = "mcl_dye:yellow 2",
recipe = {{"flowers:sunflower"}}, recipe = {{"flowers:sunflower"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:lightblue", output = "mcl_dye:lightblue",
recipe = {{"flowers:blue_orchid"}}, recipe = {{"flowers:blue_orchid"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:grey", output = "mcl_dye:grey",
recipe = {{"flowers:azure_bluet"}}, recipe = {{"flowers:azure_bluet"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:grey", output = "mcl_dye:grey",
recipe = {{"flowers:oxeye_daisy"}}, recipe = {{"flowers:oxeye_daisy"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:grey", output = "mcl_dye:grey",
recipe = {{"flowers:tulip_white"}}, recipe = {{"flowers:tulip_white"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:magenta", output = "mcl_dye:magenta",
recipe = {{"flowers:allium"}}, recipe = {{"flowers:allium"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:magenta 2", output = "mcl_dye:magenta 2",
recipe = {{"flowers:lilac"}}, recipe = {{"flowers:lilac"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:orange", output = "mcl_dye:orange",
recipe = {{"flowers:tulip_orange"}}, recipe = {{"flowers:tulip_orange"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:pink", output = "mcl_dye:pink",
recipe = {{"flowers:tulip_pink"}}, recipe = {{"flowers:tulip_pink"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:pink 2", output = "mcl_dye:pink 2",
recipe = {{"flowers:peony"}}, recipe = {{"flowers:peony"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:red", output = "mcl_dye:red",
recipe = {{"flowers:poppy"}}, recipe = {{"flowers:poppy"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:red", output = "mcl_dye:red",
recipe = {{"flowers:tulip_red"}}, recipe = {{"flowers:tulip_red"}},
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:red 2", output = "mcl_dye:red 2",
recipe = {{"flowers:rose_bush"}}, recipe = {{"flowers:rose_bush"}},
}) })
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "dye:dark_green", output = "mcl_dye:dark_green",
recipe = "default:cactus", recipe = "default:cactus",
cooktime = 10, cooktime = 10,
}) })
minetest.register_craft({ minetest.register_craft({
output = "dye:white 3", output = "mcl_dye:white 3",
recipe = {{"default:bone"}}, recipe = {{"default:bone"}},
}) })
minetest.register_craft({
output = "dye:white 9",
recipe = {{"default:boneblock"}},
})

1
mods/mcl_dye/mod.conf Normal file
View file

@ -0,0 +1 @@
name = mcl_dye

View file

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 281 B

View file

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 318 B

View file

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 286 B

View file

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 300 B

View file

Before

Width:  |  Height:  |  Size: 291 B

After

Width:  |  Height:  |  Size: 291 B

View file

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 249 B

View file

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 249 B

View file

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 274 B

View file

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 253 B

View file

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 246 B

View file

Before

Width:  |  Height:  |  Size: 284 B

After

Width:  |  Height:  |  Size: 284 B

View file

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 249 B

View file

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 292 B

View file

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 249 B

View file

Before

Width:  |  Height:  |  Size: 347 B

After

Width:  |  Height:  |  Size: 347 B

View file

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B