Core: move multiple Item properties into a single Flag (#638)

This commit is contained in:
Fabian Dill
2022-06-17 03:23:27 +02:00
committed by GitHub
parent 5be00e28dd
commit 6c525e1fe6
45 changed files with 559 additions and 493 deletions

View File

@@ -249,7 +249,7 @@ def ShopSlotFill(world):
if location.item.game != "A Link to the Past":
if location.item.advancement:
price = world.random.randrange(8, 56)
elif location.item.never_exclude:
elif location.item.useful:
price = world.random.randrange(4, 28)
else:
price = world.random.randrange(2, 14)