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

@@ -5,7 +5,7 @@ import copy
import os
import threading
import base64
from typing import Set, List, TextIO
from typing import Set, TextIO
from worlds.sm.variaRandomizer.graph.graph_utils import GraphUtils
@@ -735,7 +735,8 @@ class SMLocation(Location):
class SMItem(Item):
game = "Super Metroid"
type: str
def __init__(self, name, classification, type, code, player: int = None):
def __init__(self, name, classification, type: str, code, player: int):
super(SMItem, self).__init__(name, classification, code, player)
self.type = type