From 3d1c2e6b201cc141dfd801f48c16c8c2882c32cb Mon Sep 17 00:00:00 2001 From: Lertsenem Date: Wed, 3 Mar 2021 09:09:18 +0100 Subject: [PATCH] Add other smash games base data --- lokrez/challonge.py | 4 +- lokrez/characters_ssbu.py | 707 ---------------------------- lokrez/games/__init__.py | 34 ++ lokrez/games/melee.py | 276 +++++++++++ lokrez/games/pplus.py | 469 +++++++++++++++++++ lokrez/games/ssbu.py | 962 ++++++++++++++++++++++++++++++++++++++ lokrez/smashgg.py | 4 +- 7 files changed, 1745 insertions(+), 711 deletions(-) delete mode 100644 lokrez/characters_ssbu.py create mode 100644 lokrez/games/__init__.py create mode 100644 lokrez/games/melee.py create mode 100644 lokrez/games/pplus.py create mode 100644 lokrez/games/ssbu.py diff --git a/lokrez/challonge.py b/lokrez/challonge.py index 0632b44..8aea72b 100644 --- a/lokrez/challonge.py +++ b/lokrez/challonge.py @@ -4,7 +4,7 @@ import pathlib import requests -from . import characters_ssbu +from .games import ssbu # ============================================================================= API_HOST = "api.challonge.com" @@ -16,7 +16,7 @@ API_URL = "{scheme}://{host}/{endpoint}".format( endpoint = API_ENDPOINT, ) -CHARACTERS = { c.smashggid : c.name for c in characters_ssbu.EVERYONE } +CHARACTERS = { c.smashggid : c.name for c in ssbu.EVERYONE } PLAYERSKINS = {} diff --git a/lokrez/characters_ssbu.py b/lokrez/characters_ssbu.py deleted file mode 100644 index 8cc5c2f..0000000 --- a/lokrez/characters_ssbu.py +++ /dev/null @@ -1,707 +0,0 @@ -# ------------------------------------------------------------------------- -class SSBUCharacter: - """Infos needed about an SSBU character""" - def __init__( - self, - name, - codename, - spritersurls, - smashggid = None, - ): - self.spritersurls = spritersurls - self.smashggid = smashggid - self.name = name - self.codename = codename - -# ------------------------------------------------------------------------- -EVERYONE = [ - SSBUCharacter( - smashggid = 1530, - name = "banjo & kazooie", - codename = "buddy", - spritersurls = [ - "https://www.spriters-resource.com/download/121027/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "bayonetta", - codename = "bayonetta", - spritersurls = [ - "https://www.spriters-resource.com/download/111299/", - ], - ), - SSBUCharacter( - smashggid = 1272, - name = "bowser jr", - codename = "koopajr", - spritersurls = [ - "https://www.spriters-resource.com/download/111303/", - ], - ), - SSBUCharacter( - smashggid = 1273, - name = "bowser", - codename = "koopa", - spritersurls = [ - "https://www.spriters-resource.com/download/111302/", - ], - ), - SSBUCharacter( - smashggid = 1539, - name = "byleth", - codename = "master", - spritersurls = [ - "https://www.spriters-resource.com/download/125348/", - ], - ), - SSBUCharacter( - smashggid = 1274, - name = "captain falcon", - codename = "captain", - spritersurls = [ - "https://www.spriters-resource.com/download/111304/" - ], - ), - SSBUCharacter( - smashggid = None, - name = "charizard", - codename = "plizardon", - spritersurls = [ - "https://www.spriters-resource.com/download/111351/", - ], - ), - SSBUCharacter( - smashggid = 1409, - name = "chrom", - codename = "chrom", - spritersurls = [ - "https://www.spriters-resource.com/download/111305/", - ], - ), - SSBUCharacter( - smashggid = 1275, - name = "cloud", - codename = "cloud", - spritersurls = [ - "https://www.spriters-resource.com/download/111306/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "corrin", - codename = "kamui", - spritersurls = [ - "https://www.spriters-resource.com/download/111307/", - ], - ), - SSBUCharacter( - smashggid = 1277, - name = "daisy", - codename = "daisy", - spritersurls = [ - "https://www.spriters-resource.com/download/111308/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "dark pit", - codename = "pitb", - spritersurls = [ - "https://www.spriters-resource.com/download/111309/", - ], - ), - SSBUCharacter( - smashggid = 1279, - name = "diddy kong", - codename = "diddy", - spritersurls = [ - "https://www.spriters-resource.com/download/111311/", - ], - ), - SSBUCharacter( - smashggid = 1280, - name = "donkey kong", - codename = "donkey", - spritersurls = [ - "https://www.spriters-resource.com/download/111312/", - ], - ), - SSBUCharacter( - smashggid = 1282, - name = "dr mario", - codename = "mariod", - spritersurls = [ - "https://www.spriters-resource.com/download/111313/", - ], - ), - SSBUCharacter( - smashggid = 1283, - name = "duck hunt", - codename = "duckhunt", - spritersurls = [ - "https://www.spriters-resource.com/download/111314/", - ], - ), - SSBUCharacter( - smashggid = 1285, - name = "falco", - codename = "falco", - spritersurls = [ - "https://www.spriters-resource.com/download/111315/", - ], - ), - SSBUCharacter( - smashggid = 1286, - name = "fox", - codename = "fox", - spritersurls = [ - "https://www.spriters-resource.com/download/111316/", - ], - ), - SSBUCharacter( - smashggid = 1287, - name = "ganondorf", - codename = "ganon", - spritersurls = [ - "https://www.spriters-resource.com/download/111317/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "greninja", - codename = "gekkouga", - spritersurls = [ - "https://www.spriters-resource.com/download/111318/", - ], - ), - SSBUCharacter( - smashggid = 1526, - name = "hero", - codename = "brave", - spritersurls = [ - "https://www.spriters-resource.com/download/119842/", - ], - ), - SSBUCharacter( - smashggid = 1290, - name = "ice climbers", - codename = "ice_climber", - spritersurls = [ - "https://www.spriters-resource.com/download/111319/", - ], - ), - SSBUCharacter( - smashggid = 1291, - name = "ike", - codename = "ike", - spritersurls = [ - "https://www.spriters-resource.com/download/111320/", - ], - ), - SSBUCharacter( - smashggid = 1292, - name = "inkling", - codename = "inkling", - spritersurls = [ - "https://www.spriters-resource.com/download/111322/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "ivysaur", - codename = "pfushigisou", - spritersurls = [ - "https://www.spriters-resource.com/download/111352/", - ], - ), - SSBUCharacter( - smashggid = 1293, - name = "jigglypuff", - codename = "purin", - spritersurls = [ - "https://www.spriters-resource.com/download/111324/", - ], - ), - SSBUCharacter( - smashggid = 1410, - name = "ken", - codename = "ken", - spritersurls = [ - "https://www.spriters-resource.com/download/111325/", - ], - ), - SSBUCharacter( - smashggid = 1294, - name = "king dedede", - codename = "dedede", - spritersurls = [ - "https://www.spriters-resource.com/download/111326/", - ], - ), - SSBUCharacter( - smashggid = 1295, - name = "kirby", - codename = "kirby", - spritersurls = [ - "https://www.spriters-resource.com/download/111328/", - ], - ), - SSBUCharacter( - smashggid = 1296, - name = "link", - codename = "link", - spritersurls = [ - "https://www.spriters-resource.com/download/111329/", - ], - ), - SSBUCharacter( - smashggid = 1297, - name = "little mac", - codename = "littlemac", - spritersurls = [ - "https://www.spriters-resource.com/download/111330/", - ], - ), - SSBUCharacter( - smashggid = 1298, - name = "lucario", - codename = "lucario", - spritersurls = [ - "https://www.spriters-resource.com/download/111331/", - ], - ), - SSBUCharacter( - smashggid = 1299, - name = "lucas", - codename = "lucas", - spritersurls = [ - "https://www.spriters-resource.com/download/111332/", - ], - ), - SSBUCharacter( - smashggid = 1300, - name = "lucina", - codename = "lucina", - spritersurls = [ - "https://www.spriters-resource.com/download/111333/", - ], - ), - SSBUCharacter( - smashggid = 1301, - name = "luigi", - codename = "luigi", - spritersurls = [ - "https://www.spriters-resource.com/download/111334/", - ], - ), - SSBUCharacter( - smashggid = 1302, - name = "mario", - codename = "mario", - spritersurls = [ - "https://www.spriters-resource.com/download/111335/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "marth", - codename = "marth", - spritersurls = [ - "https://www.spriters-resource.com/download/111336/", - ], - ), - SSBUCharacter( - smashggid = 1305, - name = "mega man", - codename = "rockman", - spritersurls = [ - "https://www.spriters-resource.com/download/111337/", - ], - ), - SSBUCharacter( - smashggid = 1307, - name = "meta knight", - codename = "metaknight", - spritersurls = [ - "https://www.spriters-resource.com/download/111338/", - ], - ), - SSBUCharacter( - smashggid = 1310, - name = "mewtwo", - codename = "mewtwo", - spritersurls = [ - "https://www.spriters-resource.com/download/111339/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "mii fighter", - codename = "miifighter", - spritersurls = [ - "https://www.spriters-resource.com/download/111340/", - ], - ), - SSBUCharacter( - smashggid = 1415, - name = "mii gunner", - codename = "miigunner", - spritersurls = [ - "https://www.spriters-resource.com/download/111340/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "mii swordsman", - codename = "miiswordsman", - spritersurls = [ - "https://www.spriters-resource.com/download/111340/", - ], - ), - SSBUCharacter( - smashggid = 1313, - name = "ness", - codename = "ness", - spritersurls = [ - "https://www.spriters-resource.com/download/111342/", - ], - ), - SSBUCharacter( - smashggid = 1314, - name = "olimar", - codename = "pikmin", - spritersurls = [ - "https://www.spriters-resource.com/download/111343/", - ], - ), - SSBUCharacter( - smashggid = 1315, - name = "pacman", - codename = "pacman", - spritersurls = [ - "https://www.spriters-resource.com/download/111344/", - ], - ), - SSBUCharacter( - smashggid = 1316, - name = "palutena", - codename = "palutena", - spritersurls = [ - "https://www.spriters-resource.com/download/111345/", - ], - ), - SSBUCharacter( - smashggid = 1317, - name = "peach", - codename = "peach", - spritersurls = [ - "https://www.spriters-resource.com/download/111346/", - ], - ), - SSBUCharacter( - smashggid = 1318, - name = "pichu", - codename = "pichu", - spritersurls = [ - "https://www.spriters-resource.com/download/111347/", - ], - ), - SSBUCharacter( - smashggid = 1319, - name = "pikachu", - codename = "pikachu", - spritersurls = [ - "https://www.spriters-resource.com/download/111348/", - ], - ), - SSBUCharacter( - smashggid = 1320, - name = "pit", - codename = "pit", - spritersurls = [ - "https://www.spriters-resource.com/download/111349/", - ], - ), - SSBUCharacter( - smashggid = 1321, - name = "pokemon trainer", - codename = "ptrainer", - spritersurls = [ - "https://www.spriters-resource.com/download/111350/", - ], - ), - SSBUCharacter( - smashggid = 1412, - name = "richter", - codename = "richter", - spritersurls = [ - "https://www.spriters-resource.com/download/111354/", - ], - ), - SSBUCharacter( - smashggid = 1322, - name = "ridley", - codename = "ridley", - spritersurls = [ - "https://www.spriters-resource.com/download/111355/", - ], - ), - SSBUCharacter( - smashggid = 1323, - name = "rob", - codename = "robot", - spritersurls = [ - "https://www.spriters-resource.com/download/111356/", - ], - ), - SSBUCharacter( - smashggid = 1324, - name = "robin", - codename = "reflet", - spritersurls = [ - "https://www.spriters-resource.com/download/111357/", - ], - ), - SSBUCharacter( - smashggid = 1325, - name = "rosalina and luma", - codename = "rosetta", - spritersurls = [ - "https://www.spriters-resource.com/download/111358/", - ], - ), - SSBUCharacter( - smashggid = 1326, - name = "roy", - codename = "roy", - spritersurls = [ - "https://www.spriters-resource.com/download/111359/", - ], - ), - SSBUCharacter( - smashggid = 1327, - name = "ryu", - codename = "ryu", - spritersurls = [ - "https://www.spriters-resource.com/download/111360/", - ], - ), - SSBUCharacter( - smashggid = 1328, - name = "samus", - codename = "samus", - spritersurls = [ - "https://www.spriters-resource.com/download/111361/", - ], - ), - SSBUCharacter( - smashggid = 1329, - name = "sheik", - codename = "sheik", - spritersurls = [ - "https://www.spriters-resource.com/download/111362/", - ], - ), - SSBUCharacter( - smashggid = 1330, - name = "shulk", - codename = "shulk", - spritersurls = [ - "https://www.spriters-resource.com/download/111363/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "simon", - codename = "simon", - spritersurls = [ - "https://www.spriters-resource.com/download/111364/", - ], - ), - SSBUCharacter( - smashggid = 1331, - name = "snake", - codename = "snake", - spritersurls = [ - "https://www.spriters-resource.com/download/111365/", - ], - ), - SSBUCharacter( - smashggid = 1332, - name = "sonic", - codename = "sonic", - spritersurls = [ - "https://www.spriters-resource.com/download/111366/", - ], - ), - SSBUCharacter( - smashggid = None, - name = "squirtle", - codename = "pzenigame", - spritersurls = [ - "https://www.spriters-resource.com/download/111353/", - ], - ), - SSBUCharacter( - smashggid = 1333, - name = "toon link", - codename = "toonlink", - spritersurls = [ - "https://www.spriters-resource.com/download/111367/", - ], - ), - SSBUCharacter( - smashggid = 1334, - name = "villager", - codename = "murabito", - spritersurls = [ - "https://www.spriters-resource.com/download/111368/", - ], - ), - SSBUCharacter( - smashggid = 1335, - name = "wario", - codename = "wario", - spritersurls = [ - "https://www.spriters-resource.com/download/111369/", - ], - ), - SSBUCharacter( - smashggid = 1336, - name = "wii fit trainer", - codename = "wiifit", - spritersurls = [ - "https://www.spriters-resource.com/download/111370/", - ], - ), - SSBUCharacter( - smashggid = 1337, - name = "wolf", - codename = "wolf", - spritersurls = [ - "https://www.spriters-resource.com/download/111371/", - ], - ), - SSBUCharacter( - smashggid = 1338, - name = "yoshi", - codename = "yoshi", - spritersurls = [ - "https://www.spriters-resource.com/download/111372/", - ], - ), - SSBUCharacter( - smashggid = 1339, - name = "young link", - codename = "younglink", - spritersurls = [ - "https://www.spriters-resource.com/download/111373/", - ], - ), - SSBUCharacter( - smashggid = 1340, - name = "zelda", - codename = "zelda", - spritersurls = [ - "https://www.spriters-resource.com/download/111374/", - ], - ), - SSBUCharacter( - smashggid = 1341, - name = "zero suit samus", - codename = "szerosuit", - spritersurls = [ - "https://www.spriters-resource.com/download/111375/", - ], - ), - SSBUCharacter( - smashggid = 1405, - name = "mr game and watch", - codename = "gamewatch", - spritersurls = [ - "https://www.spriters-resource.com/download/111341/", - ], - ), - SSBUCharacter( - smashggid = 1406, - name = "incineroar", - codename = "gaogaen", - spritersurls = [ - "https://www.spriters-resource.com/download/111321/", - ], - ), - SSBUCharacter( - smashggid = 1407, - name = "king k rool", - codename = "krool", - spritersurls = [ - "https://www.spriters-resource.com/download/111327/", - ], - ), - SSBUCharacter( - smashggid = 1408, - name = "dark samus", - codename = "samusd", - spritersurls = [ - "https://www.spriters-resource.com/download/111310/", - ], - ), - SSBUCharacter( - smashggid = 1413, - name = "isabelle", - codename = "shizue", - spritersurls = [ - "https://www.spriters-resource.com/download/111323/", - ], - ), - SSBUCharacter( - smashggid = 1441, - name = "piranha plant", - codename = "packun", - spritersurls = [ - "https://www.spriters-resource.com/download/113440/", - ], - ), - SSBUCharacter( - smashggid = 1453, - name = "joker", - codename = "jack", - spritersurls = [ - "https://www.spriters-resource.com/download/116168/", - ], - ), - SSBUCharacter( - smashggid = 1532, - name = "terry", - codename = "dolly", - spritersurls = [ - "https://www.spriters-resource.com/download/123089/", - ], - ), - SSBUCharacter( - smashggid = 1747, - name = "min min", - codename = "tantan", - spritersurls = [ - "https://www.spriters-resource.com/download/134242/", - ], - ), - SSBUCharacter( - smashggid = 1766, - name = "steve", - codename = "pickel", - spritersurls = [ - "https://www.spriters-resource.com/download/140939/", - ], - ), - SSBUCharacter( - smashggid = 1777, - name = "sephiroth", - codename = "edge", - spritersurls = [ - "https://www.spriters-resource.com/download/145102/", - ], - ), - ] - diff --git a/lokrez/games/__init__.py b/lokrez/games/__init__.py new file mode 100644 index 0000000..3ce7270 --- /dev/null +++ b/lokrez/games/__init__.py @@ -0,0 +1,34 @@ +# ============================================================================= +# ----------------------------------------------------------------------------- +class Character: + """Infos needed about an SSBU character""" + def __init__( + self, + name, + codename, + smashggid = None, + res_urls = {}, + ): + self.res_urls = res_urls + self.smashggid = smashggid + self.name = name + self.codename = codename + +# ----------------------------------------------------------------------------- +class Game: + def __init__( + self, + name, + fullname, + aliases, + smashggid = None, + ): + + self.name = name + self.fullname = fullname + self.aliases = aliases + self.smashggid = smashggid + + def list_names(self): + return [self.name] + [self.fullname] + self.aliases + diff --git a/lokrez/games/melee.py b/lokrez/games/melee.py new file mode 100644 index 0000000..83d57f6 --- /dev/null +++ b/lokrez/games/melee.py @@ -0,0 +1,276 @@ +from . import Character,Game + +# ----------------------------------------------------------------------------- +GAME = Game( + name = "melee", + fullname = "Super Smash Brothers Melee", + aliases = [ + "ssbm", + ], + smashggid = 1, + ) + +# ----------------------------------------------------------------------------- +EVERYONE = [ + Character( + smashggid = None, + name = "bowser", + codename = "bowser", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/bowser.zip", + ], + }, + ), + Character( + smashggid = None, + name = "captain falcon", + codename = "captain", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/captain.zip", + ] + }, + ), + Character( + smashggid = None, + name = "donkey kong", + codename = "donkey", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/donkey.zip", + ], + }, + ), + Character( + smashggid = None, + name = "dr mario", + codename = "doc", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/doc.zip", + ], + }, + ), + Character( + smashggid = None, + name = "falco", + codename = "falco", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/falco.zip", + ], + }, + ), + Character( + smashggid = None, + name = "fox", + codename = "fox", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/fox.zip", + ], + }, + ), + Character( + smashggid = None, + name = "ganondorf", + codename = "ganondorf", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/ganondorf.zip", + ], + }, + ), + Character( + smashggid = None, + name = "ice climbers", + codename = "iceclimber", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/iceclimber.zip", + ], + }, + ), + Character( + smashggid = None, + name = "jigglypuff", + codename = "jigglypuff", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/jigglypuff.zip", + ], + }, + ), + Character( + smashggid = None, + name = "kirby", + codename = "kirby", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/kirby.zip", + ], + }, + ), + Character( + smashggid = None, + name = "link", + codename = "link", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/link.zip", + ], + }, + ), + Character( + smashggid = None, + name = "luigi", + codename = "luigi", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/luigi.zip", + ], + }, + ), + Character( + smashggid = None, + name = "mario", + codename = "mario", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/mario.zip", + ], + }, + ), + Character( + smashggid = None, + name = "marth", + codename = "marth", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/marth.zip", + ], + }, + ), + Character( + smashggid = None, + name = "mewtwo", + codename = "mewtwo", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/mewtwo.zip", + ], + }, + ), + Character( + smashggid = None, + name = "ness", + codename = "ness", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/ness.zip", + ], + }, + ), + Character( + smashggid = None, + name = "peach", + codename = "peach", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/peach.zip", + ], + }, + ), + Character( + smashggid = None, + name = "pichu", + codename = "pichu", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/pichu.zip", + ], + }, + ), + Character( + smashggid = None, + name = "pikachu", + codename = "pikachu", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/pikachu.zip", + ], + }, + ), + Character( + smashggid = None, + name = "roy", + codename = "roy", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/roy.zip", + ], + }, + ), + Character( + smashggid = None, + name = "samus", + codename = "samus", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/samus.zip", + ], + }, + ), + Character( + smashggid = None, + name = "sheik", + codename = "sheik", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/sheik.zip", + ], + }, + ), + Character( + smashggid = None, + name = "yoshi", + codename = "yoshi", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/yoshi.zip", + ], + }, + ), + Character( + smashggid = None, + name = "young link", + codename = "yink", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/yink.zip", + ], + }, + ), + Character( + smashggid = None, + name = "zelda", + codename = "zelda", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/zelda.zip", + ], + }, + ), + Character( + smashggid = None, + name = "mr game and watch", + codename = "mrgameandwatch", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/melee/mrgameandwatch.zip", + ], + }, + ), + ] + diff --git a/lokrez/games/pplus.py b/lokrez/games/pplus.py new file mode 100644 index 0000000..cfa045d --- /dev/null +++ b/lokrez/games/pplus.py @@ -0,0 +1,469 @@ +from . import Character,Game + +# ----------------------------------------------------------------------------- +GAME = Game( + name = "pplus", + fullname = "Project +", + aliases = [ + "projectplus", + "p+", + "project plus", + ], + smashggid = None, + ) + +# ----------------------------------------------------------------------------- +EVERYONE = [ + Character( + smashggid = 100, + name = "bowser", + codename = "Bowser", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Bowser.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "captain falcon", + codename = "CF", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Captain Falcon.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ] + }, + ), + Character( + smashggid = None, + name = "charizard", + codename = "charizard", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Charizard.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "diddy kong", + codename = "Diddy", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Diddy Kong.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = 102, + name = "donkey kong", + codename = "DK", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Donkey Kong.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "falco", + codename = "falco", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Falco.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "fox", + codename = "fox", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Fox.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "Ganondorf", + codename = "ganon", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Ganondorf.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "ice climbers", + codename = "IC", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Ice Climbers.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "ike", + codename = "Ike", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Ike.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = 121, + name = "ivysaur", + codename = "Ivysaur", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Ivysaur.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = 118, + name = "jigglypuff", + codename = "jigglypuff", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Jigglypuff.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "king Dedede", + codename = "DeDeDe", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/DeDeDe.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "kirby", + codename = "Kirby", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Kirby.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "link", + codename = "link", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Link.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "lucario", + codename = "Lucario", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Lucario.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "lucas", + codename = "lucas", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Lucas.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "luigi", + codename = "luigi", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Luigi.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "mario", + codename = "Mario", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Mario.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = 128, + name = "marth", + codename = "Marth", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Marth.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "meta knight", + codename = "metaknight", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Metaknight.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "mewtwo", + codename = "mewtwo", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Mewtwo.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "ness", + codename = "ness", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Ness.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = 134, + name = "olimar", + codename = "Olimar", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Olimar.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "peach", + codename = "Peach", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Peach.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "pikachu", + codename = "Pikachu", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Pikachu.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "pit", + codename = "pit", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Pit.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "rob", + codename = "Rob", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Rob.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "roy", + codename = "Roy", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Roy.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "samus", + codename = "samus", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Samus.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "sheik", + codename = "sheik", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Sheik.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "snake", + codename = "Snake", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Snake.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "sonic", + codename = "Sonic", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Sonic.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "squirtle", + codename = "squirtle", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Squirtle.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "toon link", + codename = "Toon Link", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Toon Link.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = 133, + name = "wario", + codename = "Wario", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Wario.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "wolf", + codename = "Wolf", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Wolf.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "yoshi", + codename = "Yoshi", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Yoshi.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "zelda", + codename = "Zelda", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Zelda.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = None, + name = "zero suit samus", + codename = "zss", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Zero Suit Samus.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + Character( + smashggid = 131, + name = "mr game and watch", + codename = "Gw", + res_urls = { + "smashlyon": [ + "https://resources.smashlyon.com/pplus/Mr Game & Watch.zip", + "https://resources.smashlyon.com/pplus/Stocks icons.zip", + ], + }, + ), + ] + diff --git a/lokrez/games/ssbu.py b/lokrez/games/ssbu.py new file mode 100644 index 0000000..40053a4 --- /dev/null +++ b/lokrez/games/ssbu.py @@ -0,0 +1,962 @@ +from . import Character,Game + +# ----------------------------------------------------------------------------- +GAME = Game( + name = "ssbu", + fullname = "Super Smash Brothers Ultimate", + aliases = [ + "ultimate", + ], + smashggid = None, + ) + +# ----------------------------------------------------------------------------- +EVERYONE = [ + Character( + smashggid = 1530, + name = "banjo & kazooie", + codename = "buddy", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/121027/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "bayonetta", + codename = "bayonetta", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111299/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1272, + name = "bowser jr", + codename = "koopajr", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111303/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1273, + name = "bowser", + codename = "koopa", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111302/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1539, + name = "byleth", + codename = "master", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/125348/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1274, + name = "captain falcon", + codename = "captain", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111304/", + "https://www.spriters-resource.com/download/111395/", + ] + }, + ), + Character( + smashggid = None, + name = "charizard", + codename = "plizardon", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111351/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1409, + name = "chrom", + codename = "chrom", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111305/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1275, + name = "cloud", + codename = "cloud", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111306/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "corrin", + codename = "kamui", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111307/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1277, + name = "daisy", + codename = "daisy", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111308/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "dark pit", + codename = "pitb", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111309/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1279, + name = "diddy kong", + codename = "diddy", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111311/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1280, + name = "donkey kong", + codename = "donkey", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111312/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1282, + name = "dr mario", + codename = "mariod", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111313/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1283, + name = "duck hunt", + codename = "duckhunt", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111314/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1285, + name = "falco", + codename = "falco", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111315/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1286, + name = "fox", + codename = "fox", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111316/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1287, + name = "ganondorf", + codename = "ganon", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111317/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "greninja", + codename = "gekkouga", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111318/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1526, + name = "hero", + codename = "brave", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/119842/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1290, + name = "ice climbers", + codename = "ice_climber", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111319/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1291, + name = "ike", + codename = "ike", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111320/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1292, + name = "inkling", + codename = "inkling", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111322/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "ivysaur", + codename = "pfushigisou", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111352/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1293, + name = "jigglypuff", + codename = "purin", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111324/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1410, + name = "ken", + codename = "ken", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111325/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1294, + name = "king dedede", + codename = "dedede", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111326/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1295, + name = "kirby", + codename = "kirby", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111328/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1296, + name = "link", + codename = "link", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111329/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1297, + name = "little mac", + codename = "littlemac", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111330/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1298, + name = "lucario", + codename = "lucario", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111331/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1299, + name = "lucas", + codename = "lucas", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111332/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1300, + name = "lucina", + codename = "lucina", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111333/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1301, + name = "luigi", + codename = "luigi", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111334/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1302, + name = "mario", + codename = "mario", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111335/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "marth", + codename = "marth", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111336/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1305, + name = "mega man", + codename = "rockman", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111337/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1307, + name = "meta knight", + codename = "metaknight", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111338/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1310, + name = "mewtwo", + codename = "mewtwo", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111339/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "mii fighter", + codename = "miifighter", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111340/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1415, + name = "mii gunner", + codename = "miigunner", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111340/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "mii swordsman", + codename = "miiswordsman", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111340/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1313, + name = "ness", + codename = "ness", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111342/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1314, + name = "olimar", + codename = "pikmin", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111343/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1315, + name = "pacman", + codename = "pacman", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111344/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1316, + name = "palutena", + codename = "palutena", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111345/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1317, + name = "peach", + codename = "peach", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111346/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1318, + name = "pichu", + codename = "pichu", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111347/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1319, + name = "pikachu", + codename = "pikachu", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111348/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1320, + name = "pit", + codename = "pit", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111349/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1321, + name = "pokemon trainer", + codename = "ptrainer", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111350/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1412, + name = "richter", + codename = "richter", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111354/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1322, + name = "ridley", + codename = "ridley", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111355/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1323, + name = "rob", + codename = "robot", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111356/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1324, + name = "robin", + codename = "reflet", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111357/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1325, + name = "rosalina and luma", + codename = "rosetta", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111358/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1326, + name = "roy", + codename = "roy", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111359/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1327, + name = "ryu", + codename = "ryu", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111360/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1328, + name = "samus", + codename = "samus", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111361/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1329, + name = "sheik", + codename = "sheik", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111362/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1330, + name = "shulk", + codename = "shulk", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111363/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "simon", + codename = "simon", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111364/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1331, + name = "snake", + codename = "snake", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111365/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1332, + name = "sonic", + codename = "sonic", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111366/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = None, + name = "squirtle", + codename = "pzenigame", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111353/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1333, + name = "toon link", + codename = "toonlink", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111367/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1334, + name = "villager", + codename = "murabito", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111368/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1335, + name = "wario", + codename = "wario", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111369/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1336, + name = "wii fit trainer", + codename = "wiifit", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111370/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1337, + name = "wolf", + codename = "wolf", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111371/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1338, + name = "yoshi", + codename = "yoshi", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111372/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1339, + name = "young link", + codename = "younglink", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111373/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1340, + name = "zelda", + codename = "zelda", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111374/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1341, + name = "zero suit samus", + codename = "szerosuit", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111375/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1405, + name = "mr game and watch", + codename = "gamewatch", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111341/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1406, + name = "incineroar", + codename = "gaogaen", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111321/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1407, + name = "king k rool", + codename = "krool", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111327/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1408, + name = "dark samus", + codename = "samusd", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111310/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1413, + name = "isabelle", + codename = "shizue", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/111323/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1441, + name = "piranha plant", + codename = "packun", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/113440/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1453, + name = "joker", + codename = "jack", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/116168/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1532, + name = "terry", + codename = "dolly", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/123089/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1747, + name = "min min", + codename = "tantan", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/134242/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1766, + name = "steve", + codename = "pickel", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/140939/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + Character( + smashggid = 1777, + name = "sephiroth", + codename = "edge", + res_urls = { + "spriters": [ + "https://www.spriters-resource.com/download/145102/", + "https://www.spriters-resource.com/download/111395/", + ], + }, + ), + ] + diff --git a/lokrez/smashgg.py b/lokrez/smashgg.py index 3451ec0..b1c3aec 100644 --- a/lokrez/smashgg.py +++ b/lokrez/smashgg.py @@ -4,7 +4,7 @@ import pathlib import requests -from . import characters_ssbu +from .games import ssbu # ============================================================================= API_HOST = "api.smash.gg" @@ -16,7 +16,7 @@ API_URL = "{scheme}://{host}/{endpoint}".format( endpoint = API_ENDPOINT, ) -CHARACTERS = { c.smashggid : c.name for c in characters_ssbu.EVERYONE } +CHARACTERS = { c.smashggid : c.name for c in ssbu.EVERYONE } GET_PLAYERDATA = lambda tag: {"tag": tag,}