Change matchCharacterMetadata to matchCreatorsNotes

297cfe3098388efc3d42114b42466cd055b8d1a2

Crow <bismuthglass@protonmail.com>

1 files changed, +8 -2Showing whitespace changes
public/scripts/world-info.js+8 -2
@@ -103,6 +103,12 @@ const KNOWN_DECORATORS = ['@@activate', '@@dont_activate'];
103103 * @property {boolean} [caseSensitive] If the scan is case sensitive
104104 * @property {boolean} [matchWholeWords] If the scan should match whole words
105105 * @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
106112 * @property {number} [uid] The UID of the entry that triggered the scan
107113 * @property {string} [world] The world info book of origin of the entry
108114 * @property {string[]} [key] The primary keys to scan for
@@ -2196,7 +2202,7 @@ export const originalWIDataKeyMap = {
21962202 'matchCharacterPersonality': 'extensions.match_character_personality',
21972203 'matchCharacterNote': 'extensions.match_character_note',
21982204 'matchScenario': 'extensions.match_scenario',
21992205 'matchCharacterMetadatamatchCreatorsNotes': 'extensions.match_character_metadatamatch_creators_notes',
22002206 'scanDepth': 'extensions.scan_depth',
22012207 'automationId': 'extensions.automation_id',
22022208 'vectorized': 'extensions.vectorized',
@@ -3334,7 +3340,7 @@ export async function getWorldEntry(name, data, entry) {
33343340 handleOptionalSelect("matchCharacterPersonality");
33353341 handleOptionalSelect("matchCharacterNote");
33363342 handleOptionalSelect("matchScenario");
33373343 handleOptionalSelect("matchCharacterMetadatamatchCreatorsNotes");
33383344
33393345 // automation id
33403346 const automationIdInput = template.find('input[name="automationId"]');