update exclusion procedure for clarity

This commit is contained in:
espeon65536
2021-07-23 08:55:44 -05:00
committed by Fabian Dill
parent 12eba33dbf
commit 64c80c32f0
4 changed files with 5 additions and 11 deletions

View File

@@ -1104,7 +1104,7 @@ class Item():
world: Optional[MultiWorld] = None
game: str = "Generic"
type: str = None
can_be_excluded: bool = True # change manually if you want some non-advancement item to not be excluded
never_exclude = False # change manually to ensure that a specific nonprogression item never goes on an excluded location
pedestal_credit_text: str = "and the Unknown Item"
sickkid_credit_text: Optional[str] = None
magicshop_credit_text: Optional[str] = None
@@ -1118,8 +1118,6 @@ class Item():
self.player = player
self.code = code
self.can_be_excluded = not advancement
@property
def hint_text(self):
return getattr(self, "_hint_text", self.name.replace("_", " ").replace("-", " "))
@@ -1139,10 +1137,6 @@ class Item():
def __hash__(self):
return hash((self.name, self.player))
@property
def can_exclude(self) -> bool:
return not (self.advancement or self.smallkey or self.bigkey) and self.can_be_excluded
@property
def crystal(self) -> bool:
return self.type == 'Crystal'