mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-28 04:23:23 -07:00
fix issues related to max_hs increase
This commit is contained in:
@@ -215,7 +215,7 @@ class KDL3World(World):
|
||||
locations = [self.multiworld.get_location(spawn, self.player) for spawn in spawns]
|
||||
items: List[Item] = [self.create_item(animal) for animal in animal_pool]
|
||||
allstate = CollectionState(self.multiworld)
|
||||
for item in [*copy_ability_table, *animal_friend_table, *["Heart Star" for _ in range(50)]]:
|
||||
for item in [*copy_ability_table, *animal_friend_table, *["Heart Star" for _ in range(99)]]:
|
||||
self.collect(allstate, self.create_item(item))
|
||||
self.random.shuffle(locations)
|
||||
fill_restrictive(self.multiworld, allstate, locations, items, True, True)
|
||||
|
||||
@@ -4,7 +4,7 @@ from typing import List
|
||||
|
||||
from BaseClasses import OptionGroup
|
||||
from Options import DeathLinkMixin, Choice, Toggle, OptionDict, Range, PlandoBosses, DefaultOnToggle, \
|
||||
PerGameCommonOptions, Visibility
|
||||
PerGameCommonOptions, Visibility, NamedRange
|
||||
from .names import location_name
|
||||
|
||||
|
||||
@@ -414,13 +414,16 @@ class Gifting(Toggle):
|
||||
display_name = "Gifting"
|
||||
|
||||
|
||||
class TotalHeartStars(Range):
|
||||
class TotalHeartStars(NamedRange):
|
||||
"""
|
||||
Deprecated. Use max_heart_stars instead. Supported for only one version.
|
||||
"""
|
||||
default = -1
|
||||
range_start = 5
|
||||
range_end = 99
|
||||
special_range_names = {
|
||||
"default": -1
|
||||
}
|
||||
visibility = Visibility.none
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user