mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
773 lines
15 KiB
Lua
773 lines
15 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 111101100
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 100001
|
|
L2_1.gadget_id = 70360002
|
|
L3_1 = {}
|
|
L3_1.x = 2269.024
|
|
L3_1.y = 230.211
|
|
L3_1.z = -1203.624
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 100004
|
|
L3_1.gadget_id = 70350139
|
|
L4_1 = {}
|
|
L4_1.x = 2270.027
|
|
L4_1.y = 227.819
|
|
L4_1.z = -1180.84
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 0.0
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 100005
|
|
L4_1.gadget_id = 70350140
|
|
L5_1 = {}
|
|
L5_1.x = 2270.027
|
|
L5_1.y = 227.819
|
|
L5_1.z = -1180.84
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 100006
|
|
L5_1.gadget_id = 70950050
|
|
L6_1 = {}
|
|
L6_1.x = 2262.859
|
|
L6_1.y = 234.326
|
|
L6_1.z = -1197.504
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 0.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 100007
|
|
L6_1.gadget_id = 70950050
|
|
L7_1 = {}
|
|
L7_1.x = 2262.86
|
|
L7_1.y = 231.664
|
|
L7_1.z = -1197.504
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 0.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 100008
|
|
L7_1.gadget_id = 70950050
|
|
L8_1 = {}
|
|
L8_1.x = 2264.557
|
|
L8_1.y = 231.664
|
|
L8_1.z = -1197.504
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 0.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 100009
|
|
L8_1.gadget_id = 70950050
|
|
L9_1 = {}
|
|
L9_1.x = 2266.591
|
|
L9_1.y = 231.664
|
|
L9_1.z = -1197.504
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 100010
|
|
L9_1.gadget_id = 70950050
|
|
L10_1 = {}
|
|
L10_1.x = 2266.591
|
|
L10_1.y = 234.326
|
|
L10_1.z = -1197.504
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 0.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L10_1 = {}
|
|
L10_1.config_id = 100011
|
|
L10_1.gadget_id = 70950050
|
|
L11_1 = {}
|
|
L11_1.x = 2268.288
|
|
L11_1.y = 231.664
|
|
L11_1.z = -1197.504
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 0.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L11_1 = {}
|
|
L11_1.config_id = 100012
|
|
L11_1.gadget_id = 70950050
|
|
L12_1 = {}
|
|
L12_1.x = 2271.888
|
|
L12_1.y = 231.664
|
|
L12_1.z = -1197.504
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 0.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L12_1 = {}
|
|
L12_1.config_id = 100013
|
|
L12_1.gadget_id = 70950050
|
|
L13_1 = {}
|
|
L13_1.x = 2271.888
|
|
L13_1.y = 234.326
|
|
L13_1.z = -1197.504
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 0.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L13_1 = {}
|
|
L13_1.config_id = 100014
|
|
L13_1.gadget_id = 70950050
|
|
L14_1 = {}
|
|
L14_1.x = 2279.589
|
|
L14_1.y = 239.49
|
|
L14_1.z = -1208.835
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 0.0
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L14_1 = {}
|
|
L14_1.config_id = 100016
|
|
L14_1.gadget_id = 70950050
|
|
L15_1 = {}
|
|
L15_1.x = 2252.481
|
|
L15_1.y = 228.011
|
|
L15_1.z = -1196.0
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 0.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L14_1.route_id = 110100044
|
|
L15_1 = {}
|
|
L15_1.config_id = 100017
|
|
L15_1.gadget_id = 70350138
|
|
L16_1 = {}
|
|
L16_1.x = 2252.481
|
|
L16_1.y = 227.911
|
|
L16_1.z = -1193.0
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 0.0
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L15_1.route_id = 110100045
|
|
L16_1 = {}
|
|
L16_1.config_id = 100018
|
|
L16_1.gadget_id = 70350138
|
|
L17_1 = {}
|
|
L17_1.x = 2252.481
|
|
L17_1.y = 227.616
|
|
L17_1.z = -1190.0
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 0.0
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 1
|
|
L16_1.route_id = 110100046
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
L1_1[13] = L14_1
|
|
L1_1[14] = L15_1
|
|
L1_1[15] = L16_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1100002
|
|
L2_1.name = "SELECT_OPTION_100002"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_SELECT_OPTION
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_SELECT_OPTION_100002"
|
|
L2_1.action = "action_EVENT_SELECT_OPTION_100002"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1100003
|
|
L3_1.name = "GADGET_CREATE_100003"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGET_CREATE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_GADGET_CREATE_100003"
|
|
L3_1.action = "action_EVENT_GADGET_CREATE_100003"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1100019
|
|
L4_1.name = "GADGET_CREATE_100019"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_CREATE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_CREATE_100019"
|
|
L4_1.action = "action_EVENT_GADGET_CREATE_100019"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1100020
|
|
L5_1.name = "TIMER_EVENT_100020"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_TIMER_EVENT
|
|
L5_1.event = L6_1
|
|
L5_1.source = "time5"
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_TIMER_EVENT_100020"
|
|
L5_1.trigger_count = 10
|
|
L6_1 = {}
|
|
L6_1.config_id = 1100021
|
|
L6_1.name = "TIMER_EVENT_100021"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_TIMER_EVENT
|
|
L6_1.event = L7_1
|
|
L6_1.source = "time1"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_TIMER_EVENT_100021"
|
|
L6_1.trigger_count = 10
|
|
L7_1 = {}
|
|
L7_1.config_id = 1100022
|
|
L7_1.name = "TIMER_EVENT_100022"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_TIMER_EVENT
|
|
L7_1.event = L8_1
|
|
L7_1.source = "time2"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_TIMER_EVENT_100022"
|
|
L7_1.trigger_count = 10
|
|
L8_1 = {}
|
|
L8_1.config_id = 1100023
|
|
L8_1.name = "TIMER_EVENT_100023"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_TIMER_EVENT
|
|
L8_1.event = L9_1
|
|
L8_1.source = "time3"
|
|
L8_1.condition = ""
|
|
L8_1.action = "action_EVENT_TIMER_EVENT_100023"
|
|
L8_1.trigger_count = 10
|
|
L9_1 = {}
|
|
L9_1.config_id = 1100024
|
|
L9_1.name = "TIMER_EVENT_100024"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_TIMER_EVENT
|
|
L9_1.event = L10_1
|
|
L9_1.source = "time4"
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_TIMER_EVENT_100024"
|
|
L9_1.trigger_count = 10
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 0
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 100001
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "SELECT_OPTION_100002"
|
|
L5_1 = "GADGET_CREATE_100003"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 100004
|
|
L6_1 = 100005
|
|
L7_1 = 100006
|
|
L8_1 = 100007
|
|
L9_1 = 100008
|
|
L10_1 = 100009
|
|
L11_1 = 100010
|
|
L12_1 = 100011
|
|
L13_1 = 100012
|
|
L14_1 = 100013
|
|
L15_1 = 100014
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_CREATE_100019"
|
|
L6_1 = "TIMER_EVENT_100020"
|
|
L7_1 = "TIMER_EVENT_100021"
|
|
L8_1 = "TIMER_EVENT_100022"
|
|
L9_1 = "TIMER_EVENT_100023"
|
|
L10_1 = "TIMER_EVENT_100024"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 100016
|
|
L7_1 = 100017
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 100017
|
|
L8_1 = 100018
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 100017
|
|
L7_1[1] = L8_1
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 100
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L7_1.monsters = L8_1
|
|
L8_1 = {}
|
|
L9_1 = 100016
|
|
L10_1 = 100018
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L7_1.gadgets = L8_1
|
|
L8_1 = {}
|
|
L7_1.regions = L8_1
|
|
L8_1 = {}
|
|
L7_1.triggers = L8_1
|
|
L7_1.rand_weight = 100
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L8_1.monsters = L9_1
|
|
L9_1 = {}
|
|
L10_1 = 100016
|
|
L11_1 = 100017
|
|
L12_1 = 100018
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L9_1[3] = L12_1
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L8_1.triggers = L9_1
|
|
L8_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 100001 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 7 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_100002 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 100001
|
|
L6_2 = 7
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = "time5"
|
|
L6_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_100002 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 100001 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_100003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 100001
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_100003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 100004 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_100019 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 100004
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = "time5"
|
|
L6_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 100005
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_100019 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = "time1"
|
|
L6_2 = 5
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_100020 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = "time2"
|
|
L6_2 = 5
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_100021 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = "time3"
|
|
L6_2 = 5
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_100022 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = "time4"
|
|
L6_2 = 5
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 6
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_100023 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = "time5"
|
|
L6_2 = 5
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101100
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_100024 = L1_1
|