Missing Rarity defaults to 4
If rarity is not set, it defaults to 4 (on units graphics).
It probably should default to something which denotes something is wrong or rarity is unknown, and also produce log (traceback.print_exc()
or stdout
) so it can be fixed.