Rename dye to mcl_dye
|
@ -149,18 +149,18 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:bone_block",
|
||||
output = "mcl_dye:bone_block",
|
||||
recipe = {
|
||||
{ "dye:white", "dye:white", "dye:white" },
|
||||
{ "dye:white", "dye:white", "dye:white" },
|
||||
{ "dye:white", "dye:white", "dye:white" },
|
||||
{ "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
|
||||
{ "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
|
||||
{ "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:white 9",
|
||||
output = "mcl_dye:white 9",
|
||||
recipe = {
|
||||
{ "dye:bone_block" },
|
||||
{ "mcl_dye:bone_block" },
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -496,7 +496,7 @@ minetest.register_craft({
|
|||
output = 'default:prismarine_dark',
|
||||
recipe = {
|
||||
{'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'},
|
||||
}
|
||||
})
|
||||
|
@ -662,14 +662,14 @@ minetest.register_craft({
|
|||
minetest.register_craft({
|
||||
output = 'default:lapisblock',
|
||||
recipe = {
|
||||
{'dye:blue', 'dye:blue', 'dye:blue'},
|
||||
{'dye:blue', 'dye:blue', 'dye:blue'},
|
||||
{'dye:blue', 'dye:blue', 'dye:blue'},
|
||||
{'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
|
||||
{'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
|
||||
{'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'dye:blue 9',
|
||||
output = 'mcl_dye:blue 9',
|
||||
recipe = {
|
||||
{'default:lapisblock'},
|
||||
}
|
||||
|
@ -891,7 +891,7 @@ minetest.register_craft({
|
|||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "dye:blue",
|
||||
output = "mcl_dye:blue",
|
||||
recipe = "default:stone_with_lapis",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
|
|
@ -135,11 +135,11 @@ minetest.register_node("default:stone_with_lapis", {
|
|||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {'dye:blue 8'},rarity = 5},
|
||||
{items = {'dye:blue 7'},rarity = 5},
|
||||
{items = {'dye:blue 6'},rarity = 5},
|
||||
{items = {'dye:blue 5'},rarity = 5},
|
||||
{items = {'dye:blue 4'}},
|
||||
{items = {'mcl_dye:blue 8'},rarity = 5},
|
||||
{items = {'mcl_dye:blue 7'},rarity = 5},
|
||||
{items = {'mcl_dye:blue 6'},rarity = 5},
|
||||
{items = {'mcl_dye:blue 5'},rarity = 5},
|
||||
{items = {'mcl_dye:blue 4'}},
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
|
|
@ -392,7 +392,7 @@ minetest.register_tool("default:pole", {
|
|||
elseif r <= 72 then
|
||||
itemname = "default:bone"
|
||||
elseif r <= 73 then
|
||||
itemname = "dye:black"
|
||||
itemname = "mcl_dye:black"
|
||||
itemcount = 10
|
||||
else
|
||||
-- TODO: Tripwire hook
|
||||
|
|
|
@ -141,7 +141,7 @@ minetest.register_craft({
|
|||
minetest.register_craft({
|
||||
output = "farming:cookie 8",
|
||||
recipe = {
|
||||
{'farming:wheat_harvested', 'dye:brown', 'farming:wheat_harvested'},
|
||||
{'farming:wheat_harvested', 'mcl_dye:brown', 'farming:wheat_harvested'},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ for _, row in ipairs(clay.dyes) do
|
|||
output = 'hardened_clay:'..name..' 8',
|
||||
recipe = {
|
||||
{'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'},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -86,7 +86,7 @@ for _, row in ipairs(dyelocal.dyes) do
|
|||
local name = row[1]
|
||||
local description = row[2]
|
||||
local groups = row[3]
|
||||
local item_name = "dye:"..name
|
||||
local item_name = "mcl_dye:"..name
|
||||
local item_image = "dye_"..name..".png"
|
||||
minetest.register_craftitem(item_name, {
|
||||
inventory_image = item_image,
|
||||
|
@ -96,7 +96,7 @@ for _, row in ipairs(dyelocal.dyes) do
|
|||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("dye:white", {
|
||||
minetest.register_craftitem("mcl_dye:white", {
|
||||
inventory_image = "dye_white.png",
|
||||
description = "Bone Meal",
|
||||
stack_max = 64,
|
||||
|
@ -112,136 +112,132 @@ minetest.register_craftitem("dye:white", {
|
|||
-- Dye mixing
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:dark_grey 2",
|
||||
recipe = {"dye:black", "dye:white"},
|
||||
output = "mcl_dye:dark_grey 2",
|
||||
recipe = {"mcl_dye:black", "mcl_dye:white"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:lightblue 2",
|
||||
recipe = {"dye:blue", "dye:white"},
|
||||
output = "mcl_dye:lightblue 2",
|
||||
recipe = {"mcl_dye:blue", "mcl_dye:white"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:grey 3",
|
||||
recipe = {"dye:black", "dye:white", "dye:white"},
|
||||
output = "mcl_dye:grey 3",
|
||||
recipe = {"mcl_dye:black", "mcl_dye:white", "mcl_dye:white"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:grey 2",
|
||||
recipe = {"dye:dark_grey", "dye:white"},
|
||||
output = "mcl_dye:grey 2",
|
||||
recipe = {"mcl_dye:dark_grey", "mcl_dye:white"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:green 2",
|
||||
recipe = {"dye:dark_green", "dye:white"},
|
||||
output = "mcl_dye:green 2",
|
||||
recipe = {"mcl_dye:dark_green", "mcl_dye:white"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:magenta 4",
|
||||
recipe = {"dye:blue", "dye:white", "dye:red", "dye:red"},
|
||||
output = "mcl_dye:magenta 4",
|
||||
recipe = {"mcl_dye:blue", "mcl_dye:white", "mcl_dye:red", "mcl_dye:red"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:pink 2",
|
||||
recipe = {"dye:red", "dye:white"},
|
||||
output = "mcl_dye:pink 2",
|
||||
recipe = {"mcl_dye:red", "mcl_dye:white"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:cyan 2",
|
||||
recipe = {"dye:blue", "dye:dark_green"},
|
||||
output = "mcl_dye:cyan 2",
|
||||
recipe = {"mcl_dye:blue", "mcl_dye:dark_green"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:violet 2",
|
||||
recipe = {"dye:blue", "dye:red"},
|
||||
output = "mcl_dye:violet 2",
|
||||
recipe = {"mcl_dye:blue", "mcl_dye:red"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:orange 2",
|
||||
recipe = {"dye:yellow", "dye:red"},
|
||||
output = "mcl_dye:orange 2",
|
||||
recipe = {"mcl_dye:yellow", "mcl_dye:red"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:magenta 2",
|
||||
recipe = {"dye:violet", "dye:pink"},
|
||||
output = "mcl_dye:magenta 2",
|
||||
recipe = {"mcl_dye:violet", "mcl_dye:pink"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "dye:magenta 3",
|
||||
recipe = {"dye:pink", "dye:red", "dye:blue"},
|
||||
output = "mcl_dye:magenta 3",
|
||||
recipe = {"mcl_dye:pink", "mcl_dye:red", "mcl_dye:blue"},
|
||||
})
|
||||
|
||||
-- Dye creation
|
||||
minetest.register_craft({
|
||||
output = "dye:yellow",
|
||||
output = "mcl_dye:yellow",
|
||||
recipe = {{"flowers:dandelion_yellow"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:yellow 2",
|
||||
output = "mcl_dye:yellow 2",
|
||||
recipe = {{"flowers:sunflower"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:lightblue",
|
||||
output = "mcl_dye:lightblue",
|
||||
recipe = {{"flowers:blue_orchid"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:grey",
|
||||
output = "mcl_dye:grey",
|
||||
recipe = {{"flowers:azure_bluet"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:grey",
|
||||
output = "mcl_dye:grey",
|
||||
recipe = {{"flowers:oxeye_daisy"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:grey",
|
||||
output = "mcl_dye:grey",
|
||||
recipe = {{"flowers:tulip_white"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:magenta",
|
||||
output = "mcl_dye:magenta",
|
||||
recipe = {{"flowers:allium"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:magenta 2",
|
||||
output = "mcl_dye:magenta 2",
|
||||
recipe = {{"flowers:lilac"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:orange",
|
||||
output = "mcl_dye:orange",
|
||||
recipe = {{"flowers:tulip_orange"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:pink",
|
||||
output = "mcl_dye:pink",
|
||||
recipe = {{"flowers:tulip_pink"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:pink 2",
|
||||
output = "mcl_dye:pink 2",
|
||||
recipe = {{"flowers:peony"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:red",
|
||||
output = "mcl_dye:red",
|
||||
recipe = {{"flowers:poppy"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:red",
|
||||
output = "mcl_dye:red",
|
||||
recipe = {{"flowers:tulip_red"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:red 2",
|
||||
output = "mcl_dye:red 2",
|
||||
recipe = {{"flowers:rose_bush"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "dye:dark_green",
|
||||
output = "mcl_dye:dark_green",
|
||||
recipe = "default:cactus",
|
||||
cooktime = 10,
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:white 3",
|
||||
output = "mcl_dye:white 3",
|
||||
recipe = {{"default:bone"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "dye:white 9",
|
||||
recipe = {{"default:boneblock"}},
|
||||
})
|
1
mods/mcl_dye/mod.conf
Normal file
|
@ -0,0 +1 @@
|
|||
name = mcl_dye
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |