添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
local t = { config_id = 8000001, name = "GROUP_LOAD", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}
function Initialize()
table.insert(triggers,t)
table.insert(suites[1].triggers, t.name)
end
Initialize()
function action_group_load(context, evt)
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 1 then
ScriptLib.CreateGadget(context, { config_id = defs.gadget_id })
end
return 0
end