mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 03:08:29 +02:00
17 lines
652 B
Python
17 lines
652 B
Python
from typing import TYPE_CHECKING
|
|
|
|
from source.mkw.Track.AbstractTrack import AbstractTrack
|
|
|
|
if TYPE_CHECKING:
|
|
from source.mkw.ModConfig import ModConfig
|
|
|
|
|
|
class DefaultTrack(AbstractTrack):
|
|
def repr_format(self, mod_config: "ModConfig", template: str) -> str:
|
|
return " " # the name is always a blank space. Using nothing result in the filename being used instead
|
|
|
|
def get_filename(self, mod_config: "ModConfig") -> str:
|
|
return "beginner_course" # by default, use the T11 track, beginner_course
|
|
|
|
def is_new(self, mod_config: "ModConfig") -> bool:
|
|
return False # default track are never selected for random cup
|