Add sponsor infos in DB

master
Lertsenem 2020-08-21 11:34:02 +02:00
parent bdc46de226
commit 8ca17429de
2 changed files with 309 additions and 122 deletions

View File

@ -1,251 +1,432 @@
{
"ad": {
"meta knight": "07"
"skins": {
"meta knight": "07"
}
},
"altek": {
"kirby": "06",
"pikachu": "06",
"zelda": "03"
"sponsor": "RBT",
"skins": {
"kirby": "06",
"pikachu": "06",
"zelda": "03"
}
},
"alvis": {
"roy": "06",
"yoshi": "05"
"skins": {
"roy": "06",
"yoshi": "05"
}
},
"arima": {
"inkling": "00",
"king k rool": "00",
"little mac": "00",
"lucario": "00",
"pikachu": "00"
"skins": {
"inkling": "00",
"king k rool": "00",
"little mac": "00",
"lucario": "00",
"pikachu": "00"
}
},
"arthas": {
"sponsor": "SSY",
"skins": {
"bowser jr": "04",
"byleth": "04"
}
},
"bac": {
"wolf": "06",
"yoshi": "05"
"skins": {
"wolf": "06",
"yoshi": "05"
}
},
"bastos": {
"wario": "06"
"sponsor": "F9",
"skins": {
"wario": "06"
}
},
"bear": {
"skins": {
"banjo & kazooie": "02",
"mario": "00"
}
},
"bdl": {
"bayonetta": "00",
"inkling": "07"
"skins": {
"bayonetta": "00",
"inkling": "07"
}
},
"benj": {
"dark samus": "07"
"skins": {
"dark samus": "07"
}
},
"bento": {
"pokemon trainer": "07"
"sponsor": "HUB",
"skins": {
"pokemon trainer": "07"
}
},
"bibliburst": {
"falco": "01",
"yoshi": "06"
"skins": {
"falco": "01",
"yoshi": "06"
}
},
"bifasse": {
"yoshi": "07"
"skins": {
"yoshi": "07"
}
},
"captain": {
"sonic": "04",
"terry": "00"
"skins": {
"sonic": "04",
"terry": "00"
}
},
"captain falcum": {
"joker": "06",
"wolf": "06"
"skins": {
"joker": "06",
"wolf": "06"
}
},
"davianel": {
"luigi": "00",
"olimar": "02",
"sheik": "04"
"skins": {
"luigi": "00",
"olimar": "02",
"sheik": "04"
}
},
"debatab": {
"zelda": "01"
"skins": {
"zelda": "01"
}
},
"dixar": {
"lucina": "03",
"sheik": "07",
"terry": "00"
"skins": {
"lucina": "03",
"sheik": "07",
"terry": "00"
}
},
"dr. crow": {
"lucina": "03",
"sheik": "05"
"sponsor": "APSIDE",
"skins": {
"lucina": "03",
"sheik": "05"
}
},
"draver ": {
"joker": "02",
"young link": "02"
"skins": {
"joker": "02",
"young link": "02"
}
},
"dyl": {
"bowser": "00",
"captain falcon": "07",
"sonic": "03",
"wolf": "03"
"skins": {
"bowser": "00",
"captain falcon": "07",
"sonic": "03",
"wolf": "03"
}
},
"estus": {
"mario": "05"
"skins": {
"mario": "05"
}
},
"flynn": {
"ike": "03",
"min min": "01"
"skins": {
"ike": "03",
"min min": "01"
}
},
"francis": {
"mega man": "02",
"terry": ""
"skins": {
"mega man": "02",
"terry": ""
}
},
"gd": {
"bowser": "01",
"cloud": "03",
"pac man": "06",
"wolf": "06",
"zss": "01"
"skins": {
"bowser": "01",
"cloud": "03",
"pac man": "06",
"wolf": "06",
"zss": "01"
}
},
"gogem": {
"sponsor": "DT",
"skins": {
"pikachu": "00"
}
}
"godoh": {
"skins": {
"snake": "06"
}
}
"greeneyes": {
"sponsor": "NXE",
"skins": {
"zss": "05"
}
}
"jg": {
"ike": "06"
"skins": {
"ike": "06"
}
},
"jylomaki": {
"mega man": "00"
"skins": {
"mega man": "00"
}
},
"l'obez": {
"bowser": "06"
"skins": {
"bowser": "06"
}
},
"lertsenem": {
"link": "01",
"incineroar": "00"
"skins": {
"link": "01",
"incineroar": "00"
}
},
"lil marty": {
"pichu": "07"
"sponsor": "RBT",
"skins": {
"pichu": "07"
}
},
"linkab": {
"bayonetta": "00",
"inkling": "07"
"skins": {
"bayonetta": "00",
"inkling": "07"
}
},
"bdl": {
"bayonetta": "00",
"inkling": "07"
"skins": {
"bayonetta": "00",
"inkling": "07"
}
},
"lukrra": {
"robin": "03"
"skins": {
"robin": "03"
}
},
"magic'": {
"mr game & watch": "00"
"skins": {
"mr game & watch": "00"
}
},
"mocra": {
"mario": ""
"skins": {
"mario": ""
}
},
"mushroompunch": {
"samus": "00"
"skins": {
"samus": "00"
}
},
"naskino": {
"marth": "03",
"palutena": "06",
"zelda": "05"
"sponsor": "ISG",
"skins": {
"marth": "03",
"palutena": "06",
"zelda": "05"
}
},
"nekim": {
"joker": "00"
"sponsor": "RLN",
"skins": {
"joker": "00"
}
},
"nemesis": {
"jigglypuff": "03",
"min min": "04",
"pichu": "02"
"skins": {
"jigglypuff": "03",
"min min": "04",
"pichu": "02"
}
},
"nonocolors": {
"pokemon trainer": "03",
"wario": "02",
"wolf": "00"
"sponsor": "FCG",
"skins": {
"pokemon trainer": "03",
"wario": "02",
"wolf": "00"
}
},
"oxydion": {
"ganondorf": "00",
"mr game & watch": "02"
"skins": {
"ganondorf": "00",
"mr game & watch": "02"
}
},
"pandaroux": {
"ice climbers": "07",
"inkling": "00",
"ness": "02"
"sponsor": "UBI",
"skins": {
"ice climbers": "07",
"inkling": "00",
"ness": "02"
}
},
"personne": {
"inkling": "05"
"skins": {
"inkling": "05"
}
},
"pew": {
"ness": "01"
"sponsor": "LSE",
"skins": {
"ness": "01"
}
},
"phoenix": {
"snake": "05"
"sponsor": "HASUKÏ",
"skins": {
"snake": "05"
}
},
"phyel": {
"mr game & watch": "06"
"skins": {
"mr game & watch": "06"
}
},
"pitou ": {
"sponsor": "CHECKPOINT",
"skins": {
"luigi": "06",
}
},
"pom ": {
"chrom": "07",
"lucina": "06",
"samus": "06",
"toon link": "04"
"sponsor": "RBT",
"skins": {
"chrom": "07",
"lucina": "06",
"samus": "06",
"toon link": "04"
}
},
"pyoro": {
"isabelle": "07",
"terry": "00",
"zelda": "07"
"skins": {
"isabelle": "07",
"terry": "00",
"zelda": "07"
}
},
"raivals": {
"min min": "00",
"peach": "01"
"sponsor": "LBC",
"skins": {
"min min": "00",
"peach": "01"
}
},
"rob one": {
"peach": "00"
"skins": {
"peach": "00"
}
},
"rohan_doge": {
"meta knight": "00"
"skins": {
"meta knight": "00"
}
},
"sfar": {
"joker": "00",
"wolf": "00"
"skins": {
"joker": "00",
"wolf": "00"
}
},
"shiko": {
"pac man": "07"
"skins": {
"pac man": "07"
}
},
"shishi": {
"isabelle": "06",
"joker": "06"
"sponsor": "CHECKPOINT",
"skins": {
"isabelle": "06",
"joker": "06"
}
},
"snoua": {
"link": "00"
"skins": {
"link": "00"
}
},
"sourif": {
"bowser jr": "01",
"mr game & watch": "01",
"pokemon trainer": "05",
"ryu": "04",
"wii fit": "06"
"skins": {
"bowser jr": "01",
"mr game & watch": "01",
"pokemon trainer": "05",
"ryu": "04",
"wii fit trainer": "06"
}
},
"teezy": {
"diddy kong": "00",
"pikachu": "03",
"pokemon trainer": "05",
"wario": "03"
"sponsor": "UBI",
"skins": {
"diddy kong": "00",
"pikachu": "03",
"pokemon trainer": "05",
"wario": "03"
}
},
"tomipal": {
"pikachu": "02",
"pokemon trainer": "00"
"skins": {
"pikachu": "02",
"pokemon trainer": "00"
}
},
"tonios": {
"isabelle": "01",
"mario": "00"
"sponsor": "RBT",
"skins": {
"isabelle": "01",
"mario": "00"
}
},
"tonios ": {
"bowser": "06"
"skins": {
"bowser": "06"
}
},
"underkowe": {
"joker": "03",
"zss": "05"
"skins": {
"joker": "03",
"zss": "05"
}
},
"vlad": {
"rob": "00"
"skins": {
"rob": "00"
}
},
"yannwatts": {
"ness": "05"
"sponsor": "SGE",
"skins": {
"ness": "05"
}
},
"ykseew": {
"wii fit": "00"
"skins": {
"wii fit trainer": "00"
}
},
"yogui": {
"daisy": "07"
"skins": {
"daisy": "07"
}
},
"zequar": {
"mewtwo": "07"
"skins": {
"mewtwo": "07"
}
}
}

View File

@ -44,6 +44,12 @@ class Player():
self.seeding = int(seeding)
self.twitterHandle = ( "" if twitterHandle is None else twitterHandle )
# Prefix is superseeded by sponsors infos
try:
self.prefix = PLAYERSKINS[self.gamerTag.lower()]["sponsor"]
except:
pass
if chars is None:
self.chars = {}
else:
@ -59,7 +65,7 @@ class Player():
charname = character # Unknown char -> sgg id
try:
skin = PLAYERSKINS[self.gamerTag.lower()][charname]
skin = PLAYERSKINS[self.gamerTag.lower()]["skins"][charname]
except KeyError:
skin = "00" # default skin