mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-24 06:41:52 -05:00
Merge pull request #872 from briaguya-ai/fix-starting-inventory
fix starting inventory
This commit is contained in:
commit
76215b8fc6
@ -425,11 +425,11 @@ static void WriteStartingInventory() {
|
||||
// doesn't work, and because it'd be bad to set every single possible starting
|
||||
// inventory item as "false" in the json, we're just going to check
|
||||
// to see if the name is one of the 3 we're using rn
|
||||
if(setting->GetName() == "Deku Shield" || setting->GetName() == "Kokiri Sword" || setting->GetName() == "Ocarina") {
|
||||
jsonData["settings"]["Start With " + setting->GetName()] = setting->GetSelectedOptionText();
|
||||
}
|
||||
|
||||
if (setting->GetName() == "Start with Consumables" || setting->GetName() == "Start with Max Rupees") {
|
||||
if (setting->GetName() == "Start with Consumables" ||
|
||||
setting->GetName() == "Start with Max Rupees" ||
|
||||
setting->GetName() == "Start with Fairy Ocarina" ||
|
||||
setting->GetName() == "Start with Kokiri Sword" ||
|
||||
setting->GetName() == "Start with Deku Shield") {
|
||||
jsonData["settings"][setting->GetName()] = setting->GetSelectedOptionText();
|
||||
}
|
||||
}
|
||||
|
@ -1395,9 +1395,9 @@ std::unordered_map<std::string, RandomizerSettingKey> SpoilerfileSettingNameToEn
|
||||
{ "Open Settings:Token Count", RSK_RAINBOW_BRIDGE_TOKEN_COUNT },
|
||||
{ "Open Settings:Random Ganon's Trials", RSK_RANDOM_TRIALS },
|
||||
{ "Open Settings:Trial Count", RSK_TRIAL_COUNT },
|
||||
{ "Start With Deku Shield", RSK_STARTING_DEKU_SHIELD },
|
||||
{ "Start With Kokiri Sword", RSK_STARTING_KOKIRI_SWORD },
|
||||
{ "Start With Ocarina", RSK_STARTING_OCARINA },
|
||||
{ "Start with Deku Shield", RSK_STARTING_DEKU_SHIELD },
|
||||
{ "Start with Kokiri Sword", RSK_STARTING_KOKIRI_SWORD },
|
||||
{ "Start with Fairy Ocarina", RSK_STARTING_OCARINA },
|
||||
{ "Shuffle Dungeon Items:Maps/Compasses", RSK_STARTING_MAPS_COMPASSES },
|
||||
{ "Shuffle Dungeon Items:Ganon's Boss Key", RSK_GANONS_BOSS_KEY },
|
||||
{ "Misc Settings:Gossip Stone Hints", RSK_GOSSIP_STONE_HINTS },
|
||||
|
Loading…
x
Reference in New Issue
Block a user