mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
725 lines
14 KiB
Lua
725 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133210387
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 387002
|
|
L2_1.gadget_id = 70330094
|
|
L3_1 = {}
|
|
L3_1.x = -3882.42
|
|
L3_1.y = 209.248
|
|
L3_1.z = -456.696
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 34.863
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 30
|
|
L2_1.area_id = 17
|
|
L3_1 = {}
|
|
L3_1.config_id = 387003
|
|
L3_1.gadget_id = 70900049
|
|
L4_1 = {}
|
|
L4_1.x = -3863.858
|
|
L4_1.y = 200.076
|
|
L4_1.z = -427.521
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 6.232
|
|
L4_1.y = 359.837
|
|
L4_1.z = 356.427
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.area_id = 17
|
|
L4_1 = {}
|
|
L4_1.config_id = 387006
|
|
L4_1.gadget_id = 70900008
|
|
L5_1 = {}
|
|
L5_1.x = -3870.892
|
|
L5_1.y = 202.221
|
|
L5_1.z = -438.568
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 359.733
|
|
L5_1.y = 0.07
|
|
L5_1.z = 0.916
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.area_id = 17
|
|
L5_1 = {}
|
|
L5_1.config_id = 387008
|
|
L5_1.gadget_id = 70900008
|
|
L6_1 = {}
|
|
L6_1.x = -3879.436
|
|
L6_1.y = 204.344
|
|
L6_1.z = -452.484
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 13.954
|
|
L6_1.y = 359.3
|
|
L6_1.z = 352.916
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.area_id = 17
|
|
L6_1 = {}
|
|
L6_1.config_id = 387010
|
|
L6_1.gadget_id = 70330114
|
|
L7_1 = {}
|
|
L7_1.x = -3860.384
|
|
L7_1.y = 200.661
|
|
L7_1.z = -430.738
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 135.56
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 17
|
|
L7_1 = {}
|
|
L7_1.config_id = 387011
|
|
L7_1.gadget_id = 70330114
|
|
L8_1 = {}
|
|
L8_1.x = -3867.856
|
|
L8_1.y = 203.152
|
|
L8_1.z = -438.641
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 9.344
|
|
L8_1.y = 90.813
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.area_id = 17
|
|
L8_1 = {}
|
|
L8_1.config_id = 387012
|
|
L8_1.gadget_id = 70330114
|
|
L9_1 = {}
|
|
L9_1.x = -3876.187
|
|
L9_1.y = 204.705
|
|
L9_1.z = -450.969
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 10.922
|
|
L9_1.y = 63.948
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.area_id = 17
|
|
L9_1 = {}
|
|
L9_1.config_id = 387013
|
|
L9_1.gadget_id = 70330114
|
|
L10_1 = {}
|
|
L10_1.x = -3863.356
|
|
L10_1.y = 202.554
|
|
L10_1.z = -444.697
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 8.79
|
|
L10_1.y = 63.948
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L9_1.area_id = 17
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1387001
|
|
L2_1.name = "QUEST_START_387001"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_QUEST_START
|
|
L2_1.event = L3_1
|
|
L2_1.source = "7215104"
|
|
L2_1.condition = ""
|
|
L2_1.action = "action_EVENT_QUEST_START_387001"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1387004
|
|
L3_1.name = "VARIABLE_CHANGE_387004"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_387004"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_387004"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1387005
|
|
L4_1.name = "GADGET_STATE_CHANGE_387005"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_387005"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_387005"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1387007
|
|
L5_1.name = "GADGET_STATE_CHANGE_387007"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_387007"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_387007"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1387009
|
|
L6_1.name = "GADGET_STATE_CHANGE_387009"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_387009"
|
|
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_387009"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1387014
|
|
L7_1.name = "QUEST_START_387014"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_QUEST_START
|
|
L7_1.event = L8_1
|
|
L7_1.source = "7215108"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_QUEST_START_387014"
|
|
L7_1.trigger_count = 0
|
|
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
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "GadgetCount"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L1_1[1] = L2_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.io_type = 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.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "QUEST_START_387001"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "GadgetCount"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[1] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 387002
|
|
L4_1.state = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 387003
|
|
L5_1.state = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 387006
|
|
L6_1.state = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 387008
|
|
L7_1.state = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 387010
|
|
L8_1.state = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 387011
|
|
L9_1.state = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 387012
|
|
L10_1.state = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 387013
|
|
L11_1.state = 0
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L3_1[5] = L8_1
|
|
L3_1[6] = L9_1
|
|
L3_1[7] = L10_1
|
|
L3_1[8] = L11_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "VARIABLE_CHANGE_387004"
|
|
L5_1 = "GADGET_STATE_CHANGE_387005"
|
|
L6_1 = "GADGET_STATE_CHANGE_387007"
|
|
L7_1 = "GADGET_STATE_CHANGE_387009"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "GadgetCount"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[2] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "GadgetCount"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[3] = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 387002
|
|
L4_1.state = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 387003
|
|
L5_1.state = 202
|
|
L6_1 = {}
|
|
L6_1.config_id = 387006
|
|
L6_1.state = 202
|
|
L7_1 = {}
|
|
L7_1.config_id = 387008
|
|
L7_1.state = 202
|
|
L8_1 = {}
|
|
L8_1.config_id = 387010
|
|
L8_1.state = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 387011
|
|
L9_1.state = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 387012
|
|
L10_1.state = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 387013
|
|
L11_1.state = 0
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L3_1[5] = L8_1
|
|
L3_1[6] = L9_1
|
|
L3_1[7] = L10_1
|
|
L3_1[8] = L11_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "QUEST_START_387014"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L2_1.npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "GadgetCount"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
L2_1.variables = L3_1
|
|
L1_1[4] = L2_1
|
|
suite_disk = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "QUEST_START_387001"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 387002
|
|
L6_1 = 387003
|
|
L7_1 = 387006
|
|
L8_1 = 387008
|
|
L9_1 = 387010
|
|
L10_1 = 387011
|
|
L11_1 = 387012
|
|
L12_1 = 387013
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "VARIABLE_CHANGE_387004"
|
|
L6_1 = "GADGET_STATE_CHANGE_387005"
|
|
L7_1 = "GADGET_STATE_CHANGE_387007"
|
|
L8_1 = "GADGET_STATE_CHANGE_387009"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
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
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 387002
|
|
L8_1 = 387003
|
|
L9_1 = 387006
|
|
L10_1 = 387008
|
|
L11_1 = 387010
|
|
L12_1 = 387011
|
|
L13_1 = 387012
|
|
L14_1 = 387013
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L6_1[4] = L10_1
|
|
L6_1[5] = L11_1
|
|
L6_1[6] = L12_1
|
|
L6_1[7] = L13_1
|
|
L6_1[8] = L14_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "QUEST_START_387014"
|
|
L6_1[1] = L7_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GoToFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133210387
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_START_387001 = L1_1
|
|
function L1_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 = "GadgetCount"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 3 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_387004 = L1_1
|
|
function L1_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.SetGroupGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133210386
|
|
L5_2 = 386001
|
|
L6_2 = GadgetState
|
|
L6_2 = L6_2.GearStop
|
|
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_gadget_state_by_GroupId_ConfigId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = {}
|
|
L2_2.x = -3851.68
|
|
L2_2.y = 199.86
|
|
L2_2.z = -439.07
|
|
L3_2 = {}
|
|
L3_2.x = 0
|
|
L3_2.y = 0
|
|
L3_2.z = 0
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.BeginCameraSceneLook
|
|
L5_2 = A0_2
|
|
L6_2 = {}
|
|
L6_2.look_pos = L2_2
|
|
L6_2.is_allow_input = false
|
|
L6_2.duration = 2
|
|
L6_2.is_force = true
|
|
L6_2.is_broadcast = false
|
|
L6_2.is_recover_keep_current = true
|
|
L6_2.delay = 0
|
|
L6_2.is_set_follow_pos = false
|
|
L6_2.follow_pos = L3_2
|
|
L6_2.is_force_walk = false
|
|
L6_2.is_change_play_mode = false
|
|
L6_2.is_set_screen_XY = false
|
|
L6_2.screen_x = 0
|
|
L6_2.screen_y = 0
|
|
L4_2 = L4_2(L5_2, L6_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.SetFlowSuite
|
|
L5_2 = A0_2
|
|
L6_2 = 133210387
|
|
L7_2 = 3
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.SetGroupVariableValueByGroup
|
|
L5_2 = A0_2
|
|
L6_2 = "queststate"
|
|
L7_2 = 1
|
|
L8_2 = 133210211
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : set_groupVariable_by_group"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.SetGroupVariableValueByGroup
|
|
L5_2 = A0_2
|
|
L6_2 = "Reminder"
|
|
L7_2 = 1
|
|
L8_2 = 133210211
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : set_groupVariable_by_group"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_387004 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 387003 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_387005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "GadgetCount"
|
|
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 : change_GroupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_387005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 387006 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_387007 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "GadgetCount"
|
|
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 : change_GroupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_387007 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 387008 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_387009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "GadgetCount"
|
|
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 : change_GroupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_387009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GoToFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133210387
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_START_387014 = L1_1
|