Add a covid option for confismash theme

The covid masks files and data have been moved from the rebootlyon2020
template directory to the template root (under _template), so now it can
be more easily used by any template. And so the covid opion has been
added to the confismash template
master
Lertsenem 2021-01-09 19:07:26 +01:00
parent 18bf4e9d17
commit 17905a94d0
85 changed files with 130 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 184 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 285 KiB

After

Width:  |  Height:  |  Size: 285 KiB

View File

Before

Width:  |  Height:  |  Size: 498 KiB

After

Width:  |  Height:  |  Size: 498 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 125 KiB

View File

Before

Width:  |  Height:  |  Size: 265 KiB

After

Width:  |  Height:  |  Size: 265 KiB

View File

Before

Width:  |  Height:  |  Size: 322 KiB

After

Width:  |  Height:  |  Size: 322 KiB

View File

Before

Width:  |  Height:  |  Size: 424 KiB

After

Width:  |  Height:  |  Size: 424 KiB

View File

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

View File

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

View File

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 207 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 179 KiB

View File

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 158 KiB

View File

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 262 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 197 KiB

View File

Before

Width:  |  Height:  |  Size: 370 KiB

After

Width:  |  Height:  |  Size: 370 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 453 KiB

After

Width:  |  Height:  |  Size: 453 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB

View File

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 207 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

View File

Before

Width:  |  Height:  |  Size: 374 KiB

After

Width:  |  Height:  |  Size: 374 KiB

View File

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 118 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 816 KiB

After

Width:  |  Height:  |  Size: 816 KiB

View File

Before

Width:  |  Height:  |  Size: 242 KiB

After

Width:  |  Height:  |  Size: 242 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

View File

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 442 KiB

After

Width:  |  Height:  |  Size: 442 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 309 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 171 KiB

View File

Before

Width:  |  Height:  |  Size: 399 KiB

After

Width:  |  Height:  |  Size: 399 KiB

View File

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View File

Before

Width:  |  Height:  |  Size: 339 KiB

After

Width:  |  Height:  |  Size: 339 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -60,7 +60,7 @@
"little mac": { "default": (-20, 5) },
"lucario": { "default": (-10, -3) },
"lucas": { "default": (-14, -5) },
"lucina": { "default": (-63, 2) },
"lucina": { "default": (-83, 2) },
"luigi": { "default": (-5, 3) },
"mario": { "default": (-10, -10) },
"marth": { "default": (-70, -3) },

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
{% import "confismash/characters_corrections.j2" as charcorr %}
{% if "covid" in options %}
{% import "_covid/covid.j2" as covid %}
{% endif %}
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
xmlns:dc="http://purl.org/dc/elements/1.1/"
@ -2150,6 +2153,22 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
{% if charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] %}
scale({{ 0.08869 * ( charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] )}})
{% else %}
scale({{0.08869}})
{% endif %}
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[1].get_mains()[0][0] ].get( players[1].get_mains()[0][1], charcorr.charcorr[ players[1].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[1].get_mains()[0][0]][players[1].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="fill:url(#linearGradient1903);fill-opacity:1;stroke-width:0.0494766;stop-color:#000000"
@ -2413,6 +2432,22 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
{% if charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] %}
scale({{ 0.08869 * ( charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] )}})
{% else %}
scale({{0.08869}})
{% endif %}
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[2].get_mains()[0][0] ].get( players[2].get_mains()[0][1], charcorr.charcorr[ players[2].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[2].get_mains()[0][0]][players[2].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="opacity:1;fill:url(#linearGradient1903-0);fill-opacity:1;stroke-width:0.0525142;stop-color:#000000"
@ -2545,6 +2580,22 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
{% if charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] %}
scale({{ 0.08869 * ( charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] )}})
{% else %}
scale({{0.08869}})
{% endif %}
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[3].get_mains()[0][0] ].get( players[3].get_mains()[0][1], charcorr.charcorr[ players[3].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[3].get_mains()[0][0]][players[3].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="opacity:1;fill:url(#linearGradient1903-5-9);fill-opacity:1;stroke-width:0.0528054;stop-color:#000000"
@ -2668,6 +2719,22 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
{% if charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] %}
scale({{ 0.08869 * ( charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] )}})
{% else %}
scale({{0.08869}})
{% endif %}
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[4].get_mains()[0][0] ].get( players[4].get_mains()[0][1], charcorr.charcorr[ players[4].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[4].get_mains()[0][0]][players[4].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="opacity:1;fill:url(#linearGradient1903-5-9-9);fill-opacity:1;stroke-width:0.0541005;stop-color:#000000"
@ -2788,6 +2855,22 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
{% if charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] %}
scale({{ 0.08869 * ( charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] )}})
{% else %}
scale({{0.08869}})
{% endif %}
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[5].get_mains()[0][0] ].get( players[5].get_mains()[0][1], charcorr.charcorr[ players[5].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[5].get_mains()[0][0]][players[5].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="opacity:1;fill:url(#linearGradient1903-5-9-9-6);fill-opacity:1;stroke-width:0.0541005;stop-color:#000000"
@ -2911,6 +2994,22 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
{% if charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] %}
scale({{ 0.08869 * ( charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] )}})
{% else %}
scale({{0.08869}})
{% endif %}
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[6].get_mains()[0][0] ].get( players[6].get_mains()[0][1], charcorr.charcorr[ players[6].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[6].get_mains()[0][0]][players[6].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="opacity:1;fill:url(#linearGradient1903-5-9-9-6-4);fill-opacity:1;stroke-width:0.0557806;stop-color:#000000"
@ -3033,6 +3132,22 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
{% if charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] %}
scale({{ 0.08869 * ( charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] )}})
{% else %}
scale({{0.08869}})
{% endif %}
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[7].get_mains()[0][0] ].get( players[7].get_mains()[0][1], charcorr.charcorr[ players[7].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[7].get_mains()[0][0]][players[7].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="opacity:1;fill:url(#linearGradient1903-5-9-9-6-4-6);fill-opacity:1;stroke-width:0.0557806;stop-color:#000000"
@ -3167,6 +3282,18 @@
x="{{ (1/( 0.08869 * charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[0]) }}"
y="{{ (1/( 0.08869 * charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[1]) }}"
/>
{% if "covid" in options %}
<g
transform="
scale({{( 0.08869 * charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] else 0.08869 )}})
translate(
{{ (1/( 0.08869 * charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(725.54163 + charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[0]) }}
{{ (1/( 0.08869 * charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] if charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[2] else 0.08869 ))*(143.36404 + charcorr.charcorr[ players[0].get_mains()[0][0] ].get( players[0].get_mains()[0][1], charcorr.charcorr[ players[0].get_mains()[0][0] ]["default"] )[1]) }}
)"
>
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[players[0].get_mains()[0][0]][players[0].get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
</g>
<path
style="opacity:1;fill:url(#linearGradient1903-5);fill-opacity:1;stroke-width:0.0486402;stop-color:#000000"

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
{% import "rebootlyon2020/characters_corrections.j2" as charcorr %}
{% if "covid" in options %}
{% import "rebootlyon2020/covid/covid.j2" as covid %}
{% import "_covid/covid.j2" as covid %}
{% endif %}
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
@ -837,7 +837,7 @@
{{ "{:.5f}".format((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] )) }}
)"
>
{% include "rebootlyon2020/covid/{}.svg.j2".format(covid.masks_filenames[p.get_mains()[0][0]][p.get_mains()[0][1]]) ignore missing %}
{% include "_covid/{}.svg.j2".format(covid.masks_filenames[p.get_mains()[0][0]][p.get_mains()[0][1]]) ignore missing %}
</g>
{% endif %}
<rect