bombsquad-mods-byfreaku/Utilities/TowerD-Unlocked.py

19 lines
383 B
Python
Raw Normal View History

2022-08-06 11:36:32 +05:30
#By Freaku / @[Just] Freak#4999
2022-02-06 11:45:13 +05:30
import ba
from bastd.maps import TowerD
@classmethod
2022-08-06 11:36:32 +05:30
def new_play_types(cls):
2022-02-06 11:45:13 +05:30
"""return valid play types for this map."""
return ['melee', 'keep_away', 'team_flag', 'king_of_the_hill']
2022-08-06 11:36:32 +05:30
# ba_meta require api 7
2022-02-06 11:45:13 +05:30
# ba_meta export plugin
class byFreaku(ba.Plugin):
2022-08-06 11:36:32 +05:30
def on_app_running(self):
2022-02-06 11:45:13 +05:30
TowerD.get_play_types = new_play_types