[Parity][panels][S1][R] NPC"交谈"显示项目自编的台词和简体名字,没有用 tbl 里的语音文本 #656
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源审计项:
panels#2— [S1][R] NPC"交谈"显示项目自编的台词和简体名字,没有用 tbl 里的语音文本src/client/ui/world-panels.ts:1170-1194(openNpcSpeech→getLocalizedNpcGreetings):1279-1293(talk_quest取Object.values(desc.questLines)[0]):1315-1321:3011-3035(对话框 340×156,最多 6 行,超出截断)src/client/ui-model/hud-model.ts:1556-1561src/common/units/npc-table.ts:1393(NPC_GREETING_ZH_BY_KEY)、:1497-1542(NPC_NAME_ZH_BY_KEY)、:1544-1571greetingLines/gossipLines/questLines(如:1009-1012、:1053-1055、:1138-1140)const lines = textOverride ? … : getLocalizedNpcGreetings(descriptor, this.lang);CHI 名字取NPC_NAME_ZH_BY_KEY[lowerKey] ?? resolveTblKey(tblKey, 'CHI'),自定义表优先于 tbl。talk_intro/talk_gossip/talk_quest这些子项。NameStr→ tbl;按开头数字实现滚动;删除NPC_GREETING_ZH_BY_KEY、NPC_NAME_ZH_BY_KEY和 descriptor 里的自编文本。