mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +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
This commit is contained in:
parent
537f2a577d
commit
0577f22736
1 changed files with 19 additions and 40 deletions
|
|
@ -4,54 +4,33 @@
|
||||||
# Make your chats look even more cooler!
|
# Make your chats look even more cooler!
|
||||||
# Make sure "Always Use Internal Keyboard" is ON
|
# Make sure "Always Use Internal Keyboard" is ON
|
||||||
# Double tap the space to change between keyboards...
|
# Double tap the space to change between keyboards...
|
||||||
|
# Tap bottom-left bomb button to cycle through different icons
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ba_meta require api 8
|
# ba_meta require api 8
|
||||||
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
import babase
|
import babase
|
||||||
import bascenev1 as bs
|
from babase import charstr
|
||||||
from babase import charstr as uwu
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
list_of_icons = [i for i in babase.SpecialChar]
|
||||||
from typing import Any, Optional, Dict, List, Tuple, Type, Iterable
|
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
|
# ba_meta export keyboard
|
||||||
class IconKeyboard_byFreaku(babase.Keyboard):
|
class IconKeyboard(babase.Keyboard):
|
||||||
"""Keyboard go brrrrrrr"""
|
"""Keyboard go brrrrrrr"""
|
||||||
name = 'Icons by \ue048Freaku'
|
name = 'Icons by \ue048Freaku'
|
||||||
chars = [(uwu(babase.SpecialChar.TICKET),
|
chars = [(list_of_icons[0:10]),
|
||||||
uwu(babase.SpecialChar.CROWN),
|
(list_of_icons[10:19]),
|
||||||
uwu(babase.SpecialChar.DRAGON),
|
(list_of_icons[19:26])]
|
||||||
uwu(babase.SpecialChar.SKULL),
|
nums = ['' for i in range(26)]
|
||||||
uwu(babase.SpecialChar.HEART),
|
pages = {
|
||||||
uwu(babase.SpecialChar.FEDORA),
|
f'icon{i//26+1}': tuple(list_of_icons[i:i+26])
|
||||||
uwu(babase.SpecialChar.HAL),
|
for i in range(26, len(list_of_icons), 26)
|
||||||
uwu(babase.SpecialChar.YIN_YANG),
|
}
|
||||||
uwu(babase.SpecialChar.EYE_BALL),
|
|
||||||
uwu(babase.SpecialChar.HELMET),
|
|
||||||
uwu(babase.SpecialChar.OUYA_BUTTON_U)),
|
|
||||||
(uwu(babase.SpecialChar.MUSHROOM),
|
|
||||||
uwu(babase.SpecialChar.NINJA_STAR),
|
|
||||||
uwu(babase.SpecialChar.VIKING_HELMET),
|
|
||||||
uwu(babase.SpecialChar.MOON),
|
|
||||||
uwu(babase.SpecialChar.SPIDER),
|
|
||||||
uwu(babase.SpecialChar.FIREBALL),
|
|
||||||
uwu(babase.SpecialChar.MIKIROG),
|
|
||||||
uwu(babase.SpecialChar.OUYA_BUTTON_O),
|
|
||||||
uwu(babase.SpecialChar.LOCAL_ACCOUNT),
|
|
||||||
uwu(babase.SpecialChar.LOGO)),
|
|
||||||
(uwu(babase.SpecialChar.TICKET),
|
|
||||||
uwu(babase.SpecialChar.FLAG_INDIA),
|
|
||||||
uwu(babase.SpecialChar.OCULUS_LOGO),
|
|
||||||
uwu(babase.SpecialChar.STEAM_LOGO),
|
|
||||||
uwu(babase.SpecialChar.NVIDIA_LOGO),
|
|
||||||
uwu(babase.SpecialChar.GAME_CENTER_LOGO),
|
|
||||||
uwu(babase.SpecialChar.GOOGLE_PLAY_GAMES_LOGO),
|
|
||||||
uwu(babase.SpecialChar.EXPLODINARY_LOGO))]
|
|
||||||
nums = []
|
|
||||||
pages: Dict[str, Tuple[str, ...]] = {}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue