mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 16:53:49 +08:00
Latest changes from private.
This commit is contained in:
parent
7ea7428b52
commit
54eb290b64
@ -145,8 +145,8 @@ class FootballTeamGame(ba.TeamGameActivity[Player, Team]):
|
|||||||
self._time_limit = float(settings['Time Limit'])
|
self._time_limit = float(settings['Time Limit'])
|
||||||
self._epic_mode = bool(settings['Epic Mode'])
|
self._epic_mode = bool(settings['Epic Mode'])
|
||||||
self.slow_motion = self._epic_mode
|
self.slow_motion = self._epic_mode
|
||||||
self.default_music = (ba.MusicType.EPIC if self._epic_mode else
|
self.default_music = (ba.MusicType.EPIC
|
||||||
ba.MusicType.FOOTBALL)
|
if self._epic_mode else ba.MusicType.FOOTBALL)
|
||||||
|
|
||||||
def get_instance_description(self) -> str | Sequence:
|
def get_instance_description(self) -> str | Sequence:
|
||||||
touchdowns = self._score_to_win / 7
|
touchdowns = self._score_to_win / 7
|
||||||
|
|||||||
@ -205,8 +205,8 @@ class HockeyGame(ba.TeamGameActivity[Player, Team]):
|
|||||||
self._time_limit = float(settings['Time Limit'])
|
self._time_limit = float(settings['Time Limit'])
|
||||||
self._epic_mode = bool(settings['Epic Mode'])
|
self._epic_mode = bool(settings['Epic Mode'])
|
||||||
self.slow_motion = self._epic_mode
|
self.slow_motion = self._epic_mode
|
||||||
self.default_music = (ba.MusicType.EPIC if self._epic_mode else
|
self.default_music = (ba.MusicType.EPIC
|
||||||
ba.MusicType.HOCKEY)
|
if self._epic_mode else ba.MusicType.HOCKEY)
|
||||||
|
|
||||||
def get_instance_description(self) -> str | Sequence:
|
def get_instance_description(self) -> str | Sequence:
|
||||||
if self._score_to_win == 1:
|
if self._score_to_win == 1:
|
||||||
|
|||||||
@ -117,8 +117,8 @@ class KeepAwayGame(ba.TeamGameActivity[Player, Team]):
|
|||||||
self._time_limit = float(settings['Time Limit'])
|
self._time_limit = float(settings['Time Limit'])
|
||||||
self._epic_mode = bool(settings['Epic Mode'])
|
self._epic_mode = bool(settings['Epic Mode'])
|
||||||
self.slow_motion = self._epic_mode
|
self.slow_motion = self._epic_mode
|
||||||
self.default_music = (ba.MusicType.EPIC if self._epic_mode else
|
self.default_music = (ba.MusicType.EPIC
|
||||||
ba.MusicType.KEEP_AWAY)
|
if self._epic_mode else ba.MusicType.KEEP_AWAY)
|
||||||
|
|
||||||
def get_instance_description(self) -> str | Sequence:
|
def get_instance_description(self) -> str | Sequence:
|
||||||
return 'Carry the flag for ${ARG1} seconds.', self._hold_time
|
return 'Carry the flag for ${ARG1} seconds.', self._hold_time
|
||||||
|
|||||||
@ -131,8 +131,8 @@ class KingOfTheHillGame(ba.TeamGameActivity[Player, Team]):
|
|||||||
|
|
||||||
# Base class overrides.
|
# Base class overrides.
|
||||||
self.slow_motion = self._epic_mode
|
self.slow_motion = self._epic_mode
|
||||||
self.default_music = (ba.MusicType.EPIC if self._epic_mode else
|
self.default_music = (ba.MusicType.EPIC
|
||||||
ba.MusicType.SCARY)
|
if self._epic_mode else ba.MusicType.SCARY)
|
||||||
|
|
||||||
def get_instance_description(self) -> str | Sequence:
|
def get_instance_description(self) -> str | Sequence:
|
||||||
return 'Secure the flag for ${ARG1} seconds.', self._hold_time
|
return 'Secure the flag for ${ARG1} seconds.', self._hold_time
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user