mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
118bcc9571
commit
e604a3ce2e
22 changed files with 43 additions and 0 deletions
|
|
@ -2151,6 +2151,8 @@ class CustomAccountViewerWindow(viewer.AccountViewerWindow):
|
||||||
babase.print_exception('Error displaying account info.')
|
babase.print_exception('Error displaying account info.')
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class bySmoothy(babase.Plugin):
|
class bySmoothy(babase.Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
bs.connect_to_party = newconnect_to_party
|
bs.connect_to_party = newconnect_to_party
|
||||||
|
|
|
||||||
|
|
@ -540,6 +540,8 @@ def on_begin(self, *args, **kwargs) -> None:
|
||||||
return original_on_begin(self, *args, **kwargs)
|
return original_on_begin(self, *args, **kwargs)
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class byHeySmoothy(babase.Plugin):
|
class byHeySmoothy(babase.Plugin):
|
||||||
def on_app_running(self):
|
def on_app_running(self):
|
||||||
bs._activity.Activity.on_begin = on_begin
|
bs._activity.Activity.on_begin = on_begin
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,8 @@ if TYPE_CHECKING:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class AutoRun(babase.Plugin):
|
class AutoRun(babase.Plugin):
|
||||||
# During my research and prototyping I figured I'd have to do some linear algebgra.
|
# During my research and prototyping I figured I'd have to do some linear algebgra.
|
||||||
# I didn't want to use libraries, since this is supposed to be a standalone mod.
|
# I didn't want to use libraries, since this is supposed to be a standalone mod.
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ if TYPE_CHECKING:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class BombRadiusVisualizer(babase.Plugin):
|
class BombRadiusVisualizer(babase.Plugin):
|
||||||
|
|
||||||
# We use a decorator to add extra code to existing code, increasing mod compatibility.
|
# We use a decorator to add extra code to existing code, increasing mod compatibility.
|
||||||
|
|
|
||||||
|
|
@ -348,6 +348,8 @@ def _update_text(self) -> None:
|
||||||
self._text_node.text = text
|
self._text_node.text = text
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class HeySmoothy(babase.Plugin):
|
class HeySmoothy(babase.Plugin):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@ class BombPickupMessage:
|
||||||
freeze: bool = True
|
freeze: bool = True
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class Plugin(babase.Plugin):
|
class Plugin(babase.Plugin):
|
||||||
|
|
||||||
# there are two ways to ignore our team player hits
|
# there are two ways to ignore our team player hits
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,8 @@ class FastEpicSwitcher(bauiv1lib.party.PartyWindow):
|
||||||
bui.screenmessage("Switched to Epic Mode!", color=(0, 1, 0))
|
bui.screenmessage("Switched to Epic Mode!", color=(0, 1, 0))
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class ByANES(babase.Plugin):
|
class ByANES(babase.Plugin):
|
||||||
def on_app_running(self):
|
def on_app_running(self):
|
||||||
bauiv1lib.party.PartyWindow = FastEpicSwitcher
|
bauiv1lib.party.PartyWindow = FastEpicSwitcher
|
||||||
|
|
|
||||||
|
|
@ -349,6 +349,8 @@ def handle_download(url, path, callback):
|
||||||
print(f"Error occurred: {e}")
|
print(f"Error occurred: {e}")
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class bySmoothy(babase.Plugin):
|
class bySmoothy(babase.Plugin):
|
||||||
def on_app_running(self):
|
def on_app_running(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -270,6 +270,7 @@ bs.chatmessage = new_chat_message
|
||||||
|
|
||||||
# ba_meta export babase.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
|
||||||
|
|
|
||||||
|
|
@ -237,6 +237,8 @@ def _manual_camera(self, widget):
|
||||||
self.main_window_replace(Manual_camera_window(origin_widget=widget))
|
self.main_window_replace(Manual_camera_window(origin_widget=widget))
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class ByDroopy(babase.Plugin):
|
class ByDroopy(babase.Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
InGameMenuWindow._refresh_in_game = my_refresh_in_game
|
InGameMenuWindow._refresh_in_game = my_refresh_in_game
|
||||||
|
|
|
||||||
|
|
@ -338,6 +338,8 @@ def _restore_state(self) -> None:
|
||||||
babase.print_exception('Error restoring gather-win state.')
|
babase.print_exception('Error restoring gather-win state.')
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class MaxPlayersPlugin(babase.Plugin):
|
class MaxPlayersPlugin(babase.Plugin):
|
||||||
|
|
||||||
def has_settings_ui(self) -> bool:
|
def has_settings_ui(self) -> bool:
|
||||||
|
|
|
||||||
|
|
@ -290,6 +290,8 @@ bs.chatmessage = new_chat_message
|
||||||
Map._old_init = Map.__init__
|
Map._old_init = Map.__init__
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class moodlight(babase.Plugin):
|
class moodlight(babase.Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@ if TYPE_CHECKING:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class RagdollBGone(babase.Plugin):
|
class RagdollBGone(babase.Plugin):
|
||||||
|
|
||||||
# We use a decorator to add extra code to existing code, increasing mod compatibility.
|
# We use a decorator to add extra code to existing code, increasing mod compatibility.
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ def R(s):
|
||||||
return w
|
return w
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class byBordd(v):
|
class byBordd(v):
|
||||||
def __init__(s):
|
def __init__(s):
|
||||||
m._refresh_in_game = R(m._refresh_in_game)
|
m._refresh_in_game = R(m._refresh_in_game)
|
||||||
|
|
|
||||||
|
|
@ -5930,6 +5930,8 @@ class CustomBotSet(SpazBotSet):
|
||||||
# Copyright 2024, solely by BroBordd. All rights reserved.
|
# Copyright 2024, solely by BroBordd. All rights reserved.
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class byBordd(ba.Plugin):
|
class byBordd(ba.Plugin):
|
||||||
def __init__(s):
|
def __init__(s):
|
||||||
igm._refresh_in_game = Nice.Button(igm._refresh_in_game)
|
igm._refresh_in_game = Nice.Button(igm._refresh_in_game)
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,8 @@ class SorryPW(bauiv1lib.party.PartyWindow):
|
||||||
# ba_meta require api 9
|
# ba_meta require api 9
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class byBordd(babase.Plugin):
|
class byBordd(babase.Plugin):
|
||||||
def __init__(s):
|
def __init__(s):
|
||||||
bauiv1lib.party.PartyWindow = SorryPW
|
bauiv1lib.party.PartyWindow = SorryPW
|
||||||
|
|
|
||||||
|
|
@ -197,6 +197,8 @@ def _on_tagwinbtn_press(self):
|
||||||
# ba_meta require api 9
|
# ba_meta require api 9
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class Tag(babase.Plugin):
|
class Tag(babase.Plugin):
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ from bascenev1 import broadcastmessage as push, get_foreground_host_activity as
|
||||||
# ba_meta require api 9
|
# ba_meta require api 9
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class byBordd(p):
|
class byBordd(p):
|
||||||
def ear(s):
|
def ear(s):
|
||||||
a = gcm()
|
a = gcm()
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,8 @@ class VeryPW(party.PartyWindow):
|
||||||
# ba_meta require api 9
|
# ba_meta require api 9
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class byBordd(Plugin):
|
class byBordd(Plugin):
|
||||||
def __init__(s):
|
def __init__(s):
|
||||||
party.PartyWindow = VeryPW
|
party.PartyWindow = VeryPW
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,8 @@ import babase
|
||||||
# ba_meta require api 9
|
# ba_meta require api 9
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class WiggleDance(babase.Plugin):
|
class WiggleDance(babase.Plugin):
|
||||||
def add_dance_mechanic_to_spaz(spaz_class):
|
def add_dance_mechanic_to_spaz(spaz_class):
|
||||||
"""Add dance mechanic to the Spaz class"""
|
"""Add dance mechanic to the Spaz class"""
|
||||||
|
|
|
||||||
|
|
@ -47,5 +47,7 @@ def wave_emote():
|
||||||
print(last_len_msg, "last_len_msg")
|
print(last_len_msg, "last_len_msg")
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class brostos(babase.Plugin):
|
class brostos(babase.Plugin):
|
||||||
timer = bs.AppTimer(0.5, wave_emote, repeat=True)
|
timer = bs.AppTimer(0.5, wave_emote, repeat=True)
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,8 @@ def replaceable_punch(self) -> None:
|
||||||
self._turbo_filter_add_press('punch')
|
self._turbo_filter_add_press('punch')
|
||||||
|
|
||||||
# ba_meta export babase.Plugin
|
# ba_meta export babase.Plugin
|
||||||
|
|
||||||
|
|
||||||
class ragingspeedhorn(babase.Plugin):
|
class ragingspeedhorn(babase.Plugin):
|
||||||
try:
|
try:
|
||||||
oath = _babase.env()['python_directory_user'] + '/Saved XYZ'
|
oath = _babase.env()['python_directory_user'] + '/Saved XYZ'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue