Separate black dye from squid ink sac.

* Add craftitem "mcl_mobitems:ink_sac".
* Add texture for black dye item.
* Add crafting recipe for black dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update fishing loot.
This commit is contained in:
kabou 2022-12-22 17:26:13 +01:00 committed by Gitea
parent 437842134e
commit 7311071303
19 changed files with 47 additions and 10 deletions

View File

@ -40,7 +40,7 @@ mcl_mobs.register_mob("mobs_mc:squid", {
run_end = 60, run_end = 60,
}, },
drops = { drops = {
{name = "mcl_dye:black", {name = "mcl_mobitems:ink_sac",
chance = 1, chance = 1,
min = 1, min = 1,
max = 3, max = 3,

View File

@ -70,7 +70,7 @@ dyelocal.dyes = {
{"white", "mcl_dye_white", S("Bone Meal"), {dye=1, craftitem=1, basecolor_white=1, excolor_white=1, unicolor_white=1}}, {"white", "mcl_dye_white", S("Bone Meal"), {dye=1, craftitem=1, basecolor_white=1, excolor_white=1, unicolor_white=1}},
{"grey", "dye_grey", S("Light Grey Dye"), {dye=1, craftitem=1, basecolor_grey=1, excolor_grey=1, unicolor_grey=1}}, {"grey", "dye_grey", S("Light Grey Dye"), {dye=1, craftitem=1, basecolor_grey=1, excolor_grey=1, unicolor_grey=1}},
{"dark_grey", "dye_dark_grey", S("Grey Dye"), {dye=1, craftitem=1, basecolor_grey=1, excolor_darkgrey=1, unicolor_darkgrey=1}}, {"dark_grey", "dye_dark_grey", S("Grey Dye"), {dye=1, craftitem=1, basecolor_grey=1, excolor_darkgrey=1, unicolor_darkgrey=1}},
{"black", "mcl_dye_black", S("Ink Sac"), {dye=1, craftitem=1, basecolor_black=1, excolor_black=1, unicolor_black=1}}, {"black", "mcl_dye_black", S("Black Dye"), {dye=1, craftitem=1, basecolor_black=1, excolor_black=1, unicolor_black=1}},
{"violet", "dye_violet", S("Purple Dye"), {dye=1, craftitem=1, basecolor_magenta=1, excolor_violet=1, unicolor_violet=1}}, {"violet", "dye_violet", S("Purple Dye"), {dye=1, craftitem=1, basecolor_magenta=1, excolor_violet=1, unicolor_violet=1}},
{"blue", "mcl_dye_blue", S("Lapis Lazuli"), {dye=1, craftitem=1, basecolor_blue=1, excolor_blue=1, unicolor_blue=1}}, {"blue", "mcl_dye_blue", S("Lapis Lazuli"), {dye=1, craftitem=1, basecolor_blue=1, excolor_blue=1, unicolor_blue=1}},
{"lightblue", "mcl_dye_light_blue", S("Light Blue Dye"), {dye=1, craftitem=1, basecolor_blue=1, excolor_blue=1, unicolor_light_blue=1}}, {"lightblue", "mcl_dye_light_blue", S("Light Blue Dye"), {dye=1, craftitem=1, basecolor_blue=1, excolor_blue=1, unicolor_light_blue=1}},
@ -500,6 +500,10 @@ minetest.register_craft({
}) })
-- Dye creation -- Dye creation
minetest.register_craft({
output = "mcl_dye:black",
recipe = {{"mcl_mobitems:ink_sac"}},
})
minetest.register_craft({ minetest.register_craft({
output = "mcl_dye:yellow", output = "mcl_dye:yellow",
recipe = {{"mcl_flowers:dandelion"}}, recipe = {{"mcl_flowers:dandelion"}},
@ -570,3 +574,10 @@ minetest.register_craft({
output = "mcl_dye:white 3", output = "mcl_dye:white 3",
recipe = {{"mcl_mobitems:bone"}}, recipe = {{"mcl_mobitems:bone"}},
}) })
-- legacy item grace conversion recipes
minetest.register_craft({
output = "mcl_mobitems:ink_sac",
recipe = {{"mcl_dye:black"}},
})

View File

@ -2,7 +2,7 @@
Bone Meal=Knochenmehl Bone Meal=Knochenmehl
Light Grey Dye=Hellgrauer Farbstoff Light Grey Dye=Hellgrauer Farbstoff
Grey Dye=Grauer Farbstoff Grey Dye=Grauer Farbstoff
Ink Sac=Tintenbeutel Black Dye=Schwarzer Farbstoff
Purple Dye=Violetter Farbstoff Purple Dye=Violetter Farbstoff
Lapis Lazuli=Lapislazuli Lapis Lazuli=Lapislazuli
Light Blue Dye=Hellblauer Farbstoff Light Blue Dye=Hellblauer Farbstoff

View File

@ -2,7 +2,7 @@
Bone Meal=Harina de hueso Bone Meal=Harina de hueso
Light Grey Dye=Tinte gris claro Light Grey Dye=Tinte gris claro
Grey Dye=Tinte gris Grey Dye=Tinte gris
Ink Sac=Saco de tinta Black Dye=Tinte negro
Purple Dye=Tinte púrpura Purple Dye=Tinte púrpura
Lapis Lazuli=Lapislázuli Lapis Lazuli=Lapislázuli
Light Blue Dye=Tinte azul claro Light Blue Dye=Tinte azul claro

View File

@ -2,7 +2,7 @@
Bone Meal=Poudre d'Os Bone Meal=Poudre d'Os
Light Grey Dye=Teinture Gris Clair Light Grey Dye=Teinture Gris Clair
Grey Dye=Teinture Gris Grey Dye=Teinture Gris
Ink Sac=Poche d'Encre Black Dye=Teinture Noire
Purple Dye=Teinture Violette Purple Dye=Teinture Violette
Lapis Lazuli=Lapis Lazuli Lapis Lazuli=Lapis Lazuli
Light Blue Dye=Teinture Bleu Clair Light Blue Dye=Teinture Bleu Clair

View File

@ -2,7 +2,7 @@
Bone Meal=Mączka kostna Bone Meal=Mączka kostna
Light Grey Dye=Jasnoszara farba Light Grey Dye=Jasnoszara farba
Grey Dye=Szara farba Grey Dye=Szara farba
Ink Sac=Torbiel z atramentem Black Dye=Czarny farba
Purple Dye=Fioletowa farba Purple Dye=Fioletowa farba
Lapis Lazuli=Lazuryt Lapis Lazuli=Lazuryt
Light Blue Dye=Jasnoniebieska farba Light Blue Dye=Jasnoniebieska farba

View File

@ -2,7 +2,7 @@
Bone Meal=Костная мука Bone Meal=Костная мука
Light Grey Dye=Светло-серый краситель Light Grey Dye=Светло-серый краситель
Grey Dye=Серый краситель Grey Dye=Серый краситель
Ink Sac=Чернильный мешок Black Dye=Чёрный краситель
Purple Dye=Пурпурный краситель Purple Dye=Пурпурный краситель
Lapis Lazuli=Ляпис-лазурь Lapis Lazuli=Ляпис-лазурь
Light Blue Dye=Светло-голубой краситель Light Blue Dye=Светло-голубой краситель

View File

@ -2,7 +2,7 @@
Bone Meal=骨粉 Bone Meal=骨粉
Light Grey Dye=淺灰色染料 Light Grey Dye=淺灰色染料
Grey Dye=灰色染料 Grey Dye=灰色染料
Ink Sac=墨囊 Black Dye=黑色染料
Purple Dye=紫色染料 Purple Dye=紫色染料
Lapis Lazuli=青金石 Lapis Lazuli=青金石
Light Blue Dye=淺藍色染料 Light Blue Dye=淺藍色染料

View File

@ -2,7 +2,7 @@
Bone Meal= Bone Meal=
Light Grey Dye= Light Grey Dye=
Grey Dye= Grey Dye=
Ink Sac= Black Dye=
Purple Dye= Purple Dye=
Lapis Lazuli= Lapis Lazuli=
Light Blue Dye= Light Blue Dye=

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 193 B

View File

@ -89,7 +89,7 @@ local fish = function(itemstack, player, pointed_thing)
{ itemstring = "mcl_mobitems:string", weight = 5 }, { itemstring = "mcl_mobitems:string", weight = 5 },
{ itemstring = "mcl_potions:water", weight = 10 }, { itemstring = "mcl_potions:water", weight = 10 },
{ itemstring = "mcl_mobitems:bone", weight = 10 }, { itemstring = "mcl_mobitems:bone", weight = 10 },
{ itemstring = "mcl_dye:black", weight = 1, amount_min = 10, amount_max = 10 }, { itemstring = "mcl_mobitems:ink_sac", weight = 1, amount_min = 10, amount_max = 10 },
{ itemstring = "mcl_mobitems:string", weight = 10 }, -- TODO: Tripwire Hook { itemstring = "mcl_mobitems:string", weight = 10 }, -- TODO: Tripwire Hook
}, },
stacks_min = 1, stacks_min = 1,

View File

@ -181,6 +181,14 @@ minetest.register_craftitem("mcl_mobitems:bone", {
_mcl_toollike_wield = true, _mcl_toollike_wield = true,
}) })
minetest.register_craftitem("mcl_mobitems:ink_sac", {
description = S("Squid Ink Sac"),
_doc_items_longdesc = S("This item is dropped by dead squids. Squid ink can be used to as an ingredient to craft book and quill or black dye."),
inventory_image = "mcl_mobitems_ink_sac.png",
stack_max = 64,
groups = { craftitem = 1 },
})
minetest.register_craftitem("mcl_mobitems:string",{ minetest.register_craftitem("mcl_mobitems:string",{
description = S("String"), description = S("String"),
_doc_items_longdesc = S("Strings are used in crafting."), _doc_items_longdesc = S("Strings are used in crafting."),

View File

@ -52,6 +52,9 @@ Bones can be used to tame wolves so they will protect you. They are also useful
Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Halten Sie den Knochen in der Nähe von Wölfen, um sie anzulocken. Benutzen Sie die „Platzieren“-Taste auf dem Wolf, um ihm den Knochen zu geben und ihn zu zähmen. Sie können dem gezähmten Wolf Befehle erteilen, indem Sie die „Platzieren“-Taste auf ihm benutzen. Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Halten Sie den Knochen in der Nähe von Wölfen, um sie anzulocken. Benutzen Sie die „Platzieren“-Taste auf dem Wolf, um ihm den Knochen zu geben und ihn zu zähmen. Sie können dem gezähmten Wolf Befehle erteilen, indem Sie die „Platzieren“-Taste auf ihm benutzen.
Squid Ink Sac=Tintenbeutel
This item is dropped by dead squids. Squid ink can be used to as an ingredient to craft book and quill or black dye.=Dieser Gegenstand wird von toten Tintenfischen abgeworfen. Tintenbeutel können benutzt werden, um Buch und Feder oder schwarzen Farbstoff zu fertigen.
String=Faden String=Faden
Strings are used in crafting.=Fäden sind nützlich in der Fertigung. Strings are used in crafting.=Fäden sind nützlich in der Fertigung.
Blaze Rod=Lohenrute Blaze Rod=Lohenrute

View File

@ -52,6 +52,9 @@ Bones can be used to tame wolves so they will protect you. They are also useful
Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Empuña el hueso cerca de los lobos para atraerlos. Usa la tecla "Colocar" en el lobo para darle un hueso y domesticarlo. Luego puede dar órdenes al lobo domesticado utilizando la tecla "Colocar". Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Empuña el hueso cerca de los lobos para atraerlos. Usa la tecla "Colocar" en el lobo para darle un hueso y domesticarlo. Luego puede dar órdenes al lobo domesticado utilizando la tecla "Colocar".
Squid Ink Sac=Saco de tinta
This item is dropped by dead squids. Squid ink can be used to as an ingredient to craft book and quill or black dye.=
String=Cuerda String=Cuerda
Strings are used in crafting.=Las cuerdas se usan en la elaboración. Strings are used in crafting.=Las cuerdas se usan en la elaboración.
Blaze Rod=Vara de blaze Blaze Rod=Vara de blaze

View File

@ -52,6 +52,9 @@ Bones can be used to tame wolves so they will protect you. They are also useful
Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Maniez l'os près des loups pour les attirer. Utilisez la touche «Placer» sur le loup pour lui donner un os et l'apprivoiser. Vous pouvez ensuite donner des commandes au loup apprivoisé en utilisant la touche "Placer" sur celui-ci. Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Maniez l'os près des loups pour les attirer. Utilisez la touche «Placer» sur le loup pour lui donner un os et l'apprivoiser. Vous pouvez ensuite donner des commandes au loup apprivoisé en utilisant la touche "Placer" sur celui-ci.
Squid Ink Sac=Poche d'encre
This item is dropped by dead squids. Squid ink can be used to as an ingredient to craft book and quill or black dye.=
String=Ficelle String=Ficelle
Strings are used in crafting.=Les ficelles sont utilisées dans l'artisanat. Strings are used in crafting.=Les ficelles sont utilisées dans l'artisanat.
Blaze Rod=Bâton de Blaze Blaze Rod=Bâton de Blaze

View File

@ -53,6 +53,9 @@ Bones can be used to tame wolves so they will protect you. They are also useful
Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Trzymaj kość w pobliżu wilków aby je zwabić. Użyj przycisku "Umieść" na wilku aby dać mu kość i go oswoić. Możesz wtedy wydawać polecenia oswojonemu wilkowi klikając przycisk "Umieść" na nim. Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Trzymaj kość w pobliżu wilków aby je zwabić. Użyj przycisku "Umieść" na wilku aby dać mu kość i go oswoić. Możesz wtedy wydawać polecenia oswojonemu wilkowi klikając przycisk "Umieść" na nim.
Squid Ink Sac=Torbiel z atramentem
This item is dropped by dead squids. Squid ink can be used to as an ingredient to craft book and quill or black dye.=
String=Nić String=Nić
Strings are used in crafting.=Nić jest użyteczna w wytwarzaniu. Strings are used in crafting.=Nić jest użyteczna w wytwarzaniu.
Blaze Rod=Płomienna różdżka Blaze Rod=Płomienna różdżka

View File

@ -52,6 +52,9 @@ Bones can be used to tame wolves so they will protect you. They are also useful
Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Положите кость рядом с волками, чтобы привлечь их. Используйте клавишу “Разместить” на волке, чтобы дать ему кость и приручить его. Вы можете командовать приручёнными волками с помощью клавиши “Разместить”. Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=Положите кость рядом с волками, чтобы привлечь их. Используйте клавишу “Разместить” на волке, чтобы дать ему кость и приручить его. Вы можете командовать приручёнными волками с помощью клавиши “Разместить”.
Squid Ink Sac=Чернильный мешок
This item is dropped by dead squids. Squid ink can be used to as an ingredient to craft book and quill or black dye.=
String=Нити String=Нити
Strings are used in crafting.=Нити используются для крафтинга Strings are used in crafting.=Нити используются для крафтинга
Blaze Rod=Огненный стержень Blaze Rod=Огненный стержень

View File

@ -52,6 +52,9 @@ Bones can be used to tame wolves so they will protect you. They are also useful
Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.= Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it.=
Squid Ink Sac=
This item is dropped by dead squids. Squid ink can be used to as an ingredient to craft book and quill or black dye.=
String= String=
Strings are used in crafting.= Strings are used in crafting.=
Blaze Rod= Blaze Rod=

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B