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

640 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
L0_1 = {}
L0_1.group_id = 250023008
L1_1 = {}
L2_1 = {}
L2_1.config_id = 8005
L2_1.monster_id = 22040101
L3_1 = {}
L3_1.x = -8.371
L3_1.y = 0.028
L3_1.z = -10.136
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
L2_1.pose_id = 101
L3_1 = {}
L3_1.config_id = 8006
L3_1.monster_id = 22040201
L4_1 = {}
L4_1.x = 6.079
L4_1.y = 0.028
L4_1.z = -10.448
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.pose_id = 101
L4_1 = {}
L4_1.config_id = 8007
L4_1.monster_id = 22040201
L5_1 = {}
L5_1.x = 6.056
L5_1.y = 0.028
L5_1.z = 8.546
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 180.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.pose_id = 101
L5_1 = {}
L5_1.config_id = 8008
L5_1.monster_id = 22040101
L6_1 = {}
L6_1.x = -8.122
L6_1.y = 0.028
L6_1.z = 8.836
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 180.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.pose_id = 101
L6_1 = {}
L6_1.config_id = 8009
L6_1.monster_id = 22040201
L7_1 = {}
L7_1.x = 9.971
L7_1.y = 0.028
L7_1.z = -4.592
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 270.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.pose_id = 101
L7_1 = {}
L7_1.config_id = 8010
L7_1.monster_id = 22040101
L8_1 = {}
L8_1.x = 9.858
L8_1.y = 0.028
L8_1.z = 2.592
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 270.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.pose_id = 101
L8_1 = {}
L8_1.config_id = 8011
L8_1.monster_id = 22040201
L9_1 = {}
L9_1.x = -11.879
L9_1.y = 0.028
L9_1.z = -4.743
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 90.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.pose_id = 101
L9_1 = {}
L9_1.config_id = 8012
L9_1.monster_id = 22040101
L10_1 = {}
L10_1.x = -11.992
L10_1.y = 0.028
L10_1.z = 2.44
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 90.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.pose_id = 101
L10_1 = {}
L10_1.config_id = 8013
L10_1.monster_id = 22040101
L11_1 = {}
L11_1.x = -8.371
L11_1.y = 0.028
L11_1.z = -10.136
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.pose_id = 101
L11_1 = {}
L11_1.config_id = 8014
L11_1.monster_id = 22040101
L12_1 = {}
L12_1.x = 6.079
L12_1.y = 0.028
L12_1.z = -10.448
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.pose_id = 101
L12_1 = {}
L12_1.config_id = 8015
L12_1.monster_id = 22040201
L13_1 = {}
L13_1.x = 6.056
L13_1.y = 0.028
L13_1.z = 8.546
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 180.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.pose_id = 101
L13_1 = {}
L13_1.config_id = 8016
L13_1.monster_id = 22040201
L14_1 = {}
L14_1.x = -8.122
L14_1.y = 0.028
L14_1.z = 8.836
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 180.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.pose_id = 101
L14_1 = {}
L14_1.config_id = 8017
L14_1.monster_id = 22050101
L15_1 = {}
L15_1.x = 0.138
L15_1.y = 0.028
L15_1.z = -10.344
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.pose_id = 101
L15_1 = {}
L15_1.config_id = 8018
L15_1.monster_id = 22050201
L16_1 = {}
L16_1.x = -0.028
L16_1.y = 0.028
L16_1.z = 9.304
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 180.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.pose_id = 101
L16_1 = {}
L16_1.config_id = 8019
L16_1.monster_id = 22040101
L17_1 = {}
L17_1.x = -8.371
L17_1.y = 0.028
L17_1.z = -10.136
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.pose_id = 101
L17_1 = {}
L17_1.config_id = 8020
L17_1.monster_id = 22040201
L18_1 = {}
L18_1.x = 6.079
L18_1.y = 0.028
L18_1.z = -10.448
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.pose_id = 101
L18_1 = {}
L18_1.config_id = 8021
L18_1.monster_id = 22040101
L19_1 = {}
L19_1.x = -8.122
L19_1.y = 0.028
L19_1.z = 8.836
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 180.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.pose_id = 101
L19_1 = {}
L19_1.config_id = 8022
L19_1.monster_id = 22040201
L20_1 = {}
L20_1.x = 6.056
L20_1.y = 0.028
L20_1.z = 8.546
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 180.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.pose_id = 101
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
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 8001
L2_1.gadget_id = 70360010
L3_1 = {}
L3_1.x = 0.174
L3_1.y = 0.107
L3_1.z = -2.499
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 = 1008002
L2_1.name = "GADGET_CREATE_8002"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_8002"
L2_1.action = "action_EVENT_GADGET_CREATE_8002"
L3_1 = {}
L3_1.config_id = 1008003
L3_1.name = "SELECT_OPTION_8003"
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_8003"
L3_1.action = "action_EVENT_SELECT_OPTION_8003"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1008004
L4_1.name = "SELECT_OPTION_8004"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_8004"
L4_1.action = "action_EVENT_SELECT_OPTION_8004"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1008023
L5_1.name = "SELECT_OPTION_8023"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_8023"
L5_1.action = "action_EVENT_SELECT_OPTION_8023"
L5_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_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 = 8001
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_8002"
L5_1 = "SELECT_OPTION_8003"
L6_1 = "SELECT_OPTION_8004"
L7_1 = "SELECT_OPTION_8023"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 8005
L6_1 = 8006
L7_1 = 8007
L8_1 = 8008
L9_1 = 8009
L10_1 = 8010
L11_1 = 8011
L12_1 = 8012
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.monsters = L4_1
L4_1 = {}
L5_1 = 8001
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_8002"
L6_1 = "SELECT_OPTION_8003"
L7_1 = "SELECT_OPTION_8004"
L8_1 = "SELECT_OPTION_8023"
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 = 8013
L7_1 = 8014
L8_1 = 8015
L9_1 = 8016
L10_1 = 8017
L11_1 = 8018
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 8001
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_CREATE_8002"
L7_1 = "SELECT_OPTION_8003"
L8_1 = "SELECT_OPTION_8004"
L9_1 = "SELECT_OPTION_8023"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 8019
L8_1 = 8020
L9_1 = 8021
L10_1 = 8022
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 8001
L6_1[1] = L7_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "GADGET_CREATE_8002"
L8_1 = "SELECT_OPTION_8003"
L9_1 = "SELECT_OPTION_8004"
L10_1 = "SELECT_OPTION_8023"
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 8001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_8002 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 51
L6_2 = 52
L7_2 = 53
L4_2[1] = L5_2
L4_2[2] = L6_2
L4_2[3] = L7_2
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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_8002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 8001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 51 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_8003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 250023008
L4_2.suite = 2
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_SELECT_OPTION_8003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 8001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 52 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_8004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 250023008
L4_2.suite = 3
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_SELECT_OPTION_8004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 8001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 53 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_8023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 250023008
L4_2.suite = 4
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_SELECT_OPTION_8023 = L1_1