{ "description": "配置表数据源到文档章节的映射关系", "table_base_dir": "*_config 目录(优先读 .xlsx,其次 .csv,无需预先转换)", "read_strategy": "universal_tool.find_file 优先查找 name.xlsx,找不到再找 name.csv;两种格式都直接读取,表头结构一致", "mappings": { "system_prompts": { "source": "GameTextConst.cs (代码引用分析)", "section": "一、系统提示", "field": "常量值文本", "filter": "仅保留在代码中被实际引用的常量(排除仅在注释中出现的)", "dedup": "按文本值去重" }, "quest_texts": { "source": "quest.xlsx/csv", "section": "二、任务文本", "field": "desc (第4列, index=3)", "filter": "category == 1 或 category == 2", "dedup": "按desc文本去重" }, "achievement_texts": { "source": "quest.xlsx/csv", "section": "三、成就文本", "field": "desc (第4列, index=3)", "filter": "category == 9", "dedup": "按desc文本去重" }, "player_names": { "source": "name.xlsx/csv (找不到则用内置默认100对姓名)", "section": "四、玩家随机名称文本", "format": "表格: 姓 | 名" }, "guide_texts": { "source": "guide.xlsx/csv", "section": "五、新手指引文本", "field": "desc (第8列, index=7)", "filter": "无", "dedup": "按desc文本去重" }, "props": { "source": "prop.xlsx/csv", "section": "六、道具说明", "fields": { "name": "第3列 (index=2)", "tips": "第7列 (index=6)", "icon": "第8列 (index=7)" }, "icon_dir": "atlas_product_icons", "icon_naming": "icon_product_XX.png (XX为补零两位数, 如 icon_product_01)" }, "skills": { "source": "skill.xlsx/csv", "section": "七、技能", "fields": { "name": "第2列 (index=1)", "icon": "第7列 (index=6)", "desc": "第22列 (index=21)" }, "icon_dir": "atlas_skill", "icon_naming": "skillX.png (X为数字, 不补零, 如 skill1, skill10)" }, "runes": { "source": "rune.xlsx/csv", "section": "八、灵石", "fields": { "name": "第2列 (index=1)", "icon": "第3列 (index=2)", "desc": "第9列 (index=8)" }, "icon_dir": "atlas_rune_icons", "icon_naming": "rune_icon_X.png (X为数字, 不补零)" }, "talents": { "source": "playerlevel.xlsx/csv", "section": "九、天赋", "fields": { "name": "第14列 (index=13)", "desc": "第15列 (index=14)", "icon": "第16列 (index=15)" }, "icon_dir": "atlas_talent_icons", "icon_naming": "icon_talent_X.png (X为数字, 不补零)", "dedup": "按name去重" }, "equipment": { "source": "equip.xlsx/csv", "section": "十、装备", "fields": { "name": "第2列 (index=1)", "icon": "第6列 (index=5)" }, "icon_dir": "atlas_equip_icons", "icon_naming": "equip_icon_X.png (X为数字, 不补零)", "dedup": "按name去重", "note": "equip表无desc字段" }, "level_names": { "source": "fight_sample.xlsx/csv", "section": "十一、关卡名称", "field": "name (第3列, index=2)", "filter": "无", "dedup": "按name去重" } }, "table_format": { "header_rows": 3, "header_structure": "第1行:中文头, 第2行:类型定义, 第3行:英文字段名(用作字段映射)", "data_start_row": "第4行起", "encoding_note": "csv需自动检测(优先级 utf-8-sig -> gbk -> gb2312 -> utf-8);xlsx由openpyxl直接读取无编码问题" } }