OC2: fix mistakes when moving to new options api (#2332)
This commit is contained in:
parent
b707619aad
commit
fb6b66463d
|
@ -172,7 +172,7 @@ class Overcooked2World(World):
|
||||||
# random priority locations have no desirable effect on solo seeds
|
# random priority locations have no desirable effect on solo seeds
|
||||||
return list()
|
return list()
|
||||||
|
|
||||||
balancing_mode = self.get_options()["LocationBalancing"]
|
balancing_mode = self.options.location_balancing
|
||||||
|
|
||||||
if balancing_mode == LocationBalancingMode.disabled:
|
if balancing_mode == LocationBalancingMode.disabled:
|
||||||
# Location balancing is disabled, progression density is purely determined by filler
|
# Location balancing is disabled, progression density is purely determined by filler
|
||||||
|
@ -528,7 +528,7 @@ class Overcooked2World(World):
|
||||||
# Game Modifications
|
# Game Modifications
|
||||||
"LevelPurchaseRequirements": level_purchase_requirements,
|
"LevelPurchaseRequirements": level_purchase_requirements,
|
||||||
"Custom66TimerScale": max(0.4, 0.25 + (1.0 - star_threshold_scale)*0.6),
|
"Custom66TimerScale": max(0.4, 0.25 + (1.0 - star_threshold_scale)*0.6),
|
||||||
"ShortHordeLevels": self.options.short_horde_levels,
|
"ShortHordeLevels": self.options.short_horde_levels.result,
|
||||||
"CustomLevelOrder": custom_level_order,
|
"CustomLevelOrder": custom_level_order,
|
||||||
|
|
||||||
# Items (Starting Inventory)
|
# Items (Starting Inventory)
|
||||||
|
@ -584,6 +584,7 @@ class Overcooked2World(World):
|
||||||
"TwoStars": star_threshold_scale * 0.75,
|
"TwoStars": star_threshold_scale * 0.75,
|
||||||
"OneStar": star_threshold_scale * 0.35,
|
"OneStar": star_threshold_scale * 0.35,
|
||||||
}
|
}
|
||||||
|
base_data["AlwaysServeOldestOrder"] = self.options.always_serve_oldest_order.result
|
||||||
|
|
||||||
return base_data
|
return base_data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue