Functioning Armor
No need for any property changing, all you need to do is drag the armor to a bodypart.
Armor can be applied to anything living. This means that (if your gonna make a mod with my code) you can make gorse armor. Armor automatically resizes to the scale of living things as well, meaning that you can put it on a giant.
Some pieces of armor have attachments. To put an attachment on armor, activate the attachment while it is near the armor it is supposed to attach to.
You can use my code however you want. The more, the better.
(Although I suggest you change some parts I'm really not the best coder)
The minimum comment length is 10 characters.