I created the following custom Armor
Code: Select all
defineObject{
name = "EinfachesStoffhemd",
baseObject = "base_item",
components = {
{
class = "Model",
model = "assets/models/items/knife.fbx",
},
{
class ="Item",
uiName = "Einfaches Stoffhemd",
gfxAtlas = "mod_assets/textures/items.tga",
gfxIndex = 7,
weight = 0.2,
description = "Ein einfaches Hemd aus Stoff"
},
{
class = "EquipmentItem",
Protection = 1,
Slot = 4,
},
}
}
First im still using the knife.fbx because o dont know what the name for the clothings model is
The item is supposed to equip to the chest (Slot 4) but it still equips to the main and offhand....what is my mistake?
The item shows protection +1 if i examine it...but the protection does not increase on the charakter sheet...again what is my mistake?
Any help would be great