mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07:00
Unify Shops, Scrubs and Merchants price and hinting code (#4321)
* commiting to branch switch * shop,scrubs and merchant code unified * last cleanups * Update soh/soh/Enhancements/randomizer/hook_handlers.cpp Co-authored-by: Pepe20129 <72659707+Pepe20129@users.noreply.github.com> * attempt to fix reviews DOES NOT BUILD * TIL include order matters * Update soh/soh/Enhancements/randomizer/3drando/shops.cpp Co-authored-by: Pepe20129 <72659707+Pepe20129@users.noreply.github.com> * Update soh/soh/Enhancements/randomizer/3drando/shops.cpp Note to self, Don't code tired. *proceeds to ignore note* Co-authored-by: Angelo Bulfone <boomshroom@users.noreply.github.com> * fix typos * post merge * commiting to check something * probably cleaned up, needs a doublecheck * fix presets * address reviews * fix small shopsanity count oversights * undo rename --------- Co-authored-by: Pepe20129 <72659707+Pepe20129@users.noreply.github.com> Co-authored-by: Angelo Bulfone <boomshroom@users.noreply.github.com> Co-authored-by: Malkierian <malkierian@gmail.com>
This commit is contained in:
parent
a9fbd8243f
commit
10921b2ade
51 changed files with 1403 additions and 920 deletions
|
@ -1108,13 +1108,15 @@ void LoadSettings() {
|
|||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHOPSANITY) != RO_SHOPSANITY_OFF
|
||||
: false;
|
||||
showBeans = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MAGIC_BEANS) == RO_GENERIC_YES
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MERCHANTS) == RO_SHUFFLE_MERCHANTS_BEANS_ONLY ||
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MERCHANTS) == RO_SHUFFLE_MERCHANTS_ALL
|
||||
: true;
|
||||
showScrubs = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_SCRUBS) != RO_SCRUBS_OFF
|
||||
: false;
|
||||
showMerchants = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MERCHANTS) != RO_SHUFFLE_MERCHANTS_OFF
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MERCHANTS) == RO_SHUFFLE_MERCHANTS_ALL_BUT_BEANS ||
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MERCHANTS) == RO_SHUFFLE_MERCHANTS_ALL
|
||||
: true;
|
||||
showBeehives = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_BEEHIVES) == RO_GENERIC_YES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue