diff --git a/lokrez/templates/rebootlyon2020/characters_corrections.j2 b/lokrez/templates/rebootlyon2020/characters_corrections.j2 index fb88b4e..26d180b 100644 --- a/lokrez/templates/rebootlyon2020/characters_corrections.j2 +++ b/lokrez/templates/rebootlyon2020/characters_corrections.j2 @@ -75,7 +75,7 @@ "snake": { "default": (0, -3) }, "sonic": { "default": (20, -6) }, "squirtle": { "default": (33, -2) }, - "terry": { "default": (-22, -22) }, + "terry": { "default": (20, 50, 0.66) }, "toon link": { "default": (24, -23) }, "villager": { "default": (28, -18) }, "wario": { "default": (22, -5) }, diff --git a/lokrez/templates/rebootlyon2020/template.svg.j2 b/lokrez/templates/rebootlyon2020/template.svg.j2 index 8dbc6ba..079e272 100644 --- a/lokrez/templates/rebootlyon2020/template.svg.j2 +++ b/lokrez/templates/rebootlyon2020/template.svg.j2 @@ -815,13 +815,22 @@ xlink:href="{{dir_res_ssbu}}/{{p.get_mains()[0][0]|e}}/chara_3_{{p.get_mains()[0][0]|e}}_{{p.get_mains()[0][1]}}.png" x="{{ (1/(0.07 if loop.index == 1 else 0.0615)) * ( 51.0 + charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[0] ) }}" y="{{ (1/(0.07 if loop.index == 1 else 0.0615)) * ( (114 if loop.index==1 else 124) + charcorr.charcorr[p.get_mains()[0][0]].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[1] ) }}" + {% if charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[2] %} + transform="scale({{ (0.07 if loop.index == 1 else 0.0615) * ( charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[2] )}})" + {% else %} transform="scale({{0.07 if loop.index == 1 else 0.0615}})" + {% endif %} style="display:inline;image-rendering:optimizeQuality" id="player{{loop.index}}_img" inkscape:svg-dpi="1" /> {% if "covid" in options %}