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

657 lines
13 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 = 220010011
L1_1 = {}
L2_1 = {}
L2_1.config_id = 5
L2_1.monster_id = 20010801
L3_1 = {}
L3_1.x = 451.872
L3_1.y = -31.373
L3_1.z = 18.272
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 257.253
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 9
L3_1.monster_id = 20010801
L4_1 = {}
L4_1.x = 452.064
L4_1.y = -31.373
L4_1.z = 16.346
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 266.54
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 10
L4_1.monster_id = 20011001
L5_1 = {}
L5_1.x = 451.606
L5_1.y = -31.373
L5_1.z = 16.432
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 264.859
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 11
L5_1.monster_id = 20011001
L6_1 = {}
L6_1.x = 451.589
L6_1.y = -31.373
L6_1.z = 18.099
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 260.341
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 12
L6_1.monster_id = 20011001
L7_1 = {}
L7_1.x = 451.86
L7_1.y = -31.373
L7_1.z = 12.474
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 271.09
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 13
L7_1.monster_id = 20010801
L8_1 = {}
L8_1.x = 452.03
L8_1.y = -31.373
L8_1.z = 10.103
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 257.553
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 14
L8_1.monster_id = 20011001
L9_1 = {}
L9_1.x = 452.294
L9_1.y = -31.373
L9_1.z = 10.387
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 265.042
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 17
L9_1.monster_id = 20011101
L10_1 = {}
L10_1.x = 451.694
L10_1.y = -31.547
L10_1.z = 14.198
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 273.142
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.disableWander = true
L10_1 = {}
L10_1.config_id = 20
L10_1.monster_id = 20010901
L11_1 = {}
L11_1.x = 452.158
L11_1.y = -31.547
L11_1.z = 14.333
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 265.045
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.disableWander = true
L11_1 = {}
L11_1.config_id = 21
L11_1.monster_id = 20010801
L12_1 = {}
L12_1.x = 452.212
L12_1.y = -31.546
L12_1.z = 12.155
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 266.695
L12_1.z = 0.0
L11_1.rot = L12_1
L11_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
L1_1[9] = L10_1
L1_1[10] = L11_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 11001
L2_1.gadget_id = 70900205
L3_1 = {}
L3_1.x = 456.897
L3_1.y = -32.644
L3_1.z = 11.742
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
L1_1[1] = L2_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000029
L2_1.name = "CHALLENGE_SUCCESS_29"
L3_1 = EventType
L3_1 = L3_1.EVENT_CHALLENGE_SUCCESS
L2_1.event = L3_1
L2_1.source = "1"
L2_1.condition = ""
L2_1.action = "action_EVENT_CHALLENGE_SUCCESS_29"
L3_1 = {}
L3_1.config_id = 1000030
L3_1.name = "CHALLENGE_FAIL_30"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_FAIL
L3_1.event = L4_1
L3_1.source = "1"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_FAIL_30"
L4_1 = {}
L4_1.config_id = 1000031
L4_1.name = "ANY_MONSTER_DIE_31"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_31"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_31"
L5_1 = {}
L5_1.config_id = 1000032
L5_1.name = "ANY_MONSTER_DIE_32"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_32"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_32"
L6_1 = {}
L6_1.config_id = 1000033
L6_1.name = "ANY_MONSTER_DIE_33"
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_33"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_33"
L7_1 = {}
L7_1.config_id = 1000034
L7_1.name = "ANY_MONSTER_DIE_34"
L8_1 = EventType
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_34"
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_34"
L8_1 = {}
L8_1.config_id = 1000035
L8_1.name = "ANY_MONSTER_DIE_35"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_MONSTER_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_35"
L8_1.action = "action_EVENT_ANY_MONSTER_DIE_35"
L9_1 = {}
L9_1.config_id = 1000036
L9_1.name = "ANY_MONSTER_LIVE_36"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_LIVE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_36"
L9_1.action = "action_EVENT_ANY_MONSTER_LIVE_36"
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
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 11001
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 9
L6_1 = 11
L7_1 = 14
L8_1 = 17
L9_1 = 21
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.monsters = L4_1
L4_1 = {}
L5_1 = 11001
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "CHALLENGE_SUCCESS_29"
L6_1 = "CHALLENGE_FAIL_30"
L7_1 = "ANY_MONSTER_DIE_31"
L8_1 = "ANY_MONSTER_DIE_32"
L9_1 = "ANY_MONSTER_DIE_33"
L10_1 = "ANY_MONSTER_DIE_34"
L11_1 = "ANY_MONSTER_DIE_35"
L12_1 = "ANY_MONSTER_LIVE_36"
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.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_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 = 220010010
L5_2 = 76
L6_2 = {}
L7_2 = 12
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 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 220010010
L5_2 = 76
L6_2 = GadgetState
L6_2 = L6_2.GearStart
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 = {}
L2_2.x = 446
L2_2.y = -30
L2_2.z = 14
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 2
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 0
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_CHALLENGE_SUCCESS_29 = L1_1
function L1_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 = 220010010
L5_2 = 76
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 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 220010010
L5_2 = 76
L6_2 = GadgetState
L6_2 = L6_2.GearStart
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 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220010011
L4_2.suite = 1
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 : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_30 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 11 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_31 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 5
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_31 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_32 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 10
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_32 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 17 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_33 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 20
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_33 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 21 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_34 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 12
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_34 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 14 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_35 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 13
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_35 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 17 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_36 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 1
L5_2 = 172
L6_2 = 220010011
L7_2 = 10
L8_2 = 30
L9_2 = 3
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_36 = L1_1