mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
ror2: correctly mark Dio's as progression and mark equipment as useful
This commit is contained in:

committed by
Fabian Dill

parent
a7e8c82633
commit
10b3803a7f
@@ -115,9 +115,11 @@ class RiskOfRainWorld(World):
|
||||
|
||||
def create_item(self, name: str) -> Item:
|
||||
item_id = item_table[name]
|
||||
item = RiskOfRainItem(name,
|
||||
ItemClassification.useful if name == "Dio's Best Friend" else ItemClassification.filler,
|
||||
item_id, self.player)
|
||||
item = RiskOfRainItem(name, ItemClassification.filler, item_id, self.player)
|
||||
if name == 'Dio\'s Best Friend':
|
||||
item.classification = ItemClassification.progression
|
||||
elif name == 'Equipment':
|
||||
item.classification = ItemClassification.useful
|
||||
return item
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user