1
0
Fork 0

Replace black dye with "mcl_mobitems:ink_sac".

The squid ink sac mob drop has been registered as `"mcl_dye:black"`
because it doubled as the black dye for lack of a proper black dye.
This commit makes the squid ink sac its own `"mcl_mobitems:ink_sac"`
item and updates the ink sac users (but not the black dye users.)

* Add craftitem for "mcl_mobitems:ink_sac".
* Update squid drop.
* Update crafting recipe for book and quill.
* Update fishing loot.
This commit is contained in:
kabou 2022-05-02 22:19:19 +02:00
parent df08a113b7
commit 81ea298011
14 changed files with 33 additions and 7 deletions

View File

@ -82,7 +82,7 @@ mobs_mc.items = {
flint_and_steel = "fire:flint_and_steel", flint_and_steel = "fire:flint_and_steel",
water_source = "default:water_source", water_source = "default:water_source",
river_water_source = "default:river_water_source", river_water_source = "default:river_water_source",
black_dye = "dye:black", ink_sac = "mcl_mobitems:ink_sac",
poppy = "flowers:rose", poppy = "flowers:rose",
dandelion = "flowers:dandelion_yellow", dandelion = "flowers:dandelion_yellow",
coal = "default:coal_lump", coal = "default:coal_lump",

View File

@ -40,7 +40,7 @@ mobs:register_mob("mobs_mc:squid", {
run_end = 60, run_end = 60,
}, },
drops = { drops = {
{name = mobs_mc.items.black_dye, {name = mobs_mc.items.ink_sac,
chance = 1, chance = 1,
min = 1, min = 1,
max = 3, max = 3,

View File

@ -57,7 +57,7 @@ mobs_mc.override.items = {
flint_and_steel = "mcl_fire:flint_and_steel", flint_and_steel = "mcl_fire:flint_and_steel",
water_source = "mcl_core:water_source", water_source = "mcl_core:water_source",
river_water_source = "mclx_core:river_water_source", river_water_source = "mclx_core:river_water_source",
black_dye = "mcl_dye:black", ink_sac = "mcl_mobitems:ink_sac",
poppy = "mcl_flowers:poppy", poppy = "mcl_flowers:poppy",
dandelion = "mcl_flowers:dandelion", dandelion = "mcl_flowers:dandelion",
coal = "mcl_core:coal_lump", coal = "mcl_core:coal_lump",

View File

@ -187,11 +187,11 @@ minetest.register_on_player_receive_fields(function ( player, formname, fields )
end end
end) end)
if minetest.get_modpath("mcl_dye") and minetest.get_modpath("mcl_mobitems") then if minetest.get_modpath("mcl_mobitems") then
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "mcl_books:writable_book", output = "mcl_books:writable_book",
recipe = { "mcl_books:book", "mcl_dye:black", "mcl_mobitems:feather" }, recipe = { "mcl_books:book", "mcl_mobitems:ink_sac", "mcl_mobitems:feather" },
}) })
end end

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

View File

@ -88,7 +88,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