Add data model field for WI entry group
This commit is contained in:
parent
11a60e5eec
commit
8bf18891b3
|
@ -1374,6 +1374,7 @@ const newEntryTemplate = {
|
||||||
probability: 100,
|
probability: 100,
|
||||||
useProbability: true,
|
useProbability: true,
|
||||||
depth: DEFAULT_DEPTH,
|
depth: DEFAULT_DEPTH,
|
||||||
|
group: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
function createWorldInfoEntry(name, data, fromSlashCommand = false) {
|
function createWorldInfoEntry(name, data, fromSlashCommand = false) {
|
||||||
|
@ -1970,6 +1971,7 @@ function convertAgnaiMemoryBook(inputObj) {
|
||||||
displayIndex: index,
|
displayIndex: index,
|
||||||
probability: null,
|
probability: null,
|
||||||
useProbability: false,
|
useProbability: false,
|
||||||
|
group: '',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1996,6 +1998,7 @@ function convertRisuLorebook(inputObj) {
|
||||||
displayIndex: index,
|
displayIndex: index,
|
||||||
probability: entry.activationPercent ?? null,
|
probability: entry.activationPercent ?? null,
|
||||||
useProbability: entry.activationPercent ?? false,
|
useProbability: entry.activationPercent ?? false,
|
||||||
|
group: '',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2027,6 +2030,7 @@ function convertNovelLorebook(inputObj) {
|
||||||
displayIndex: index,
|
displayIndex: index,
|
||||||
probability: null,
|
probability: null,
|
||||||
useProbability: false,
|
useProbability: false,
|
||||||
|
group: '',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2060,6 +2064,7 @@ function convertCharacterBook(characterBook) {
|
||||||
useProbability: entry.extensions?.useProbability ?? false,
|
useProbability: entry.extensions?.useProbability ?? false,
|
||||||
depth: entry.extensions?.depth ?? DEFAULT_DEPTH,
|
depth: entry.extensions?.depth ?? DEFAULT_DEPTH,
|
||||||
selectiveLogic: entry.extensions?.selectiveLogic ?? 0,
|
selectiveLogic: entry.extensions?.selectiveLogic ?? 0,
|
||||||
|
group: entry.extensions?.group ?? '',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1876,6 +1876,7 @@ function convertWorldInfoToCharacterBook(name, entries) {
|
||||||
useProbability: entry.useProbability ?? false,
|
useProbability: entry.useProbability ?? false,
|
||||||
depth: entry.depth ?? 4,
|
depth: entry.depth ?? 4,
|
||||||
selectiveLogic: entry.selectiveLogic ?? 0,
|
selectiveLogic: entry.selectiveLogic ?? 0,
|
||||||
|
group: entry.group ?? '',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue