1
0
Fork 0
dyable-leather-armor
AFCMS 2022-05-01 00:37:27 +02:00
parent 126d74b428
commit d9fef2966f
No known key found for this signature in database
GPG Key ID: 8720389A25B652E3
1 changed files with 2 additions and 1 deletions

View File

@ -95,6 +95,7 @@ function mcl_armor.register_set(def)
local on_break_callbacks = def.on_break_callbacks or {} local on_break_callbacks = def.on_break_callbacks or {}
local textures = def.textures or {} local textures = def.textures or {}
local previews = def.previews or {} local previews = def.previews or {}
local inventory = def.inventory or {}
local durabilities = def.durabilities or {} local durabilities = def.durabilities or {}
local element_groups = def.element_groups or {} local element_groups = def.element_groups or {}
@ -120,7 +121,7 @@ function mcl_armor.register_set(def)
description = S(def.description .. " " .. (descriptions[name] or element.description)), description = S(def.description .. " " .. (descriptions[name] or element.description)),
_doc_items_longdesc = mcl_armor.longdesc, _doc_items_longdesc = mcl_armor.longdesc,
_doc_items_usagehelp = mcl_armor.usage, _doc_items_usagehelp = mcl_armor.usage,
inventory_image = modname .. "_inv_" .. itemname .. ".png", inventory_image = inventory[name] or modname .. "_inv_" .. itemname .. ".png",
_repair_material = def.repair_material or def.craft_material, _repair_material = def.repair_material or def.craft_material,
groups = groups, groups = groups,
sounds = { sounds = {