Fix to #862
Randomised Powerup formula
Fix for #861
fixed declare residency bugs
more residency fixes
Advancement towards PUP Application

A few PUPS can now be applied.
Some effect names do not match the buff.iff table yet
master merge
merge conflict resolved
Merge pull request #867 from CharonInferar/ReverseEngineering

Advancement toward PUP application