Import the AVA2 drop items the server lacks as ordinary 40250 items
tools/server/ava2-items stages the 478 items referenced by the AVA2 drop tables that 203 does not have: server item_proto/item_names rows, a client item_proto/item_list/itemdesc patch over the biolog tables, and the AVA2 icons, ground models (BitKnit gr2 via sdk/gr2) and their textures, packed as ava2items ahead of biolog. Materials, quest items, chests, the guardian weapons and shoes keep their meaning; items of AVA2-only systems (pets, pendants, new rings, mounts, sashes, costume enchants, talisman items, new skill books) become plain ITEM_NONE items until those systems are ported. Names are translated in names_zh.tsv. item_proto_patch is the full-record successor of biolog_proto_patch, with --dump for checking conversions against the shipped table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d11d46c469
commit
90f213c4cc
@@ -328,12 +328,16 @@ if(BUILD_TESTING AND CMAKE_SYSTEM_NAME STREQUAL CMAKE_HOST_SYSTEM_NAME)
|
||||
COMMAND ${MT_WIKI_PYTHON3} ${PROJECT_SOURCE_DIR}/tests/wiki/test_boss.py)
|
||||
add_test(NAME port.chest
|
||||
COMMAND ${MT_WIKI_PYTHON3} ${PROJECT_SOURCE_DIR}/tests/wiki/test_chest.py)
|
||||
add_test(NAME port.ava2_items
|
||||
COMMAND ${MT_WIKI_PYTHON3} ${PROJECT_SOURCE_DIR}/tools/server/ava2-items/tests/test_items.py)
|
||||
endif()
|
||||
# Offline locale data builder: retains 40250 proto layout and gameplay fields.
|
||||
add_executable(locale_proto_patch ${PROJECT_SOURCE_DIR}/tests/port/locale_proto_patch.cpp)
|
||||
target_link_libraries(locale_proto_patch PRIVATE port_platform)
|
||||
add_executable(biolog_proto_patch ${PROJECT_SOURCE_DIR}/tests/port/biolog_proto_patch.cpp)
|
||||
target_link_libraries(biolog_proto_patch PRIVATE port_platform)
|
||||
add_executable(item_proto_patch ${PROJECT_SOURCE_DIR}/tests/port/item_proto_patch.cpp)
|
||||
target_link_libraries(item_proto_patch PRIVATE port_platform)
|
||||
# Locale packs in the original format (scripts/build_zh_locale.py packs locale/zh with it).
|
||||
add_executable(eterpack_pack ${PROJECT_SOURCE_DIR}/tests/port/eterpack_pack.cpp)
|
||||
target_link_libraries(eterpack_pack PRIVATE port_platform)
|
||||
|
||||
Reference in New Issue
Block a user