Model native demo career roles, manager handover and separate indoor boards (by Codex)

This commit is contained in:
Codex authored and Codex committed 2026-10-27 01:57:58 +01:00
1 parent b02ee52dee
commit d88bf2872a
11 files changed
+996 -137

No files matched your search

+15
View File
@@ -74,6 +74,21 @@ def main():
add('button.' + route, button['src'].removeprefix('../'))
add('button.news', 'assets/vector/desktop-news.svg')
add('button.almanac', 'assets/vector/desktop-almanac.svg')
# User-supplied career illustrations stay in this external private GUI pack.
for key, file in [('career.club','club.png'),('career.international','international.png')]:
if (source / 'assets/studies/career' / file).exists():
add(key, 'assets/studies/career/' + file)
sheet = 'assets/studies/career/manager-menu.png'
if (source / sheet).exists():
for key, rect in [('manager.resign',[0,0,714,568]),('manager.search',[726,0,722,568]),('manager.add',[0,578,1448,508])]:
x,y,w,h=rect
add(key,sheet,[x/1448,y/1086,w/1448,h/1086])
items[key]['source_rect']=rect
for code in ('de','fr'):
file='assets/vector/career-national-'+code+'.svg'
if (source/file).exists():add('career.national-'+code,file)
for key, file in [('menu.club-office','menu-studies/club-office/assets/club-office.png'),('menu.trophy-office','menu-studies/trophy-office/assets/manager-office.png')]:
if (source/file).exists():add(key,file)
add('news.cash', 'assets/studies/desktop-objects/cash-v2.png')
# Prototype trophy fallbacks; competition pictures prefer world asset keys.
for trophy in ('championship', 'dfb-cup', 'supercup', 'champions-league',