#1294 Fix selective logic for embedded lorebooks

This commit is contained in:
Cohee 2023-10-28 12:28:03 +03:00
parent e0be4dde31
commit 922007ea25
2 changed files with 2 additions and 0 deletions

View File

@ -1736,6 +1736,7 @@ function convertCharacterBook(characterBook) {
probability: entry.extensions?.probability ?? null,
useProbability: entry.extensions?.useProbability ?? false,
depth: entry.extensions?.depth ?? DEFAULT_DEPTH,
selectiveLogic: entry.extensions?.selectiveLogic ?? 0,
};
});

View File

@ -1803,6 +1803,7 @@ function convertWorldInfoToCharacterBook(name, entries) {
probability: entry.probability ?? null,
useProbability: entry.useProbability ?? false,
depth: entry.depth ?? 4,
selectiveLogic: entry.selectiveLogic ?? 0,
},
};