[OC2] New Option - Shorter Horde Levels (#1328)
This commit is contained in:
parent
e853fc208b
commit
6e537e17e6
|
@ -60,6 +60,13 @@ class ShorterLevelDuration(OC2OnToggle):
|
||||||
display_name = "Shorter Level Duration"
|
display_name = "Shorter Level Duration"
|
||||||
|
|
||||||
|
|
||||||
|
class ShortHordeLevels(OC2OnToggle):
|
||||||
|
"""Modifies horde levels to contain roughly 1/3rd fewer waves than in the original game.
|
||||||
|
|
||||||
|
The kitchen's health is sacled appropriately to preserve the same approximate difficulty."""
|
||||||
|
display_name = "Shorter Horde Levels"
|
||||||
|
|
||||||
|
|
||||||
class PrepLevels(Choice):
|
class PrepLevels(Choice):
|
||||||
"""Choose How "Prep Levels" are handled (levels where the timer does not start until the first order is served):
|
"""Choose How "Prep Levels" are handled (levels where the timer does not start until the first order is served):
|
||||||
|
|
||||||
|
@ -107,6 +114,7 @@ overcooked_options = {
|
||||||
# quality of life options
|
# quality of life options
|
||||||
"fix_bugs": FixBugs,
|
"fix_bugs": FixBugs,
|
||||||
"shorter_level_duration": ShorterLevelDuration,
|
"shorter_level_duration": ShorterLevelDuration,
|
||||||
|
"short_horde_levels": ShortHordeLevels,
|
||||||
"always_preserve_cooking_progress": AlwaysPreserveCookingProgress,
|
"always_preserve_cooking_progress": AlwaysPreserveCookingProgress,
|
||||||
"always_serve_oldest_order": AlwaysServeOldestOrder,
|
"always_serve_oldest_order": AlwaysServeOldestOrder,
|
||||||
"display_leaderboard_scores": DisplayLeaderboardScores,
|
"display_leaderboard_scores": DisplayLeaderboardScores,
|
||||||
|
|
|
@ -423,7 +423,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["ShortHordeLevels"],
|
||||||
"CustomLevelOrder": custom_level_order,
|
"CustomLevelOrder": custom_level_order,
|
||||||
|
|
||||||
# Items (Starting Inventory)
|
# Items (Starting Inventory)
|
||||||
|
|
Loading…
Reference in New Issue