Fix help text for tablets

This commit is contained in:
kvan7
2025-01-31 08:07:59 -06:00
parent 227d3e9927
commit be47c4978f
11 changed files with 24 additions and 9 deletions

View File

@@ -116,5 +116,6 @@ export default {
WAYSTONE_HELP: '可用於地圖裝置以進入地圖',
JEWEL_HELP: '放置到',
SANCTUM_HELP: '"將此物品放置到絲克瑪',
TIMELESS_RADIUS: '範圍: '
TIMELESS_RADIUS: '範圍: ',
PRECURSOR_TABLET_HELP: '可用於輿圖中的一座已完成高塔來影響'
}

View File

@@ -116,6 +116,7 @@ export default {
WAYSTONE_HELP: 'Kann in einem Kartenapparat verwendet werden und gewährt dir Zutritt zu einer Karte. Wegsteine',
JEWEL_HELP: 'Platziere das',
SANCTUM_HELP: 'Platziere diesen Gegenstand beim',
TIMELESS_RADIUS: 'Radius: '
TIMELESS_RADIUS: 'Radius: ',
PRECURSOR_TABLET_HELP: 'Kann in einem abgeschlossenen Turm auf Eurem Atlas verwendet werden,'
}

View File

@@ -209,5 +209,7 @@ export default {
// ItemDescriptionSanctumRelic
SANCTUM_HELP: 'Place this item on the Relic Altar',
// JewelRadiusLabel
TIMELESS_RADIUS: 'Radius: '
TIMELESS_RADIUS: 'Radius: ',
// ItemDescriptionPrecursorTablet
PRECURSOR_TABLET_HELP: 'Can be used in a completed Tower on your Atlas to influence surrounding Maps',
}

View File

@@ -115,5 +115,6 @@ export default {
WAYSTONE_HELP: 'Se puede usar en un artefacto de mapas personal.',
JEWEL_HELP: 'Colócala en un engarce',
SANCTUM_HELP: 'Coloca este objeto en el Altar de reliquias',
TIMELESS_RADIUS: 'Radio: '
TIMELESS_RADIUS: 'Radio: ',
PRECURSOR_TABLET_HELP: 'Se puede utilizar en una torre completada de tu Atlas para influenciar los'
}

View File

@@ -116,5 +116,6 @@ export default {
WAYSTONE_HELP: 'マップデバイスで使用すると、',
JEWEL_HELP: 'パッシブツリ',
SANCTUM_HELP: 'セケマの試練開始時にこ',
TIMELESS_RADIUS: '半径: '
TIMELESS_RADIUS: '半径: ',
PRECURSOR_TABLET_HELP: 'アトラス上の完了した塔で使用することで、周囲の'
}

View File

@@ -116,5 +116,6 @@ export default {
WAYSTONE_HELP: '지도 장치에서 사용하면 ',
JEWEL_HELP: '패시브 스킬',
SANCTUM_HELP: '세케마의 시련을 시작할 때',
TIMELESS_RADIUS: '적용 반경: '
TIMELESS_RADIUS: '적용 반경: ',
PRECURSOR_TABLET_HELP: '아틀라스의 완료한 탑에서 사용하면 주위 지도에 '
}

View File

@@ -150,5 +150,6 @@ export default {
WAYSTONE_HELP: 'Можно использовать в Машине картоходца,',
JEWEL_HELP: 'Поместите самоцвет',
SANCTUM_HELP: 'Разместите этот предмет на алтаре',
TIMELESS_RADIUS: 'Радиус: '
TIMELESS_RADIUS: 'Радиус: ',
PRECURSOR_TABLET_HELP: 'Может быть использовано в завершенной башне на вашем Атласе, чтобы '
}

View File

@@ -239,6 +239,7 @@ export interface TranslationDict {
JEWEL_HELP: string;
SANCTUM_HELP: string;
TIMELESS_RADIUS: string;
PRECURSOR_TABLET_HELP: string;
}
export interface Filter {

View File

@@ -1123,7 +1123,9 @@ function parseHelpText(section: string[], item: ParsedItem) {
item.category !== ItemCategory.Waystone &&
item.category !== ItemCategory.Map &&
item.category !== ItemCategory.Jewel &&
item.category !== ItemCategory.Relic
item.category !== ItemCategory.Relic &&
item.category !== ItemCategory.Tablet &&
item.category !== ItemCategory.TowerAugment
)
return "PARSER_SKIPPED";
@@ -1134,7 +1136,8 @@ function parseHelpText(section: string[], item: ParsedItem) {
line.startsWith(_$.CHARM_HELP_TEXT) ||
line.startsWith(_$.WAYSTONE_HELP) ||
line.startsWith(_$.JEWEL_HELP) ||
line.startsWith(_$.SANCTUM_HELP)
line.startsWith(_$.SANCTUM_HELP) ||
line.startsWith(_$.PRECURSOR_TABLET_HELP)
) {
return "SECTION_PARSED";
}

View File

@@ -54,6 +54,8 @@ export enum ItemCategory {
Focus = "Focus",
Waystone = "Waystone",
Relic = "Relic",
Tablet = "Tablet",
TowerAugment = "TowerAugment",
}
export const WEAPON_ONE_HANDED_MELEE = new Set([

View File

@@ -59,6 +59,7 @@ function mapItemCategoryToKeys(itemCategory: ItemCategory): string[] {
[ItemCategory.Focus]: ["focus", "armour"],
[ItemCategory.Waystone]: [""],
[ItemCategory.Relic]: [""],
[ItemCategory.Tablet]: [""],
};
return categoryMap[itemCategory] || [itemCategory.toLowerCase()];