mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
857 lines
17 KiB
Lua
857 lines
17 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 = 133106228
|
|
L1_1 = {}
|
|
L1_1.steps = 2
|
|
L1_1.config_id = 228008
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.route = 310600004
|
|
L4_1 = {}
|
|
L5_1 = 1
|
|
L6_1 = 2
|
|
L7_1 = 3
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.points = L4_1
|
|
L2_1[1] = L3_1
|
|
L3_1 = {}
|
|
L3_1.route = 310600004
|
|
L4_1 = {}
|
|
L5_1 = 3
|
|
L6_1 = 4
|
|
L7_1 = 5
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.points = L4_1
|
|
L2_1[2] = L3_1
|
|
L1_1.routes = L2_1
|
|
L1_1.shake_point = 4
|
|
L2_1 = {}
|
|
L2_1[228005] = 228013
|
|
L2_1[228009] = 228014
|
|
L3_1 = {}
|
|
monsters = L3_1
|
|
L3_1 = {}
|
|
npcs = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 228001
|
|
L4_1.gadget_id = 70330021
|
|
L5_1 = {}
|
|
L5_1.x = -661.964
|
|
L5_1.y = 167.849
|
|
L5_1.z = 1574.266
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.005
|
|
L5_1.y = 0.036
|
|
L5_1.z = 351.995
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 19
|
|
L5_1 = {}
|
|
L5_1.config_id = 228004
|
|
L5_1.gadget_id = 70330021
|
|
L6_1 = {}
|
|
L6_1.x = -680.119
|
|
L6_1.y = 168.354
|
|
L6_1.z = 1560.475
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 306.868
|
|
L6_1.y = 359.797
|
|
L6_1.z = 5.171
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 32
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 19
|
|
L6_1 = {}
|
|
L6_1.config_id = 228005
|
|
L6_1.gadget_id = 70330145
|
|
L7_1 = {}
|
|
L7_1.x = -683.956
|
|
L7_1.y = 173.176
|
|
L7_1.z = 1564.352
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 345.95
|
|
L7_1.y = 54.84
|
|
L7_1.z = 0.974
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 32
|
|
L7_1 = GadgetState
|
|
L7_1 = L7_1.GearStop
|
|
L6_1.state = L7_1
|
|
L6_1.isOneoff = true
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 19
|
|
L7_1 = {}
|
|
L7_1.config_id = 228008
|
|
L7_1.gadget_id = 70330148
|
|
L8_1 = {}
|
|
L8_1.x = -673.782
|
|
L8_1.y = 179.11
|
|
L8_1.z = 1571.796
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 320.621
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 36
|
|
L7_1.is_use_point_array = true
|
|
L7_1.area_id = 19
|
|
L8_1 = {}
|
|
L8_1.config_id = 228009
|
|
L8_1.gadget_id = 70330145
|
|
L9_1 = {}
|
|
L9_1.x = -657.453
|
|
L9_1.y = 174.144
|
|
L9_1.z = 1577.025
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.094
|
|
L9_1.y = 161.892
|
|
L9_1.z = 1.811
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 36
|
|
L9_1 = GadgetState
|
|
L9_1 = L9_1.GearStop
|
|
L8_1.state = L9_1
|
|
L8_1.isOneoff = true
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 19
|
|
L9_1 = {}
|
|
L9_1.config_id = 228010
|
|
L9_1.gadget_id = 70330021
|
|
L10_1 = {}
|
|
L10_1.x = -657.053
|
|
L10_1.y = 166.627
|
|
L10_1.z = 1571.16
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 340.622
|
|
L10_1.y = 1.97
|
|
L10_1.z = 348.501
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 36
|
|
L9_1.persistent = true
|
|
L9_1.area_id = 19
|
|
L10_1 = {}
|
|
L10_1.config_id = 228011
|
|
L10_1.gadget_id = 70330213
|
|
L11_1 = {}
|
|
L11_1.x = -673.8
|
|
L11_1.y = 168.21
|
|
L11_1.z = 1571.72
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.734
|
|
L11_1.y = 335.488
|
|
L11_1.z = 5.719
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 36
|
|
L10_1.area_id = 19
|
|
L11_1 = {}
|
|
L11_1.config_id = 228012
|
|
L11_1.gadget_id = 70330212
|
|
L12_1 = {}
|
|
L12_1.x = -673.808
|
|
L12_1.y = 170.39
|
|
L12_1.z = 1571.442
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 3.413
|
|
L12_1.y = 320.777
|
|
L12_1.z = 2.617
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 36
|
|
L11_1.area_id = 19
|
|
L12_1 = {}
|
|
L12_1.config_id = 228013
|
|
L12_1.gadget_id = 70290338
|
|
L13_1 = {}
|
|
L13_1.x = -681.026
|
|
L13_1.y = 175.516
|
|
L13_1.z = 1569.453
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 7.801
|
|
L13_1.y = 126.456
|
|
L13_1.z = 350.816
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 36
|
|
L12_1.persistent = true
|
|
L12_1.area_id = 19
|
|
L13_1 = {}
|
|
L13_1.config_id = 228014
|
|
L13_1.gadget_id = 70290338
|
|
L14_1 = {}
|
|
L14_1.x = -663.18
|
|
L14_1.y = 178.21
|
|
L14_1.z = 1572.18
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 24.023
|
|
L14_1.y = 308.636
|
|
L14_1.z = 333.895
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 36
|
|
L13_1.persistent = true
|
|
L13_1.area_id = 19
|
|
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
|
|
L3_1[9] = L12_1
|
|
L3_1[10] = L13_1
|
|
gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 228019
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 30
|
|
L5_1 = {}
|
|
L5_1.x = -674.38
|
|
L5_1.y = 167.518
|
|
L5_1.z = 1571.32
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 19
|
|
L3_1[1] = L4_1
|
|
regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1228002
|
|
L4_1.name = "QUEST_START_228002"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_QUEST_START
|
|
L4_1.event = L5_1
|
|
L4_1.source = "7104410"
|
|
L4_1.condition = "condition_EVENT_QUEST_START_228002"
|
|
L4_1.action = "action_EVENT_QUEST_START_228002"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1228003
|
|
L5_1.name = "PLATFORM_REACH_POINT_228003"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_PLATFORM_REACH_POINT
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_228003"
|
|
L5_1.action = "action_EVENT_PLATFORM_REACH_POINT_228003"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1228006
|
|
L6_1.name = "GADGET_STATE_CHANGE_228006"
|
|
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_228006"
|
|
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_228006"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1228007
|
|
L7_1.name = "GADGET_STATE_CHANGE_228007"
|
|
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_228007"
|
|
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_228007"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1228015
|
|
L8_1.name = "TIME_AXIS_PASS_228015"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_TIME_AXIS_PASS
|
|
L8_1.event = L9_1
|
|
L8_1.source = "killlightriver"
|
|
L8_1.condition = "condition_EVENT_TIME_AXIS_PASS_228015"
|
|
L8_1.action = "action_EVENT_TIME_AXIS_PASS_228015"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1228016
|
|
L9_1.name = "TIME_AXIS_PASS_228016"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_TIME_AXIS_PASS
|
|
L9_1.event = L10_1
|
|
L9_1.source = "reminder"
|
|
L9_1.condition = "condition_EVENT_TIME_AXIS_PASS_228016"
|
|
L9_1.action = "action_EVENT_TIME_AXIS_PASS_228016"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1228017
|
|
L10_1.name = "PLATFORM_REACH_POINT_228017"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_PLATFORM_REACH_POINT
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_228017"
|
|
L10_1.action = "action_EVENT_PLATFORM_REACH_POINT_228017"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1228018
|
|
L11_1.name = "GROUP_LOAD_228018"
|
|
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_228018"
|
|
L11_1.action = "action_EVENT_GROUP_LOAD_228018"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1228019
|
|
L12_1.name = "LEAVE_REGION_228019"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_LEAVE_REGION
|
|
L12_1.event = L13_1
|
|
L12_1.source = ""
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_LEAVE_REGION_228019"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1228020
|
|
L13_1.name = "TIME_AXIS_PASS_228020"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_TIME_AXIS_PASS
|
|
L13_1.event = L14_1
|
|
L13_1.source = "killlightriver"
|
|
L13_1.condition = "condition_EVENT_TIME_AXIS_PASS_228020"
|
|
L13_1.action = "action_EVENT_TIME_AXIS_PASS_228020"
|
|
L13_1.trigger_count = 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
|
|
L3_1[9] = L12_1
|
|
L3_1[10] = L13_1
|
|
triggers = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.configId = 1
|
|
L4_1.name = "questFinished"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L3_1[1] = L4_1
|
|
variables = L3_1
|
|
L3_1 = {}
|
|
L3_1.suite = 1
|
|
L3_1.end_suite = 0
|
|
L3_1.rand_suite = false
|
|
init_config = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 228019
|
|
L5_1[1] = L6_1
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "QUEST_START_228002"
|
|
L7_1 = "PLATFORM_REACH_POINT_228003"
|
|
L8_1 = "GADGET_STATE_CHANGE_228006"
|
|
L9_1 = "TIME_AXIS_PASS_228015"
|
|
L10_1 = "TIME_AXIS_PASS_228016"
|
|
L11_1 = "PLATFORM_REACH_POINT_228017"
|
|
L12_1 = "GROUP_LOAD_228018"
|
|
L13_1 = "LEAVE_REGION_228019"
|
|
L14_1 = "TIME_AXIS_PASS_228020"
|
|
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
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 228001
|
|
L8_1 = 228004
|
|
L9_1 = 228005
|
|
L10_1 = 228008
|
|
L11_1 = 228009
|
|
L12_1 = 228010
|
|
L13_1 = 228013
|
|
L14_1 = 228014
|
|
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 = "GADGET_STATE_CHANGE_228006"
|
|
L6_1[1] = L7_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 228011
|
|
L9_1 = 228012
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_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
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
suites = L3_1
|
|
function L3_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 = "MoveStep"
|
|
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_QUEST_START_228002 = L3_1
|
|
function L3_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 = 228005
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 228009
|
|
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_QUEST_START_228002 = L3_1
|
|
function L3_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 = "MoveStep"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_PLATFORM_REACH_POINT_228003 = L3_1
|
|
function L3_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.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "7104410finish"
|
|
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 : add_quest_progress"
|
|
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 = "questFinished"
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "killlightriver"
|
|
L5_2 = {}
|
|
L6_2 = 3
|
|
L7_2 = 7
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L6_2 = false
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_PLATFORM_REACH_POINT_228003 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 228005 == 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_228006 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 710441001
|
|
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.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "reminder"
|
|
L5_2 = {}
|
|
L6_2 = 20
|
|
L5_2[1] = L6_2
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_228006 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 228005 == 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_228007 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 710441002
|
|
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_GADGET_STATE_CHANGE_228007 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.source_name
|
|
if "killlightriver" == L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 1 == L2_2 then
|
|
goto lbl_9
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_9::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_TIME_AXIS_PASS_228015 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133106492
|
|
L5_2 = {}
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 492001
|
|
L5_2[1] = L6_2
|
|
L4_2.gadgets = L5_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 : kill_monsters_and_gadgets_by_group"
|
|
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_228015 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.source_name
|
|
if "reminder" == L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 1 == L2_2 then
|
|
goto lbl_9
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_9::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_TIME_AXIS_PASS_228016 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 710441001
|
|
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_TIME_AXIS_PASS_228016 = L3_1
|
|
function L3_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 = "MoveStep"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "MoveStep"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
goto lbl_17
|
|
end
|
|
end
|
|
L2_2 = true
|
|
do return L2_2 end
|
|
::lbl_17::
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_PLATFORM_REACH_POINT_228017 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EndTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "reminder"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_PLATFORM_REACH_POINT_228017 = L3_1
|
|
function L3_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 = "questFinished"
|
|
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_228018 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "7104410finish"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133106492
|
|
L5_2 = {}
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 492001
|
|
L5_2[1] = L6_2
|
|
L4_2.gadgets = L5_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 : kill_monsters_and_gadgets_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_228018 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 228019 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EndTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "reminder"
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_LEAVE_REGION_228019 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.source_name
|
|
if "killlightriver" == L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 2 == L2_2 then
|
|
goto lbl_9
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_9::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_TIME_AXIS_PASS_228020 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 710441311
|
|
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_TIME_AXIS_PASS_228020 = L3_1
|
|
L3_1 = require
|
|
L4_1 = "V2_6/CalculateBulletForward"
|
|
L3_1(L4_1)
|