From d305051d461b2d161e64b8a63ddad0267450e540 Mon Sep 17 00:00:00 2001 From: Rob S Date: Mon, 5 Feb 2024 19:21:44 -0800 Subject: [PATCH 1/4] Match case with Bungie manifest substitutions --- src/converterSettings.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/converterSettings.ts b/src/converterSettings.ts index aeae6f5..8a5b830 100644 --- a/src/converterSettings.ts +++ b/src/converterSettings.ts @@ -369,11 +369,11 @@ export const converterSettings: { [key: string]: DescriptionFilter } = { optional: true, toStringConverterOptions: { classNames: { - stasis: ['[stasis]', ''], - arc: ['[arc]', ''], - solar: ['[solar]', ''], - void: ['[void]', ''], - strand: ['[strand]', ''], + stasis: ['[Stasis]', ''], + arc: ['[Arc]' , ''], + solar: ['[Solar]' , ''], + void: ['[Void]' , ''], + strand: ['[Strand]', ''], primary: ['[primary]', ''], special: ['[special]', ''], From 1c7843bca98ff9bd26bffb60ed2eddad58888d5d Mon Sep 17 00:00:00 2001 From: Rob S Date: Mon, 5 Feb 2024 19:25:05 -0800 Subject: [PATCH 2/4] Remove unused background --- src/converterSettings.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/converterSettings.ts b/src/converterSettings.ts index 8a5b830..cc5e7ea 100644 --- a/src/converterSettings.ts +++ b/src/converterSettings.ts @@ -359,7 +359,6 @@ export const converterSettings: { [key: string]: DescriptionFilter } = { 'pve', 'pvp', - 'background', 'bold' ], excludeClassNames: [] @@ -382,7 +381,6 @@ export const converterSettings: { [key: string]: DescriptionFilter } = { pve: ['[pve]', ''], pvp: ['[pvp]', ''], - background: ['**', '**'], bold: ['**', '**'] }, link: ['[', ']', '(', ')'] From 67eaffc8f926ad4e11483f5a937b5f483a531167 Mon Sep 17 00:00:00 2001 From: Rob S Date: Mon, 5 Feb 2024 19:28:05 -0800 Subject: [PATCH 3/4] Remove unused --- src/converterSettings.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/converterSettings.ts b/src/converterSettings.ts index cc5e7ea..68dd9b4 100644 --- a/src/converterSettings.ts +++ b/src/converterSettings.ts @@ -343,7 +343,6 @@ export const converterSettings: { [key: string]: DescriptionFilter } = { table: false, weaponTypes: false, includeClassNames: [ - 'spacer', 'enhancedArrow', 'stasis', From b8818f19a23f9eb9702527b36e1c8f7891631d2b Mon Sep 17 00:00:00 2001 From: Rob S Date: Mon, 5 Feb 2024 20:18:37 -0800 Subject: [PATCH 4/4] Add breakers --- src/converterSettings.ts | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/src/converterSettings.ts b/src/converterSettings.ts index 68dd9b4..2450ac2 100644 --- a/src/converterSettings.ts +++ b/src/converterSettings.ts @@ -345,16 +345,20 @@ export const converterSettings: { [key: string]: DescriptionFilter } = { includeClassNames: [ 'enhancedArrow', - 'stasis', 'arc', 'solar', - 'void', + 'stasis', 'strand', + 'void', 'primary', 'special', 'heavy', - + + 'barrier', + 'overload', + 'unstoppable', + 'pve', 'pvp', @@ -367,20 +371,24 @@ export const converterSettings: { [key: string]: DescriptionFilter } = { optional: true, toStringConverterOptions: { classNames: { - stasis: ['[Stasis]', ''], - arc: ['[Arc]' , ''], - solar: ['[Solar]' , ''], - void: ['[Void]' , ''], - strand: ['[Strand]', ''], - - primary: ['[primary]', ''], - special: ['[special]', ''], - heavy: ['[heavy]', ''], + arc: ['[Arc]', ''], + solar: ['[Solar]', ''], + stasis: ['[Stasis]' , ''], + strand: ['[Strand]', ''], + void: ['[Void]' , ''], + + primary: ['[primary]', ''], + special: ['[special]', ''], + heavy: ['[heavy]' , ''], + + barrier: ['[barrier]', ''], + overload: ['[overload]', ''], + unstoppable: ['[unstoppable]', ''], + + pve: ['[pve]', ''], + pvp: ['[pvp]', ''], - pve: ['[pve]', ''], - pvp: ['[pvp]', ''], - - bold: ['**', '**'] + bold: ['**', '**'] }, link: ['[', ']', '(', ')'] }