Docs: Update comment for create_item (#4919)

This commit is contained in:
Scipio Wright
2025-04-24 09:38:30 -04:00
committed by GitHub
parent 29e6a10e42
commit a84366368f

View File

@@ -561,7 +561,7 @@ from .items import is_progression # this is just a dummy
def create_item(self, item: str) -> MyGameItem:
# this is called when AP wants to create an item by name (for plando) or when you call it from your own code
# this is called when AP wants to create an item by name (for plando, start inventory, item links) or when you call it from your own code
classification = ItemClassification.progression if is_progression(item) else ItemClassification.filler
return MyGameItem(item, classification, self.item_name_to_id[item], self.player)