mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-13 23:03:30 -07:00
## What is this fixing or adding? Major content update for Stardew Valley ## How was this tested? One large-scale public Beta on the archipelago server, plus several smaller private asyncs and test runs You can go to https://github.com/agilbert1412/StardewArchipelago/releases to grab the mod (latest 4.x.x version), the supported mods and the apworld, to test this PR ## New Features: - Festival Checks [Easy mode or Hard Mode] - Special Orders [Both Board and Qi] - Willy's Boat - Ginger Island Parrots - TV Channels - Trap Items [Available in various difficulty levels] - Entrance Randomizer: Buildings and Chaos - New Fishsanity options: Exclude Legendaries, Exclude Hard fish, Only easy fish - Resource Pack overhaul [Resource packs are now more enjoyable and varied] - Goal: Greatest Walnut Hunter [Find every single Golden Walnut] - Goal: Perfection [Achieve Perfection] - Option: Profit Margin [Multiplier over all earnings] - Option: Friendsanity Heart Size [Reduce clutter from friendsanity hearts] - Option: Exclude Ginger Island - will exclude many locations and items to generate a playthrough that does not go to the island - Mod Support [Curated list of mods] ## New Contributors: @Witchybun for the mod support --------- Co-authored-by: Witchybun <embenham05@gmail.com> Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
56 lines
1.8 KiB
Python
56 lines
1.8 KiB
Python
from BaseClasses import MultiWorld
|
|
from .option_checks import is_setting, assert_is_setting
|
|
from ... import options
|
|
from .. import SVTestBase
|
|
|
|
|
|
def is_goal(multiworld: MultiWorld, goal: int) -> bool:
|
|
return is_setting(multiworld, options.Goal.internal_name, goal)
|
|
|
|
|
|
def is_bottom_mines(multiworld: MultiWorld) -> bool:
|
|
return is_goal(multiworld, options.Goal.option_bottom_of_the_mines)
|
|
|
|
|
|
def is_not_bottom_mines(multiworld: MultiWorld) -> bool:
|
|
return not is_bottom_mines(multiworld)
|
|
|
|
|
|
def is_walnut_hunter(multiworld: MultiWorld) -> bool:
|
|
return is_goal(multiworld, options.Goal.option_greatest_walnut_hunter)
|
|
|
|
|
|
def is_not_walnut_hunter(multiworld: MultiWorld) -> bool:
|
|
return not is_walnut_hunter(multiworld)
|
|
|
|
|
|
def is_perfection(multiworld: MultiWorld) -> bool:
|
|
return is_goal(multiworld, options.Goal.option_perfection)
|
|
|
|
|
|
def is_not_perfection(multiworld: MultiWorld) -> bool:
|
|
return not is_perfection(multiworld)
|
|
|
|
|
|
def assert_ginger_island_is_included(tester: SVTestBase, multiworld: MultiWorld):
|
|
assert_is_setting(tester, multiworld, options.ExcludeGingerIsland.internal_name, options.ExcludeGingerIsland.option_false)
|
|
|
|
|
|
def assert_walnut_hunter_world_is_valid(tester: SVTestBase, multiworld: MultiWorld):
|
|
if is_not_walnut_hunter(multiworld):
|
|
return
|
|
|
|
assert_ginger_island_is_included(tester, multiworld)
|
|
|
|
|
|
def assert_perfection_world_is_valid(tester: SVTestBase, multiworld: MultiWorld):
|
|
if is_not_perfection(multiworld):
|
|
return
|
|
|
|
assert_ginger_island_is_included(tester, multiworld)
|
|
|
|
|
|
def assert_goal_world_is_valid(tester: SVTestBase, multiworld: MultiWorld):
|
|
assert_walnut_hunter_world_is_valid(tester, multiworld)
|
|
assert_perfection_world_is_valid(tester, multiworld)
|