[OC2] New Option - Shorter Horde Levels (#1328)

This commit is contained in:
toasterparty 2022-12-16 07:52:15 -08:00 committed by GitHub
parent e853fc208b
commit 6e537e17e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -60,6 +60,13 @@ class ShorterLevelDuration(OC2OnToggle):
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):
"""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
"fix_bugs": FixBugs,
"shorter_level_duration": ShorterLevelDuration,
"short_horde_levels": ShortHordeLevels,
"always_preserve_cooking_progress": AlwaysPreserveCookingProgress,
"always_serve_oldest_order": AlwaysServeOldestOrder,
"display_leaderboard_scores": DisplayLeaderboardScores,

View File

@ -423,7 +423,7 @@ class Overcooked2World(World):
# Game Modifications
"LevelPurchaseRequirements": level_purchase_requirements,
"Custom66TimerScale": max(0.4, 0.25 + (1.0 - star_threshold_scale)*0.6),
"ShortHordeLevels": self.options["ShortHordeLevels"],
"CustomLevelOrder": custom_level_order,
# Items (Starting Inventory)