mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Docs: Update comment for create_item (#4919)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user