bombsquad-mods-byfreaku/Utilities/unlock_TowerD.py

20 lines
426 B
Python
Raw Permalink Normal View History

2023-07-28 11:08:42 +05:30
# Made by your friend: Freaku
2022-02-06 11:45:13 +05:30
2023-07-28 11:08:42 +05:30
import babase
import bascenev1 as bs
from bascenev1lib.maps import TowerD
2022-02-06 11:45:13 +05:30
@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 9
# ba_meta export babase.Plugin
2023-07-28 11:08:42 +05:30
class byFreaku(babase.Plugin):
2022-08-06 11:36:32 +05:30
def on_app_running(self):
TowerD.get_play_types = new_play_types