This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| key_item_randomization [2023/03/21 01:25] – [Safety checks] Clarification wylem | key_item_randomization [2024/09/25 05:36] (current) – [Key item distribution] Updated for accuracy- thanks ScytheMarshall and Antidale wylem | ||
|---|---|---|---|
| Line 73: | Line 73: | ||
| Setting '' | Setting '' | ||
| - | ===== Key items in trapped chests | + | ===== Key items in monster boxes ===== |
| - | Setting '' | + | Setting '' |
| - | The 9 trapped chests | + | The 9 MIABs inside the Lunar Subterrane will be excluded from the key item pool unless '' |
| ===== Key item distribution ===== | ===== Key item distribution ===== | ||
| Line 89: | Line 89: | ||
| * Add K more of the available summon/moon slots to the pool. | * Add K more of the available summon/moon slots to the pool. | ||
| * 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, |
| - | * Reserve the remaining unused | + | |
| + | - Remove 3 MIABs from the pool, chosen at random. | ||
| + | * Reserve the remaining unused | ||
| * Randomly assign key items among the slots in the pool. | * Randomly assign key items among the slots in the pool. | ||
| - | * The remaining unassigned slots in the pool, as well as the reserved slots from the summon/ | + | * The remaining unassigned slots in the pool, as well as the reserved slots from the summon/ |
| Free Enterprise uses a random fill algorithm, verifying that each randomization is valid, and retrying if that test fails. | Free Enterprise uses a random fill algorithm, verifying that each randomization is valid, and retrying if that test fails. | ||
| 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 123: | Line 125: | ||
| Potential key item locations that are not assigned a key item instead deliver an alternate reward, dependent on treasure flag settings. (Also see [[Treasure randomization]].) | Potential key item locations that are not assigned a key item instead deliver an alternate reward, dependent on treasure flag settings. (Also see [[Treasure randomization]].) | ||
| - | 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. | ||
| Under '' | Under '' | ||
| + | |||
| + | Non-key-item rewards under '' | ||
| ===== Vanilla key items ===== | ===== Vanilla key items ===== | ||