mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2026-08-15 13:03:08 +00:00
commit
e8781474fa
2 changed files with 37 additions and 0 deletions
|
|
@ -63,6 +63,25 @@
|
|||
"md5sum": "233dfaa7f0e9394d21454f4ffa7d0205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TowerD-Unlocked": {
|
||||
"description": "Ability to play Tower-D map in ffa/team games!",
|
||||
"external_url": "",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Freaku",
|
||||
"email": "",
|
||||
"discord": "[Just] Freak#4999"
|
||||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": {
|
||||
"api_version": 7,
|
||||
"commit_sha": "ece4b806",
|
||||
"released_on": "30-08-2022",
|
||||
"md5sum": "aac4edfcaeca1dc2910f97e739d67482"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
plugins/utilities/TowerD-Unlocked.py
Normal file
18
plugins/utilities/TowerD-Unlocked.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