Skip to content

Commit

Permalink
add sve runes to the pool even when quests are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouramie committed Mar 4, 2024
1 parent 2780204 commit d08994c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions worlds/stardew_valley/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,16 @@ def create_deepwoods_pendants(item_factory: StardewItemFactory, options: Stardew


def create_special_quest_rewards_sve(item_factory: StardewItemFactory, options: StardewValleyOptions, items: List[Item]):
if options.quest_locations < 0 or ModNames.sve not in options.mods:
if ModNames.sve not in options.mods:
return

items.extend([item_factory(item) for item in items_by_group[Group.MOD_WARP] if item.mod_name == ModNames.sve])

if options.quest_locations < 0:
return

exclude_ginger_island = options.exclude_ginger_island == ExcludeGingerIsland.option_true
items.extend([item_factory(item) for item in SVEQuestItem.sve_quest_items])
items.extend([item_factory(item) for item in items_by_group[Group.MOD_WARP] if item.mod_name == ModNames.sve])
if exclude_ginger_island:
return
items.extend([item_factory(item) for item in SVEQuestItem.sve_quest_items_ginger_island])
Expand Down

0 comments on commit d08994c

Please sign in to comment.