From 2e0fa714ed476906b659aaa3e2cc059faeaac491 Mon Sep 17 00:00:00 2001 From: PrairieAstronomer Date: Sat, 25 Jun 2022 15:42:52 -0600 Subject: [PATCH] Nautilus Shell Item. Shell Texture by RandomLegoBrick. --- mods/ITEMS/mcl_fishing/init.lua | 1 + mods/ITEMS/mcl_mobitems/init.lua | 9 +++++++++ mods/ITEMS/mcl_mobitems/locale/template.txt | 4 ++++ .../textures/mcl_mobitems_nautilus_shell.png | Bin 0 -> 495 bytes 4 files changed, 14 insertions(+) create mode 100644 mods/ITEMS/mcl_mobitems/textures/mcl_mobitems_nautilus_shell.png diff --git a/mods/ITEMS/mcl_fishing/init.lua b/mods/ITEMS/mcl_fishing/init.lua index efc66e00e..20f4e6f26 100644 --- a/mods/ITEMS/mcl_fishing/init.lua +++ b/mods/ITEMS/mcl_fishing/init.lua @@ -111,6 +111,7 @@ local fish = function(itemstack, player, pointed_thing) { itemstring = "mcl_mobs:nametag", }, { itemstring = "mcl_mobitems:saddle", }, { itemstring = "mcl_flowers:waterlily", }, + { itemstring = "mcl_mobitems:nautilus_shell", }, }, stacks_min = 1, stacks_max = 1, diff --git a/mods/ITEMS/mcl_mobitems/init.lua b/mods/ITEMS/mcl_mobitems/init.lua index 6b3c9bec4..38d4a4e63 100644 --- a/mods/ITEMS/mcl_mobitems/init.lua +++ b/mods/ITEMS/mcl_mobitems/init.lua @@ -327,6 +327,15 @@ minetest.register_tool("mcl_mobitems:carrot_on_a_stick", { _mcl_toollike_wield = true, }) +minetest.register_craftitem("mcl_mobitems:nautilus_shell", { + description = S("Nautilus Shell"), + _tt_help = S("Used to craft a conduit"), + _doc_items_longdesc = S("The Nautilus Shell is used to craft a conduit. They can be obtained by fishing or killing a drowned that is wielding a shell."), + inventory_image = "mcl_mobitems_nautilus_shell.png", + groups = { craftitem=1 }, + stack_max = 64, +}) + local horse_armor_use = S("Place it on a horse to put on the horse armor. Donkeys and mules can't wear horse armor.") minetest.register_craftitem("mcl_mobitems:iron_horse_armor", { diff --git a/mods/ITEMS/mcl_mobitems/locale/template.txt b/mods/ITEMS/mcl_mobitems/locale/template.txt index a3066dd1b..3f9cf1054 100644 --- a/mods/ITEMS/mcl_mobitems/locale/template.txt +++ b/mods/ITEMS/mcl_mobitems/locale/template.txt @@ -93,6 +93,10 @@ A carrot on a stick can be used on saddled pigs to ride them.= Place it on a saddled pig to mount it. You can now ride the pig like a horse. Pigs will also walk towards you when you just wield the carrot on a stick.= +Nautilus Shell= +Used to craft a conduit= +The Nautilus Shell is used to craft a conduit. They can be obtained by fishing or killing a drowned that is wielding a shell.= + Iron Horse Armor= Iron horse armor can be worn by horses to increase their protection from harm a bit.= Golden Horse Armor= diff --git a/mods/ITEMS/mcl_mobitems/textures/mcl_mobitems_nautilus_shell.png b/mods/ITEMS/mcl_mobitems/textures/mcl_mobitems_nautilus_shell.png new file mode 100644 index 0000000000000000000000000000000000000000..34c4db041f43679b526b8402e69baa69bb999f78 GIT binary patch literal 495 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0fb3JK~y+TW1ti; zLTOy!Ka_?64E5LyfNScl&tgzkkOs5wK6uJd+&B%)1_HP~bOZixnBU6q{=;Vm9?_Ky zp)vR2h9HYU0fy!OS1ncq*$&1)gZ}T^rV3^Q4MAapFjO4_3y6S$uW!N`_HJDZW;=UV zgJ}>jFx$=G~1SD27fcPMA_u*5ZVT)110~s(u zX|QIHMi2%8kjBKq4u&sZzk~TO&5xeG0@E-63ka}(fMLKOEW`q|@is$2Y6!!G*=xX( zg=wJ-GLoWTHV8mt10@i_0SI(9IPgGx5Z=30^*>NEoR5Uz0PX@<7=XM03~{jFr