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
|
|
|
|
2025-02-08 01:45:15 +05:30
|
|
|
# ba_meta require api 9
|
2022-02-06 11:45:13 +05:30
|
|
|
# ba_meta export 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):
|
2025-02-08 01:45:15 +05:30
|
|
|
TowerD.get_play_types = new_play_types
|