Rogue Legacy: Fix early vendors and architect not being added to pool. (#1314)

This commit is contained in:
Zach Parks 2022-12-10 17:24:05 -06:00 committed by GitHub
parent 78a18dee4e
commit ce42fda85f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,8 @@
from typing import List from typing import List
from BaseClasses import Tutorial from BaseClasses import Tutorial
from worlds.AutoWorld import World, WebWorld from worlds.AutoWorld import WebWorld, World
from .Items import RLItem, RLItemData, event_item_table, item_table, get_items_by_category from .Items import RLItem, RLItemData, event_item_table, get_items_by_category, item_table
from .Locations import RLLocation, location_table from .Locations import RLLocation, location_table
from .Options import rl_options from .Options import rl_options
from .Regions import create_regions from .Regions import create_regions
@ -77,7 +77,6 @@ class RLWorld(World):
continue continue
if self.get_setting("architect") == "early": if self.get_setting("architect") == "early":
self.multiworld.local_early_items[self.player]["Architect"] = 1 self.multiworld.local_early_items[self.player]["Architect"] = 1
continue
# Blacksmith and Enchantress # Blacksmith and Enchantress
if name == "Blacksmith" or name == "Enchantress": if name == "Blacksmith" or name == "Enchantress":
@ -87,7 +86,6 @@ class RLWorld(World):
if self.get_setting("vendors") == "early": if self.get_setting("vendors") == "early":
self.multiworld.local_early_items[self.player]["Blacksmith"] = 1 self.multiworld.local_early_items[self.player]["Blacksmith"] = 1
self.multiworld.local_early_items[self.player]["Enchantress"] = 1 self.multiworld.local_early_items[self.player]["Enchantress"] = 1
continue
# Haggling # Haggling
if name == "Haggling" and self.get_setting("disable_charon"): if name == "Haggling" and self.get_setting("disable_charon"):