Merge pull request #124 from koenigderluegner/legends-arceus-assets

Draft: Legends Arceus assets
This commit is contained in:
Michiel Sikma 2022-07-22 22:14:27 +02:00 committed by GitHub
commit 84ebcd5ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
49 changed files with 882 additions and 189 deletions

View File

@ -207,6 +207,11 @@
"eng": "Special attributes"
}
},
"origin-marks": {
"name": {
"eng": "Origin marks"
}
},
"types": {
"name": {
"eng": "Type icons"

View File

@ -3473,7 +3473,7 @@
"gen-8": "special-attribute/mega-evolution-sigil-hires.png"
},
"resolution": {
"gen-8": "2x"
"gen-8": "1x"
}
},
{
@ -3487,7 +3487,219 @@
"gen-8": "special-attribute/gigantamax-icon.png"
},
"resolution": {
"gen-8": "2x"
"gen-8": "1x"
}
},
{
"name": {
"eng": "Alpha Icon",
"jpn": "オヤブンマーク",
"jpn_ro": "Oyabun maaku"
},
"origin_gen": 8,
"files": {
"legends-arceus": "special-attribute/alpha-icon.png"
},
"resolution": {
"legends-arceus": "2x"
}
},
{
"name": {
"eng": "Shiny Stars",
"jpn": "星マーク",
"jpn_ro": "Hoshi maaku"
},
"origin_gen": 2,
"files": {
"legends-arceus": "special-attribute/shiny-stars.png"
},
"resolution": {
"legends-arceus": "2x"
}
},
{
"name": {
"eng": "Move Mastery",
"jpn": "皆伝マーク",
"jpn_ro": "Kaiden maaku"
},
"origin_gen": 8,
"files": {
"legends-arceus": "special-attribute/move-mastery.png"
},
"resolution": {
"legends-arceus": "2x"
}
}
],
"origin-marks": [
{
"name": {
"eng": "Game Boy Mark",
"jpn": "ゲームボーイマーク",
"jpn_ro": "Gameboy maaku"
},
"origin_gen": 1,
"files": {
"legends-arceus": "origin-marks/legends-arceus/game-boy.png",
"home": "origin-marks/home/game-boy.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
"name": {
"eng": "Pentagon Mark",
"jpn": "カロスマーク",
"jpn_ro": "Kalos maaku"
},
"origin_gen": 6,
"files": {
"legends-arceus": "origin-marks/legends-arceus/pentagon.png",
"home": "origin-marks/home/pentagon.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
"name": {
"eng": "Clover Mark",
"jpn": "アローラマーク",
"jpn_ro": "Alola maaku"
},
"origin_gen": 7,
"files": {
"legends-arceus": "origin-marks/legends-arceus/clover.png",
"home": "origin-marks/home/clover.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
"name": {
"eng": "GO Mark",
"jpn": "GOマーク",
"jpn_ro": "GO maaku"
},
"origin_gen": 7,
"files": {
"legends-arceus": "origin-marks/legends-arceus/go.png",
"home": "origin-marks/home/go.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
"name": {
"eng": "Let's Go Mark",
"jpn": "ピカブイマーク",
"jpn_ro": "Pikabui maaku"
},
"origin_gen": 7,
"files": {
"legends-arceus": "origin-marks/legends-arceus/lets-go.png",
"home": "origin-marks/home/lets-go.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
"name": {
"eng": "Galar Mark",
"jpn": "ガラルマーク",
"jpn_ro": "Galar maaku"
},
"origin_gen": 8,
"files": {
"legends-arceus": "origin-marks/legends-arceus/galar.png",
"home": "origin-marks/home/galar.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
"name": {
"eng": "Sinnoh Mark",
"jpn": "シンオウマーク",
"jpn_ro": "Sinnoh maaku"
},
"origin_gen": 8,
"files": {
"legends-arceus": "origin-marks/legends-arceus/sinnoh-gen8.png",
"home": "origin-marks/home/sinnoh-gen8.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
"name": {
"eng": "Hisui Mark",
"jpn": "ヒスイマーク",
"jpn_ro": "Hisui maaku"
},
"origin_gen": 8,
"files": {
"legends-arceus": "origin-marks/legends-arceus/hisui.png",
"home": "origin-marks/home/hisui.png"
},
"resolution": {
"legends-arceus": "2x",
"home": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
}
],
@ -3502,13 +3714,23 @@
"gen-8": [
"#9099a1",
"#4d5052"
],
"legends-arceus": [
"#9099a1",
"#4d5052"
]
},
"files": {
"gen-8": "type-logos/gen8/normal.png"
"gen-8": "type-logos/gen8/normal.png",
"legends-arceus": "type-logos/legends-arceus/normal.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3521,13 +3743,23 @@
"gen-8": [
"#ce4069",
"#58414a"
] ,
"legends-arceus": [
"#ce4069",
"#58414a"
]
},
"files": {
"gen-8": "type-logos/gen8/fighting.png"
"gen-8": "type-logos/gen8/fighting.png",
"legends-arceus": "type-logos/legends-arceus/fighting.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3540,13 +3772,23 @@
"gen-8": [
"#8fa8dd",
"#4d525a"
],
"legends-arceus": [
"#8fa8dd",
"#4d525a"
]
},
"files": {
"gen-8": "type-logos/gen8/flying.png"
"gen-8": "type-logos/gen8/flying.png",
"legends-arceus": "type-logos/legends-arceus/flying.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3559,13 +3801,23 @@
"gen-8": [
"#ab6ac8",
"#524958"
],
"legends-arceus": [
"#ab6ac8",
"#524958"
]
},
"files": {
"gen-8": "type-logos/gen8/poison.png"
"gen-8": "type-logos/gen8/poison.png",
"legends-arceus": "type-logos/legends-arceus/poison.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3578,13 +3830,23 @@
"gen-8": [
"#d97746",
"#5a4a42"
],
"legends-arceus": [
"#d97746",
"#5a4a42"
]
},
"files": {
"gen-8": "type-logos/gen8/ground.png"
"gen-8": "type-logos/gen8/ground.png",
"legends-arceus": "type-logos/legends-arceus/ground.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3597,13 +3859,23 @@
"gen-8": [
"#c7b78b",
"#585550"
],
"legends-arceus": [
"#c7b78b",
"#585550"
]
},
"files": {
"gen-8": "type-logos/gen8/rock.png"
"gen-8": "type-logos/gen8/rock.png",
"legends-arceus": "type-logos/legends-arceus/rock.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3616,13 +3888,23 @@
"gen-8": [
"#90c12c",
"#4d553f"
],
"legends-arceus": [
"#90c12c",
"#4d553f"
]
},
"files": {
"gen-8": "type-logos/gen8/bug.png"
"gen-8": "type-logos/gen8/bug.png",
"legends-arceus": "type-logos/legends-arceus/bug.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3635,13 +3917,23 @@
"gen-8": [
"#5269ac",
"#424952"
],
"legends-arceus": [
"#5269ac",
"#424952"
]
},
"files": {
"gen-8": "type-logos/gen8/ghost.png"
"gen-8": "type-logos/gen8/ghost.png",
"legends-arceus": "type-logos/legends-arceus/ghost.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3654,13 +3946,23 @@
"gen-8": [
"#5a8ea1",
"#454d52"
],
"legends-arceus": [
"#5a8ea1",
"#454d52"
]
},
"files": {
"gen-8": "type-logos/gen8/steel.png"
"gen-8": "type-logos/gen8/steel.png",
"legends-arceus": "type-logos/legends-arceus/steel.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3673,13 +3975,23 @@
"gen-8": [
"#ff9c54",
"#605045"
],
"legends-arceus": [
"#ff9c54",
"#605045"
]
},
"files": {
"gen-8": "type-logos/gen8/fire.png"
"gen-8": "type-logos/gen8/fire.png",
"legends-arceus": "type-logos/legends-arceus/fire.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3692,13 +4004,23 @@
"gen-8": [
"#4d90d5",
"#424e5a"
],
"legends-arceus": [
"#4d90d5",
"#424e5a"
]
},
"files": {
"gen-8": "type-logos/gen8/water.png"
"gen-8": "type-logos/gen8/water.png",
"legends-arceus": "type-logos/legends-arceus/water.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3711,13 +4033,23 @@
"gen-8": [
"#63bb5b",
"#455547"
],
"legends-arceus": [
"#63bb5b",
"#455547"
]
},
"files": {
"gen-8": "type-logos/gen8/grass.png"
"gen-8": "type-logos/gen8/grass.png",
"legends-arceus": "type-logos/legends-arceus/grass.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3730,13 +4062,23 @@
"gen-8": [
"#f3d23b",
"#5d5942"
],
"legends-arceus": [
"#f3d23b",
"#5d5942"
]
},
"files": {
"gen-8": "type-logos/gen8/electric.png"
"gen-8": "type-logos/gen8/electric.png",
"legends-arceus": "type-logos/legends-arceus/electric.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3749,13 +4091,23 @@
"gen-8": [
"#f97176",
"#5d494a"
],
"legends-arceus": [
"#f97176",
"#5d494a"
]
},
"files": {
"gen-8": "type-logos/gen8/psychic.png"
"gen-8": "type-logos/gen8/psychic.png",
"legends-arceus": "type-logos/legends-arceus/psychic.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3768,13 +4120,23 @@
"gen-8": [
"#74cec0",
"#475858"
],
"legends-arceus": [
"#74cec0",
"#475858"
]
},
"files": {
"gen-8": "type-logos/gen8/ice.png"
"gen-8": "type-logos/gen8/ice.png",
"legends-arceus": "type-logos/legends-arceus/ice.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3787,13 +4149,23 @@
"gen-8": [
"#0a6dc4",
"#374958"
],
"legends-arceus": [
"#0a6dc4",
"#374958"
]
},
"files": {
"gen-8": "type-logos/gen8/dragon.png"
"gen-8": "type-logos/gen8/dragon.png",
"legends-arceus": "type-logos/legends-arceus/dragon.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3806,13 +4178,23 @@
"gen-8": [
"#5a5366",
"#45454a"
],
"legends-arceus": [
"#5a5366",
"#45454a"
]
},
"files": {
"gen-8": "type-logos/gen8/dark.png"
"gen-8": "type-logos/gen8/dark.png",
"legends-arceus": "type-logos/legends-arceus/dark.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
},
{
@ -3825,13 +4207,23 @@
"gen-8": [
"#ec8fe6",
"#5d4e5d"
],
"legends-arceus": [
"#ec8fe6",
"#5d4e5d"
]
},
"files": {
"gen-8": "type-logos/gen8/fairy.png"
"gen-8": "type-logos/gen8/fairy.png",
"legends-arceus": "type-logos/legends-arceus/fairy.png"
},
"resolution": {
"gen-8": "2x"
},
"attributes": {
"legends-arceus": {
"is_all_white": true
}
}
}
],

View File

@ -5,7 +5,7 @@
<title>PokéSprite - Index</title>
<!--
PokéSprite - Documentation page
pokesprite-images v2.6.1 master-557 [1fa21731]
pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]
(;゚~゚)ゝ”
-->

View File

@ -5,7 +5,7 @@
<title>PokéSprite - Gen 7</title>
<!--
PokéSprite - Documentation page
pokesprite-images v2.6.1 master-557 [1fa21731]
pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]
(;゚~゚)ゝ”
-->
@ -31,7 +31,7 @@
</div>
<table class="pokesprite">
<thead>
<tr class="title"><th></th><th colspan="10">Gen 7 sprite overview table<br /><span>pokesprite-images v2.6.1 master-557 [1fa21731]</span></th></tr>
<tr class="title"><th></th><th colspan="10">Gen 7 sprite overview table<br /><span>pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]</span></th></tr>
<tr class="header"><th>#</th><th>Dex</th><th>Name</th><th colspan="2">名前/ローマ字</th><th colspan="2">Sprites</th><th colspan="3">Form</th><th>Slug</th></tr>
</thead>
<tbody class="gen7">

View File

@ -5,7 +5,7 @@
<title>PokéSprite - Gen 8 (new sprites only)</title>
<!--
PokéSprite - Documentation page
pokesprite-images v2.6.1 master-557 [1fa21731]
pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]
(;゚~゚)ゝ”
-->
@ -31,7 +31,7 @@
</div>
<table class="pokesprite">
<thead>
<tr class="title"><th></th><th colspan="10">Gen 8 sprite overview table (new sprites only)<br /><span>pokesprite-images v2.6.1 master-557 [1fa21731]</span></th></tr>
<tr class="title"><th></th><th colspan="10">Gen 8 sprite overview table (new sprites only)<br /><span>pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]</span></th></tr>
<tr class="header"><th>#</th><th>Dex</th><th>Name</th><th colspan="2">名前/ローマ字</th><th colspan="2">Sprites</th><th colspan="3">Form</th><th>Slug</th></tr>
</thead>
<tbody class="gen8">

View File

@ -5,7 +5,7 @@
<title>PokéSprite - Gen 8</title>
<!--
PokéSprite - Documentation page
pokesprite-images v2.6.1 master-557 [1fa21731]
pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]
(;゚~゚)ゝ”
-->
@ -31,7 +31,7 @@
</div>
<table class="pokesprite">
<thead>
<tr class="title"><th></th><th colspan="10">Gen 8 sprite overview table<br /><span>pokesprite-images v2.6.1 master-557 [1fa21731]</span></th></tr>
<tr class="title"><th></th><th colspan="10">Gen 8 sprite overview table<br /><span>pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]</span></th></tr>
<tr class="header"><th>#</th><th>Dex</th><th>Name</th><th colspan="2">名前/ローマ字</th><th colspan="2">Sprites</th><th colspan="3">Form</th><th>Slug</th></tr>
</thead>
<tbody class="gen8">

View File

@ -5,7 +5,7 @@
<title>PokéSprite - Inventory item sprites</title>
<!--
PokéSprite - Documentation page
pokesprite-images v2.6.1 master-557 [1fa21731]
pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]
(;゚~゚)ゝ”
-->
@ -27,7 +27,7 @@
</div>
<table class="pokesprite">
<thead>
<tr class="title"><th></th><th colspan="11">Inventory sprite overview table<br /><span>pokesprite-images v2.6.1 master-557 [1fa21731]</span></th></tr>
<tr class="title"><th></th><th colspan="11">Inventory sprite overview table<br /><span>pokesprite-images v2.7.0 legends-arceus-assets-558 [ea416833]</span></th></tr>
<tr class="header"><th>#</th><th>Item ID</th><th>Name</th><th colspan="2">Sprites</th><th>Group</th><th colspan="2">Filename/notes</th></tr>
</thead>
<tbody>

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,9 @@
:root {
--gh-black: #24292e;
--gh-blue: #0366d6;
--shade-8: #444d56;
--shade-10: #3e4650;
--shade-9: #444d56;
--shade-8: #545c68;
--shade-7: #6a737d;
--shade-6: #959da5;
--shade-5: #c6cbd1;
@ -309,7 +311,7 @@
border-bottom-color: var(--shade-6);
border-radius: 3px;
box-shadow: inset 0 -1px 0 var(--shade-6);
color: var(--shade-8);
color: var(--shade-9);
display: inline-block;
font-size: 11px;
line-height: 10px;
@ -502,7 +504,7 @@
border-bottom-color: var(--shade-5);
border-radius: 3px;
box-shadow: inset 0 -1px 0 var(--shade-5);
color: var(--shade-8);
color: var(--shade-9);
display: inline-block;
font: 11px SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
line-height: 10px;

View File

@ -79,6 +79,12 @@
.markdown-body .pokesprite tbody tr.variable-height td {
vertical-align: middle;
}
.markdown-body .pokesprite tbody td.is-all-white {
background-color: var(--shade-10);
}
.markdown-body .pokesprite tbody tr:hover td.is-all-white {
background-color: var(--shade-7);
}
.markdown-body .pokesprite tbody span[title] {
border-bottom: 1px dotted var(--gh-black);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 849 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

View File

@ -1,6 +1,6 @@
{
"name": "pokesprite-images",
"version": "2.6.1",
"version": "2.7.0",
"description": "Database project of box and inventory sprites from the Pokémon core series games",
"files": [
"contributors.md",

View File

@ -355,7 +355,7 @@ def get_img_node(url, name, form_name, type, retina_type = None):
return f'<img class="{cls}" src="{url}" alt="{form_name}" />'
def get_gen_str(str):
return str.capitalize() if 'gen-' not in str else ('Gen ' + str.split('-')[1])
return str.replace("-", " ").title()
def reset_counter():
'''Resets the global sprite counter'''
@ -423,7 +423,7 @@ def generate_misc_table(misc, meta, curr_page, json_file, version = '[unknown]',
buffer.append('<tbody>')
# Ribbons and marks
for misc_set in ['ribbon', 'mark', 'special-attribute']:
for misc_set in ['ribbon', 'mark', 'special-attribute', 'origin-marks']:
buffer.append('<tbody>')
buffer.append('<tr><th></th><th colspan="6" class="group" id="%s">%s</th></tr>' % (misc_set, groups[misc_set]['name']['eng']))
buffer.append('</tbody>')
@ -453,8 +453,11 @@ def generate_misc_table(misc, meta, curr_page, json_file, version = '[unknown]',
count = get_counter()
gen_n = get_gen_str(k)
res = item['resolution'][k]
attributes = item.get("attributes", {}).get(k, {})
retina_type = \
'ribbon-gen8' if (res == '2x' and misc_set in ['ribbon', 'mark']) else \
'origin-mark' if (res == '2x' and misc_set in ['origin-marks']) else \
'special-attribute' if (res == '2x' and misc_set in ['special-attribute']) else \
None
buffer.append('<tr class="variable-height">')
buffer.append(f'<td>{count}</td>')
@ -464,7 +467,7 @@ def generate_misc_table(misc, meta, curr_page, json_file, version = '[unknown]',
buffer.append(f'<td{rowspan}>{name_eng_desc}</td>')
buffer.append(f'<td{rowspan}>{name_jpn}</td>')
buffer.append(f'<td{rowspan}>Gen {origin_gen}</td>')
buffer.append('<td class="image item">' + get_img_node(get_misc_url(base_url, v), None, f"Sprite for '{name_eng}'", 'm', retina_type) + '</td>')
buffer.append('<td class="image item' + (' is-all-white' if attributes.get('is_all_white') else '') + '">' + get_img_node(get_misc_url(base_url, v), None, f"Sprite for '{name_eng}'", 'm', retina_type) + '</td>')
buffer.append(f'<td class="filler{" last-item" if len(vs) > 1 and row_n > 0 else ""}"><code>{v}</code></td>')
if len(vs) > 1:
if gen_row_n == 0:
@ -528,6 +531,7 @@ def generate_misc_table(misc, meta, curr_page, json_file, version = '[unknown]',
gen_n = get_gen_str(k)
colors = item['colors'][k]
main_color = colors[0]
attributes = item.get("attributes", {}).get(k, {})
buffer.append('<tr class="variable-height">')
buffer.append(f'<td>{count}</td>')
if row_n == 0:
@ -536,7 +540,7 @@ def generate_misc_table(misc, meta, curr_page, json_file, version = '[unknown]',
buffer.append(f'<td{rowspan}>{name_eng.capitalize()}</td>')
buffer.append(f'<td{rowspan} colspan="2">{name_jpn}</td>')
buffer.append('<td class="image item type-icon-' + name_eng + '">' + \
buffer.append('<td class="image item type-icon-' + name_eng + (' is-all-white' if attributes.get('is_all_white') else '') + '">' + \
f'<style>tr:hover .type-icon-{name_eng} {{ background: {main_color} !important; }} tr:hover .type-icon-{name_eng} img {{ filter: brightness(100); }}</style>' + \
get_img_node(get_misc_url(base_url, v), None, f"Sprite for '{name_eng}'", 'm', 'body-style-gen8') + '</td>')
buffer.append(f'<td class="filler" colspan="1"><code>{v}</code></td>')