mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
352 lines
6.4 KiB
Lua
352 lines
6.4 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133223102
|
|
L1_1 = {}
|
|
L1_1.group_ID = 133223102
|
|
L1_1.gadget_1 = 102001
|
|
L1_1.rotation_1 = 0
|
|
L1_1.gadget_2 = 102002
|
|
L1_1.rotation_2 = 180
|
|
L1_1.gadget_3 = 102003
|
|
L1_1.rotation_3 = 90
|
|
L1_1.gadget_4 = 102006
|
|
L1_1.rotation_4 = 0
|
|
L1_1.gadget_5 = 0
|
|
L1_1.rotation_5 = 0
|
|
L2_1 = {}
|
|
L3_1 = 102003
|
|
L2_1[1] = L3_1
|
|
L1_1.gadget_connect1 = L2_1
|
|
L2_1 = {}
|
|
L1_1.gadget_connect2 = L2_1
|
|
L2_1 = {}
|
|
L1_1.gadget_connect3 = L2_1
|
|
L2_1 = {}
|
|
L1_1.gadget_connect4 = L2_1
|
|
L2_1 = {}
|
|
L1_1.gadget_connect5 = L2_1
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 102001
|
|
L3_1.gadget_id = 70330119
|
|
L4_1 = {}
|
|
L4_1.x = -5780.943
|
|
L4_1.y = 209.96
|
|
L4_1.z = -2592.717
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 321.038
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 33
|
|
L3_1.is_use_point_array = true
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 102002
|
|
L4_1.gadget_id = 70330119
|
|
L5_1 = {}
|
|
L5_1.x = -5780.943
|
|
L5_1.y = 211.181
|
|
L5_1.z = -2592.717
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 321.038
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 33
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 18
|
|
L5_1 = {}
|
|
L5_1.config_id = 102003
|
|
L5_1.gadget_id = 70330119
|
|
L6_1 = {}
|
|
L6_1.x = -5784.678
|
|
L6_1.y = 210.545
|
|
L6_1.z = -2596.56
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 321.038
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 33
|
|
L5_1.is_use_point_array = true
|
|
L5_1.area_id = 18
|
|
L6_1 = {}
|
|
L6_1.config_id = 102004
|
|
L6_1.gadget_id = 70330120
|
|
L7_1 = {}
|
|
L7_1.x = -5780.943
|
|
L7_1.y = 210.002
|
|
L7_1.z = -2592.717
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 321.038
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 33
|
|
L6_1.area_id = 18
|
|
L7_1 = {}
|
|
L7_1.config_id = 102005
|
|
L7_1.gadget_id = 70330121
|
|
L8_1 = {}
|
|
L8_1.x = -5784.658
|
|
L8_1.y = 212.28
|
|
L8_1.z = -2596.566
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 321.038
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 33
|
|
L7_1.area_id = 18
|
|
L8_1 = {}
|
|
L8_1.config_id = 102006
|
|
L8_1.gadget_id = 70330118
|
|
L9_1 = {}
|
|
L9_1.x = -5785.561
|
|
L9_1.y = 210.22
|
|
L9_1.z = -2590.969
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 319.496
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 33
|
|
L8_1.is_use_point_array = true
|
|
L8_1.area_id = 18
|
|
L9_1 = {}
|
|
L9_1.config_id = 102008
|
|
L9_1.gadget_id = 70330120
|
|
L10_1 = {}
|
|
L10_1.x = -5784.833
|
|
L10_1.y = 210.22
|
|
L10_1.z = -2596.345
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 321.038
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 33
|
|
L9_1.area_id = 18
|
|
L10_1 = {}
|
|
L10_1.config_id = 102009
|
|
L10_1.gadget_id = 70330121
|
|
L11_1 = {}
|
|
L11_1.x = -5780.907
|
|
L11_1.y = 212.911
|
|
L11_1.z = -2592.735
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 321.038
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 33
|
|
L10_1.area_id = 18
|
|
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
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1102007
|
|
L3_1.name = "VARIABLE_CHANGE_102007"
|
|
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_102007"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_102007"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1102010
|
|
L4_1.name = "GROUP_LOAD_102010"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GROUP_LOAD
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GROUP_LOAD_102010"
|
|
L4_1.action = ""
|
|
L4_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "Finished"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 3
|
|
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 = 102001
|
|
L6_1 = 102002
|
|
L7_1 = 102003
|
|
L8_1 = 102004
|
|
L9_1 = 102005
|
|
L10_1 = 102006
|
|
L11_1 = 102008
|
|
L12_1 = 102009
|
|
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_102007"
|
|
L4_1[1] = L5_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 = {}
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "GROUP_LOAD_102010"
|
|
L6_1[1] = L7_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_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 = "successed"
|
|
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_102007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "puzzle_progress"
|
|
L5_2 = 1
|
|
L6_2 = 133223096
|
|
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 : change_GroupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "progress"
|
|
L5_2 = 1
|
|
L6_2 = 133225273
|
|
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 : change_GroupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
L5_2 = 1
|
|
L6_2 = 133223411
|
|
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_groupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_102007 = L2_1
|
|
function L2_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 = "successed"
|
|
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_102010 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "BlackBoxPlay/LightSquare_V2"
|
|
L2_1(L3_1)
|