mirror of
https://github.com/Freaku17/BombSquad-Mods-byFreaku
synced 2025-10-19 20:20:40 +00:00
Update utilities for 1.7.44+
• `#ba_meta export plugin` changed to `#ba_meta export babase.Plugin`
This commit is contained in:
parent
2d99ec1a4e
commit
562b4582bb
4 changed files with 10 additions and 10 deletions
|
|
@ -268,7 +268,7 @@ def new_chat_message(*args, **kwargs):
|
||||||
|
|
||||||
bs.chatmessage = new_chat_message
|
bs.chatmessage = new_chat_message
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class byFreaku(babase.Plugin):
|
class byFreaku(babase.Plugin):
|
||||||
def on_app_running(self):
|
def on_app_running(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Made by your friend: Freaku
|
# Made by your friend: Freaku
|
||||||
|
|
||||||
__version__ = '1.7.37+'
|
__version__ = '1.7.44+'
|
||||||
# Starting versioning of terminal.py henceforth,
|
# Starting versioning of terminal.py henceforth,
|
||||||
# since many users complained problems which was actually caused due to them using an older version of us.
|
# since many users complained problems which was actually caused due to them using an older version of us.
|
||||||
|
|
||||||
|
|
@ -172,7 +172,7 @@ class reConfirmWindow(ConfirmWindow):
|
||||||
self._action(self._path, create_subfolder=False)
|
self._action(self._path, create_subfolder=False)
|
||||||
|
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class get_logs(babase.Plugin):
|
class get_logs(babase.Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
make_folder()
|
make_folder()
|
||||||
|
|
@ -183,7 +183,7 @@ class get_logs(babase.Plugin):
|
||||||
baenv._EnvGlobals.get().config.log_handler.add_callback(make_logs)
|
baenv._EnvGlobals.get().config.log_handler.add_callback(make_logs)
|
||||||
|
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class get_config(babase.Plugin):
|
class get_config(babase.Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
make_folder()
|
make_folder()
|
||||||
|
|
@ -193,7 +193,7 @@ class get_config(babase.Plugin):
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class system_scripts(babase.Plugin):
|
class system_scripts(babase.Plugin):
|
||||||
def has_settings_ui(self):
|
def has_settings_ui(self):
|
||||||
return True
|
return True
|
||||||
|
|
@ -210,7 +210,7 @@ class system_scripts(babase.Plugin):
|
||||||
yeet_sys()
|
yeet_sys()
|
||||||
|
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class internal_packages(babase.Plugin):
|
class internal_packages(babase.Plugin):
|
||||||
def has_settings_ui(self):
|
def has_settings_ui(self):
|
||||||
return True
|
return True
|
||||||
|
|
@ -237,7 +237,7 @@ class internal_packages(babase.Plugin):
|
||||||
threading.Thread(target=copy_internal_packages, args=(path, )).start()
|
threading.Thread(target=copy_internal_packages, args=(path, )).start()
|
||||||
|
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class export_logs(babase.Plugin):
|
class export_logs(babase.Plugin):
|
||||||
def has_settings_ui(self):
|
def has_settings_ui(self):
|
||||||
return True
|
return True
|
||||||
|
|
@ -281,7 +281,7 @@ class export_logs(babase.Plugin):
|
||||||
bui.screenmessage('logs (previous game launch).txt saved')
|
bui.screenmessage('logs (previous game launch).txt saved')
|
||||||
|
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class version(babase.Plugin):
|
class version(babase.Plugin):
|
||||||
def has_settings_ui(self):
|
def has_settings_ui(self):
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,7 @@ class TranslateWindow:
|
||||||
|
|
||||||
|
|
||||||
# ba_meta require api 9
|
# ba_meta require api 9
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class byFreaku(babase.Plugin):
|
class byFreaku(babase.Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
bauiv1lib.party.PartyWindow = NewPW
|
bauiv1lib.party.PartyWindow = NewPW
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ def new_play_types(cls):
|
||||||
|
|
||||||
|
|
||||||
# ba_meta require api 9
|
# ba_meta require api 9
|
||||||
# ba_meta export plugin
|
# ba_meta export babase.Plugin
|
||||||
class byFreaku(babase.Plugin):
|
class byFreaku(babase.Plugin):
|
||||||
def on_app_running(self):
|
def on_app_running(self):
|
||||||
TowerD.get_play_types = new_play_types
|
TowerD.get_play_types = new_play_types
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue