This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| key_item_randomization [2024/07/14 02:21] – [Key item distribution] Updated for 4.6.0 wylem | key_item_randomization [2024/09/25 05:36] (current) – [Key item distribution] Updated for accuracy- thanks ScytheMarshall and Antidale wylem | ||
|---|---|---|---|
| Line 90: | Line 90: | ||
| * Reserve the remaining unselected summon/moon slots. | * Reserve the remaining unselected summon/moon slots. | ||
| * If '' | * If '' | ||
| - | | + | |
| * Generate a random number N from 0...1. | * Generate a random number N from 0...1. | ||
| * Determine the greatest integer K, where N < 1/(2^K). | * Determine the greatest integer K, where N < 1/(2^K). | ||
| + | - For each dungeon containing MIAB (monster-in-a-box) chests, | ||
| * Select (K + 2) random MIAB chests in the dungeon and add them to the pool (or all of them, if there are fewer than K + 2). | * Select (K + 2) random MIAB chests in the dungeon and add them to the pool (or all of them, if there are fewer than K + 2). | ||
| + | - Remove 3 MIABs from the pool, chosen at random. | ||
| * Reserve the remaining unused MIAB chests. | * Reserve the remaining unused MIAB chests. | ||
| * Randomly assign key items among the slots in the pool. | * Randomly assign key items among the slots in the pool. | ||
| Line 104: | Line 106: | ||
| From observation, | From observation, | ||
| - | To ease the difficulty for newer players, when generating a seed without any of the extended key item position flags (summon, moon, and traps), the randomizer has a 50/50 chance of forcing a Magma Key underworld route to be available. This will be the ' | + | To ease the difficulty for newer players, when generating a seed without any of the extended key item position flags (summon, moon, and MIABs), the randomizer has a 50/50 chance of forcing a Magma Key underworld route to be available. This will be the ' |
| ===== Safety checks ===== | ===== Safety checks ===== | ||
| Line 114: | Line 116: | ||
| **NOTE:** Even with this flag, it is still possible for the Magma Key to require the Hook: | **NOTE:** Even with this flag, it is still possible for the Magma Key to require the Hook: | ||
| * The Magma Key can be gated by the Rat Tail turn-in. | * The Magma Key can be gated by the Rat Tail turn-in. | ||
| - | * With the '' | + | * With the '' |
| * With the '' | * With the '' | ||
| Line 125: | Line 127: | ||
| Under '' | Under '' | ||
| - | Under '' | + | Under '' |
| Under '' | Under '' | ||
| - | * Unused | + | * Unused |
| * All other unused potential key item locations receive a random item from tier 6-8. | * All other unused potential key item locations receive a random item from tier 6-8. | ||