mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
957 lines
19 KiB
Lua
957 lines
19 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, L21_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 155008071
|
|
L1_1 = {}
|
|
L1_1.groupid = 155008071
|
|
L1_1.gadget_wall_1 = 71006
|
|
L1_1.gadget_wall_2 = 71007
|
|
L1_1.gadget_wall_3 = 71008
|
|
L1_1.gadget_wall_4 = 0
|
|
L1_1.gadget_wall_5 = 0
|
|
L1_1.gadget_wall_6 = 0
|
|
L1_1.gadget_controller_1 = 71013
|
|
L1_1.gadget_controller_2 = 71014
|
|
L1_1.gadget_controller_3 = 0
|
|
L1_1.gadget_controller_4 = 0
|
|
L1_1.pointarray_route = 500800009
|
|
L1_1.gadget_blocker_1 = 71012
|
|
L1_1.gadget_blocker_2 = 71009
|
|
L1_1.gadget_blocker_3 = 0
|
|
L1_1.gadget_blocker_controller_1 = 71019
|
|
L1_1.gadget_blocker_controller_2 = 71002
|
|
L1_1.gadget_blocker_controller_3 = 0
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = 71001
|
|
L5_1 = 71003
|
|
L6_1 = 71013
|
|
L7_1 = 71014
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
MaxSize = 17
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L9_1 = L1_1.gadget_controller_1
|
|
L10_1 = {}
|
|
L11_1 = {}
|
|
L12_1 = L1_1.gadget_wall_1
|
|
L13_1 = {}
|
|
L14_1 = 3
|
|
L15_1 = 4
|
|
L16_1 = 5
|
|
L13_1[1] = L14_1
|
|
L13_1[2] = L15_1
|
|
L13_1[3] = L16_1
|
|
L11_1[1] = L12_1
|
|
L11_1[2] = L13_1
|
|
L12_1 = {}
|
|
L13_1 = L1_1.gadget_wall_2
|
|
L14_1 = {}
|
|
L15_1 = 8
|
|
L16_1 = 9
|
|
L17_1 = 10
|
|
L14_1[1] = L15_1
|
|
L14_1[2] = L16_1
|
|
L14_1[3] = L17_1
|
|
L12_1[1] = L13_1
|
|
L12_1[2] = L14_1
|
|
L13_1 = {}
|
|
L14_1 = L1_1.gadget_wall_3
|
|
L15_1 = {}
|
|
L16_1 = 13
|
|
L17_1 = 14
|
|
L18_1 = 15
|
|
L15_1[1] = L16_1
|
|
L15_1[2] = L17_1
|
|
L15_1[3] = L18_1
|
|
L13_1[1] = L14_1
|
|
L13_1[2] = L15_1
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L10_1[3] = L13_1
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L9_1 = {}
|
|
L10_1 = L1_1.gadget_controller_2
|
|
L11_1 = {}
|
|
L12_1 = {}
|
|
L13_1 = L1_1.gadget_wall_1
|
|
L14_1 = {}
|
|
L15_1 = 5
|
|
L16_1 = 4
|
|
L17_1 = 3
|
|
L14_1[1] = L15_1
|
|
L14_1[2] = L16_1
|
|
L14_1[3] = L17_1
|
|
L12_1[1] = L13_1
|
|
L12_1[2] = L14_1
|
|
L13_1 = {}
|
|
L14_1 = L1_1.gadget_wall_2
|
|
L15_1 = {}
|
|
L16_1 = 10
|
|
L17_1 = 9
|
|
L18_1 = 8
|
|
L15_1[1] = L16_1
|
|
L15_1[2] = L17_1
|
|
L15_1[3] = L18_1
|
|
L13_1[1] = L14_1
|
|
L13_1[2] = L15_1
|
|
L14_1 = {}
|
|
L15_1 = L1_1.gadget_wall_3
|
|
L16_1 = {}
|
|
L17_1 = 15
|
|
L18_1 = 14
|
|
L19_1 = 13
|
|
L16_1[1] = L17_1
|
|
L16_1[2] = L18_1
|
|
L16_1[3] = L19_1
|
|
L14_1[1] = L15_1
|
|
L14_1[2] = L16_1
|
|
L11_1[1] = L12_1
|
|
L11_1[2] = L13_1
|
|
L11_1[3] = L14_1
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
ControllerWallMap = L7_1
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L9_1 = L1_1.gadget_wall_1
|
|
L10_1 = 5
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L9_1 = {}
|
|
L10_1 = L1_1.gadget_wall_2
|
|
L11_1 = 10
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L10_1 = {}
|
|
L11_1 = L1_1.gadget_wall_3
|
|
L12_1 = 13
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
StartWallMap = L7_1
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L9_1 = L1_1.gadget_blocker_1
|
|
L10_1 = 4
|
|
L11_1 = 0
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L8_1[3] = L11_1
|
|
L9_1 = {}
|
|
L10_1 = L1_1.gadget_blocker_2
|
|
L11_1 = 14
|
|
L12_1 = 0
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L9_1[3] = L12_1
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
StartBlockerMap = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 3
|
|
L9_1 = 9
|
|
L10_1 = 15
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
TargetSolution = L7_1
|
|
L7_1 = {}
|
|
function L8_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L7_1["0"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L1_2 = DayNight_Gadget_Unlock
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.gadget_controller_1
|
|
L1_2(L2_2, L3_2)
|
|
L1_2 = DayNight_Gadget_Unlock
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.gadget_controller_2
|
|
L1_2(L2_2, L3_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetWorktopOptionsByGroupId
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.groupid
|
|
L4_2 = 71019
|
|
L5_2 = {}
|
|
L6_2 = 7
|
|
L5_2[1] = L6_2
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetWorktopOptionsByGroupId
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.groupid
|
|
L4_2 = 71002
|
|
L5_2 = {}
|
|
L6_2 = 7
|
|
L5_2[1] = L6_2
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
end
|
|
L7_1["1"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L1_2 = DayNight_Gadget_Finish
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.gadget_controller_1
|
|
L1_2(L2_2, L3_2)
|
|
L1_2 = DayNight_Gadget_Finish
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.gadget_controller_2
|
|
L1_2(L2_2, L3_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetGroupVariableValue
|
|
L2_2 = A0_2
|
|
L3_2 = "hasFinished"
|
|
L4_2 = 1
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetPlatformPointArray
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.gadget_wall_1
|
|
L4_2 = L1_1.pointarray_route
|
|
L5_2 = {}
|
|
L6_2 = 3
|
|
L5_2[1] = L6_2
|
|
L6_2 = {}
|
|
L6_2.route_type = 0
|
|
L6_2.turn_mode = false
|
|
L1_2(L2_2, L3_2, L4_2, L5_2, L6_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetPlatformPointArray
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.gadget_wall_2
|
|
L4_2 = L1_1.pointarray_route
|
|
L5_2 = {}
|
|
L6_2 = 9
|
|
L5_2[1] = L6_2
|
|
L6_2 = {}
|
|
L6_2.route_type = 0
|
|
L6_2.turn_mode = false
|
|
L1_2(L2_2, L3_2, L4_2, L5_2, L6_2)
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.SetPlatformPointArray
|
|
L2_2 = A0_2
|
|
L3_2 = L1_1.gadget_wall_3
|
|
L4_2 = L1_1.pointarray_route
|
|
L5_2 = {}
|
|
L6_2 = 15
|
|
L5_2[1] = L6_2
|
|
L6_2 = {}
|
|
L6_2.route_type = 0
|
|
L6_2.turn_mode = false
|
|
L1_2(L2_2, L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L7_1["2"] = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.GetGroupVariableValue
|
|
L2_2 = A0_2
|
|
L3_2 = "gameplayState"
|
|
L1_2 = L1_2(L2_2, L3_2)
|
|
L2_2 = tostring
|
|
L3_2 = L1_2
|
|
L2_2 = L2_2(L3_2)
|
|
L2_2 = L7_1[L2_2]
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
end
|
|
UpdateGamePlayState = L8_1
|
|
function L8_1(A0_2, A1_2, A2_2, A3_2)
|
|
local L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.GetGadgetStateByConfigId
|
|
L5_2 = A0_2
|
|
L6_2 = A1_2
|
|
L7_2 = A2_2
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
L5_2 = A3_2[1]
|
|
if L4_2 == L5_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.SetGroupGadgetStateByConfigId
|
|
L5_2 = A0_2
|
|
L6_2 = A1_2
|
|
L7_2 = A2_2
|
|
L8_2 = A3_2[2]
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
else
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.GetGadgetStateByConfigId
|
|
L5_2 = A0_2
|
|
L6_2 = A1_2
|
|
L7_2 = A2_2
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
L5_2 = A3_2[2]
|
|
if L4_2 == L5_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.SetGroupGadgetStateByConfigId
|
|
L5_2 = A0_2
|
|
L6_2 = A1_2
|
|
L7_2 = A2_2
|
|
L8_2 = A3_2[1]
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
end
|
|
end
|
|
end
|
|
GadgetStateSwitcher = L8_1
|
|
L8_1 = {}
|
|
monsters = L8_1
|
|
L8_1 = {}
|
|
npcs = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L9_1.config_id = 71001
|
|
L9_1.gadget_id = 70290169
|
|
L10_1 = {}
|
|
L10_1.x = -131.552
|
|
L10_1.y = 215.342
|
|
L10_1.z = 174.61
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 0.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 36
|
|
L9_1.area_id = 200
|
|
L10_1 = {}
|
|
L10_1.config_id = 71002
|
|
L10_1.gadget_id = 70360170
|
|
L11_1 = {}
|
|
L11_1.x = -157.596
|
|
L11_1.y = 211.927
|
|
L11_1.z = 184.589
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 270.0
|
|
L11_1.y = 90.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 36
|
|
L10_1.area_id = 200
|
|
L11_1 = {}
|
|
L11_1.config_id = 71003
|
|
L11_1.gadget_id = 70290169
|
|
L12_1 = {}
|
|
L12_1.x = -151.552
|
|
L12_1.y = 215.342
|
|
L12_1.z = 194.61
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 0.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 36
|
|
L11_1.area_id = 200
|
|
L12_1 = {}
|
|
L12_1.config_id = 71006
|
|
L12_1.gadget_id = 70290170
|
|
L13_1 = {}
|
|
L13_1.x = -131.552
|
|
L13_1.y = 209.342
|
|
L13_1.z = 174.61
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 0.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 36
|
|
L12_1.is_use_point_array = true
|
|
L12_1.area_id = 200
|
|
L13_1 = {}
|
|
L13_1.config_id = 71007
|
|
L13_1.gadget_id = 70290170
|
|
L14_1 = {}
|
|
L14_1.x = -141.552
|
|
L14_1.y = 209.342
|
|
L14_1.z = 174.61
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 0.0
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 36
|
|
L13_1.is_use_point_array = true
|
|
L13_1.area_id = 200
|
|
L14_1 = {}
|
|
L14_1.config_id = 71008
|
|
L14_1.gadget_id = 70290170
|
|
L15_1 = {}
|
|
L15_1.x = -151.552
|
|
L15_1.y = 209.342
|
|
L15_1.z = 194.61
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 0.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 36
|
|
L14_1.is_use_point_array = true
|
|
L14_1.area_id = 200
|
|
L15_1 = {}
|
|
L15_1.config_id = 71009
|
|
L15_1.gadget_id = 70290281
|
|
L16_1 = {}
|
|
L16_1.x = -151.461
|
|
L16_1.y = 214.291
|
|
L16_1.z = 184.81
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 0.0
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 36
|
|
L15_1.is_use_point_array = true
|
|
L15_1.area_id = 200
|
|
L16_1 = {}
|
|
L16_1.config_id = 71012
|
|
L16_1.gadget_id = 70290281
|
|
L17_1 = {}
|
|
L17_1.x = -131.535
|
|
L17_1.y = 213.736
|
|
L17_1.z = 185.401
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 0.0
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 36
|
|
L16_1.area_id = 200
|
|
L17_1 = {}
|
|
L17_1.config_id = 71013
|
|
L17_1.gadget_id = 70360305
|
|
L18_1 = {}
|
|
L18_1.x = -141.692
|
|
L18_1.y = 210.266
|
|
L18_1.z = 164.767
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 0.0
|
|
L18_1.y = 179.698
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 36
|
|
L17_1.area_id = 200
|
|
L18_1 = {}
|
|
L18_1.config_id = 71014
|
|
L18_1.gadget_id = 70360305
|
|
L19_1 = {}
|
|
L19_1.x = -141.723
|
|
L19_1.y = 210.266
|
|
L19_1.z = 204.664
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 0.0
|
|
L19_1.y = 180.599
|
|
L19_1.z = 0.0
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 36
|
|
L18_1.area_id = 200
|
|
L19_1 = {}
|
|
L19_1.config_id = 71019
|
|
L19_1.gadget_id = 70360170
|
|
L20_1 = {}
|
|
L20_1.x = -125.524
|
|
L20_1.y = 211.913
|
|
L20_1.z = 184.557
|
|
L19_1.pos = L20_1
|
|
L20_1 = {}
|
|
L20_1.x = 270.02
|
|
L20_1.y = 270.0
|
|
L20_1.z = 0.0
|
|
L19_1.rot = L20_1
|
|
L19_1.level = 36
|
|
L19_1.area_id = 200
|
|
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
|
|
L8_1[7] = L15_1
|
|
L8_1[8] = L16_1
|
|
L8_1[9] = L17_1
|
|
L8_1[10] = L18_1
|
|
L8_1[11] = L19_1
|
|
gadgets = L8_1
|
|
L8_1 = {}
|
|
regions = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L9_1.config_id = 1071004
|
|
L9_1.name = "SELECT_OPTION_71004"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_SELECT_OPTION
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_SELECT_OPTION_71004"
|
|
L9_1.action = "action_EVENT_SELECT_OPTION_71004"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1071010
|
|
L10_1.name = "TIME_AXIS_PASS_71010"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_TIME_AXIS_PASS
|
|
L10_1.event = L11_1
|
|
L10_1.source = "Wait_71002"
|
|
L10_1.condition = ""
|
|
L10_1.action = "action_EVENT_TIME_AXIS_PASS_71010"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1071021
|
|
L11_1.name = "GROUP_LOAD_71021"
|
|
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_71021"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1071022
|
|
L12_1.name = "VARIABLE_CHANGE_71022"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_VARIABLE_CHANGE
|
|
L12_1.event = L13_1
|
|
L12_1.source = "gameplayState"
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_VARIABLE_CHANGE_71022"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1071023
|
|
L13_1.name = "SELECT_OPTION_71023"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_SELECT_OPTION
|
|
L13_1.event = L14_1
|
|
L13_1.source = ""
|
|
L13_1.condition = "condition_EVENT_SELECT_OPTION_71023"
|
|
L13_1.action = "action_EVENT_SELECT_OPTION_71023"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1071025
|
|
L14_1.name = "TIME_AXIS_PASS_71025"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_TIME_AXIS_PASS
|
|
L14_1.event = L15_1
|
|
L14_1.source = "Wait_71019"
|
|
L14_1.condition = ""
|
|
L14_1.action = "action_EVENT_TIME_AXIS_PASS_71025"
|
|
L14_1.trigger_count = 0
|
|
L15_1 = {}
|
|
L15_1.config_id = 1071026
|
|
L15_1.name = "VARIABLE_CHANGE_71026"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_VARIABLE_CHANGE
|
|
L15_1.event = L16_1
|
|
L15_1.source = "has_succeeded"
|
|
L15_1.condition = "condition_EVENT_VARIABLE_CHANGE_71026"
|
|
L15_1.action = "action_EVENT_VARIABLE_CHANGE_71026"
|
|
L15_1.trigger_count = 0
|
|
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
|
|
L8_1[7] = L15_1
|
|
triggers = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L9_1.configId = 1
|
|
L9_1.name = "gameplayState"
|
|
L9_1.value = 0
|
|
L9_1.no_refresh = true
|
|
L10_1 = {}
|
|
L10_1.configId = 2
|
|
L10_1.name = "hasFinished"
|
|
L10_1.value = 0
|
|
L10_1.no_refresh = true
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
variables = L8_1
|
|
L8_1 = {}
|
|
L8_1.suite = 1
|
|
L8_1.end_suite = 0
|
|
L8_1.rand_suite = false
|
|
init_config = L8_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L10_1 = {}
|
|
L9_1.monsters = L10_1
|
|
L10_1 = {}
|
|
L11_1 = 71001
|
|
L12_1 = 71002
|
|
L13_1 = 71003
|
|
L14_1 = 71006
|
|
L15_1 = 71007
|
|
L16_1 = 71008
|
|
L17_1 = 71009
|
|
L18_1 = 71012
|
|
L19_1 = 71013
|
|
L20_1 = 71014
|
|
L21_1 = 71019
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L10_1[3] = L13_1
|
|
L10_1[4] = L14_1
|
|
L10_1[5] = L15_1
|
|
L10_1[6] = L16_1
|
|
L10_1[7] = L17_1
|
|
L10_1[8] = L18_1
|
|
L10_1[9] = L19_1
|
|
L10_1[10] = L20_1
|
|
L10_1[11] = L21_1
|
|
L9_1.gadgets = L10_1
|
|
L10_1 = {}
|
|
L9_1.regions = L10_1
|
|
L10_1 = {}
|
|
L11_1 = "SELECT_OPTION_71004"
|
|
L12_1 = "TIME_AXIS_PASS_71010"
|
|
L13_1 = "GROUP_LOAD_71021"
|
|
L14_1 = "VARIABLE_CHANGE_71022"
|
|
L15_1 = "SELECT_OPTION_71023"
|
|
L16_1 = "TIME_AXIS_PASS_71025"
|
|
L17_1 = "VARIABLE_CHANGE_71026"
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L10_1[3] = L13_1
|
|
L10_1[4] = L14_1
|
|
L10_1[5] = L15_1
|
|
L10_1[6] = L16_1
|
|
L10_1[7] = L17_1
|
|
L9_1.triggers = L10_1
|
|
L9_1.rand_weight = 100
|
|
L8_1[1] = L9_1
|
|
suites = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_blocker_controller_2
|
|
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_71004 = L8_1
|
|
function L8_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 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "SelectOption : GadgetID = "
|
|
L5_2 = A1_2.param1
|
|
L6_2 = ", OptionID = "
|
|
L7_2 = A1_2.param2
|
|
L4_2 = L4_2 .. L5_2 .. L6_2 .. L7_2
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = "Wait_"
|
|
L3_2 = A1_2.param1
|
|
L2_2 = L2_2 .. L3_2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.DelWorktopOptionByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.groupid
|
|
L6_2 = A1_2.param1
|
|
L7_2 = 7
|
|
L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 0
|
|
L6_2 = L1_1.gadget_blocker_2
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = LF_Can_Block_State_Change
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.gadget_blocker_2
|
|
L7_2 = 201 - L3_2
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
if L4_2 then
|
|
L4_2 = GadgetStateSwitcher
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.groupid
|
|
L7_2 = L1_1.gadget_blocker_2
|
|
L8_2 = {}
|
|
L9_2 = 0
|
|
L10_2 = 201
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_2
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
L4_2 = GadgetStateSwitcher
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.groupid
|
|
L7_2 = L1_1.gadget_blocker_controller_2
|
|
L8_2 = {}
|
|
L9_2 = 0
|
|
L10_2 = 201
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_2
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
L4_2 = LF_Set_Block_After_State_Change
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.gadget_blocker_2
|
|
L7_2 = 201 - L3_2
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.InitTimeAxis
|
|
L5_2 = A0_2
|
|
L6_2 = L2_2
|
|
L7_2 = {}
|
|
L8_2 = 1
|
|
L7_2[1] = L8_2
|
|
L8_2 = false
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_71004 = L8_1
|
|
function L8_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 = 155008071
|
|
L5_2 = 71002
|
|
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_TIME_AXIS_PASS_71010 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = UpdateGamePlayState
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_71021 = L8_1
|
|
function L8_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 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = UpdateGamePlayState
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_71022 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_blocker_controller_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_71023 = L8_1
|
|
function L8_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 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "SelectOption : GadgetID = "
|
|
L5_2 = A1_2.param1
|
|
L6_2 = ", OptionID = "
|
|
L7_2 = A1_2.param2
|
|
L4_2 = L4_2 .. L5_2 .. L6_2 .. L7_2
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = "Wait_"
|
|
L3_2 = A1_2.param1
|
|
L2_2 = L2_2 .. L3_2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.DelWorktopOptionByGroupId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.groupid
|
|
L6_2 = A1_2.param1
|
|
L7_2 = 7
|
|
L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 0
|
|
L6_2 = L1_1.gadget_blocker_1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = LF_Can_Block_State_Change
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.gadget_blocker_1
|
|
L7_2 = 201 - L3_2
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
if L4_2 then
|
|
L4_2 = GadgetStateSwitcher
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.groupid
|
|
L7_2 = L1_1.gadget_blocker_1
|
|
L8_2 = {}
|
|
L9_2 = 0
|
|
L10_2 = 201
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_2
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
L4_2 = GadgetStateSwitcher
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.groupid
|
|
L7_2 = L1_1.gadget_blocker_controller_1
|
|
L8_2 = {}
|
|
L9_2 = 0
|
|
L10_2 = 201
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_2
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
L4_2 = LF_Set_Block_After_State_Change
|
|
L5_2 = A0_2
|
|
L6_2 = L1_1.gadget_blocker_1
|
|
L7_2 = 201 - L3_2
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.InitTimeAxis
|
|
L5_2 = A0_2
|
|
L6_2 = L2_2
|
|
L7_2 = {}
|
|
L8_2 = 1
|
|
L7_2[1] = L8_2
|
|
L8_2 = false
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_71023 = L8_1
|
|
function L8_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 = 155008071
|
|
L5_2 = 71019
|
|
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_TIME_AXIS_PASS_71025 = L8_1
|
|
function L8_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 = "gameplayState"
|
|
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_71026 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "has_succeeded"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "iswallmatch"
|
|
L5_2 = 1
|
|
L6_2 = 155008070
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
else
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "has_succeeded"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 == 0 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "iswallmatch"
|
|
L5_2 = 0
|
|
L6_2 = 155008070
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_71026 = L8_1
|
|
L8_1 = require
|
|
L9_1 = "V2_4/EnvState"
|
|
L8_1(L9_1)
|
|
L8_1 = require
|
|
L9_1 = "V2_4/WallMaze"
|
|
L8_1(L9_1)
|