Hotfix for paired doors

Also made dashable filter work
This commit is contained in:
aerinon
2022-04-30 15:28:29 -06:00
parent ecf6a0bd10
commit ea745ff22e
5 changed files with 9 additions and 4 deletions

View File

@@ -1810,8 +1810,10 @@ ohko_forbidden = {
def filter_dashable_candidates(candidates, world): def filter_dashable_candidates(candidates, world):
forbidden_set = dashable_forbidden if world.timer in ['ohko', 'timed-ohko'] else ohko_forbidden forbidden_set = dashable_forbidden
return [x for x in candidates if x not in forbidden_set and x.dest not in forbidden_set] if world.timer in ['ohko', 'timed-ohko']:
forbidden_set = ohko_forbidden.union(dashable_forbidden)
return [x for x in candidates if x.name not in forbidden_set and x.dest.name not in forbidden_set]
def shuffle_bombable_dashable(bd_candidates, world, player): def shuffle_bombable_dashable(bd_candidates, world, player):

View File

@@ -31,7 +31,7 @@ from Utils import output_path, parse_player_names
from source.item.FillUtil import create_item_pool_config, massage_item_pool, district_item_pool_config from source.item.FillUtil import create_item_pool_config, massage_item_pool, district_item_pool_config
from source.tools.BPS import create_bps_from_data from source.tools.BPS import create_bps_from_data
__version__ = '1.0.2.0-v' __version__ = '1.0.2.1-v'
from source.classes.BabelFish import BabelFish from source.classes.BabelFish import BabelFish

View File

@@ -157,6 +157,9 @@ Same as above but both small keys and bigs keys of the dungeon are not allowed o
#### Volatile #### Volatile
* 1.0.2.1
* Fix for paired doors
* Fix for forbidding certain dashable doors (it actually does something this time)
* 1.0.2.0 * 1.0.2.0
* Updated baserom to bleeding edge * Updated baserom to bleeding edge
* Pottery and enemy SRAM re-located to final destination * Pottery and enemy SRAM re-located to final destination

2
Rom.py
View File

@@ -37,7 +37,7 @@ from source.dungeon.RoomList import Room0127
JAP10HASH = '03a63945398191337e896e5771f77173' JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = '8b87b7c4f37ab57463b93c5afd353299' RANDOMIZERBASEHASH = '490b6fa137b3f76a76d4e4905ddfb34b'
class JsonRom(object): class JsonRom(object):

Binary file not shown.