File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,8 +202,18 @@ def get_warnings(self):
202202
203203 # 2. Items with no sink
204204 for item_name in produced_items :
205- if item_name not in consumed_items and item_name in items and items [item_name ]["ItemType" ] not in ["Currency" , "KeyItem" , "Consumable" ]:
206- warnings .append ({ "type" : "Item" , "name" : item_name , "msg" : "Has source but no sink (nothing to spend it on)." })
205+ # An item has a sink if:
206+ # - It's consumed by something (quest, refinement, cadence)
207+ # - It's a special type (Currency, KeyItem, Consumable)
208+ # - It can be JUNCTIONED (has augments)
209+ has_sink = (
210+ item_name in consumed_items or
211+ (item_name in items and items [item_name ]["ItemType" ] in ["Currency" , "KeyItem" , "Consumable" ]) or
212+ (item_name in items and len (items [item_name ].get ("Augments" , [])) > 0 )
213+ )
214+
215+ if not has_sink :
216+ warnings .append ({ "type" : "Item" , "name" : item_name , "msg" : "Has source but no sink (nothing to spend it on and cannot be junctioned)." })
207217
208218 # 3. Useless recurring quests
209219 for q in quests :
You can’t perform that action at this time.
0 commit comments