Core: cleanup Item classes (#849)

This commit is contained in:
black-sliver
2022-08-06 00:49:54 +02:00
committed by GitHub
parent dd6e212519
commit f6da81ac70
12 changed files with 75 additions and 75 deletions

View File

@@ -573,8 +573,10 @@ class SMZ3Location(Location):
class SMZ3Item(Item):
game = "SMZ3"
type: ItemType
item: Item
def __init__(self, name, classification, type, code, player: int = None, item=None):
def __init__(self, name, classification, type: ItemType, code, player: int, item: Item):
super(SMZ3Item, self).__init__(name, classification, code, player)
self.type = type
self.item = item
super(SMZ3Item, self).__init__(name, classification, code, player)