mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-19 05:46:00 +00:00
[ci] auto-format
This commit is contained in:
parent
28208e1495
commit
49bcab91a4
6 changed files with 11 additions and 10 deletions
|
|
@ -488,7 +488,7 @@ class Aro(ba.Actor):
|
|||
'materials': [self._score_region_material]})
|
||||
]
|
||||
self.regions[0].connectattr('position', self.node, 'position')
|
||||
#self.regions[0].connectattr('position', self.regions[1], 'position')
|
||||
# self.regions[0].connectattr('position', self.regions[1], 'position')
|
||||
|
||||
locs_count = 9
|
||||
pos = list(position)
|
||||
|
|
@ -555,8 +555,8 @@ class Cuadro(ba.Actor):
|
|||
'materials': [self.collision,
|
||||
shared.footing_material]})
|
||||
|
||||
#self.shield = ba.newnode('shield', attrs={'radius': 1.0, 'color': (0,10,0)})
|
||||
#self.region.connectattr('position', self.shield, 'position')
|
||||
# self.shield = ba.newnode('shield', attrs={'radius': 1.0, 'color': (0,10,0)})
|
||||
# self.region.connectattr('position', self.shield, 'position')
|
||||
|
||||
position = (position[0], position[1], position[2]+0.09)
|
||||
pos = list(position)
|
||||
|
|
|
|||
|
|
@ -912,7 +912,7 @@ class HotPotato(ba.TeamGameActivity[Player, ba.Team]):
|
|||
base_position = (75, 50)
|
||||
tip_scale = 0.8
|
||||
tip_title_scale = 1.2
|
||||
vrmode = babase.app.env.vr #ba.app.vr_mode
|
||||
vrmode = babase.app.env.vr # ba.app.vr_mode
|
||||
|
||||
t_offs = -350.0
|
||||
height_offs = 100.0
|
||||
|
|
|
|||
|
|
@ -744,7 +744,7 @@ class VolleyBallMapH(ba.Map):
|
|||
gnode.vignette_inner = (0.93, 0.93, 0.95)
|
||||
gnode.vr_camera_offset = (0, -0.8, -1.1)
|
||||
gnode.vr_near_clip = 0.5
|
||||
#self.is_hockey = True
|
||||
# self.is_hockey = True
|
||||
|
||||
|
||||
ba._map.register_map(VolleyBallMap)
|
||||
|
|
|
|||
|
|
@ -837,7 +837,7 @@ class ModifiedPartyWindow(bastd_party.PartyWindow):
|
|||
newFileName = str(ba.Lstr(resource="replayNameDefaultText").evaluate(
|
||||
)+" (%s)" % (datetime.datetime.strftime(datetime.datetime.now(), "%Y_%m_%d_%H_%M_%S"))+".brp")
|
||||
newFilePath = os.path.join(dir_path+os.sep, newFileName).encode(SystemEncode)
|
||||
#print(curFilePath, newFilePath)
|
||||
# print(curFilePath, newFilePath)
|
||||
# os.rename(curFilePath,newFilePath)
|
||||
shutil.copyfile(curFilePath, newFilePath)
|
||||
_ba.reset_game_activity_tracking()
|
||||
|
|
@ -1196,7 +1196,7 @@ class ModifiedPartyWindow(bastd_party.PartyWindow):
|
|||
ba.Lstr(resource='internal.cantKickHostError'),
|
||||
color=(1, 0, 0))
|
||||
|
||||
#NewShareCodeWindow(origin_widget=self.get_root_widget(), delegate=None,code = "300",execText = u"_ba._disconnectClient(%d,{Value})"%self._popup_party_member_client_id)
|
||||
# NewShareCodeWindow(origin_widget=self.get_root_widget(), delegate=None,code = "300",execText = u"_ba._disconnectClient(%d,{Value})"%self._popup_party_member_client_id)
|
||||
def joinbombspot(self):
|
||||
import random
|
||||
url = ['https://discord.gg/CbxhJTrRta', 'https://discord.gg/ucyaesh']
|
||||
|
|
|
|||
|
|
@ -110,7 +110,8 @@ class Floater(ba.Actor):
|
|||
self.node.connectattr('position', self.node2, 'position')
|
||||
|
||||
def pop(self): PopupText(text="Ported by \ue048Freaku", scale=1.3, position=(
|
||||
self.node.position[0], self.node.position[1]-1, self.node.position[2]), color=(0, 1, 1)).autoretain() # Edit = YouNoob...
|
||||
# Edit = YouNoob...
|
||||
self.node.position[0], self.node.position[1]-1, self.node.position[2]), color=(0, 1, 1)).autoretain()
|
||||
|
||||
def checkCanControl(self):
|
||||
if not self.node.exists():
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ class CommonUtilities:
|
|||
remove(external_dir+selected_replay)
|
||||
cls_inst.on_tab_select(tab_id) # updating the tab
|
||||
Print(selected_replay[0:-4]+" was deleted", top=True, color=red)
|
||||
ConfirmWindow(text=f"Delete \"{selected_replay.split('.')[0]}\" \nfrom {'internal directory' if tab_id==MyTabId.INTERNAL else 'external directory'}?",
|
||||
ConfirmWindow(text=f"Delete \"{selected_replay.split('.')[0]}\" \nfrom {'internal directory' if tab_id == MyTabId.INTERNAL else 'external directory'}?",
|
||||
action=do_it, cancel_is_selected=True)
|
||||
|
||||
|
||||
|
|
@ -332,7 +332,7 @@ class ShareTabUi(WatchWindow):
|
|||
|
||||
# ++++++++++++++++for keyboard navigation++++++++++++++++
|
||||
|
||||
#ba.widget(edit=self.enable_button, up_widget=decrease_button, down_widget=self.lower_text,left_widget=save_button, right_widget=save_button)
|
||||
# ba.widget(edit=self.enable_button, up_widget=decrease_button, down_widget=self.lower_text,left_widget=save_button, right_widget=save_button)
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue