CPT/FO VOL KB

This commit is contained in:
Kilian committed 2025-11-29 13:49:40 +01:00
1 parent 37c57d5b1b
commit 03b9ecc8b8
4 files changed
+878 -876

No files matched your search

+2 -2
View File
@@ -62,8 +62,8 @@ paths.forEach((_path) => {
});
const fd = fs.openSync("tooltips.csv", "w");
fs.writeSync(fd, "File,Template Name,Node ID,Tooltip\n");
fs.writeSync(fd, "File|Template Name|Node ID|Tooltip\n");
objects.forEach((obj) => {
fs.writeSync(fd, `${obj.file},${obj.templateName},${obj.nodeID},\n`);
fs.writeSync(fd, `${obj.file}|${obj.templateName}|${obj.nodeID}|\n`);
});
fs.closeSync(fd);
+1 -1
View File
@@ -9,7 +9,7 @@ const paths = [
let tips = fs.readFileSync("tooltips.csv", { encoding: "utf-8" }).split("\n");
tips = tips.reduce((prev, tip, index) => {
if (index == 0) return {};
const [file, templateName, nodeID, tooltip] = tip.split(",");
const [file, templateName, nodeID, tooltip] = tip.split("|");
if (!prev[file]) prev[file] = {};
if (!prev[file][templateName]) prev[file][templateName] = {};
prev[file][templateName][nodeID] = tooltip;
+873 -873
View File
File diff suppressed because it is too large. Load diff