• Add Review
  • Subscribe
  • Nominate
  • Submit Media
  • RSS

Can Equip



After a while, I finally decided to handle item usability this way. You can write what decides get equipped and not. You can have it rely on item stats, traits, attributes (which you can hide), and more. This is flexible enough to fit basically anything. This works on items and being able to use them, too.

You just have the derived statistic return 0 if the particular item can't be used. If you don't decide a function here or remove it, the item will be usable by anyone. This should make everything way easier in specific cases where you may add more players (or classes) later and you don't have to go through and update a bunch of checkboxes again.