Adapt leather armor to new API

This commit is contained in:
Jürgen Rühle 2024-03-30 16:54:39 +01:00
parent cfc4bbdbbc
commit 6d0fc5e99a

View File

@ -1,4 +1,5 @@
local C = minetest.colorize
local S = minetest.get_translator(minetest.get_current_modname())
local base_color = "#794100"
@ -76,13 +77,12 @@ end
mcl_armor.register_set({
name = "leather",
description = "Leather",
color = base_color,
descriptions = {
head = "Cap",
torso = "Tunic",
legs = "Pants",
feet = "Boots",
head = S("Leather Cap"),
torso = S("Leather Tunic"),
legs = S("Leather Pants"),
feet = S("Leather Boots"),
},
durability = 80,
enchantability = 15,