OoTRandomizer / OoT-Randomizer

A randomizer for Ocarina of Time.
Other
403 stars 233 forks source link

Allow Random Starting Items #2246

Closed jdunn596 closed 2 months ago

jdunn596 commented 3 months ago

This PR aims to allow users to start with a specified amount of random starting items.

When enabling add_random_starting_items in the "Starting Items" tab, you will be able to start with a configurable amount of items on top of whatever is selected in the starting_inventory, starting_songs, and starting_equipment tables. Remove all entries in these tables to truly begin with random items.

The scale element add_random_starting_items_amount determines how many starting items to add.

Logic checks are in place to prevent duplicate item selections, prevent failed generations (ie: trade items being selected with trade shuffle disabled), ensure items in shared item slots don't eat 2 starting items (ie: giant's knife and biggoron sword), and ensure items such as ocarina notes don't eat slots with note shuffle disabled.

I also added basic .sav test files to ensure spoilers would generate successfully

jdunn596 commented 2 months ago

okay I tried to rebase this and something went terribly wrong lol so I'm going to close it