Skip to content

Commit eb30a11

Browse files
committed
vanilla helm doors
1 parent 31ddeb9 commit eb30a11

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

archipelago/Items.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from types import SimpleNamespace
99
from typing import TYPE_CHECKING
1010

11-
from archipelago.Options import Goal, ShopPrices
11+
from archipelago.Options import Goal, ShopPrices, HelmDoor1Item, HelmDoor2Item
1212
from randomizer.Enums.Levels import Levels
1313
from randomizer.Lists import Item as DK64RItem
1414
from 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.

0 commit comments

Comments
 (0)