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