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

768 lines
15 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 = 133210422
L1_1 = {}
L1_1.group_ID = 133210422
L1_1.gadget_1 = 422001
L1_1.rotation_1 = 90
L1_1.gadget_2 = 422004
L1_1.rotation_2 = 180
L1_1.gadget_3 = 422008
L1_1.rotation_3 = 270
L1_1.gadget_4 = 422011
L1_1.rotation_4 = 180
L1_1.gadget_5 = 422014
L1_1.rotation_5 = 0
L2_1 = {}
L1_1.gadget_connect1 = L2_1
L2_1 = {}
L1_1.gadget_connect2 = L2_1
L2_1 = {}
L1_1.gadget_connect3 = L2_1
L2_1 = {}
L1_1.gadget_connect4 = L2_1
L2_1 = {}
L1_1.gadget_connect5 = L2_1
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 422001
L3_1.gadget_id = 70330081
L4_1 = {}
L4_1.x = -3900.822
L4_1.y = 202.696
L4_1.z = -1055.857
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 11.092
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.is_use_point_array = true
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 422002
L4_1.gadget_id = 70330085
L5_1 = {}
L5_1.x = -3909.028
L5_1.y = 206.023
L5_1.z = -1053.914
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 11.092
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 422003
L5_1.gadget_id = 70330084
L6_1 = {}
L6_1.x = -3900.822
L6_1.y = 202.776
L6_1.z = -1055.858
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 11.092
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 422004
L6_1.gadget_id = 70330081
L7_1 = {}
L7_1.x = -3909.991
L7_1.y = 204.359
L7_1.z = -1058.187
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 101.092
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.is_use_point_array = true
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 422005
L7_1.gadget_id = 70330085
L8_1 = {}
L8_1.x = -3906.617
L8_1.y = 206.183
L8_1.z = -1062.933
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 11.092
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 422006
L8_1.gadget_id = 70211111
L9_1 = {}
L9_1.x = -3911.717
L9_1.y = 204.199
L9_1.z = -1051.889
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.008
L9_1.y = 145.428
L9_1.z = 0.025
L8_1.rot = L9_1
L8_1.level = 26
L8_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187"
L8_1.isOneoff = true
L8_1.persistent = true
L9_1 = {}
L9_1.name = "chest"
L9_1.exp = 1
L8_1.explore = L9_1
L8_1.area_id = 17
L9_1 = {}
L9_1.config_id = 422007
L9_1.gadget_id = 70330084
L10_1 = {}
L10_1.x = -3909.991
L10_1.y = 204.359
L10_1.z = -1058.187
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 11.092
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 30
L9_1.area_id = 17
L10_1 = {}
L10_1.config_id = 422008
L10_1.gadget_id = 70330081
L11_1 = {}
L11_1.x = -3906.617
L11_1.y = 204.359
L11_1.z = -1062.933
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 281.092
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 30
L10_1.is_use_point_array = true
L10_1.area_id = 17
L11_1 = {}
L11_1.config_id = 422009
L11_1.gadget_id = 70330085
L12_1 = {}
L12_1.x = -3910.919
L12_1.y = 206.017
L12_1.z = -1061.894
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 11.092
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 30
L11_1.area_id = 17
L12_1 = {}
L12_1.config_id = 422010
L12_1.gadget_id = 70330084
L13_1 = {}
L13_1.x = -3906.617
L13_1.y = 204.359
L13_1.z = -1062.933
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 11.092
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 30
L12_1.area_id = 17
L13_1 = {}
L13_1.config_id = 422011
L13_1.gadget_id = 70330081
L14_1 = {}
L14_1.x = -3905.763
L14_1.y = 204.311
L14_1.z = -1059.107
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 101.092
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 30
L13_1.is_use_point_array = true
L13_1.area_id = 17
L14_1 = {}
L14_1.config_id = 422012
L14_1.gadget_id = 70330085
L15_1 = {}
L15_1.x = -3905.762
L15_1.y = 206.141
L15_1.z = -1059.106
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 11.092
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 30
L14_1.area_id = 17
L15_1 = {}
L15_1.config_id = 422013
L15_1.gadget_id = 70330084
L16_1 = {}
L16_1.x = -3905.763
L16_1.y = 204.311
L16_1.z = -1059.107
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 11.092
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 30
L15_1.area_id = 17
L16_1 = {}
L16_1.config_id = 422014
L16_1.gadget_id = 70330083
L17_1 = {}
L17_1.x = -3910.919
L17_1.y = 204.203
L17_1.z = -1061.894
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 191.092
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 30
L16_1.is_use_point_array = true
L16_1.area_id = 17
L17_1 = {}
L17_1.config_id = 422015
L17_1.gadget_id = 70330083
L18_1 = {}
L18_1.x = -3902.465
L18_1.y = 204.203
L18_1.z = -1063.748
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 191.092
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 30
L17_1.area_id = 17
L18_1 = {}
L18_1.config_id = 422016
L18_1.gadget_id = 70330083
L19_1 = {}
L19_1.x = -3905.003
L19_1.y = 203.424
L19_1.z = -1054.821
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 350.924
L19_1.y = 282.359
L19_1.z = 344.135
L18_1.rot = L19_1
L18_1.level = 30
L18_1.area_id = 17
L19_1 = {}
L19_1.config_id = 422017
L19_1.gadget_id = 70330083
L20_1 = {}
L20_1.x = -3909.028
L20_1.y = 204.202
L20_1.z = -1053.914
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 11.092
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 30
L19_1.area_id = 17
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
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
L2_1[17] = L19_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 422021
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 10
L4_1 = {}
L4_1.x = -3905.974
L4_1.y = 204.173
L4_1.z = -1059.516
L3_1.pos = L4_1
L3_1.area_id = 17
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1422018
L3_1.name = "VARIABLE_CHANGE_422018"
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_422018"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_422018"
L4_1 = {}
L4_1.config_id = 1422019
L4_1.name = "GADGET_STATE_CHANGE_422019"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_422019"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_422019"
L5_1 = {}
L5_1.config_id = 1422020
L5_1.name = "GROUP_LOAD_422020"
L6_1 = EventType
L6_1 = L6_1.EVENT_GROUP_LOAD
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GROUP_LOAD_422020"
L5_1.action = "action_EVENT_GROUP_LOAD_422020"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1422021
L6_1.name = "ENTER_REGION_422021"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ENTER_REGION_422021"
L6_1.action = "action_EVENT_ENTER_REGION_422021"
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 = "Success"
L3_1.value = 0
L3_1.no_refresh = true
L4_1 = {}
L4_1.configId = 2
L4_1.name = "StartTalk"
L4_1.value = 0
L4_1.no_refresh = true
L5_1 = {}
L5_1.configId = 3
L5_1.name = "EndTalk"
L5_1.value = 0
L5_1.no_refresh = true
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
variables = L2_1
L2_1 = {}
L2_1.suite = 3
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 422001
L6_1 = 422002
L7_1 = 422003
L8_1 = 422004
L9_1 = 422005
L10_1 = 422007
L11_1 = 422008
L12_1 = 422009
L13_1 = 422010
L14_1 = 422011
L15_1 = 422012
L16_1 = 422013
L17_1 = 422014
L18_1 = 422015
L19_1 = 422016
L20_1 = 422017
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
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 422021
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "VARIABLE_CHANGE_422018"
L6_1 = "GADGET_STATE_CHANGE_422019"
L7_1 = "ENTER_REGION_422021"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 422006
L5_1[1] = L6_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 = {}
L7_1 = "GROUP_LOAD_422020"
L6_1[1] = L7_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 = "successed"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "EndTalk"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_422018 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "EndTalk"
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 : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 32100200
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 : active_reminder_ui"
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 = 422015
L5_2 = GadgetState
L5_2 = L5_2.Action01
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 422016
L5_2 = GadgetState
L5_2 = L5_2.Action01
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 422017
L5_2 = GadgetState
L5_2 = L5_2.Action01
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_VARIABLE_CHANGE_422018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 422006 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.ChestOpened
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_422019 = 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.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "Success"
L5_2 = 1
L6_2 = 133210423
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 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "Success"
L5_2 = 2
L6_2 = 133210422
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_GADGET_STATE_CHANGE_422019 = 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 = "Success"
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_GROUP_LOAD_422020 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133210422
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_422020 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if L2_2 ~= 422021 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "StartTalk"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_422021 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "StartTalk"
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 : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = -3905.762
L2_2.y = 206.244
L2_2.z = -1059.106
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 = true
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 = ScriptLib
L4_2 = L4_2.ShowReminder
L5_2 = A0_2
L6_2 = 32100198
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_reminder_ui"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ENTER_REGION_422021 = L2_1
L2_1 = require
L3_1 = "BlackBoxPlay/LightSquare_V2"
L2_1(L3_1)