Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133210002.lua
2022-04-29 16:40:51 +02:00

1228 lines
25 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, L19_1, L20_1
L0_1 = {}
L0_1.group_id = 133210002
L1_1 = {}
L1_1.active_step = 201
L1_1.inactive_step = 0
L2_1 = {}
L3_1 = 2001
L4_1 = 2002
L5_1 = 2003
L6_1 = 2004
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L1_1.gadget_array = L2_1
L2_1 = {}
L1_1.reset_gear_list = L2_1
L2_1 = 0
L3_1 = 0
L4_1 = L1_1.gadget_array
L4_1 = #L4_1
L5_1 = {}
monsters = L5_1
L5_1 = {}
npcs = L5_1
L5_1 = {}
L6_1 = {}
L6_1.config_id = 2001
L6_1.gadget_id = 70900008
L7_1 = {}
L7_1.x = -3784.374
L7_1.y = 202.389
L7_1.z = -1318.72
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 356.307
L7_1.y = 130.889
L7_1.z = 1.532
L6_1.rot = L7_1
L6_1.level = 30
L7_1 = GadgetState
L7_1 = L7_1.GearStop
L6_1.state = L7_1
L6_1.persistent = true
L6_1.mark_flag = 1
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 2002
L7_1.gadget_id = 70900008
L8_1 = {}
L8_1.x = -3791.639
L8_1.y = 202.075
L8_1.z = -1327.154
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 9.802
L8_1.y = 203.726
L8_1.z = 357.543
L7_1.rot = L8_1
L7_1.level = 30
L8_1 = GadgetState
L8_1 = L8_1.GearStop
L7_1.state = L8_1
L7_1.persistent = true
L7_1.mark_flag = 2
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 2003
L8_1.gadget_id = 70900008
L9_1 = {}
L9_1.x = -3788.01
L9_1.y = 201.463
L9_1.z = -1334.385
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 3.764
L9_1.y = 128.608
L9_1.z = 353.881
L8_1.rot = L9_1
L8_1.level = 30
L9_1 = GadgetState
L9_1 = L9_1.GearStop
L8_1.state = L9_1
L8_1.persistent = true
L8_1.mark_flag = 3
L8_1.area_id = 17
L9_1 = {}
L9_1.config_id = 2004
L9_1.gadget_id = 70900008
L10_1 = {}
L10_1.x = -3772.55
L10_1.y = 201.857
L10_1.z = -1326.231
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 356.369
L10_1.y = 89.114
L10_1.z = 356.486
L9_1.rot = L10_1
L9_1.level = 30
L10_1 = GadgetState
L10_1 = L10_1.GearStop
L9_1.state = L10_1
L9_1.persistent = true
L9_1.mark_flag = 4
L9_1.area_id = 17
L10_1 = {}
L10_1.config_id = 2005
L10_1.gadget_id = 70330076
L11_1 = {}
L11_1.x = -3785.032
L11_1.y = 202.115
L11_1.z = -1326.639
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 142.041
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 30
L10_1.persistent = true
L10_1.area_id = 17
L11_1 = {}
L11_1.config_id = 2015
L11_1.gadget_id = 70211121
L12_1 = {}
L12_1.x = -3777.816
L12_1.y = 202.56
L12_1.z = -1326.179
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 1.144
L12_1.y = 233.148
L12_1.z = 357.314
L11_1.rot = L12_1
L11_1.level = 26
L11_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\168\187\229\166\187"
L11_1.isOneoff = true
L11_1.persistent = true
L12_1 = {}
L12_1.name = "chest"
L12_1.exp = 1
L11_1.explore = L12_1
L11_1.area_id = 17
L12_1 = {}
L12_1.config_id = 2017
L12_1.gadget_id = 70900008
L13_1 = {}
L13_1.x = -3784.374
L13_1.y = 202.389
L13_1.z = -1318.72
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 356.307
L13_1.y = 130.889
L13_1.z = 1.532
L12_1.rot = L13_1
L12_1.level = 30
L13_1 = GadgetState
L13_1 = L13_1.GearStart
L12_1.state = L13_1
L12_1.persistent = true
L12_1.mark_flag = 1
L12_1.area_id = 17
L13_1 = {}
L13_1.config_id = 2018
L13_1.gadget_id = 70900008
L14_1 = {}
L14_1.x = -3791.639
L14_1.y = 202.075
L14_1.z = -1327.154
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 9.802
L14_1.y = 203.726
L14_1.z = 357.543
L13_1.rot = L14_1
L13_1.level = 30
L14_1 = GadgetState
L14_1 = L14_1.GearStart
L13_1.state = L14_1
L13_1.persistent = true
L13_1.mark_flag = 2
L13_1.area_id = 17
L14_1 = {}
L14_1.config_id = 2019
L14_1.gadget_id = 70900008
L15_1 = {}
L15_1.x = -3788.01
L15_1.y = 201.463
L15_1.z = -1334.385
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 3.764
L15_1.y = 128.608
L15_1.z = 353.881
L14_1.rot = L15_1
L14_1.level = 30
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.persistent = true
L14_1.mark_flag = 3
L14_1.area_id = 17
L15_1 = {}
L15_1.config_id = 2020
L15_1.gadget_id = 70900008
L16_1 = {}
L16_1.x = -3772.55
L16_1.y = 201.857
L16_1.z = -1326.231
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 356.369
L16_1.y = 89.114
L16_1.z = 356.486
L15_1.rot = L16_1
L15_1.level = 30
L16_1 = GadgetState
L16_1 = L16_1.GearStart
L15_1.state = L16_1
L15_1.persistent = true
L15_1.mark_flag = 4
L15_1.area_id = 17
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L5_1[10] = L15_1
gadgets = L5_1
L5_1 = {}
L6_1 = {}
L6_1.config_id = 2006
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 12
L7_1 = {}
L7_1.x = -3782.267
L7_1.y = 201.301
L7_1.z = -1327.848
L6_1.pos = L7_1
L6_1.area_id = 17
L5_1[1] = L6_1
regions = L5_1
L5_1 = {}
L6_1 = {}
L6_1.config_id = 1002006
L6_1.name = "ENTER_REGION_2006"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ENTER_REGION_2006"
L6_1.action = "action_EVENT_ENTER_REGION_2006"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1002007
L7_1.name = "GADGET_STATE_CHANGE_2007"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_2007"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_2007"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1002008
L8_1.name = "VARIABLE_CHANGE_2008"
L9_1 = EventType
L9_1 = L9_1.EVENT_VARIABLE_CHANGE
L8_1.event = L9_1
L8_1.source = "gear_reset"
L8_1.condition = ""
L8_1.action = "action_EVENT_VARIABLE_CHANGE_2008"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1002009
L9_1.name = "VARIABLE_CHANGE_2009"
L10_1 = EventType
L10_1 = L10_1.EVENT_VARIABLE_CHANGE
L9_1.event = L10_1
L9_1.source = "trigger_output"
L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_2009"
L9_1.action = ""
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1002010
L10_1.name = "VARIABLE_CHANGE_2010"
L11_1 = EventType
L11_1 = L11_1.EVENT_VARIABLE_CHANGE
L10_1.event = L11_1
L10_1.source = "trigger_output"
L10_1.condition = "condition_EVENT_VARIABLE_CHANGE_2010"
L10_1.action = "action_EVENT_VARIABLE_CHANGE_2010"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1002011
L11_1.name = "GROUP_LOAD_2011"
L12_1 = EventType
L12_1 = L12_1.EVENT_GROUP_LOAD
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_GROUP_LOAD_2011"
L11_1.action = "action_EVENT_GROUP_LOAD_2011"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1002012
L12_1.name = "VARIABLE_CHANGE_2012"
L13_1 = EventType
L13_1 = L13_1.EVENT_VARIABLE_CHANGE
L12_1.event = L13_1
L12_1.source = "GadgetState"
L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_2012"
L12_1.action = "action_EVENT_VARIABLE_CHANGE_2012"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1002013
L13_1.name = "VARIABLE_CHANGE_2013"
L14_1 = EventType
L14_1 = L14_1.EVENT_VARIABLE_CHANGE
L13_1.event = L14_1
L13_1.source = "GadgetState"
L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_2013"
L13_1.action = "action_EVENT_VARIABLE_CHANGE_2013"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1002014
L14_1.name = "GROUP_LOAD_2014"
L15_1 = EventType
L15_1 = L15_1.EVENT_GROUP_LOAD
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_GROUP_LOAD_2014"
L14_1.action = "action_EVENT_GROUP_LOAD_2014"
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1002016
L15_1.name = "GROUP_LOAD_2016"
L16_1 = EventType
L16_1 = L16_1.EVENT_GROUP_LOAD
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_GROUP_LOAD_2016"
L15_1.action = "action_EVENT_GROUP_LOAD_2016"
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1002021
L16_1.name = "TIME_AXIS_PASS_2021"
L17_1 = EventType
L17_1 = L17_1.EVENT_TIME_AXIS_PASS
L16_1.event = L17_1
L16_1.source = "Thunder"
L16_1.condition = "condition_EVENT_TIME_AXIS_PASS_2021"
L16_1.action = "action_EVENT_TIME_AXIS_PASS_2021"
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1002022
L17_1.name = "TIME_AXIS_PASS_2022"
L18_1 = EventType
L18_1 = L18_1.EVENT_TIME_AXIS_PASS
L17_1.event = L18_1
L17_1.source = "Thunder"
L17_1.condition = "condition_EVENT_TIME_AXIS_PASS_2022"
L17_1.action = "action_EVENT_TIME_AXIS_PASS_2022"
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1002023
L18_1.name = "TIME_AXIS_PASS_2023"
L19_1 = EventType
L19_1 = L19_1.EVENT_TIME_AXIS_PASS
L18_1.event = L19_1
L18_1.source = "Thunder"
L18_1.condition = "condition_EVENT_TIME_AXIS_PASS_2023"
L18_1.action = "action_EVENT_TIME_AXIS_PASS_2023"
L18_1.trigger_count = 0
L19_1 = {}
L19_1.config_id = 1002024
L19_1.name = "TIME_AXIS_PASS_2024"
L20_1 = EventType
L20_1 = L20_1.EVENT_TIME_AXIS_PASS
L19_1.event = L20_1
L19_1.source = "Thunder"
L19_1.condition = "condition_EVENT_TIME_AXIS_PASS_2024"
L19_1.action = "action_EVENT_TIME_AXIS_PASS_2024"
L19_1.trigger_count = 0
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L5_1[10] = L15_1
L5_1[11] = L16_1
L5_1[12] = L17_1
L5_1[13] = L18_1
L5_1[14] = L19_1
triggers = L5_1
L5_1 = {}
L6_1 = {}
L6_1.configId = 1
L6_1.name = "sort"
L6_1.value = 0
L6_1.no_refresh = true
L7_1 = {}
L7_1.configId = 2
L7_1.name = "gear_reset"
L7_1.value = 0
L7_1.no_refresh = true
L8_1 = {}
L8_1.configId = 3
L8_1.name = "v_error"
L8_1.value = 0
L8_1.no_refresh = true
L9_1 = {}
L9_1.configId = 4
L9_1.name = "trigger_output"
L9_1.value = 0
L9_1.no_refresh = true
L10_1 = {}
L10_1.configId = 5
L10_1.name = "GadgetState"
L10_1.value = 0
L10_1.no_refresh = true
L11_1 = {}
L11_1.configId = 6
L11_1.name = "Success"
L11_1.value = 0
L11_1.no_refresh = true
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
variables = L5_1
L5_1 = {}
L5_1.suite = 1
L5_1.end_suite = 2
L5_1.rand_suite = false
init_config = L5_1
L5_1 = {}
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 2001
L9_1 = 2002
L10_1 = 2003
L11_1 = 2004
L12_1 = 2005
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L6_1.gadgets = L7_1
L7_1 = {}
L8_1 = 2006
L7_1[1] = L8_1
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "ENTER_REGION_2006"
L9_1 = "GADGET_STATE_CHANGE_2007"
L10_1 = "VARIABLE_CHANGE_2008"
L11_1 = "VARIABLE_CHANGE_2009"
L12_1 = "VARIABLE_CHANGE_2010"
L13_1 = "VARIABLE_CHANGE_2012"
L14_1 = "VARIABLE_CHANGE_2013"
L15_1 = "GROUP_LOAD_2014"
L16_1 = "GROUP_LOAD_2016"
L17_1 = "TIME_AXIS_PASS_2021"
L18_1 = "TIME_AXIS_PASS_2022"
L19_1 = "TIME_AXIS_PASS_2023"
L20_1 = "TIME_AXIS_PASS_2024"
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L7_1[6] = L13_1
L7_1[7] = L14_1
L7_1[8] = L15_1
L7_1[9] = L16_1
L7_1[10] = L17_1
L7_1[11] = L18_1
L7_1[12] = L19_1
L7_1[13] = L20_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L7_1.monsters = L8_1
L8_1 = {}
L9_1 = 2005
L10_1 = 2015
L11_1 = 2017
L12_1 = 2018
L13_1 = 2019
L14_1 = 2020
L8_1[1] = L9_1
L8_1[2] = L10_1
L8_1[3] = L11_1
L8_1[4] = L12_1
L8_1[5] = L13_1
L8_1[6] = L14_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
L5_1[1] = L6_1
L5_1[2] = L7_1
suites = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 2006 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_2006 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.MarkPlayerAction
L3_2 = A0_2
L4_2 = 7006
L5_2 = 3
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 : mark_playerAction"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_2006 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = 1
L3_2 = L1_1.gadget_array
L3_2 = #L3_2
L4_2 = 1
for L5_2 = L2_2, L3_2, L4_2 do
L6_2 = L1_1.gadget_array
L6_2 = L6_2[L5_2]
L7_2 = A1_2.param2
if L6_2 == L7_2 then
L6_2 = true
return L6_2
end
end
L2_2 = false
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_2007 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = L4_1
if not (9 < L2_2) then
L2_2 = L4_1
if not (L2_2 <= 1) then
goto lbl_9
end
end
L2_2 = -1
do return L2_2 end
::lbl_9::
L2_2 = A1_2.param1
L3_2 = L1_1.active_step
if L2_2 == L3_2 then
L2_2 = 1
L3_2 = L4_1
L4_2 = 1
for L5_2 = L2_2, L3_2, L4_2 do
L6_2 = L1_1.gadget_array
L6_2 = L6_2[L5_2]
L7_2 = A1_2.param2
if L6_2 == L7_2 then
L6_2 = ScriptLib
L6_2 = L6_2.GetGroupVariableValue
L7_2 = A0_2
L8_2 = "sort"
L6_2 = L6_2(L7_2, L8_2)
L2_1 = L6_2
L6_2 = L2_1
L6_2 = 10 * L6_2
L6_2 = L6_2 + L5_2
L2_1 = L6_2
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupVariableValue
L7_2 = A0_2
L8_2 = "sort"
L9_2 = L2_1
L6_2(L7_2, L8_2, L9_2)
break
end
L6_2 = L4_1
if L5_2 == L6_2 then
L6_2 = L1_1.gadget_array
L6_2 = L6_2[L5_2]
L7_2 = A1_2.param2
if L6_2 ~= L7_2 then
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupVariableValue
L7_2 = A0_2
L8_2 = "v_error"
L9_2 = 1
L6_2(L7_2, L8_2, L9_2)
L6_2 = L2_1
L6_2 = 10 * L6_2
L2_1 = L6_2
end
end
end
end
L2_2 = L2_1
L3_2 = L4_1
L3_2 = L3_2 - 1
L3_2 = 10 ^ L3_2
if L2_2 > L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "v_error"
L2_2 = L2_2(L3_2, L4_2)
L3_1 = L2_2
L2_2 = L3_1
if 0 == L2_2 then
L2_2 = L4_1
L3_2 = 1
L4_2 = -1
for L5_2 = L2_2, L3_2, L4_2 do
L6_2 = L2_1
L6_2 = L6_2 % 10
if L6_2 ~= L5_2 then
L6_2 = 1
L3_1 = L6_2
break
end
L6_2 = math
L6_2 = L6_2.floor
L7_2 = L2_1
L7_2 = L7_2 / 10
L6_2 = L6_2(L7_2)
L2_1 = L6_2
end
end
L2_2 = 0
L2_1 = L2_2
L2_2 = L3_1
if L2_2 ~= 1 then
L2_2 = -1
L3_1 = L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "sort"
L5_2 = L2_1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "gear_reset"
L5_2 = L3_1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "v_error"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_2007 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = -1
return L2_2
end
L2_2 = A1_2.param1
if L2_2 == 1 then
L2_2 = L1_1.reset_gear_list
L2_2 = #L2_2
if L2_2 == 0 then
L2_2 = suites
L2_2 = L2_2[1]
L2_2 = L2_2.gadgets
L1_1.reset_gear_list = L2_2
end
L2_2 = 1
L3_2 = L1_1.reset_gear_list
L3_2 = #L3_2
L4_2 = 1
for L5_2 = L2_2, L3_2, L4_2 do
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 0
L9_2 = L1_1.reset_gear_list
L9_2 = L9_2[L5_2]
L10_2 = L1_1.inactive_step
L6_2(L7_2, L8_2, L9_2, L10_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "trigger_output"
L5_2 = -1
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = A1_2.param1
if -1 == L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "trigger_output"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
end
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "gear_reset"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2008 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_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 = A1_2.param1
if L2_2 == -1 then
L2_2 = true
return L2_2
end
L2_2 = false
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_2009 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_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 = A1_2.param1
if 0 < L2_2 then
L2_2 = true
return L2_2
end
L2_2 = false
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_2010 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.MarkPlayerAction
L3_2 = A0_2
L4_2 = 6055
L5_2 = 3
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 : mark_playerAction"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2015
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 : create_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GoToFlowSuite
L3_2 = A0_2
L4_2 = 133210427
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "Success"
L5_2 = 1
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 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2010 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "GadgetState"
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_GROUP_LOAD_2011 = L5_1
function L5_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 = 2005
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_GROUP_LOAD_2011 = L5_1
function L5_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 = "GadgetState"
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_2012 = L5_1
function L5_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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2005
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.InitTimeAxis
L3_2 = A0_2
L4_2 = "Thunder"
L5_2 = {}
L6_2 = 3
L7_2 = 5
L8_2 = 7
L9_2 = 9
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_2
L5_2[4] = L9_2
L6_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2012 = L5_1
function L5_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 = "GadgetState"
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_VARIABLE_CHANGE_2013 = L5_1
function L5_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 = 2005
L5_2 = GadgetState
L5_2 = L5_2.Default
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.EndTimeAxis
L3_2 = A0_2
L4_2 = "Thunder"
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2013 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
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_GROUP_LOAD_2014 = L5_1
function L5_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 = 2005
L5_2 = GadgetState
L5_2 = L5_2.Default
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "GadgetState"
L5_2 = 0
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 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_2014 = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
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_GROUP_LOAD_2016 = L5_1
function L5_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 = 133210002
L4_2.suite = 2
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_2016 = L5_1
function L5_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_2021 = L5_1
function L5_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 = 2001
L5_2 = GadgetState
L5_2 = L5_2.Default
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_TIME_AXIS_PASS_2021 = L5_1
function L5_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_2022 = L5_1
function L5_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 = 2002
L5_2 = GadgetState
L5_2 = L5_2.Default
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_TIME_AXIS_PASS_2022 = L5_1
function L5_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_2023 = L5_1
function L5_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 = 2003
L5_2 = GadgetState
L5_2 = L5_2.Default
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_TIME_AXIS_PASS_2023 = L5_1
function L5_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 4 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_2024 = L5_1
function L5_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 = 2004
L5_2 = GadgetState
L5_2 = L5_2.Default
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_TIME_AXIS_PASS_2024 = L5_1