File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 88from types import SimpleNamespace
99from typing import TYPE_CHECKING
1010
11- from archipelago .Options import Goal , ShopPrices
11+ from archipelago .Options import Goal , ShopPrices , HelmDoor1Item , HelmDoor2Item
1212from randomizer .Enums .Levels import Levels
1313from randomizer .Lists import Item as DK64RItem
1414from randomizer .Enums .Items import Items as DK64RItems
@@ -116,6 +116,12 @@ def setup_items(world: "DK64World") -> typing.List[DK64Item]:
116116 if world .options .coin_door_item .value >= 2 : # Any requirement (random or specific)
117117 helm_door_required_types .add (world .spoiler .settings .coin_door_item )
118118
119+ # Handle vanilla helm door requirements
120+ if world .options .crown_door_item .value == HelmDoor1Item .option_vanilla :
121+ helm_door_required_types .add (BarrierItems .Crown )
122+ if world .options .coin_door_item .value == HelmDoor2Item .option_vanilla :
123+ helm_door_required_types .add (BarrierItems .CompanyCoin )
124+
119125 for item_id , dk64r_item in DK64RItem .ItemList .items ():
120126 name = use_original_name_or_trap_name (dk64r_item )
121127 # Edit the progression on an item-by-item basis.
You can’t perform that action at this time.
0 commit comments