Adding TowerD-unlocked

This commit is contained in:
Freaku17 2022-08-30 16:32:34 +05:30 committed by GitHub
parent e2e2816948
commit 43f5d80a00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
#By Freaku / @[Just] Freak#4999
import ba
from bastd.maps import TowerD
@classmethod
def new_play_types(cls):
"""return valid play types for this map."""
return ['melee', 'keep_away', 'team_flag', 'king_of_the_hill']
# ba_meta require api 7
# ba_meta export plugin
class byFreaku(ba.Plugin):
def on_app_running(self):
TowerD.get_play_types = new_play_types