From e103348201a47aa8c783852a514d8b574b2b1981 Mon Sep 17 00:00:00 2001 From: Lertsenem Date: Mon, 8 Mar 2021 23:37:39 +0100 Subject: [PATCH] Adding new SSBU character Pyra & Mythra Since there are 4 different images variations, there are actually 4 characters added: - pyra - pyra & mythra - mythra - mythra & pyra --- lokrez/characters_ssbu.py | 32 +++++++++++++++++++ lokrez/templates/_covid/covid.j2 | 4 +++ .../confismash/characters_corrections.j2 | 6 +++- .../characters_corrections.j2 | 4 +++ .../rebootlyon2020/characters_corrections.j2 | 4 +++ 5 files changed, 49 insertions(+), 1 deletion(-) diff --git a/lokrez/characters_ssbu.py b/lokrez/characters_ssbu.py index 8cc5c2f..71afc99 100644 --- a/lokrez/characters_ssbu.py +++ b/lokrez/characters_ssbu.py @@ -703,5 +703,37 @@ EVERYONE = [ "https://www.spriters-resource.com/download/145102/", ], ), + SSBUCharacter( + smashggid = None, + name = "pyra", + codename = "eflame_only", + spritersurls = [ + "https://www.spriters-resource.com/download/149626/", + ], + ), + SSBUCharacter( + smashggid = None, + name = "pyra & mythra", + codename = "eflame_first", + spritersurls = [ + "https://www.spriters-resource.com/download/149627/", + ], + ), + SSBUCharacter( + smashggid = None, + name = "mythra", + codename = "elight_only", + spritersurls = [ + "https://www.spriters-resource.com/download/149628/", + ], + ), + SSBUCharacter( + smashggid = None, + name = "mythra & pyra", + codename = "elight_first", + spritersurls = [ + "https://www.spriters-resource.com/download/149629/", + ], + ), ] diff --git a/lokrez/templates/_covid/covid.j2 b/lokrez/templates/_covid/covid.j2 index a5d379e..b962719 100644 --- a/lokrez/templates/_covid/covid.j2 +++ b/lokrez/templates/_covid/covid.j2 @@ -1034,6 +1034,10 @@ "09": "zero suit samus", "10": "zero suit samus", }, + "pyra": {}, + "pyra & mythra": {}, + "mythra": {}, + "mythra & pyra": {}, } %} diff --git a/lokrez/templates/confismash/characters_corrections.j2 b/lokrez/templates/confismash/characters_corrections.j2 index 4c8ebe3..93f6111 100644 --- a/lokrez/templates/confismash/characters_corrections.j2 +++ b/lokrez/templates/confismash/characters_corrections.j2 @@ -74,7 +74,7 @@ "mii fighter": { "default": (0, 0) }, "mii gunner": { "default": (0, 0) }, "mii swordsman": { "default": (0, 0) }, - "min min": { "default": (-30, -13) }, + "min min": { "default": (-60, -13) }, "mr game and watch": { "default": (0, -3) }, "ness": { "default": (-2, 0) }, "olimar": { "default": (-20, -17) }, @@ -116,5 +116,9 @@ "young link": { "default": (-16, 0) }, "zelda": { "default": (-80, 0) }, "zero suit samus": { "default": (-53, -1) }, + "pyra" : { "default": (0, 0) }, + "pyra & mythra" : { "default": (0, 0) }, + "mythra" : { "default": (0, 0) }, + "mythra & pyra" : { "default": (0, 0) }, } %} diff --git a/lokrez/templates/meltdownlyon2020/characters_corrections.j2 b/lokrez/templates/meltdownlyon2020/characters_corrections.j2 index 1b1464f..07170cb 100644 --- a/lokrez/templates/meltdownlyon2020/characters_corrections.j2 +++ b/lokrez/templates/meltdownlyon2020/characters_corrections.j2 @@ -106,5 +106,9 @@ "young link": { "default": (24, -10) }, "zelda": { "default": (-20,-7) }, "zero suit samus": { "default": (-13, -11) }, + "pyra" : { "default": (0, 0) }, + "pyra & mythra" : { "default": (0, 0) }, + "mythra" : { "default": (0, 0) }, + "mythra & pyra" : { "default": (0, 0) }, } %} diff --git a/lokrez/templates/rebootlyon2020/characters_corrections.j2 b/lokrez/templates/rebootlyon2020/characters_corrections.j2 index 89850fb..e9495cf 100644 --- a/lokrez/templates/rebootlyon2020/characters_corrections.j2 +++ b/lokrez/templates/rebootlyon2020/characters_corrections.j2 @@ -100,5 +100,9 @@ "young link": { "default": (24, -10) }, "zelda": { "default": (-20,-7) }, "zero suit samus": { "default": (-13, -11) }, + "pyra" : { "default": (0, 0) }, + "pyra & mythra" : { "default": (0, 0) }, + "mythra" : { "default": (0, 0) }, + "mythra & pyra" : { "default": (0, 0) }, } %}