MMBN3: Small Bug Fixes (#2282)

Co-authored-by: el-u <109771707+el-u@users.noreply.github.com>
Co-authored-by: Zach Parks <zach@alliware.com>
This commit is contained in:
digiholic 2023-11-24 10:14:05 -07:00 committed by GitHub
parent a18fb0a14f
commit 4641456ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class MMBN3CommandProcessor(ClientCommandProcessor):
class MMBN3Context(CommonContext): class MMBN3Context(CommonContext):
command_processor = MMBN3CommandProcessor command_processor = MMBN3CommandProcessor
game = "MegaMan Battle Network 3" game = "MegaMan Battle Network 3"
items_handling = 0b001 # full local items_handling = 0b101 # full local except starting items
def __init__(self, server_address, password): def __init__(self, server_address, password):
super().__init__(server_address, password) super().__init__(server_address, password)

View File

@ -208,7 +208,7 @@ overworlds = [
LocationData(LocationName.ACDC_Class_5B_Bookshelf, 0xb3109e, 0x200024c, 0x40, 0x737634, 235, [5, 6]), LocationData(LocationName.ACDC_Class_5B_Bookshelf, 0xb3109e, 0x200024c, 0x40, 0x737634, 235, [5, 6]),
LocationData(LocationName.SciLab_Garbage_Can, 0xb3109f, 0x200024c, 0x8, 0x73AC20, 222, [4, 5]), LocationData(LocationName.SciLab_Garbage_Can, 0xb3109f, 0x200024c, 0x8, 0x73AC20, 222, [4, 5]),
LocationData(LocationName.Yoka_Inn_Jars, 0xb310a0, 0x200024c, 0x80, 0x747B1C, 237, [4, 5]), LocationData(LocationName.Yoka_Inn_Jars, 0xb310a0, 0x200024c, 0x80, 0x747B1C, 237, [4, 5]),
LocationData(LocationName.Yoka_Zoo_Garbage, 0xb310a1, 0x200024d, 0x8, 0x749444, 226, [4]), LocationData(LocationName.Yoka_Zoo_Garbage, 0xb310a1, 0x200024d, 0x8, 0x749444, 226, [5]),
LocationData(LocationName.Beach_Department_Store, 0xb310a2, 0x2000161, 0x40, 0x74C27C, 196, [0, 1]), LocationData(LocationName.Beach_Department_Store, 0xb310a2, 0x2000161, 0x40, 0x74C27C, 196, [0, 1]),
LocationData(LocationName.Beach_Hospital_Plaque, 0xb310a3, 0x200024c, 0x4, 0x754394, 220, [3, 4]), LocationData(LocationName.Beach_Hospital_Plaque, 0xb310a3, 0x200024c, 0x4, 0x754394, 220, [3, 4]),
LocationData(LocationName.Beach_Hospital_Pink_Door, 0xb310a4, 0x200024d, 0x4, 0x754D00, 220, [4]), LocationData(LocationName.Beach_Hospital_Pink_Door, 0xb310a4, 0x200024d, 0x4, 0x754D00, 220, [4]),

View File

@ -15,6 +15,7 @@ from .Options import MMBN3Options
from .Regions import regions, RegionName from .Regions import regions, RegionName
from .Names.ItemName import ItemName from .Names.ItemName import ItemName
from .Names.LocationName import LocationName from .Names.LocationName import LocationName
from worlds.generic.Rules import add_item_rule
class MMBN3Settings(settings.Group): class MMBN3Settings(settings.Group):
@ -91,6 +92,9 @@ class MMBN3World(World):
loc = MMBN3Location(self.player, location, self.location_name_to_id.get(location, None), region) loc = MMBN3Location(self.player, location, self.location_name_to_id.get(location, None), region)
if location in self.excluded_locations: if location in self.excluded_locations:
loc.progress_type = LocationProgressType.EXCLUDED loc.progress_type = LocationProgressType.EXCLUDED
# Do not place any progression items on WWW Island
if region_info.name == RegionName.WWW_Island:
add_item_rule(loc, lambda item: not item.advancement)
region.locations.append(loc) region.locations.append(loc)
self.multiworld.regions.append(region) self.multiworld.regions.append(region)
for region_info in regions: for region_info in regions: