From 81ea298011ec5d7249fc670eb167711dfa30ba4e Mon Sep 17 00:00:00 2001 From: kabou Date: Mon, 2 May 2022 22:19:19 +0200 Subject: [PATCH] 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. --- mods/ENTITIES/mobs_mc/0_gameconfig.lua | 2 +- mods/ENTITIES/mobs_mc/squid.lua | 2 +- mods/ENTITIES/mobs_mc_gameconfig/init.lua | 2 +- mods/ITEMS/mcl_books/init.lua | 4 ++-- mods/ITEMS/mcl_core/textures/mcl_core_lapis.png | Bin 0 -> 169 bytes mods/ITEMS/mcl_fishing/init.lua | 2 +- mods/ITEMS/mcl_mobitems/init.lua | 8 ++++++++ mods/ITEMS/mcl_mobitems/locale/mcl_mobitems.de.tr | 3 +++ mods/ITEMS/mcl_mobitems/locale/mcl_mobitems.es.tr | 3 +++ mods/ITEMS/mcl_mobitems/locale/mcl_mobitems.fr.tr | 5 ++++- mods/ITEMS/mcl_mobitems/locale/mcl_mobitems.pl.tr | 3 +++ mods/ITEMS/mcl_mobitems/locale/mcl_mobitems.ru.tr | 3 +++ mods/ITEMS/mcl_mobitems/locale/template.txt | 3 +++ .../textures/mcl_mobitems_ink_sac.png | Bin 0 -> 190 bytes 14 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 mods/ITEMS/mcl_core/textures/mcl_core_lapis.png create mode 100644 mods/ITEMS/mcl_mobitems/textures/mcl_mobitems_ink_sac.png diff --git a/mods/ENTITIES/mobs_mc/0_gameconfig.lua b/mods/ENTITIES/mobs_mc/0_gameconfig.lua index c92ccbba5..fc1193571 100644 --- a/mods/ENTITIES/mobs_mc/0_gameconfig.lua +++ b/mods/ENTITIES/mobs_mc/0_gameconfig.lua @@ -82,7 +82,7 @@ mobs_mc.items = { flint_and_steel = "fire:flint_and_steel", water_source = "default:water_source", river_water_source = "default:river_water_source", - black_dye = "dye:black", + ink_sac = "mcl_mobitems:ink_sac", poppy = "flowers:rose", dandelion = "flowers:dandelion_yellow", coal = "default:coal_lump", diff --git a/mods/ENTITIES/mobs_mc/squid.lua b/mods/ENTITIES/mobs_mc/squid.lua index 0c425bb51..f69bdbdc7 100644 --- a/mods/ENTITIES/mobs_mc/squid.lua +++ b/mods/ENTITIES/mobs_mc/squid.lua @@ -40,7 +40,7 @@ mobs:register_mob("mobs_mc:squid", { run_end = 60, }, drops = { - {name = mobs_mc.items.black_dye, + {name = mobs_mc.items.ink_sac, chance = 1, min = 1, max = 3, diff --git a/mods/ENTITIES/mobs_mc_gameconfig/init.lua b/mods/ENTITIES/mobs_mc_gameconfig/init.lua index 06d7eb87f..1da38c528 100644 --- a/mods/ENTITIES/mobs_mc_gameconfig/init.lua +++ b/mods/ENTITIES/mobs_mc_gameconfig/init.lua @@ -57,7 +57,7 @@ mobs_mc.override.items = { flint_and_steel = "mcl_fire:flint_and_steel", water_source = "mcl_core: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", dandelion = "mcl_flowers:dandelion", coal = "mcl_core:coal_lump", diff --git a/mods/ITEMS/mcl_books/init.lua b/mods/ITEMS/mcl_books/init.lua index 446be8cd6..5ee910525 100644 --- a/mods/ITEMS/mcl_books/init.lua +++ b/mods/ITEMS/mcl_books/init.lua @@ -187,11 +187,11 @@ minetest.register_on_player_receive_fields(function ( player, formname, fields ) 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({ type = "shapeless", 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 diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_lapis.png b/mods/ITEMS/mcl_core/textures/mcl_core_lapis.png new file mode 100644 index 0000000000000000000000000000000000000000..e0e3023075fce96f8d13cdc4fd89f75fc2356b8a GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPGa4)6(a1=8gu#sB~RSC3p8(R9E% zdrQlb%L=ZuWo$YNZf`vXlx8jo@(Tvizsio>15#F=E{-7;jL8WCEevd`izE)|H7!eM z%j`;+q1X|a^D0M(BWcU_B_`rcqTOuHBHbYW#WeYlAf|Mo+$8Kh)nh(|0OMl=Ye^XX6+n{4x!{%(-so z&$vVK^wxK>2h6!XKURMbrpKHlK7%cQWk*j4(?o{gf=DHwmrUQ6cQ6^TNqoP>`Mbem o;RK0f2__eg!m|HOhwLoXlUEoBRh^M%2Rews)78&qol`;+0L%qMT>t<8 literal 0 HcmV?d00001