Files
docxmaker/wenzijiaoben/memories/data_source_mapping.json
2026-06-08 10:49:52 +08:00

109 lines
3.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"description": "CSV数据源到文档章节的映射关系",
"csv_base_dir": "d:\\p-L12\\work\\cvs",
"mappings": {
"system_prompts": {
"source": "GameTextConst.cs (代码引用分析)",
"section": "一、系统提示",
"field": "常量值文本",
"filter": "仅保留在代码中被实际引用的常量(排除仅在注释中出现的)",
"dedup": "按文本值去重"
},
"quest_texts": {
"source": "quest.csv",
"section": "二、任务文本",
"field": "desc (第4列, index=3)",
"filter": "category == 1 或 category == 2",
"dedup": "按desc文本去重"
},
"achievement_texts": {
"source": "quest.csv",
"section": "三、成就文本",
"field": "desc (第4列, index=3)",
"filter": "category == 9",
"dedup": "按desc文本去重"
},
"player_names": {
"source": "原始文档固定数据 (100对姓名)",
"section": "四、玩家随机名称文本",
"format": "表格: 姓 | 名"
},
"guide_texts": {
"source": "guide.csv",
"section": "五、新手指引文本",
"field": "desc (第8列, index=7)",
"filter": "无",
"dedup": "按desc文本去重"
},
"props": {
"source": "prop.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.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.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.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.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.csv无desc字段"
},
"level_names": {
"source": "fight_sample.csv",
"section": "十一、关卡名称",
"field": "name (第3列, index=2)",
"filter": "无",
"dedup": "按name去重"
}
},
"csv_format": {
"header_rows": 3,
"header_structure": "第1行:中文头, 第2行:类型定义, 第3行:英文字段名",
"encoding_note": "部分文件为GBK编码需自动检测"
}
}