New translation system, part 10: Armor

This commit is contained in:
Wuzzy 2019-03-08 00:51:45 +01:00
parent f9b557c2ba
commit 44fcf6eb34
2 changed files with 29 additions and 25 deletions

View file

@ -1,3 +1,5 @@
local S = minetest.get_translator("3d_armor_stand")
local elements = {"head", "torso", "legs", "feet"}
local function get_stand_object(pos)
@ -88,9 +90,9 @@ end
-- FIXME: The armor stand should be an entity
minetest.register_node("3d_armor_stand:armor_stand", {
description = "Armor Stand",
_doc_items_longdesc = "An armor stand is a decorative object which can display different pieces of armor. Anything which players can wear as armor can also be put on an armor stand.",
_doc_items_usagehelp = "Hold an armor item in your hand and rightclick the armor stand to put it on the armor stand. To take a piece of armor from the armor stand, select your hand and rightclick the armor stand. You'll retrieve the first armor item from above.",
description = S("Armor Stand"),
_doc_items_longdesc = S("An armor stand is a decorative object which can display different pieces of armor. Anything which players can wear as armor can also be put on an armor stand."),
_doc_items_usagehelp = S("Hold an armor item in your hand and rightclick the armor stand to put it on the armor stand. To take a piece of armor from the armor stand, select your hand and rightclick the armor stand. You'll retrieve the first armor item from above."),
drawtype = "mesh",
mesh = "3d_armor_stand.obj",
inventory_image = "3d_armor_stand_item.png",