I want to write a script that assigns a specific "Condition" rating to every piece of armor. For instance, a freshly crafted platemail breastplate will be at 100%, but after the skill "Cleave Armor" is used against it, the condition drops by a variable amount (say 10 to 20%) and ends up being 87%. In its reduced condition, the armor only offers 87% protection.
I believe I can code most of this, but I have no idea how to isolate a piece of armor. For instance, if I have 3 chainmail coifs in my inventory, how do I specify that the first is at 74%, the second 42%, and the third 100%? By default, does RMXP even keep track of individual instances of armor, weapons, and items?
Thanks for your help! When this script is polished off, I'll post it for all to use.
-tuatha
I believe I can code most of this, but I have no idea how to isolate a piece of armor. For instance, if I have 3 chainmail coifs in my inventory, how do I specify that the first is at 74%, the second 42%, and the third 100%? By default, does RMXP even keep track of individual instances of armor, weapons, and items?
Thanks for your help! When this script is polished off, I'll post it for all to use.
-tuatha