Add gigantamax icon

This commit is contained in:
Michiel Sikma
2020-07-10 21:31:30 +02:00
parent 176659d07e
commit abd9ad6b29
3 changed files with 12 additions and 1 deletions

View File

@@ -2856,6 +2856,17 @@
"files": {
"gen-4": ["special-attribute/leaf-crown.png", "special-attribute/leaf-crown--shadow.png"]
}
},
{
"name": {
"eng": "Gigantamax Icon",
"jpn": "キョダイマックスのアイコン",
"jpn_ro": "Gyodaimakkusu no aikon"
},
"origin_gen": 8,
"files": {
"gen-8": "special-attribute/gigantamax-icon.png"
}
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -456,7 +456,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', 'ribbon-gen8' if gen_n == '8' else None) + '</td>')
buffer.append('<td class="image item">' + get_img_node(get_misc_url(base_url, v), None, f"Sprite for '{name_eng}'", 'm', 'ribbon-gen8' if (gen_n == '8' and misc_set in ['ribbon', 'mark']) else None) + '</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 row_n == 0: