mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Rename TowerD-Unlocked.py to unlock_TowerD.py
This commit is contained in:
parent
e8781474fa
commit
6beb8ddf29
1 changed files with 0 additions and 0 deletions
18
plugins/utilities/unlock_TowerD.py
Normal file
18
plugins/utilities/unlock_TowerD.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue