Files
Grinch-AP/worlds/stardew_valley/test/mods/TestSVE.py
Jérémie Bolduc 7d5693e0fb Stardew Valley: Move BaseTest out of __init__.py to comply with future conventions (#4991)
* move everything out of init; fix from imports and some typing errors

* why is there a change in multiserver

* fix some relative shits
2025-05-13 09:58:03 +02:00

30 lines
1.2 KiB
Python

from ..bases import SVTestBase
from ... import options
from ...mods.mod_data import ModNames
from ...strings.ap_names.mods.mod_items import SVEQuestItem
from ...strings.quest_names import ModQuest
from ...strings.region_names import SVERegion
class TestAuroraVineyard(SVTestBase):
options = {
options.Cropsanity.internal_name: options.Cropsanity.option_enabled,
options.Mods.internal_name: frozenset({ModNames.sve})
}
def test_need_tablet_to_do_quest(self):
self.collect("Starfruit Seeds")
self.collect("Bus Repair")
self.collect("Shipping Bin")
self.collect("Summer")
location_name = ModQuest.AuroraVineyard
self.assert_cannot_reach_location(location_name, self.multiworld.state)
self.collect(SVEQuestItem.aurora_vineyard_tablet)
self.assert_can_reach_location(location_name, self.multiworld.state)
def test_need_reclamation_to_go_downstairs(self):
region_name = SVERegion.aurora_vineyard_basement
self.assert_cannot_reach_region(region_name, self.multiworld.state)
self.collect(SVEQuestItem.aurora_vineyard_reclamation, 1)
self.assert_can_reach_region(region_name, self.multiworld.state)