@@ -354,6 +354,38 @@ static const std::set<GameItem> junkItems = {
354354 GameItem::TinglesChart
355355};
356356
357+ static const std::set<GameItem> junkConsumables = {
358+ GameItem::HeartDrop,
359+ GameItem::GreenRupee,
360+ GameItem::BlueRupee,
361+ GameItem::YellowRupee,
362+ GameItem::RedRupee,
363+ GameItem::PurpleRupee,
364+ GameItem::OrangeRupee,
365+ GameItem::SmallMagicDrop,
366+ GameItem::LargeMagicDrop,
367+ GameItem::FiveBombs,
368+ GameItem::TenBombs,
369+ GameItem::TwentyBombs,
370+ GameItem::ThirtyBombs,
371+ GameItem::SilverRupee,
372+ GameItem::TenArrows,
373+ GameItem::TwentyArrows,
374+ GameItem::ThirtyArrows,
375+ GameItem::Fairy,
376+ GameItem::YellowRupee2, // joke message
377+ GameItem::ThreeHearts,
378+ GameItem::JoyPendant,
379+ GameItem::SkullNecklace,
380+ GameItem::BokoBabaSeed,
381+ GameItem::GoldenFeather,
382+ GameItem::KnightsCrest,
383+ GameItem::RedChuJelly,
384+ GameItem::GreenChuJelly,
385+ GameItem::AllPurposeBait,
386+ GameItem::HyoiPear,
387+ };
388+
357389static const std::set<GameItem> dungeonItems = {
358390 GameItem::DRCSmallKey,
359391 GameItem::DRCBigKey,
@@ -405,6 +437,7 @@ class Item
405437 void setName (const std::string& language, const Text::Type& type, const std::string& name_);
406438 void setAsJunkItem ();
407439 bool isJunkItem () const ;
440+ bool isConsumableJunkItem () const ;
408441 bool wasAlwaysJunkItem () const ;
409442 bool isDungeonItem () const ;
410443 bool isMap () const ;
@@ -424,6 +457,7 @@ class Item
424457 std::unordered_set<Location*> chainLocations = {};
425458 bool dungeonItem = false ;
426459 bool junkItem = false ;
460+ bool junkConsumable = false ;
427461 bool originallyJunk = false ;
428462 World* world = nullptr ; // The world that this item is *FOR*
429463};
0 commit comments