mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
806 lines
16 KiB
Lua
806 lines
16 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133101205
|
|
L1_1 = {}
|
|
L1_1.duration = 30
|
|
L1_1.kill_sum = 1
|
|
L1_1.group_id = 133101205
|
|
L1_1.gadget_controller_id = 205003
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 205001
|
|
L3_1.monster_id = 21020501
|
|
L4_1 = {}
|
|
L4_1.x = 1148.691
|
|
L4_1.y = 350.35
|
|
L4_1.z = 1516.576
|
|
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 = 24
|
|
L3_1.drop_id = 1000100
|
|
L3_1.area_id = 6
|
|
L2_1[1] = L3_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 205009
|
|
L3_1.npc_id = 20138
|
|
L4_1 = {}
|
|
L4_1.x = 1135.823
|
|
L4_1.y = 349.832
|
|
L4_1.z = 1577.53
|
|
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.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 205011
|
|
L4_1.npc_id = 20134
|
|
L5_1 = {}
|
|
L5_1.x = 1148.637
|
|
L5_1.y = 351.096
|
|
L5_1.z = 1523.262
|
|
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.area_id = 6
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 205002
|
|
L3_1.gadget_id = 70360092
|
|
L4_1 = {}
|
|
L4_1.x = 1148.612
|
|
L4_1.y = 350.246
|
|
L4_1.z = 1523.255
|
|
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 = 24
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearStart
|
|
L3_1.state = L4_1
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 205003
|
|
L4_1.gadget_id = 70360001
|
|
L5_1 = {}
|
|
L5_1.x = 1148.629
|
|
L5_1.y = 351.093
|
|
L5_1.z = 1523.285
|
|
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 = 24
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 205004
|
|
L5_1.gadget_id = 70360092
|
|
L6_1 = {}
|
|
L6_1.x = 1135.689
|
|
L6_1.y = 349.039
|
|
L6_1.z = 1577.412
|
|
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 = 24
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 205010
|
|
L6_1.gadget_id = 70211011
|
|
L7_1 = {}
|
|
L7_1.x = 1150.042
|
|
L7_1.y = 349.598
|
|
L7_1.z = 1530.138
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 193.948
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 21
|
|
L6_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\231\146\131\230\156\136"
|
|
L6_1.isOneoff = true
|
|
L6_1.persistent = true
|
|
L7_1 = {}
|
|
L7_1.name = "chest"
|
|
L7_1.exp = 1
|
|
L6_1.explore = L7_1
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 205012
|
|
L7_1.gadget_id = 70211011
|
|
L8_1 = {}
|
|
L8_1.x = 1137.803
|
|
L8_1.y = 349.261
|
|
L8_1.z = 1575.637
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 251.567
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 21
|
|
L7_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\231\146\131\230\156\136"
|
|
L7_1.isOneoff = true
|
|
L7_1.persistent = true
|
|
L8_1 = {}
|
|
L8_1.name = "chest"
|
|
L8_1.exp = 1
|
|
L7_1.explore = L8_1
|
|
L7_1.area_id = 6
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 205014
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 5
|
|
L4_1 = {}
|
|
L4_1.x = 1149.731
|
|
L4_1.y = 351.731
|
|
L4_1.z = 1523.093
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 6
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1205005
|
|
L3_1.name = "CHALLENGE_SUCCESS_205005"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_CHALLENGE_SUCCESS
|
|
L3_1.event = L4_1
|
|
L3_1.source = "180"
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_CHALLENGE_SUCCESS_205005"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1205006
|
|
L4_1.name = "CHALLENGE_FAIL_205006"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_CHALLENGE_FAIL
|
|
L4_1.event = L5_1
|
|
L4_1.source = "180"
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_CHALLENGE_FAIL_205006"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1205007
|
|
L5_1.name = "GADGET_CREATE_205007"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_CREATE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GADGET_CREATE_205007"
|
|
L5_1.action = "action_EVENT_GADGET_CREATE_205007"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1205008
|
|
L6_1.name = "SELECT_OPTION_205008"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_SELECT_OPTION
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_SELECT_OPTION_205008"
|
|
L6_1.action = "action_EVENT_SELECT_OPTION_205008"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1205013
|
|
L7_1.name = "GADGET_CREATE_205013"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_GADGET_CREATE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_GADGET_CREATE_205013"
|
|
L7_1.action = "action_EVENT_GADGET_CREATE_205013"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1205014
|
|
L8_1.name = "ENTER_REGION_205014"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_ENTER_REGION
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = ""
|
|
L8_1.action = "action_EVENT_ENTER_REGION_205014"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1205015
|
|
L9_1.name = "GADGET_CREATE_205015"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_GADGET_CREATE
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_GADGET_CREATE_205015"
|
|
L9_1.action = "action_EVENT_GADGET_CREATE_205015"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1205016
|
|
L10_1.name = "GADGET_CREATE_205016"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_GADGET_CREATE
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_GADGET_CREATE_205016"
|
|
L10_1.action = "action_EVENT_GADGET_CREATE_205016"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1205017
|
|
L11_1.name = "GROUP_LOAD_205017"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_GROUP_LOAD
|
|
L11_1.event = L12_1
|
|
L11_1.source = ""
|
|
L11_1.condition = ""
|
|
L11_1.action = "action_EVENT_GROUP_LOAD_205017"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1205018
|
|
L12_1.name = "GADGET_CREATE_205018"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_GADGET_CREATE
|
|
L12_1.event = L13_1
|
|
L12_1.source = ""
|
|
L12_1.condition = "condition_EVENT_GADGET_CREATE_205018"
|
|
L12_1.action = "action_EVENT_GADGET_CREATE_205018"
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 4
|
|
L2_1.end_suite = 5
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 205002
|
|
L6_1 = 205003
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_CREATE_205013"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 205001
|
|
L5_1[1] = L6_1
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "CHALLENGE_SUCCESS_205005"
|
|
L7_1 = "CHALLENGE_FAIL_205006"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 205002
|
|
L8_1 = 205004
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "GADGET_CREATE_205016"
|
|
L6_1[1] = L7_1
|
|
L5_1.triggers = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 205009
|
|
L8_1 = 205011
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.npcs = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 205002
|
|
L7_1[1] = L8_1
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L6_1.triggers = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 205009
|
|
L9_1 = 205011
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L6_1.npcs = L7_1
|
|
L6_1.rand_weight = 100
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L7_1.monsters = L8_1
|
|
L8_1 = {}
|
|
L9_1 = 205010
|
|
L8_1[1] = L9_1
|
|
L7_1.gadgets = L8_1
|
|
L8_1 = {}
|
|
L7_1.regions = L8_1
|
|
L8_1 = {}
|
|
L9_1 = "GROUP_LOAD_205017"
|
|
L10_1 = "GADGET_CREATE_205018"
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L7_1.triggers = L8_1
|
|
L7_1.rand_weight = 100
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L8_1.monsters = L9_1
|
|
L9_1 = {}
|
|
L10_1 = 205012
|
|
L9_1[1] = L10_1
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L10_1 = "GADGET_CREATE_205015"
|
|
L9_1[1] = L10_1
|
|
L8_1.triggers = L9_1
|
|
L8_1.rand_weight = 100
|
|
L9_1 = {}
|
|
L10_1 = {}
|
|
L9_1.monsters = L10_1
|
|
L10_1 = {}
|
|
L11_1 = 205002
|
|
L12_1 = 205003
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L9_1.gadgets = L10_1
|
|
L10_1 = {}
|
|
L9_1.regions = L10_1
|
|
L10_1 = {}
|
|
L11_1 = "GADGET_CREATE_205007"
|
|
L12_1 = "SELECT_OPTION_205008"
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L9_1.triggers = L10_1
|
|
L9_1.rand_weight = 100
|
|
L10_1 = {}
|
|
L11_1 = {}
|
|
L10_1.monsters = L11_1
|
|
L11_1 = {}
|
|
L12_1 = 205002
|
|
L11_1[1] = L12_1
|
|
L10_1.gadgets = L11_1
|
|
L11_1 = {}
|
|
L12_1 = 205014
|
|
L11_1[1] = L12_1
|
|
L10_1.regions = L11_1
|
|
L11_1 = {}
|
|
L12_1 = "ENTER_REGION_205014"
|
|
L11_1[1] = L12_1
|
|
L10_1.triggers = L11_1
|
|
L11_1 = {}
|
|
L12_1 = 205011
|
|
L11_1[1] = L12_1
|
|
L10_1.npcs = L11_1
|
|
L10_1.rand_weight = 100
|
|
L11_1 = {}
|
|
L12_1 = {}
|
|
L11_1.monsters = L12_1
|
|
L12_1 = {}
|
|
L11_1.gadgets = L12_1
|
|
L12_1 = {}
|
|
L11_1.regions = L12_1
|
|
L12_1 = {}
|
|
L11_1.triggers = L12_1
|
|
L11_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GoToGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133101205
|
|
L5_2 = 5
|
|
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 : goto_groupSuite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_SUCCESS_205005 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133101205
|
|
L4_2.suite = 7
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_205006 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 205003 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_205007 = L2_1
|
|
function L2_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 = 133101205
|
|
L5_2 = 205003
|
|
L6_2 = {}
|
|
L7_2 = 177
|
|
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_205007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 205003 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 177 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_205008 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ActiveChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 180
|
|
L5_2 = 180
|
|
L6_2 = 90
|
|
L7_2 = 133101205
|
|
L8_2 = 1
|
|
L9_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : active_challenge"
|
|
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 = 133101205
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133101205
|
|
L5_2 = 205003
|
|
L6_2 = 177
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_205008 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 205003 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_205013 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ActiveChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 180
|
|
L5_2 = 180
|
|
L6_2 = 90
|
|
L7_2 = 133101205
|
|
L8_2 = 1
|
|
L9_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : active_challenge"
|
|
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 = 133101205
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_205013 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 205002
|
|
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_ENTER_REGION_205014 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 205012 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_205015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 205004
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 205002
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : kill_entity_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_205015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 205004 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_205016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 205004
|
|
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_205016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133101205
|
|
L4_2.suite = 5
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_205017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 205010 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_205018 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 205003
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 205002
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : kill_entity_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_205018 = L2_1
|