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

461 lines
8.0 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
L0_1 = {}
L0_1.group_id = 220016001
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001
L2_1.monster_id = 21010701
L3_1 = {}
L3_1.x = 349.416
L3_1.y = -32.89
L3_1.z = 503.794
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 319.841
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.disableWander = true
L3_1 = {}
L3_1.config_id = 1002
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = 337.74
L4_1.y = -27.794
L4_1.z = 493.276
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 35.01
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L4_1 = {}
L4_1.config_id = 1003
L4_1.monster_id = 20011201
L5_1 = {}
L5_1.x = 348.172
L5_1.y = -27.935
L5_1.z = 473.514
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 329.377
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.disableWander = true
L5_1 = {}
L5_1.config_id = 1004
L5_1.monster_id = 20011201
L6_1 = {}
L6_1.x = 337.586
L6_1.y = -27.834
L6_1.z = 473.908
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 29.874
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.disableWander = true
L6_1 = {}
L6_1.config_id = 1005
L6_1.monster_id = 20011201
L7_1 = {}
L7_1.x = 336.844
L7_1.y = -27.833
L7_1.z = 475.303
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 32.57
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 1006
L7_1.monster_id = 20011201
L8_1 = {}
L8_1.x = 349.373
L8_1.y = -27.979
L8_1.z = 475.177
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 325.751
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1007
L2_1.gadget_id = 70900010
L3_1 = {}
L3_1.x = 343.239
L3_1.y = -28.335
L3_1.z = 474.118
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 1008
L3_1.gadget_id = 70900013
L4_1 = {}
L4_1.x = 343.103
L4_1.y = -27.85
L4_1.z = 473.954
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 34.001
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
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.arguments = L4_1
L4_1 = {}
L4_1.config_id = 1009
L4_1.gadget_id = 70320001
L5_1 = {}
L5_1.x = 343.038
L5_1.y = -27.85
L5_1.z = 473.843
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 240.057
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 1010
L5_1.gadget_id = 70220002
L6_1 = {}
L6_1.x = 349.367
L6_1.y = -32.89
L6_1.z = 503.57
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 54.58
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 1011
L6_1.gadget_id = 70220002
L7_1 = {}
L7_1.x = 350.66
L7_1.y = -32.89
L7_1.z = 503.913
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 3.864
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 1012
L7_1.gadget_id = 70220002
L8_1 = {}
L8_1.x = 350.183
L8_1.y = -32.89
L8_1.z = 502.737
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 86.203
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 1013
L8_1.gadget_id = 70220015
L9_1 = {}
L9_1.x = 351.38
L9_1.y = -32.134
L9_1.z = 504.886
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 85.202
L9_1.y = 315.705
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 1014
L9_1.gadget_id = 70220016
L10_1 = {}
L10_1.x = 350.932
L10_1.y = -32.156
L10_1.z = 503.829
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 127.018
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 5
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 18.0
L3_1.y = 5.0
L3_1.z = 18.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = 343.256
L3_1.y = -27.85
L3_1.z = 473.316
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000005
L2_1.name = "ENTER_REGION_5"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_5"
L2_1.action = "action_EVENT_ENTER_REGION_5"
L2_1.forbid_guest = false
L3_1 = {}
L3_1.config_id = 1000006
L3_1.name = "ANY_MONSTER_DIE_6"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_6"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_6"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = true
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 1001
L5_1 = 1002
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 1009
L5_1 = 1010
L6_1 = 1011
L7_1 = 1012
L8_1 = 1013
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
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 5
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_5"
L5_1 = "ANY_MONSTER_DIE_6"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 5 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_5 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1003
L4_2.delay_time = 0
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 : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1004
L4_2.delay_time = 0
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 : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1005
L4_2.delay_time = 0
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 : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1006
L4_2.delay_time = 0
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 : create_monster"
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 = 1009
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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_ENTER_REGION_5 = L1_1
function L1_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_6 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 220016002
L5_2 = 5
L6_2 = GadgetState
L6_2 = L6_2.Default
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_gadget_state_by_GroupId_ConfigId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_6 = L1_1