Hollow Knight: Adding Godhome Goal Logic (#2952)

This commit is contained in:
qwint
2024-04-09 14:12:50 -05:00
committed by GitHub
parent 14437d653f
commit 32c92e03e7
5 changed files with 73 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
from ..generic.Rules import set_rule, add_rule
from ..AutoWorld import World
from .GeneratedRules import set_generated_rules
from .GodhomeData import set_godhome_rules
from typing import NamedTuple
@@ -39,6 +40,7 @@ def hk_set_rule(hk_world: World, location: str, rule):
def set_rules(hk_world: World):
player = hk_world.player
set_generated_rules(hk_world, hk_set_rule)
set_godhome_rules(hk_world, hk_set_rule)
# Shop costs
for location in hk_world.multiworld.get_locations(player):