From 9f3fdcffbe77509035e61a83026697bd53d47bf1 Mon Sep 17 00:00:00 2001 From: gymnast86 Date: Wed, 26 Aug 2026 23:09:51 -0700 Subject: [PATCH] explicitly define item list for item hints --- mods/randomizer/generator/logic/hints.cpp | 28 ++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/mods/randomizer/generator/logic/hints.cpp b/mods/randomizer/generator/logic/hints.cpp index 62e1c09f83..4a4ff28e14 100644 --- a/mods/randomizer/generator/logic/hints.cpp +++ b/mods/randomizer/generator/logic/hints.cpp @@ -526,17 +526,43 @@ namespace randomizer::logic::hints { } void HintGenerator::GenerateItemHints() { + + std::set itemHintItems = { + "Magic Armor", + "Zora Armor", + "Shadow Crystal", + "Progressive Wallet", + "Progressive Sword", + "Gale Boomerang", + "Spinner", + "Ball and Chain", + "Progressive Bow", + "Progressive Clawshot", + "Iron Boots", + "Progressive Dominion Rod", + "Lantern", + "Progressive Fishing Rod", + "Slingshot", + "Bomb Bag", + "Aurus Memo", + "Asheis Sketch", + "Progressive Mirror Shard", + "Progressive Fused Shadow", + }; + location::LocationPool possibleItemHintLocations{}; for (auto location : this->_world->GetAllLocations()) { // If the location is progression... // and has a major item... // and does not have an expected item... // and is not already hinted... + // and is part of our list of items that can be item hinted... // then it can be hinted as an item hint if (location->IsProgression() && location->GetCurrentItem()->IsMajor() && !location->HasExpectedItem() && - !location->IsHinted()) + !location->IsHinted() && + itemHintItems.contains(location->GetCurrentItem()->GetName())) { possibleItemHintLocations.push_back(location); }