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

604 lines
11 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 = 220000019
L1_1 = {}
L1_1.gadget_id_1 = 118
L1_1.gadget_id_2 = 119
L1_1.gadget_id_3 = 120
L1_1.gadget_id_4 = 121
L1_1.gadget_id_5 = 122
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 118
L3_1.gadget_id = 70900207
L4_1 = {}
L4_1.x = 188.12
L4_1.y = 0.573
L4_1.z = 46.994
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 240.985
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 119
L4_1.gadget_id = 70900207
L5_1 = {}
L5_1.x = 192.278
L5_1.y = 0.61
L5_1.z = 44.452
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 328.79
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 120
L5_1.gadget_id = 70900207
L6_1 = {}
L6_1.x = 196.118
L6_1.y = 0.598
L6_1.z = 42.574
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 301.372
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 121
L6_1.gadget_id = 70900207
L7_1 = {}
L7_1.x = 199.894
L7_1.y = 0.58
L7_1.z = 40.925
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 204.239
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 122
L7_1.gadget_id = 70900207
L8_1 = {}
L8_1.x = 201.772
L8_1.y = 0.551
L8_1.z = 44.581
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 327.318
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 123
L8_1.gadget_id = 70380003
L9_1 = {}
L9_1.x = 188.256
L9_1.y = -1.516
L9_1.z = 46.985
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.route_id = 20000012
L8_1.start_route = false
L9_1 = {}
L9_1.config_id = 124
L9_1.gadget_id = 70380003
L10_1 = {}
L10_1.x = 192.095
L10_1.y = -1.521
L10_1.z = 44.214
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 = 1
L9_1.route_id = 20000013
L9_1.start_route = false
L10_1 = {}
L10_1.config_id = 125
L10_1.gadget_id = 70380003
L11_1 = {}
L11_1.x = 195.916
L11_1.y = -1.494
L11_1.z = 42.392
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.route_id = 20000014
L10_1.start_route = false
L11_1 = {}
L11_1.config_id = 126
L11_1.gadget_id = 70380003
L12_1 = {}
L12_1.x = 199.876
L12_1.y = -1.502
L12_1.z = 40.865
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 = 1
L11_1.route_id = 20000015
L11_1.start_route = false
L12_1 = {}
L12_1.config_id = 127
L12_1.gadget_id = 70380003
L13_1 = {}
L13_1.x = 202.128
L13_1.y = -1.421
L13_1.z = 44.236
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 = 1
L12_1.route_id = 20000016
L12_1.start_route = false
L13_1 = {}
L13_1.config_id = 132
L13_1.gadget_id = 70510009
L14_1 = {}
L14_1.x = 108.756
L14_1.y = 0.5
L14_1.z = 64.307
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 272.23
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 133
L14_1.gadget_id = 70510009
L15_1 = {}
L15_1.x = 106.86
L15_1.y = 0.5
L15_1.z = 65.912
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 48.179
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 134
L15_1.gadget_id = 70510009
L16_1 = {}
L16_1.x = 104.632
L16_1.y = 0.5
L16_1.z = 67.467
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 94.809
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 135
L16_1.gadget_id = 70510009
L17_1 = {}
L17_1.x = 105.345
L17_1.y = 0.5
L17_1.z = 65.575
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 66.433
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 136
L17_1.gadget_id = 70510009
L18_1 = {}
L18_1.x = 103.009
L18_1.y = 0.5
L18_1.z = 68.924
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 55.099
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 137
L18_1.gadget_id = 70510009
L19_1 = {}
L19_1.x = 100.697
L19_1.y = 0.5
L19_1.z = 70.31
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 53.943
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 138
L19_1.gadget_id = 70510009
L20_1 = {}
L20_1.x = 103.1
L20_1.y = 0.5
L20_1.z = 67.16
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 270.424
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 139
L20_1.gadget_id = 70510009
L21_1 = {}
L21_1.x = 106.191
L21_1.y = 0.5
L21_1.z = 68.207
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 259.872
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
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
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
L2_1[17] = L19_1
L2_1[18] = L20_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1000070
L3_1.name = "CLIENT_EXECUTE_70"
L4_1 = EventType
L4_1 = L4_1.EVENT_CLIENT_EXECUTE
L3_1.event = L4_1
L3_1.source = "ElectricPile"
L3_1.condition = "condition_EVENT_CLIENT_EXECUTE_70"
L3_1.action = "action_EVENT_CLIENT_EXECUTE_70"
L4_1 = {}
L4_1.config_id = 1000071
L4_1.name = "CLIENT_EXECUTE_71"
L5_1 = EventType
L5_1 = L5_1.EVENT_CLIENT_EXECUTE
L4_1.event = L5_1
L4_1.source = "ElectricPile"
L4_1.condition = "condition_EVENT_CLIENT_EXECUTE_71"
L4_1.action = "action_EVENT_CLIENT_EXECUTE_71"
L5_1 = {}
L5_1.config_id = 1000072
L5_1.name = "CLIENT_EXECUTE_72"
L6_1 = EventType
L6_1 = L6_1.EVENT_CLIENT_EXECUTE
L5_1.event = L6_1
L5_1.source = "ElectricPile"
L5_1.condition = "condition_EVENT_CLIENT_EXECUTE_72"
L5_1.action = "action_EVENT_CLIENT_EXECUTE_72"
L6_1 = {}
L6_1.config_id = 1000073
L6_1.name = "CLIENT_EXECUTE_73"
L7_1 = EventType
L7_1 = L7_1.EVENT_CLIENT_EXECUTE
L6_1.event = L7_1
L6_1.source = "ElectricPile"
L6_1.condition = "condition_EVENT_CLIENT_EXECUTE_73"
L6_1.action = "action_EVENT_CLIENT_EXECUTE_73"
L7_1 = {}
L7_1.config_id = 1000074
L7_1.name = "CLIENT_EXECUTE_74"
L8_1 = EventType
L8_1 = L8_1.EVENT_CLIENT_EXECUTE
L7_1.event = L8_1
L7_1.source = "ElectricPile"
L7_1.condition = "condition_EVENT_CLIENT_EXECUTE_74"
L7_1.action = "action_EVENT_CLIENT_EXECUTE_74"
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
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = true
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 118
L6_1 = 119
L7_1 = 120
L8_1 = 121
L9_1 = 122
L10_1 = 123
L11_1 = 124
L12_1 = 125
L13_1 = 126
L14_1 = 127
L15_1 = 132
L16_1 = 133
L17_1 = 134
L18_1 = 135
L19_1 = 136
L20_1 = 137
L21_1 = 138
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
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "CLIENT_EXECUTE_70"
L6_1 = "CLIENT_EXECUTE_71"
L7_1 = "CLIENT_EXECUTE_72"
L8_1 = "CLIENT_EXECUTE_73"
L9_1 = "CLIENT_EXECUTE_74"
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
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L2_1[1] = L3_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = L1_1.gadget_id_1
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetConfigId
L4_2 = A0_2
L5_2 = {}
L6_2 = A1_2.source_eid
L5_2.gadget_eid = L6_2
L3_2 = L3_2(L4_2, L5_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_CLIENT_EXECUTE_70 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 123
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CLIENT_EXECUTE_70 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = L1_1.gadget_id_2
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetConfigId
L4_2 = A0_2
L5_2 = {}
L6_2 = A1_2.source_eid
L5_2.gadget_eid = L6_2
L3_2 = L3_2(L4_2, L5_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_CLIENT_EXECUTE_71 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 124
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CLIENT_EXECUTE_71 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = L1_1.gadget_id_3
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetConfigId
L4_2 = A0_2
L5_2 = {}
L6_2 = A1_2.source_eid
L5_2.gadget_eid = L6_2
L3_2 = L3_2(L4_2, L5_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_CLIENT_EXECUTE_72 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 125
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CLIENT_EXECUTE_72 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = L1_1.gadget_id_4
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetConfigId
L4_2 = A0_2
L5_2 = {}
L6_2 = A1_2.source_eid
L5_2.gadget_eid = L6_2
L3_2 = L3_2(L4_2, L5_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_CLIENT_EXECUTE_73 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 126
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CLIENT_EXECUTE_73 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = L1_1.gadget_id_5
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetConfigId
L4_2 = A0_2
L5_2 = {}
L6_2 = A1_2.source_eid
L5_2.gadget_eid = L6_2
L3_2 = L3_2(L4_2, L5_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_CLIENT_EXECUTE_74 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 127
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 : start_platform"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CLIENT_EXECUTE_74 = L2_1