From 22f52abc6c26cdb39222511b9c345aac760190ec Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Mon, 19 Apr 2021 19:46:23 +0100 Subject: [PATCH] add crystal horseshoe --- init.lua | 23 ++++++++++++++++++++++- readme.md | 4 ++-- textures/mobs_horseshoe_crystal.png | Bin 0 -> 153 bytes textures/mobs_horseshoe_crystalo.png | Bin 0 -> 106 bytes 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 textures/mobs_horseshoe_crystal.png create mode 100644 textures/mobs_horseshoe_crystalo.png diff --git a/init.lua b/init.lua index 03b57f9..859a405 100644 --- a/init.lua +++ b/init.lua @@ -15,7 +15,8 @@ local shoes = { ["mobs:horseshoe_steel"] = {7, 4, 2, "mobs_horseshoe_steelo.png"}, ["mobs:horseshoe_bronze"] = {7, 4, 4, "mobs_horseshoe_bronzeo.png"}, ["mobs:horseshoe_mese"] = {9, 5, 8, "mobs_horseshoe_meseo.png"}, - ["mobs:horseshoe_diamond"] = {10, 6, 6, "mobs_horseshoe_diamondo.png"} + ["mobs:horseshoe_diamond"] = {10, 6, 6, "mobs_horseshoe_diamondo.png"}, + ["mobs:horseshoe_crystal"] = {12, 7, 9, "mobs_horseshoe_crystalo.png"} } -- rideable horse @@ -292,6 +293,25 @@ minetest.register_craft({ } }) +-- crystal horseshoes +if minetest.get_modpath("ethereal") then + +minetest.register_craftitem(":mobs:horseshoe_crystal", { + description = S("Crystal HorseShoes (use on horse to apply)"), + inventory_image = "mobs_horseshoe_crystal.png", +}) + +minetest.register_craft({ + output = "mobs:horseshoe_crystal", + recipe = { + {"", "ethereal:crystal_block", ""}, + {"ethereal:crystal_ingot", "", "ethereal:crystal_ingot"}, + {"ethereal:crystal_ingot", "", "ethereal:crystal_ingot"}, + } +}) + +end + -- lucky blocks if minetest.get_modpath("lucky_block") then @@ -300,6 +320,7 @@ lucky_block:add_blocks({ {"dro", {"mobs:horseshoe_bronze"}}, {"dro", {"mobs:horseshoe_mese"}}, {"dro", {"mobs:horseshoe_diamond"}}, + {"dro", {"mobs:horseshoe_crystal"}} }) end diff --git a/readme.md b/readme.md index 5056823..bdb8cb2 100644 --- a/readme.md +++ b/readme.md @@ -9,10 +9,10 @@ Horses can be tamed with 10x wheat, apple, barley, oats of corn which then allow --- ### Horseshoes -Horseshoes can be crafted using steel, bronze, mese and diamond (4x ingots - 2 down either side with 1x block top middle) and placed on a horse by right clicking with the item. These can make horses run faster or jump higher while riding depending on tier. +Horseshoes can be crafted using steel, bronze, mese, diamond and crystal (4x ingots - 2 down either side with 1x block top middle) and placed on a horse by right clicking with the item. These can make horses run faster or jump higher while riding depending on tier. --- ### Dead Horse When riding a horse monsters will generally attack the horse first to get to player riding it, when horse dies the player is dismounted and it will drop any shoes or saddles in use as well as some horse meat. -#### Lucky Blocks: 4 +#### Lucky Blocks: 5 diff --git a/textures/mobs_horseshoe_crystal.png b/textures/mobs_horseshoe_crystal.png new file mode 100644 index 0000000000000000000000000000000000000000..025eff53ba4455e8b3ce4f77e5e532dc9f2c91d2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9oB=)|u0Wc>D2O3$?qr529Uz;r zB*-tA!Qt7BG$6;$)5S4_<9c!e1M^x@hooypY;4O|V|aPy@cMA_#PINNOI(qVNHfSV vG+5)1w9(MOC*eU>LKH(F`!z;22L^^8`8+?