Automate dumpSprites.py - and then remove it

This commit is contained in:
Fabian Dill
2021-07-20 18:23:06 +02:00
parent 3bfb98a1c6
commit b53c5593a8
351 changed files with 54 additions and 1762 deletions

View File

@@ -1111,16 +1111,18 @@ class Location():
def hint_text(self):
return getattr(self, "_hint_text", self.name.replace("_", " ").replace("-", " "))
class Item():
location: Optional[Location] = None
world: Optional[MultiWorld] = None
game: str = "Generic"
type: str = None
pedestal_credit_text = "and the Unknown Item"
sickkid_credit_text = None
magicshop_credit_text = None
zora_credit_text = None
fluteboy_credit_text = None
pedestal_credit_text: str = "and the Unknown Item"
sickkid_credit_text: Optional[str] = None
magicshop_credit_text: Optional[str] = None
zora_credit_text: Optional[str] = None
fluteboy_credit_text: Optional[str] = None
code: Optional[str] = None # an item with ID None is called an Event, and does not get written to multidata
def __init__(self, name: str, advancement: bool, code: Optional[int], player: int):
self.name = name