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 0000000..025eff5 Binary files /dev/null and b/textures/mobs_horseshoe_crystal.png differ diff --git a/textures/mobs_horseshoe_crystalo.png b/textures/mobs_horseshoe_crystalo.png new file mode 100644 index 0000000..fab50cf Binary files /dev/null and b/textures/mobs_horseshoe_crystalo.png differ