How the tier is determined for Gasha rings

   1:  every gasha spot is eqivalent to each other, meaning
       there are no longer "good" and "bad" spots. they all
       produce the same tiers based on the formula below.

   2:  the first gasha nut is always a heart piece, while all
       other harvests will ONLY ever produce rings.

   3:  tiers in the table below are ordered from worst to best, 
       with the secret tier4 only being available once all the 
       other tiers are completed.

   4:  each tier has 11 rings(except the secret tier4), with
       each ring having different weights to determine its
       rarity within that tier.

   5:  the way tiers are chosen is first the lowest guaranteed
       tier is determined(i.e. the highest tier that the kill
       count is above its maximum). for each tier that the kill
       count is between the min and max, there is a 50% chance
       to increment to that tier. This means that the chance to
       get a given tier is at most 50%, but could be as low as
       6.25%(if your kill count falls within all 4 tiers).

       TL;DR the odds of getting the highest tier significantly
       increase as you skip past tiers, until it's guaranteed.
       For example, having 110 kills would guarantee tier0, but
       45 would be an equal chance for ONLY a tier3/tier2 ring.

  +---------+------------------------------------------------------+
  | RingTier|  Kills needed to fall within a tier(multiples of 5)  |
  +---------+------------------------------------------------------+
  |         | 0   25   50   75   100  125  150  175  200  225  250 |
  |         | |    |    |    |    |    |    |    |    |    |    |  |
  |         |\|/  \|/  \|/  \|/  \|/  \|/  \|/  \|/  \|/  \|/  \|/ |
  +---------+------------------------------------------------------+
  |  TIER3  |         #######     |                                |
  +---------+------------------------------------------------------+
  |  TIER2  |         |########## |                                |
  +---------+------------------------------------------------------+
  |  TIER1  |         | #############                              |
  +---------+------------------------------------------------------+
  |  TIER0  |         |  ######################################### |
  +---------+------------------------------------------------------+
  |         |   /|\  /|\  /|\  /|\  /|\  /|\  /|\  /|\  /|\  /|\   |
  |         |    |    |    |    |    |    |    |    |    |    |    |
  |         |   15   40   65   90   115  140  165  190  215  240   |
  +---------+------------------------------------------------------+


How the "guaranteed-new" chance is determined for Gasha rings

   1:  if it's decided that you will receive a guaranteed new ring,
       each ring in the selected tier will be checked to see if
       you have it(randomly, of course). the probability weights of
       each ring in the tier are ignored while searching like this.

       if it can't find one in that tier, it will bump to the next
       lowest tier and try again. this will continue till the it
       hits the lowest tier. if it went from tier0 to tier3 and
       still couldn't find one, it will try the secret tier4(has
       the green and gold rings).

       this essentially means the system does a best-effort attempt
       to give you a ring within the tiers you're eligible for, but
       won't go outside that(except in the tier4 case).

   2:  a random ring always has at least a 6% chance to guarantee
       it is new(even if it isn't received through a gasha tree).

   3:  the "gasha maturity" value now exclusively determines the
       chance to guarantee a ring is new. it does nothing else.

   4:  when harvesting a gasha nut, the gasha maturity is reduced
       by roughly 25%. by "roughly", I mean the most significant
       byte is reduced by 25%(rounded down) of its value, while the
       low byte is zeroed out. This leaves room for it to lower by
       by a bit more or less than 25%, but not significantly.

   5:  the [0,1] chance to guarantee is calculated as follows:

           ((gashaMaturity*0.75)/16 + 15)/255

       the 0.75 is due to the gasha maturity being reduced first
       this means if your gasha maturity is at least 5120 before
       harvesting, you have a 100% chance to guarantee a new ring.

   6:  here is a reference for what causes the gasha maturity to
       increase(NOTE: some values have been changed for this mod).
         * using shovel increases by 1
         * getting essence increases by 250
         * getting heart piece increases by 100
         * getting trade item increases by 200
         * getting a heart refill pickup increases by 2
         * moving screens increases by 5(except load doors)
         * playing subrosian bros minigame increases by 30
         * playing goron dance hall minigame increases by 30

What each ring tier contains

    Each tier contains 11 rings(except the last which contains 2). 
    Each ring is given a weight, which you can think of as the number
    of times that ring appears in the tier. A ring with a weight of
    4 is 2x as common as a ring weighted 2, and 4x a ring weighted 1.

    Tier 0 ring weights
        # good-buffs/good-utility
        Energy Ring:       1
        Charge Ring:       1
        Alchemy Ring:      1
        Heart Ring L-2:    1
        Light Ring L-2:    1
        Red Luck Ring:     2
        Blue Luck Ring:    2
        Green Luck Ring:   2
        Mystic Ring:       3
        Expert's Ring:     3
        Fairy's Ring:      3

    Tier 1 ring weights
        # mod-buffs/high-utility
        Blast Ring:        1
        Heart Ring L-1:    1
        Light Ring L-1:    1
        Power Ring L-2:    2
        Armor Ring L-2:    2
        Red Holy Ring:     2
        Blue Holy Ring:    2
        Green Holy Ring:   2
        Steadfast Ring:    3
        Roc's Ring:        4
        Rang Ring L-2:     5

    Tier 2 ring weights
        # bad-buffs/mod-utility
        Red Joy Ring:      1
        Bomber's Ring:     1
        Bombproof Ring:    1
        Hiker's Ring:      1
        Armor Ring L-1:    2
        Blue Joy Ring:     3
        Rang Ring L-1:     4
        Zora Ring:         3
        Gasha Ring:        4
        Red Curse Ring:    5
        Blue Curse Ring:   5

    Tier 3 ring weights
        # cosmetic/low-utility
        Peace Ring:        1
        Maple's Ring:      1
        Green Joy Ring:    1
        First Gen Ring:    2
        GB Color Ring:     4
        Fist Ring:         5
        Toss Ring:         5
        Octo Ring:         5
        Moblin Ring:       5
        Like Like Ring:    5
        Subrosian Ring:    5

    Tier 4 ring weights
        # best-buffs
        Green Ring:        1
        Gold Ring:         1