mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Add 5, 6 & 7 item shopsanity. (#4280)
* Format shops.cpp * Add 5, 6 & 7 item shopsanity * Guarantee a bombchu refill * Fish first shop item index * Clean up NonShopItems * Split count options * Improve item ordering Ensure potions, blue fire and fairy on shopsanity 6 and less. There are no hearts in the first 28 items (the ones from n64 rando). * Post-merge fixes
This commit is contained in:
parent
7110e40374
commit
84130b8046
17 changed files with 1095 additions and 892 deletions
|
@ -1101,12 +1101,11 @@ void EndFloatWindows() {
|
|||
}
|
||||
|
||||
void LoadSettings() {
|
||||
//If in randomzer (n64ddFlag), then get the setting and check if in general we should be showing the settings
|
||||
//If in randomzer, then get the setting and check if in general we should be showing the settings
|
||||
//If in vanilla, _try_ to show items that at least are needed for 100%
|
||||
|
||||
showShops = IS_RANDO ? (
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHOPSANITY) != RO_SHOPSANITY_OFF &&
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHOPSANITY) != RO_SHOPSANITY_ZERO_ITEMS)
|
||||
showShops = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHOPSANITY) != RO_SHOPSANITY_OFF
|
||||
: false;
|
||||
showBeans = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MAGIC_BEANS) == RO_GENERIC_YES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue