同步主站 Cocos 当前工程:关卡资源、运行脚本与打包工具。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user