Change matchCharacterMetadata to matchCreatorsNotes

297cfe3098388efc3d42114b42466cd055b8d1a2

Crow <bismuthglass@protonmail.com>

1 files changed, +8 -2Ignore whitespace
public/scripts/world-info.js+8 -2
@@ -103,6 +103,12 @@ const KNOWN_DECORATORS = ['@@activate', '@@dont_activate'];
103 * @property {boolean} [caseSensitive] If the scan is case sensitive103 * @property {boolean} [caseSensitive] If the scan is case sensitive
104 * @property {boolean} [matchWholeWords] If the scan should match whole words104 * @property {boolean} [matchWholeWords] If the scan should match whole words
105 * @property {boolean} [useGroupScoring] If the scan should use group scoring105 * @property {boolean} [useGroupScoring] If the scan should use group scoring
106 * @property {boolean} [matchPersonaDescription] If the scan should match against the persona description
107 * @property {boolean} [matchCharacterDescription] If the scan should match against the character
108 * @property {boolean} [matchCharacterPersonality] If the scan should match against the character
109 * @property {boolean} [matchCharacterNote] If the scan should match against the character note
110 * @property {boolean} [matchScenario] If the scan should match against the character scenario
111 * @property {boolean} [matchCreatorsNotes] If the scan should match against the character metadata
106 * @property {number} [uid] The UID of the entry that triggered the scan112 * @property {number} [uid] The UID of the entry that triggered the scan
107 * @property {string} [world] The world info book of origin of the entry113 * @property {string} [world] The world info book of origin of the entry
108 * @property {string[]} [key] The primary keys to scan for114 * @property {string[]} [key] The primary keys to scan for
@@ -2196,7 +2202,7 @@ export const originalWIDataKeyMap = {
2196 'matchCharacterPersonality': 'extensions.match_character_personality',2202 'matchCharacterPersonality': 'extensions.match_character_personality',
2197 'matchCharacterNote': 'extensions.match_character_note',2203 'matchCharacterNote': 'extensions.match_character_note',
2198 'matchScenario': 'extensions.match_scenario',2204 'matchScenario': 'extensions.match_scenario',
2199 'matchCharacterMetadata': 'extensions.match_character_metadata',2205 'matchCreatorsNotes': 'extensions.match_creators_notes',
2200 'scanDepth': 'extensions.scan_depth',2206 'scanDepth': 'extensions.scan_depth',
2201 'automationId': 'extensions.automation_id',2207 'automationId': 'extensions.automation_id',
2202 'vectorized': 'extensions.vectorized',2208 'vectorized': 'extensions.vectorized',
@@ -3334,7 +3340,7 @@ export async function getWorldEntry(name, data, entry) {
3334 handleOptionalSelect("matchCharacterPersonality");3340 handleOptionalSelect("matchCharacterPersonality");
3335 handleOptionalSelect("matchCharacterNote");3341 handleOptionalSelect("matchCharacterNote");
3336 handleOptionalSelect("matchScenario");3342 handleOptionalSelect("matchScenario");
3337 handleOptionalSelect("matchCharacterMetadata");3343 handleOptionalSelect("matchCreatorsNotes");
33383344
3339 // automation id3345 // automation id
3340 const automationIdInput = template.find('input[name="automationId"]');3346 const automationIdInput = template.find('input[name="automationId"]');