mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Wargroove: Implement New Game (#1401)
This adds Wargroove to the list of supported games. Wargroove uses a custom non-linear campaign over the vanilla and double trouble campaigns. A Wargroove client has been added which does a lot of heavy lifting for the Wargroove implementation and must be always on during gameplay. The mod source files can be found here: https://github.com/FlySniper/WargrooveArchipelagoMod
This commit is contained in:
38
worlds/wargroove/Options.py
Normal file
38
worlds/wargroove/Options.py
Normal file
@@ -0,0 +1,38 @@
|
||||
import typing
|
||||
from Options import Choice, Option, Range
|
||||
|
||||
|
||||
class IncomeBoost(Range):
|
||||
"""How much extra income the player gets per turn per boost received."""
|
||||
display_name = "Income Boost"
|
||||
range_start = 0
|
||||
range_end = 100
|
||||
default = 25
|
||||
|
||||
|
||||
class CommanderDefenseBoost(Range):
|
||||
"""How much extra defense the player's commander gets per boost received."""
|
||||
display_name = "Commander Defense Boost"
|
||||
range_start = 0
|
||||
range_end = 8
|
||||
default = 2
|
||||
|
||||
|
||||
class CommanderChoice(Choice):
|
||||
"""How the player's commander is selected for missions.
|
||||
Locked Random: The player's commander is randomly predetermined for each level.
|
||||
Unlockable Factions: The player starts with Mercival and can unlock playable factions.
|
||||
Random Starting Faction: The player starts with a random starting faction and can unlock the rest.
|
||||
When playing with unlockable factions, faction items are added to the pool.
|
||||
Extra faction items after the first also reward starting Groove charge."""
|
||||
display_name = "Commander Choice"
|
||||
option_locked_random = 0
|
||||
option_unlockable_factions = 1
|
||||
option_random_starting_faction = 2
|
||||
|
||||
|
||||
wargroove_options: typing.Dict[str, type(Option)] = {
|
||||
"income_boost": IncomeBoost,
|
||||
"commander_defense_boost": CommanderDefenseBoost,
|
||||
"commander_choice": CommanderChoice
|
||||
}
|
||||
Reference in New Issue
Block a user