Add TriggerV2

This commit is contained in:
Kwaroran
2025-02-15 21:29:37 +09:00
parent dffc5ee65e
commit d2fce340bb
14 changed files with 3087 additions and 38 deletions

View File

@@ -103,7 +103,21 @@
<span>{language.regexScript}</span>
</button>
<button onclick={() => {
currentModule.trigger ??= []
currentModule.trigger ??= [{
comment: "",
type: "manual",
conditions: [],
effect: [{
type: "v2Header",
code: "",
indent: 0
}]
}, {
comment: "New Event",
type: 'manual',
conditions: [],
effect: []
}]
submenu = 3
}} class="p-2 flex-1 border-r border-darkborderc" class:bg-darkbutton={submenu === 3}>
<span>{language.triggerScript}</span>