Add chance simulator toolbox and refine checklist interactions
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s

This commit is contained in:
Shinuwa 2026-08-31 15:16:36 +02:00
parent 35fe877d58
commit 6b85e58765
25 changed files with 1518 additions and 18 deletions

View file

@ -65,6 +65,16 @@ export const TOOLBOX_MODULE_DEFINITIONS = {
scrollable: true,
libraryCategory: "calculationData"
},
rngSimulator: {
label: "Simulateur de chance",
defaultTitle: "Simulateur de chance",
mode: "Taux + simulations",
icon: "clover",
editable: true,
addable: false,
scrollable: true,
libraryCategory: "calculationData"
},
combos: {
label: "Combos",
defaultTitle: "Combos",
@ -156,7 +166,7 @@ export const TOOLBOX_MODULES = Object.fromEntries(Object.entries(TOOLBOX_MODULE_
export const LIBRARY_CATEGORY_DEFINITIONS = [
{ key: "notesTracking", types: ["memos", "notepad", "checklist", "counters"] },
{ key: "references", types: ["images", "imageAnnotation", "links"] },
{ key: "calculationData", types: ["calculator", "table", "goalTree", "randomizer"] },
{ key: "calculationData", types: ["calculator", "table", "goalTree", "randomizer", "rngSimulator"] },
{ key: "timeRoutines", types: ["timer", "calendar", "taskPlanner"] },
{ key: "buildsCommands", types: ["combos", "equipmentPlanner"] }
];