mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
703 lines
14 KiB
Lua
703 lines
14 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, L18_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 243012007
|
|
L1_1 = {}
|
|
L1_1.group_1 = 243012007
|
|
L1_1.challenge1 = 301
|
|
L1_1.Region1 = 7007
|
|
L1_1.challenge_father = 999
|
|
L1_1.group_core = 243012003
|
|
L1_1.galleryid = 7040
|
|
L1_1.gadget_1 = 7001
|
|
L1_1.PoolList = 21025
|
|
L1_1.MonsterCount = 15
|
|
L1_1.challenge_kill = 233
|
|
L1_1.total_count = 15
|
|
L1_1.min_count = 5
|
|
L1_1.max_count = 5
|
|
L1_1.tag = 0
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 7001
|
|
L3_1.gadget_id = 70360156
|
|
L4_1 = {}
|
|
L4_1.x = -3.555
|
|
L4_1.y = 39.995
|
|
L4_1.z = -51.411
|
|
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 = 7002
|
|
L4_1.gadget_id = 70900205
|
|
L5_1 = {}
|
|
L5_1.x = -8.464
|
|
L5_1.y = 39.148
|
|
L5_1.z = -56.795
|
|
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
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 7007
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.CUBIC
|
|
L3_1.shape = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 65.0
|
|
L4_1.y = 40.0
|
|
L4_1.z = 50.0
|
|
L3_1.size = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = -5.1
|
|
L4_1.y = 40.005
|
|
L4_1.z = -46.4
|
|
L3_1.pos = L4_1
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1007003
|
|
L3_1.name = "VARIABLE_CHANGE_7003"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = "success"
|
|
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_7003"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_7003"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1007004
|
|
L4_1.name = "ANY_MONSTER_DIE_7004"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_7004"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1007005
|
|
L5_1.name = "SELECT_OPTION_7005"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_SELECT_OPTION
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_SELECT_OPTION_7005"
|
|
L5_1.action = "action_EVENT_SELECT_OPTION_7005"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1007006
|
|
L6_1.name = "GADGET_CREATE_7006"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_GADGET_CREATE
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_GADGET_CREATE_7006"
|
|
L6_1.action = "action_EVENT_GADGET_CREATE_7006"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1007007
|
|
L7_1.name = "LEAVE_REGION_7007"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_LEAVE_REGION
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_LEAVE_REGION_7007"
|
|
L7_1.action = "action_EVENT_LEAVE_REGION_7007"
|
|
L7_1.trigger_count = 0
|
|
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
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 7008
|
|
L4_1 = {}
|
|
L4_1.x = -8.509
|
|
L4_1.y = 40.0
|
|
L4_1.z = -48.082
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 130.978
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L4_1 = {}
|
|
L4_1.config_id = 7009
|
|
L5_1 = {}
|
|
L5_1.x = -2.296
|
|
L5_1.y = 40.016
|
|
L5_1.z = -44.764
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 183.993
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L5_1 = {}
|
|
L5_1.config_id = 7010
|
|
L6_1 = {}
|
|
L6_1.x = 2.17
|
|
L6_1.y = 40.0
|
|
L6_1.z = -47.972
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 247.001
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L6_1 = {}
|
|
L6_1.config_id = 7011
|
|
L7_1 = {}
|
|
L7_1.x = 1.405
|
|
L7_1.y = 40.049
|
|
L7_1.z = -56.524
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 328.623
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L7_1 = {}
|
|
L7_1.config_id = 7012
|
|
L8_1 = {}
|
|
L8_1.x = -8.088
|
|
L8_1.y = 40.0
|
|
L8_1.z = -55.752
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 52.227
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L8_1 = {}
|
|
L8_1.config_id = 7013
|
|
L9_1 = {}
|
|
L9_1.x = -8.509
|
|
L9_1.y = 40.0
|
|
L9_1.z = -48.082
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 130.978
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L9_1 = {}
|
|
L9_1.config_id = 7014
|
|
L10_1 = {}
|
|
L10_1.x = -2.296
|
|
L10_1.y = 40.016
|
|
L10_1.z = -44.764
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 183.993
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L10_1 = {}
|
|
L10_1.config_id = 7015
|
|
L11_1 = {}
|
|
L11_1.x = 2.17
|
|
L11_1.y = 40.0
|
|
L11_1.z = -47.972
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 247.001
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L11_1 = {}
|
|
L11_1.config_id = 7016
|
|
L12_1 = {}
|
|
L12_1.x = 1.405
|
|
L12_1.y = 40.049
|
|
L12_1.z = -56.524
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 328.623
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L12_1 = {}
|
|
L12_1.config_id = 7017
|
|
L13_1 = {}
|
|
L13_1.x = -8.088
|
|
L13_1.y = 40.0
|
|
L13_1.z = -55.752
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 52.227
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L13_1 = {}
|
|
L13_1.config_id = 7018
|
|
L14_1 = {}
|
|
L14_1.x = -8.509
|
|
L14_1.y = 40.0
|
|
L14_1.z = -48.082
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 130.978
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L14_1 = {}
|
|
L14_1.config_id = 7019
|
|
L15_1 = {}
|
|
L15_1.x = -2.296
|
|
L15_1.y = 40.016
|
|
L15_1.z = -44.764
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 183.993
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L15_1 = {}
|
|
L15_1.config_id = 7020
|
|
L16_1 = {}
|
|
L16_1.x = 2.17
|
|
L16_1.y = 40.0
|
|
L16_1.z = -47.972
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 247.001
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L16_1 = {}
|
|
L16_1.config_id = 7021
|
|
L17_1 = {}
|
|
L17_1.x = 1.405
|
|
L17_1.y = 40.049
|
|
L17_1.z = -56.524
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 328.623
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L17_1 = {}
|
|
L17_1.config_id = 7022
|
|
L18_1 = {}
|
|
L18_1.x = -8.088
|
|
L18_1.y = 40.0
|
|
L18_1.z = -55.752
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 0.0
|
|
L18_1.y = 52.227
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
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
|
|
L2_1[11] = L13_1
|
|
L2_1[12] = L14_1
|
|
L2_1[13] = L15_1
|
|
L2_1[14] = L16_1
|
|
L2_1[15] = L17_1
|
|
points = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "success"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = false
|
|
L2_1[1] = L3_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 7001
|
|
L6_1 = 7002
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 7007
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "VARIABLE_CHANGE_7003"
|
|
L6_1 = "ANY_MONSTER_DIE_7004"
|
|
L7_1 = "SELECT_OPTION_7005"
|
|
L8_1 = "GADGET_CREATE_7006"
|
|
L9_1 = "LEAVE_REGION_7007"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 0
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_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
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "success"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_7003 = 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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "success"
|
|
L5_2 = 99
|
|
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_groupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExecuteGroupLua
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_core
|
|
L5_2 = "ModifyMistTrialAbility"
|
|
L6_2 = {}
|
|
L7_2 = 1
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "\229\164\141\230\180\187\239\188\129\239\188\129\239\188\129\239\188\129\239\188\129"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 43001006
|
|
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 : active_reminder_ui"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_7003 = 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.ExecuteGroupLua
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_core
|
|
L5_2 = "AddMistTrialChildChallengeScore"
|
|
L6_2 = {}
|
|
L7_2 = 1
|
|
L6_2[1] = L7_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_7004 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_1
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_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_7005 = 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, L10_2, L11_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExecuteGroupLua
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_core
|
|
L5_2 = "SetKillMonsterTarget"
|
|
L6_2 = {}
|
|
L7_2 = L1_1.group_1
|
|
L8_2 = L1_1.MonsterCount
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExecuteGroupLua
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_core
|
|
L5_2 = "StartSubChallengeKillMonster"
|
|
L6_2 = {}
|
|
L7_2 = L1_1.challenge1
|
|
L8_2 = L1_1.challenge_kill
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "\229\173\144\230\140\145\230\136\152\230\140\130\230\142\165\229\174\140\230\136\144!!!!!!!!"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AutoPoolMonsterTide
|
|
L3_2 = A0_2
|
|
L4_2 = 1
|
|
L5_2 = L1_1.group_1
|
|
L6_2 = {}
|
|
L7_2 = L1_1.PoolList
|
|
L6_2[1] = L7_2
|
|
L7_2 = 0
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L10_2 = {}
|
|
L11_2 = L1_1.total_count
|
|
L10_2.total_count = L11_2
|
|
L11_2 = L1_1.min_count
|
|
L10_2.min_count = L11_2
|
|
L11_2 = L1_1.max_count
|
|
L10_2.max_count = L11_2
|
|
L11_2 = L1_1.tag
|
|
L10_2.tag = L11_2
|
|
L10_2.fill_time = 0
|
|
L10_2.fill_count = 0
|
|
L10_2.is_ordered = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "\230\128\170\231\137\169\230\189\174\229\188\128\229\144\175!!!!!!!!"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 43001009
|
|
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 : active_reminder_ui"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_1
|
|
L5_2 = L1_1.gadget_1
|
|
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.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "\230\147\141\228\189\156\229\143\176\229\136\135\230\141\162\229\136\176GearStart!!!!!!!!"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.gadget_1
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
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.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "\230\147\141\228\189\156\229\143\176\229\136\135\230\141\162\229\136\176GearStop!!!!!!!!"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_7005 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_1
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_7006 = 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 = L1_1.group_1
|
|
L5_2 = L1_1.gadget_1
|
|
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_7006 = 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.GetRegionConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = A1_2.source_eid
|
|
L4_2.region_eid = L5_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = L1_1.Region1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "success"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_LEAVE_REGION_7007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExecuteGroupLua
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_core
|
|
L5_2 = "StopMistTrialChildChallenge"
|
|
L6_2 = {}
|
|
L7_2 = L1_1.challenge1
|
|
L8_2 = 0
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ClearPoolMonsterTide
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_1
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = L1_1.group_1
|
|
L4_2.group_id = L5_2
|
|
L4_2.suite = 1
|
|
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_LEAVE_REGION_7007 = L2_1
|