mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Merge branch 'main' of https://github.com/brostosjoined/plugin-manager
This commit is contained in:
commit
eb827e7552
5 changed files with 674 additions and 579 deletions
|
|
@ -1131,7 +1131,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "335d7191f26ba21ad10a5755d7741ce0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"onslaught_football": {
|
||||
|
|
@ -1145,7 +1150,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "e6267fec4dc7f874b1f8065863aae1cb"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lame_fight": {
|
||||
|
|
@ -1159,7 +1169,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "eb0e5a8658e82b3aac6b04b68c1c0f60"
|
||||
}
|
||||
}
|
||||
},
|
||||
"infinite_ninjas": {
|
||||
|
|
@ -1173,7 +1188,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "1b6e28bed97bf78430135c64a1fca2c2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gravity_falls": {
|
||||
|
|
@ -1187,7 +1207,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "6d0b06b283ef702f41837f09e457d3b8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"bot_chase": {
|
||||
|
|
@ -1201,7 +1226,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "c26e6aee6f545d911106431f3c2d8f0f"
|
||||
}
|
||||
}
|
||||
},
|
||||
"down_into_the_abyss": {
|
||||
|
|
@ -1215,7 +1245,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "d3c488671dd35c488e22002ddeb80aef"
|
||||
}
|
||||
}
|
||||
},
|
||||
"better_deathmatch": {
|
||||
|
|
@ -1229,7 +1264,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "0b607db2dbe3ab40aa05bd4bfd5b4afa"
|
||||
}
|
||||
}
|
||||
},
|
||||
"better_elimination": {
|
||||
|
|
@ -1243,7 +1283,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "18bbb7f6ddc4206c7039ad3b5f5facae"
|
||||
}
|
||||
}
|
||||
},
|
||||
"bot_shower": {
|
||||
|
|
@ -1257,7 +1302,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "1259e09ccd9b10ae82e4a6623572a4d2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"explodo_run": {
|
||||
|
|
@ -1271,7 +1321,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "af5022d1f78887e0ac2b0cfc37f4f04a"
|
||||
}
|
||||
}
|
||||
},
|
||||
"extinction": {
|
||||
|
|
@ -1285,7 +1340,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "daf6c3e3d8663fa6d99c9e3f75033f36"
|
||||
}
|
||||
}
|
||||
},
|
||||
"fat_pigs": {
|
||||
|
|
@ -1299,7 +1359,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "fe0d82c322ce01d8956af3131e135ad2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"flag_day": {
|
||||
|
|
@ -1313,7 +1378,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "e11fbf742e6556939ac8d986e2dd430b"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1159,7 +1159,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "4b5479f51356b0c9c80c4b9968fea910"
|
||||
}
|
||||
}
|
||||
},
|
||||
"xyz_tool": {
|
||||
|
|
@ -1173,7 +1178,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "3f301456128f422b7277c667f6c5c47e"
|
||||
}
|
||||
}
|
||||
},
|
||||
"bots_can_accept_powerups": {
|
||||
|
|
@ -1187,7 +1197,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "71eae7c5d0e05821809d348ea0c64837"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cheat_menu": {
|
||||
|
|
@ -1201,7 +1216,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
"1.0.0": {
|
||||
"api_version": 8,
|
||||
"commit_sha": "4941d0c",
|
||||
"released_on": "01-02-2024",
|
||||
"md5sum": "079e857197979aabf53f232b3cce56ba"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ if TYPE_CHECKING:
|
|||
class BotsCanAcceptPowerupsPlugin(babase.Plugin):
|
||||
def on_app_running(self) -> None:
|
||||
SpazBot.oldinit = SpazBot.__init__
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.oldinit()
|
||||
pam = PowerupBoxFactory.get().powerup_accept_material
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ Configs = {
|
|||
"SuperPunch": False,
|
||||
"ImpactOnly": False,
|
||||
"StickyOnly": False,
|
||||
"IceOnly" : False,
|
||||
"IceOnly": False,
|
||||
"Infinite Bombs": False,
|
||||
"More Are Coming": False,
|
||||
"Credits": False,
|
||||
|
|
@ -115,7 +115,7 @@ def AllSettingsWindowInit(self, transition: str = 'in_right', origin_widget: bui
|
|||
# on cheat button press call Window
|
||||
def on_cheat_menu_btn_press(self):
|
||||
bui.containerwidget(edit=self._root_widget,
|
||||
transition='out_scale')
|
||||
transition='out_scale')
|
||||
bui.app.ui_v1.set_main_menu_window(
|
||||
CheatMenuWindow(
|
||||
transition='in_right').get_root_widget(), from_window=self._root_widget)
|
||||
|
|
@ -161,7 +161,7 @@ class CheatMenuWindow(bui.Window):
|
|||
button_type='backSmall',
|
||||
on_activate_call=self._back)
|
||||
bui.containerwidget(edit=self._root_widget,
|
||||
cancel_button=self._back_button)
|
||||
cancel_button=self._back_button)
|
||||
|
||||
# window title, apears in top center of window
|
||||
self._title_text = bui.textwidget(
|
||||
|
|
@ -183,7 +183,7 @@ class CheatMenuWindow(bui.Window):
|
|||
self._scroll_height),
|
||||
selection_loops_to_parent=True)
|
||||
bui.widget(edit=self._scrollwidget,
|
||||
right_widget=self._scrollwidget)
|
||||
right_widget=self._scrollwidget)
|
||||
|
||||
# subcontainer represents scroll widget and used as parent
|
||||
self._subcontainer = bui.containerwidget(
|
||||
|
|
@ -222,7 +222,7 @@ class CheatMenuWindow(bui.Window):
|
|||
try:
|
||||
if change == True and config == "Fly":
|
||||
bui.screenmessage("Some maps may not work good for flying",
|
||||
color=(1, 0, 0))
|
||||
color=(1, 0, 0))
|
||||
update_config(config, change)
|
||||
bui.getsound('gunCocking').play()
|
||||
except Exception:
|
||||
|
|
@ -232,10 +232,10 @@ class CheatMenuWindow(bui.Window):
|
|||
try:
|
||||
if change == True and config == "SuperPunch":
|
||||
bui.screenmessage("SuperPunch Activated",
|
||||
color=(1, 0, 0))
|
||||
color=(1, 0, 0))
|
||||
elif change == False and config == "SuperPunch":
|
||||
bui.screenmessage("Super Punch Deactivated",
|
||||
color=(0.5,0,0))
|
||||
bui.screenmessage("Super Punch Deactivated",
|
||||
color=(0.5, 0, 0))
|
||||
update_config(config, change)
|
||||
bui.getsound('gunCocking').play()
|
||||
except Exception:
|
||||
|
|
@ -245,10 +245,10 @@ class CheatMenuWindow(bui.Window):
|
|||
try:
|
||||
if change == True and config == "IceOnly":
|
||||
bui.screenmessage("Ice Bombs Activated",
|
||||
color=(0.1, 1, 1))
|
||||
color=(0.1, 1, 1))
|
||||
elif change == False and config == "IceOnly":
|
||||
bui.screenmessage("Ice Bombs Deactivated",
|
||||
color=(1, 0, 0))
|
||||
color=(1, 0, 0))
|
||||
update_config(config, change)
|
||||
bui.getsound('gunCocking').play()
|
||||
except Exception:
|
||||
|
|
@ -257,10 +257,10 @@ class CheatMenuWindow(bui.Window):
|
|||
try:
|
||||
if change == True and config == "StickyOnly":
|
||||
bui.screenmessage("Sticky Bombs Activated",
|
||||
color=(0, 1, 0))
|
||||
color=(0, 1, 0))
|
||||
elif change == False and config == "StickyOnly":
|
||||
bui.screenmessage("Sticky Bombs Deactivated",
|
||||
color=(1, 0, 0))
|
||||
color=(1, 0, 0))
|
||||
update_config(config, change)
|
||||
bui.getsound('gunCocking').play()
|
||||
except Exception:
|
||||
|
|
@ -270,10 +270,10 @@ class CheatMenuWindow(bui.Window):
|
|||
try:
|
||||
if change == True and config == "ImpactOnly":
|
||||
bui.screenmessage("Impact Bombs Activated",
|
||||
color=(0.5, 0.5, 0.5))
|
||||
color=(0.5, 0.5, 0.5))
|
||||
elif change == False and config == "ImpactOnly":
|
||||
bui.screenmessage("Impact Bombs Deactivated",
|
||||
color=(1, 0, 0))
|
||||
color=(1, 0, 0))
|
||||
update_config(config, change)
|
||||
bui.getsound('gunCocking').play()
|
||||
except Exception:
|
||||
|
|
@ -283,7 +283,7 @@ class CheatMenuWindow(bui.Window):
|
|||
try:
|
||||
if change == True and config == "More Are Coming":
|
||||
bui.screenmessage("Check out https://discord.gg/2RKd9QQdQY For More Mods",
|
||||
color=(4, 9, 2))
|
||||
color=(4, 9, 2))
|
||||
update_config(config, change)
|
||||
bui.getsound('gunCocking').play()
|
||||
except Exception:
|
||||
|
|
@ -293,7 +293,7 @@ class CheatMenuWindow(bui.Window):
|
|||
try:
|
||||
if change == True and config == "Credits":
|
||||
bui.screenmessage("To Pranav Made The Mod and Emily For Ideas, Thx",
|
||||
color=(4, 9, 2))
|
||||
color=(4, 9, 2))
|
||||
update_config(config, change)
|
||||
bui.getsound('gunCocking').play()
|
||||
except Exception:
|
||||
|
|
@ -304,7 +304,7 @@ class CheatMenuWindow(bui.Window):
|
|||
"""Kill the window and get back to previous one
|
||||
"""
|
||||
bui.containerwidget(edit=self._root_widget,
|
||||
transition='out_scale')
|
||||
transition='out_scale')
|
||||
bui.app.ui_v1.set_main_menu_window(
|
||||
AllSettingsWindow(
|
||||
transition='in_left').get_root_widget(), from_window=self._root_widget)
|
||||
|
|
@ -317,6 +317,7 @@ def ishost():
|
|||
if player.inputdevice.client_id == -1:
|
||||
return True
|
||||
|
||||
|
||||
def activity_loop():
|
||||
if bs.get_foreground_host_activity() is not None:
|
||||
activity = bs.get_foreground_host_activity()
|
||||
|
|
@ -337,19 +338,21 @@ def activity_loop():
|
|||
player.actor._punch_power_scale = 1.2
|
||||
|
||||
if config["IceOnly"]:
|
||||
player.actor.bomb_type = 'ice'
|
||||
player.actor.bomb_type = 'ice'
|
||||
elif not config["IceOnly"]:
|
||||
player.actor.bomb_type = 'normal'
|
||||
player.actor.bomb_count= 1
|
||||
player.actor.bomb_type = 'normal'
|
||||
player.actor.bomb_count = 1
|
||||
|
||||
if config["ImpactOnly"]:
|
||||
player.actor.bomb_type = 'impact'
|
||||
player.actor.bomb_count = 1
|
||||
player.actor.bomb_type = 'impact'
|
||||
player.actor.bomb_count = 1
|
||||
|
||||
if config["StickyOnly"]:
|
||||
player.actor.bomb_type = 'sticky'
|
||||
player.actor.bomb_count = 1
|
||||
player.actor.bomb_type = 'sticky'
|
||||
player.actor.bomb_count = 1
|
||||
|
||||
if config["Infinite Bombs"]:
|
||||
player.actor.bomb_count = 100
|
||||
timer = babase.AppTimer(2, activity_loop,repeat=True)
|
||||
player.actor.bomb_count = 100
|
||||
|
||||
|
||||
timer = babase.AppTimer(2, activity_loop, repeat=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue