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

534 lines
9.8 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 = 220024001
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001
L2_1.monster_id = 21010201
L3_1 = {}
L3_1.x = 114.375
L3_1.y = 39.516
L3_1.z = 114.993
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 266.944
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 = 101.643
L4_1.y = 39.509
L4_1.z = 128.942
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 275.226
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L3_1.pose_id = 32
L4_1 = {}
L4_1.config_id = 1003
L4_1.monster_id = 21010901
L5_1 = {}
L5_1.x = 99.948
L5_1.y = 39.937
L5_1.z = 116.92
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 274.994
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.disableWander = true
L4_1.pose_id = 32
L5_1 = {}
L5_1.config_id = 1004
L5_1.monster_id = 21011001
L6_1 = {}
L6_1.x = 138.055
L6_1.y = 39.517
L6_1.z = 128.678
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 268.194
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.disableWander = true
L5_1.pose_id = 32
L6_1 = {}
L6_1.config_id = 1005
L6_1.monster_id = 21010901
L7_1 = {}
L7_1.x = 138.002
L7_1.y = 39.516
L7_1.z = 121.38
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 272.533
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.disableWander = true
L6_1.pose_id = 32
L7_1 = {}
L7_1.config_id = 1006
L7_1.monster_id = 21010201
L8_1 = {}
L8_1.x = 158.545
L8_1.y = 39.517
L8_1.z = 121.037
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 275.676
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.disableWander = true
L8_1 = {}
L8_1.config_id = 1007
L8_1.monster_id = 21010301
L9_1 = {}
L9_1.x = 117.076
L9_1.y = 39.516
L9_1.z = 117.304
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 169.378
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.disableWander = true
L8_1.pose_id = 9003
L9_1 = {}
L9_1.config_id = 1008
L9_1.monster_id = 21010301
L10_1 = {}
L10_1.x = 117.169
L10_1.y = 39.516
L10_1.z = 113.867
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 355.394
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.disableWander = true
L9_1.pose_id = 9003
L10_1 = {}
L10_1.config_id = 1009
L10_1.monster_id = 21010701
L11_1 = {}
L11_1.x = 118.641
L11_1.y = 39.516
L11_1.z = 115.599
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 262.96
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.disableWander = true
L11_1 = {}
L11_1.config_id = 1010
L11_1.monster_id = 21020101
L12_1 = {}
L12_1.x = 168.832
L12_1.y = 42.0
L12_1.z = 121.073
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 269.894
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.disableWander = true
L12_1 = {}
L12_1.config_id = 1011
L12_1.monster_id = 21010301
L13_1 = {}
L13_1.x = 159.274
L13_1.y = 39.516
L13_1.z = 124.301
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 268.673
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.disableWander = true
L13_1 = {}
L13_1.config_id = 1012
L13_1.monster_id = 21010301
L14_1 = {}
L14_1.x = 159.155
L14_1.y = 39.517
L14_1.z = 117.458
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 273.763
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.disableWander = true
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
L1_1[11] = L12_1
L1_1[12] = L13_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1013
L2_1.gadget_id = 70350003
L3_1 = {}
L3_1.x = 55.002
L3_1.y = 42.017
L3_1.z = 120.96
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 90.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 1014
L3_1.gadget_id = 70350002
L4_1 = {}
L4_1.x = 173.992
L4_1.y = 42.016
L4_1.z = 120.944
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 90.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 1015
L4_1.gadget_id = 70360002
L5_1 = {}
L5_1.x = 158.805
L5_1.y = 39.517
L5_1.z = 114.599
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 303.674
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStop
L4_1.state = L5_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000001
L2_1.name = "ANY_MONSTER_DIE_1"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_1"
L3_1 = {}
L3_1.config_id = 1000002
L3_1.name = "SELECT_OPTION_2"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_2"
L3_1.action = "action_EVENT_SELECT_OPTION_2"
L3_1.forbid_guest = false
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 = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 1001
L5_1 = 1002
L6_1 = 1003
L7_1 = 1004
L8_1 = 1005
L9_1 = 1006
L10_1 = 1007
L11_1 = 1008
L12_1 = 1009
L13_1 = 1010
L14_1 = 1011
L15_1 = 1012
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
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 1013
L5_1 = 1014
L6_1 = 1015
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_1"
L5_1 = "SELECT_OPTION_2"
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
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_1 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 220024001
L5_2 = 1015
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 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 220024001
L5_2 = 1015
L6_2 = {}
L7_2 = 1
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 = {}
L2_2.x = 159
L2_2.y = 40
L2_2.z = 115
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_ANY_MONSTER_DIE_1 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2 = 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 = 220024001
L5_2 = 1015
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 220024001
L5_2 = 1015
L6_2 = 1
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 : del_work_options_by_group_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 = 220024001
L5_2 = 1014
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 = 174
L2_2.y = 47
L2_2.z = 121
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_SELECT_OPTION_2 = L1_1