# Rusted Key

Rusted Key | |||
---|---|---|---|

Gain access to a Rusty Lockbox that contains treasure. | |||

A hidden cache containing an item will appear in a random location on each stage. (Increases rarity of the item per stack). | |||

Rarity | Common | ||

Category | Utility AIBlacklist | ||

Unlock | Keyed Up | ||

ID | 60 | ||

Stats | |||

Stat | Value | Stack | Add |

Chance | - | Special | - |

The **Rusted Key** is a new item in Risk of Rain 2.

Whenever a new stage is entered, a Rusty Lockbox will spawn with the rarity of the contents based on how many Rusted Keys the entire party had when entering the stage.

This item is unique in the fact that it doesn't modify the current stage and is quantified by all keys among the team rather than an individual.

The key is **not** consumed upon opening a Rusty Lockbox, and losing the key using a 3D Printer will not prevent the Rusty Lockbox in that level from being opened.

## Math[edit | edit source]

To understand how the Key affects the chance on a specific rarity of item, one first needs to understand how a normal chest chooses an item: A normal chest has 80 chances for a common item, 20 for an uncommon item and finally 1 chance for a Legendary item. Then the chest, during its creation, uses this weight selection to select the rarity of the item. After choosing the rarity, it chooses an item at random from all available items from that tier.

The Rusted Keys multiply the chances of getting an Uncommon tier item by the amount of keys the team has.

The Rusted Keys multiply the chances of getting a Legendary tier item by the amount of keys the team has **squared**.

This equation can be used to help you find the rarity of each tier of item:

`80 + 20x + x`

^{2} = y

x = The number of keys in the team's inventory

y = Net rarity

A specific tier of rarity can be found by dividing its rarity value by the net rarity. For example, say you have x = 3 keys in your inventory. The equation has the net rarity of items equaling 149. The rarity of common items is 80/149, where 80 is the rarity value of common items and 149 is the net rarity. Divide it out, and it is approximately equal to 0.5369, meaning that 53.69% of items collected from rusty lockboxes will be common tier. For uncommon tier items, it would be 20x/149, which would be approximately 0.4027 because you have 3 keys. This means that 40.27% of items also collected from rusty lockboxes would be uncommon. For legendary items, you would use x^{2}/149, which would give you about 0.0604, meaning that 6.04% of items found would be legendary. Use the equations below and the one above as a system of equations to find out the rarity of each tier of items:

80/y = Rarity of common tier items

x(20)/y = Rarity of uncommon tier items

(x^2)/y = Rarity of legendary tier items

All variables mean the same things as they mean in the first equation. Be sure to use the first equation to find the value of y.

### Table[edit | edit source]

**Chance of each rarity:**

Keys | Common | Uncommon | Legendary |
---|---|---|---|

1 | 79.21% | 19.80% | 0.99% |

2 | 64.52% | 32.26% | 3.23% |

3 | 53.69% | 40.27% | 6.04% |

4 | 45.45% | 45.45% | 9.09% |

5 | 39.02% | 48.78% | 12.20% |

6 | 33.90% | 50.85% | 15.25% |

7 | 29.74% | 52.04% | 18.22% |

8 | 26.32% | 52.63% | 21.05% |

9 | 23.46% | 52.79% | 23.75% |

10 | 21.05% | 52.63% | 26.32% |

20 | 9.09% | 45.45% | 45.45% |

25 | 6.64% | 41.49% | 51.87% |

50 | 2.23% | 27.93% | 69.83% |

100 | 0.66% | 16.56% | 82.78% |

200 | 0.18% | 9.07% | 90.74% |

500 | 0.03% | 3.84% | 96.12% |

1000 | 0.01% | 1.96% | 98.03% |

### Graph[edit | edit source]

You can also use this graph made using Desmos Graphing Calculator (or this) to see the rarity of each tier of items considering how many Rusted Keys you have.

## Lore[edit | edit source]

Order: Key Tracking Number: 12****** Estimated Delivery: 01/21/2056 Shipping Method: Standard Shipping Address: |||||||, Druid Hills, Earth Shipping Details: I don't trust UESC. Not one bit. Their Security Chests? Full of overrides and backdoors- I've got a cousin working in their factory, and they've got all kinds of weird things going on in those chests. I've seen so many of them in auctions - for the lost and unclaimed ones - and you just pay money, and it springs open on the spot. Are you kidding me? Anyways, I'm sending you exactly what I said I would - but it's too important to leave the security up to the UESC. So I'm sending the key to you - and the lockbox to Margaret. Like a two-factor authentication. Let me know when you get this.