同步主站 Cocos 当前工程:关卡资源、运行脚本与打包工具。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-12 14:40:34 +08:00
parent ae75fce80b
commit fac515a669
5609 changed files with 27744634 additions and 5653 deletions

View File

@@ -65,18 +65,12 @@ def prop_placement_from_path(path: str) -> str | None:
def infer_theme_from_level(level_id: int, spawn_paths: list[str]) -> str:
"""按主站关卡批次分配主题道具路径可覆盖snow/sanxing"""
if 91601 <= level_id <= 91900:
if 91601 <= level_id <= 92200:
return "silu"
if 91901 <= level_id <= 92200:
return "redarmy"
if 92201 <= level_id <= 92500:
return "numMan"
if 92501 <= level_id <= 92800:
if 92201 <= level_id <= 92800:
return "chinese"
if 92801 <= level_id <= 93100:
return "snow"
if 93101 <= level_id <= 93700:
return "sanxing"
if 92801 <= level_id <= 94000:
return "numMan"
joined = " ".join(spawn_paths).lower()
if "prop_sanxing" in joined or "nprop_sanxing" in joined:
return "sanxing"