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

575 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
L0_1 = {}
L0_1.group_id = 133101251
L1_1 = {}
L1_1.gadget_1 = 251011
L1_1.gadget_2 = 251012
L1_1.gadget_3 = 251013
L2_1 = {}
L3_1 = {}
L3_1.config_id = 251007
L3_1.monster_id = 26040102
L4_1 = {}
L4_1.x = 1492.271
L4_1.y = 209.688
L4_1.z = 1111.076
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 86.265
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 19
L3_1.drop_tag = "\229\178\169\233\190\153\232\156\165"
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 251008
L4_1.monster_id = 26040104
L5_1 = {}
L5_1.x = 1500.678
L5_1.y = 212.967
L5_1.z = 1128.329
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 141.447
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 19
L4_1.drop_tag = "\229\178\169\233\190\153\232\156\165"
L4_1.area_id = 5
L2_1[1] = L3_1
L2_1[2] = L4_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 251001
L3_1.gadget_id = 70290010
L4_1 = {}
L4_1.x = 1522.442
L4_1.y = 205.49
L4_1.z = 1111.624
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 351.914
L4_1.y = 297.333
L4_1.z = 4.149
L3_1.rot = L4_1
L3_1.level = 1
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 251002
L4_1.gadget_id = 70500000
L5_1 = {}
L5_1.x = 1522.438
L5_1.y = 205.569
L5_1.z = 1111.629
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 351.914
L5_1.y = 297.333
L5_1.z = 9.245
L4_1.rot = L5_1
L4_1.level = 1
L4_1.point_type = 3006
L4_1.owner = 251001
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 251003
L5_1.gadget_id = 70290010
L6_1 = {}
L6_1.x = 1490.202
L6_1.y = 204.728
L6_1.z = 1091.772
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 338.282
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.isOneoff = true
L5_1.persistent = true
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 251004
L6_1.gadget_id = 70500000
L7_1 = {}
L7_1.x = 1490.203
L7_1.y = 204.987
L7_1.z = 1091.854
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 356.589
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.point_type = 3006
L6_1.owner = 251003
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 251005
L7_1.gadget_id = 70290009
L8_1 = {}
L8_1.x = 1506.714
L8_1.y = 208.424
L8_1.z = 1116.37
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.isOneoff = true
L7_1.persistent = true
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 251006
L8_1.gadget_id = 70500000
L9_1 = {}
L9_1.x = 1506.714
L9_1.y = 208.424
L9_1.z = 1116.37
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.point_type = 3005
L8_1.owner = 251005
L8_1.area_id = 5
L9_1 = {}
L9_1.config_id = 251009
L9_1.gadget_id = 70290009
L10_1 = {}
L10_1.x = 1516.839
L10_1.y = 205.69
L10_1.z = 1104.124
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.isOneoff = true
L9_1.persistent = true
L9_1.area_id = 5
L10_1 = {}
L10_1.config_id = 251010
L10_1.gadget_id = 70500000
L11_1 = {}
L11_1.x = 1516.839
L11_1.y = 205.69
L11_1.z = 1104.124
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.point_type = 3005
L10_1.owner = 251009
L10_1.area_id = 5
L11_1 = {}
L11_1.config_id = 251011
L11_1.gadget_id = 70220008
L12_1 = {}
L12_1.x = 1486.783
L12_1.y = 209.574
L12_1.z = 1103.468
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 7.011
L12_1.y = 150.987
L12_1.z = 356.127
L11_1.rot = L12_1
L11_1.level = 24
L11_1.isOneoff = true
L11_1.persistent = true
L11_1.area_id = 5
L12_1 = {}
L12_1.config_id = 251012
L12_1.gadget_id = 70220008
L13_1 = {}
L13_1.x = 1519.802
L13_1.y = 207.227
L13_1.z = 1116.286
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 354.701
L13_1.y = 202.063
L13_1.z = 353.777
L12_1.rot = L13_1
L12_1.level = 24
L12_1.isOneoff = true
L12_1.persistent = true
L12_1.area_id = 5
L13_1 = {}
L13_1.config_id = 251013
L13_1.gadget_id = 70220008
L14_1 = {}
L14_1.x = 1509.835
L14_1.y = 204.98
L14_1.z = 1097.421
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 14.907
L14_1.y = 90.526
L14_1.z = 356.678
L13_1.rot = L14_1
L13_1.level = 24
L13_1.isOneoff = true
L13_1.persistent = true
L13_1.area_id = 5
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
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 251016
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 40
L4_1 = {}
L4_1.x = 1499.138
L4_1.y = 208.172
L4_1.z = 1111.725
L3_1.pos = L4_1
L3_1.area_id = 5
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1251014
L3_1.name = "VARIABLE_CHANGE_251014"
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_251014"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_251014"
L4_1 = {}
L4_1.config_id = 1251015
L4_1.name = "ANY_GADGET_DIE_251015"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_GADGET_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_251015"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_251015"
L4_1.trigger_count = 3
L5_1 = {}
L5_1.config_id = 1251016
L5_1.name = "ENTER_REGION_251016"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_251016"
L5_1.action = "action_EVENT_ENTER_REGION_251016"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1251017
L6_1.name = "ANY_MONSTER_DIE_251017"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_251017"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_251017"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "flag"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "PuzzleFinish"
L4_1.value = 0
L4_1.no_refresh = false
L2_1[1] = L3_1
L2_1[2] = L4_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 3
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 251001
L6_1 = 251002
L7_1 = 251003
L8_1 = 251004
L9_1 = 251005
L10_1 = 251006
L11_1 = 251009
L12_1 = 251010
L13_1 = 251011
L14_1 = 251012
L15_1 = 251013
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
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 251016
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "VARIABLE_CHANGE_251014"
L6_1 = "ANY_GADGET_DIE_251015"
L7_1 = "ENTER_REGION_251016"
L8_1 = "ANY_MONSTER_DIE_251017"
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 = {}
L6_1 = 251007
L7_1 = 251008
L5_1[1] = L6_1
L5_1[2] = L7_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 = {}
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 = "flag"
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_251014 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133101251
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "PuzzleFinish"
L5_2 = 1
L6_2 = 133101251
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_251014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_1
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = L1_1.gadget_2
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = L1_1.gadget_3
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
end
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_251015 = L2_1
function L2_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 = "flag"
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_ANY_GADGET_DIE_251015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 251016 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_251016 = 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 = "PuzzleFinish"
L2_2 = L2_2(L3_2, L4_2)
if 0 == L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.ExpeditionChallengeEnterRegion
L3_2 = A0_2
L4_2 = false
L2_2(L3_2, L4_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "PuzzleFinish"
L2_2 = L2_2(L3_2, L4_2)
if 1 == L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.ExpeditionChallengeEnterRegion
L3_2 = A0_2
L4_2 = true
L2_2(L3_2, L4_2)
end
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_251016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_251017 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.FinishExpeditionChallenge
L3_2 = A0_2
L2_2(L3_2)
L2_2 = ScriptLib
L2_2 = L2_2.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133101251
L5_2 = 3
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_251017 = L2_1