mirror of
https://github.com/Freaku17/BombSquad-Mods-byFreaku
synced 2025-10-19 20:20:40 +00:00
Update icons_keyboard.py
• Added ALL icons • Will automatically add new icons introduced in-game in future • Fixed errors; no characters present in `num` & `pages` list • Rename file to lowercase: To follow new schema according to using mods via Workspace
This commit is contained in:
parent
7c8cb854be
commit
9dff2945be
2 changed files with 34 additions and 64 deletions
34
Utilities/icons_keyboard.py
Normal file
34
Utilities/icons_keyboard.py
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Made by your friend: Freaku
|
||||
|
||||
# • Icon Keyboard •
|
||||
# Make your chats look even more cooler!
|
||||
# Make sure "Always Use Internal Keyboard" is ON
|
||||
# Double tap the space to change between keyboards...
|
||||
# Tap bottom-left bomb button to cycle through different icons
|
||||
|
||||
|
||||
# ba_meta require api 8
|
||||
|
||||
import babase
|
||||
from babase import charstr
|
||||
|
||||
list_of_icons = [i for i in babase.SpecialChar]
|
||||
list_of_icons = [charstr(i) for i in list_of_icons]
|
||||
list_of_icons.reverse()
|
||||
|
||||
for i in range(26 - (len(list_of_icons) % 26)):
|
||||
list_of_icons.append('')
|
||||
|
||||
|
||||
# ba_meta export keyboard
|
||||
class IconKeyboard(babase.Keyboard):
|
||||
"""Keyboard go brrrrrrr"""
|
||||
name = 'Icons by \ue048Freaku'
|
||||
chars = [(list_of_icons[0:10]),
|
||||
(list_of_icons[10:19]),
|
||||
(list_of_icons[19:26])]
|
||||
nums = ['' for i in range(26)]
|
||||
pages = {
|
||||
f'icon{i//26+1}': tuple(list_of_icons[i:i+26])
|
||||
for i in range(26, len(list_of_icons), 26)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue