1
0
Fork 0

Translation: Add support for horse armor

objects
Wuzzy 2019-03-16 02:44:52 +01:00
parent cf9e440019
commit 8ee1521f14
3 changed files with 18 additions and 6 deletions

View File

@ -278,8 +278,8 @@ local horse_armor_use = "Rightclick a horse to put on the horse armor. Donkeys a
-- TODO: Balance the horse armor strength, compare with MC armor strength -- TODO: Balance the horse armor strength, compare with MC armor strength
if c("iron_horse_armor") then if c("iron_horse_armor") then
minetest.register_craftitem("mobs_mc:iron_horse_armor", { minetest.register_craftitem("mobs_mc:iron_horse_armor", {
description = "Iron Horse Armor", description = S("Iron Horse Armor"),
_doc_items_longdesc = "Iron horse armor can be worn by horses to increase their protection from harm a bit.", _doc_items_longdesc = S("Iron horse armor can be worn by horses to increase their protection from harm a bit."),
_doc_items_usagehelp = horse_armor_use, _doc_items_usagehelp = horse_armor_use,
inventory_image = "mobs_mc_iron_horse_armor.png", inventory_image = "mobs_mc_iron_horse_armor.png",
_horse_overlay_image = "mobs_mc_horse_armor_iron.png", _horse_overlay_image = "mobs_mc_horse_armor_iron.png",
@ -289,8 +289,8 @@ if c("iron_horse_armor") then
end end
if c("gold_horse_armor") then if c("gold_horse_armor") then
minetest.register_craftitem("mobs_mc:gold_horse_armor", { minetest.register_craftitem("mobs_mc:gold_horse_armor", {
description = "Golden Horse Armor", description = S("Golden Horse Armor"),
_doc_items_longdesc = "Golden horse armor can be worn by horses to increase their protection from harm.", _doc_items_longdesc = S("Golden horse armor can be worn by horses to increase their protection from harm."),
_doc_items_usagehelp = horse_armor_use, _doc_items_usagehelp = horse_armor_use,
inventory_image = "mobs_mc_gold_horse_armor.png", inventory_image = "mobs_mc_gold_horse_armor.png",
_horse_overlay_image = "mobs_mc_horse_armor_gold.png", _horse_overlay_image = "mobs_mc_horse_armor_gold.png",
@ -300,8 +300,8 @@ if c("gold_horse_armor") then
end end
if c("diamond_horse_armor") then if c("diamond_horse_armor") then
minetest.register_craftitem("mobs_mc:diamond_horse_armor", { minetest.register_craftitem("mobs_mc:diamond_horse_armor", {
description = "Diamond Horse Armor", description = S("Diamond Horse Armor"),
_doc_items_longdesc = "Diamond horse armor can be worn by horses to greatly increase their protection from harm.", _doc_items_longdesc = S("Diamond horse armor can be worn by horses to greatly increase their protection from harm."),
_doc_items_usagehelp = horse_armor_use, _doc_items_usagehelp = horse_armor_use,
inventory_image = "mobs_mc_diamond_horse_armor.png", inventory_image = "mobs_mc_diamond_horse_armor.png",
_horse_overlay_image = "mobs_mc_horse_armor_diamond.png", _horse_overlay_image = "mobs_mc_horse_armor_diamond.png",

View File

@ -52,3 +52,9 @@ Wolf=Wolf
Husk=Wüstenzombie Husk=Wüstenzombie
Zombie=Zombie Zombie=Zombie
Zombie Pigman=Schweinezombie Zombie Pigman=Schweinezombie
Iron Horse Armor=Eisenpferderüstung
Iron horse armor can be worn by horses to increase their protection from harm a bit.=Eine Eisenpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden etwas zu erhöhen.
Golden Horse Armor=Goldpferderüstung
Golden horse armor can be worn by horses to increase their protection from harm.=Eine Goldpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden zu erhöhen.
Diamond Horse Armor=Diamantpferderüstung
Diamond horse armor can be worn by horses to greatly increase their protection from harm.=Eine Diamantpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden beträchtlich zu erhöhen.

View File

@ -52,3 +52,9 @@ Wolf=
Husk= Husk=
Zombie= Zombie=
Zombie Pigman= Zombie Pigman=
Iron Horse Armor=
Iron horse armor can be worn by horses to increase their protection from harm a bit.=
Golden Horse Armor=
Golden horse armor can be worn by horses to increase their protection from harm.=
Diamond Horse Armor=
Diamond horse armor can be worn by horses to greatly increase their protection from harm.=