Adding armor qualities to footwear.
Basically, I'm interested in adding the ability for footwear to have armor-like qualities (i.e. resistances). I played around with it tonight a bit, adding in a new piece of leather armor, and giving shoes an entry in the bit of BaseArmor.cs that decides layers. Naturally, it didn't work, and I suspect I'm way off, since it's not mentioned in there which graphic the item uses or anything, missing a lot of the stuff that to me should be going into the creation of a new item. So, on looking further, it seems to me the items found in the /scripts/items/* are the base items which others are based off of, correct? Are aspects of these hardcoded, or can it all be done through scripts? How might I approach making a new armor type which functions as footwear?
Any help is greatly appreciated, and I'll post whatever I manage to cobble together if it ends up working (or maybe even if it doesn't )
Basically, I'm interested in adding the ability for footwear to have armor-like qualities (i.e. resistances). I played around with it tonight a bit, adding in a new piece of leather armor, and giving shoes an entry in the bit of BaseArmor.cs that decides layers. Naturally, it didn't work, and I suspect I'm way off, since it's not mentioned in there which graphic the item uses or anything, missing a lot of the stuff that to me should be going into the creation of a new item. So, on looking further, it seems to me the items found in the /scripts/items/* are the base items which others are based off of, correct? Are aspects of these hardcoded, or can it all be done through scripts? How might I approach making a new armor type which functions as footwear?
Any help is greatly appreciated, and I'll post whatever I manage to cobble together if it ends up working (or maybe even if it doesn't )