Armour Restriction
Greener
Member Posts: 430
Short of editing each item file, how do you add an armour restriction to a kit or class?
0
Comments
1. Stat restrictions: Allow you to make an armor for a specific character that will make it difficult for others without the proper stats to use.
2. Race restrictions: As with stats restricts the armor to a specific race when the box is checked.
3. Class/kit restrictions: Same as race check the box of the specific class and/or kits.
A note from this though is if you use custom kits is that I know of no way to add them into the selection box as I think that is still hardcoded.
Edit: There's even a "disallow item type" opcode (181), but no easy way to use it. According to this thread it might well actually work though. Interesting.
Also it will be useless for armor restrictions, since there is only a general armor tag and not particular ones, so yeah, it had to be added separately, what should take some time to code, but it could be done.
Still, a good find that opens up some more possibilities.