Files
GaCy-GO/tools/__pycache__/generate_inventory_item_config.cpython-314.pyc
T

54 lines
7.0 KiB
Plaintext
Raw Normal View History

+
¹5Öjyãó†€Rt^RIHt^RIt^RIt^RIHt^RIHtR t RRlt
RRlt R R
lt ]
R 8Xd
] !4R#R#)
aqRegenerate the Relic portion of InventoryItemConfig from game tables.
Pass a directory containing RelicConfig.json, ItemConfigRelic.json,
RelicMainAffixConfig.json, and RelicSubAffixConfig.json from the revision
recorded in InventoryItemConfig.json. Existing item and Light Cone entries
are preserved; only visible BASIC Relic types from ItemConfigRelic are included.
)Ú annotationsN)ÚPath)ÚAnycó €V^8„dQhRRRR/#)éÚpathrÚreturnúlist[dict[str, Any]]©)Úformats"Ú'tools/generate_inventory_item_config.pyÚ __annotate__r
s€÷ñ�DðÐ1ñócóü€VPRRR7;_uu_4p\P!V4pRRR4\X\4'g\ VP R24hV# +'giL@;i)Úrúutf-8©ÚencodingNz must contain a JSON array)ÚopenÚjsonÚloadÚ
isinstanceÚlistÚ
ValueErrorÚname)rÚsourceÚrowss& r Ú read_rowsrs\€Ø
�‰�3 ˆ× )Ô )¨VÜ�yŠy˜Ó ˆ÷
*ä �dœD× !Ò !ܘDŸI™I˜;Ð&@ÐAÓBÐBØ €K÷
*× )ús œA+Á+ A; có €V^8„dQhRRRR/#)rÚ
source_dirrrr r
)r s"r r
r
"s€÷=ñ= Dð=Ð-Añ=rcó€\VR, 4p\VR, 4p\VR, 4p\VR, 4pVUu0uFDpVPR4R8XgKVPR4RJgK2\VR,4kKF pp/pVF4pVP\VR ,4.4P V4K6 /pVF4pVP\VR ,4.4P V4K6 .VP 4OVP 4OFp V P
R
R 7K .p
\4p \VR R 7EFxp \V R,4p
V PR
4R8wgWÖ9dK4WÛ9d\RV
24hVP\V R,4.4pV'g\RV
R24hV^,pVP\V R,4.4Uu.uF,pVPR4VPR48wgK*VNK. pp\V4^8d\RV
R24hT
P RT
R\V R,4R\VR,4RVR,Uu.uFpR\VR,4R^R^/NK up/4V PV
4EK{ V
'g \R 4hV
#uupiuupiuupi)!úRelicConfig.jsonúItemConfigRelic.jsonúRelicMainAffixConfig.jsonúRelicSubAffixConfig.jsonÚ ItemMainTypeÚRelicÚ isVisibleTÚIDÚGroupIDcó&€\VR,4#)ÚAffixID©Úint©Úrows&r Ú<lambda>Ú%build_relic_catalog.<locals>.<lambda>4s
€¤# c¨)¥nÔ"5r)Úkeycó&€\VR,4#)r(r,r.s&r r0r18s €´C¸¸D½ ´NrÚModeÚBASICzduplicate Relic ID ÚMainAffixGroupzRelic z has no MainAffixGroup rowsÚ
SubAffixGroupÚPropertyz& has fewer than four valid sub-affixesÚrelic_idÚ relic_set_idÚSetIDÚ
main_affix_idr+Ú sub_affixes:NéNÚ sub_affix_idÚcountÚstepz9no visible BASIC Relics were found in the supplied tables) rÚgetr-Ú
setdefaultÚappendÚvaluesÚsortÚsetÚsortedrÚlenÚadd)rÚ
relic_rowsÚ item_rowsÚ main_rowsÚsub_rowsr/Úvisible_item_idsÚ
main_by_groupÚ sub_by_grouprÚcatalogÚseenÚrelicr9Ú main_optionsÚmainÚ sub_optionss& r Úbuild_relic_catalogrX"sø€Ü˜:Ð(:Õ:Ó;€Jܘ*Ð'=Õ=Ó>€Iܘ*Ð'BÕBÓC€IܘÐ&@Õ@ÓA€HñóáˆCØ �7‰7�>Ó " gÑ -ô à25·'±'¸+Ó2FÈ$Ð2Nô ŒˆC��IŽÙððð
68€MÛˆØ× Ñ ¤ S¨¥^Ó!4°bÓ9×@Ñ@ÀÖEñà46€LÛˆØ×Ѥ C¨ ¥NÓ 3°RÓ8×?Ñ?ÀÖDñàA�-×&Ñ&Ó(ÐA¨<×+>Ñ+>Ó+@ÓAˆØ � ‰ Ñ5ˆ Ö6ñBð%'€GÜ“U€Dܘ
Ñ(B×CÐCˆÜ�u˜T•{Ó#ˆØ �9‰9�VÓ  Ô '¨8Ô+KÙ Ø Ô ÜÐ2°8°*Ð=Ó>Ð >à$×(Ñ(¬¨UÐ3CÕ-DÓ)EÀrÓJˆ ßܘv h ZÐ/JÐKÓLÐ LؘA�ˆð$×'Ñ'¬¨E°/Õ,BÓ(CÀRÔHó
áH�Ø�w‰w�zÓ" d§h¡h¨zÓ&:Ñ:÷
ˆCÙHð ð
ô
ˆ{Ó ˜aÔ Ü˜v h ZÐ/UÐVÓWÐ Wà�‰à˜Hؤ E¨'¥NÓ 3ؤ T¨)¥_Ó!5Øð +¨2žó
 ñ /˜ð '¬¨C° ­NÓ(;ؠؠóñ
/ñ
 ð
ô
ð
�‰�×ñGD÷J ÜÐTÓUÐUØ €Nùòoùò8