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

646 lines
12 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
L0_1 = {}
L0_1.group_id = 133106433
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 433002
L2_1.gadget_id = 70210101
L3_1 = {}
L3_1.x = -691.511
L3_1.y = 98.021
L3_1.z = 1810.124
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 = 26
L2_1.chest_drop_id = 1050178
L2_1.drop_count = 1
L2_1.isOneoff = true
L2_1.persistent = true
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 433003
L3_1.gadget_id = 70210101
L4_1 = {}
L4_1.x = -691.109
L4_1.y = 98.167
L4_1.z = 1810.729
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 = 26
L3_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\233\128\154\231\148\168\231\146\131\230\156\136"
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 19
L4_1 = {}
L4_1.config_id = 433004
L4_1.gadget_id = 70220106
L5_1 = {}
L5_1.x = -690.996
L5_1.y = 99.176
L5_1.z = 1810.951
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 89.351
L5_1.y = 0.025
L5_1.z = 66.059
L4_1.rot = L5_1
L4_1.level = 36
L4_1.area_id = 19
L5_1 = {}
L5_1.config_id = 433006
L5_1.gadget_id = 70220106
L6_1 = {}
L6_1.x = -691.955
L6_1.y = 99.176
L6_1.z = 1810.207
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 89.363
L6_1.y = 116.542
L6_1.z = 49.692
L5_1.rot = L6_1
L5_1.level = 36
L5_1.area_id = 19
L6_1 = {}
L6_1.config_id = 433007
L6_1.gadget_id = 70290365
L7_1 = {}
L7_1.x = -697.475
L7_1.y = 99.082
L7_1.z = 1817.704
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 322.992
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 36
L6_1.persistent = true
L6_1.area_id = 19
L7_1 = {}
L7_1.config_id = 433009
L7_1.gadget_id = 70360001
L8_1 = {}
L8_1.x = -697.95
L8_1.y = 99.19
L8_1.z = 1817.17
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 36
L7_1.area_id = 19
L8_1 = {}
L8_1.config_id = 433012
L8_1.gadget_id = 70310034
L9_1 = {}
L9_1.x = -690.052
L9_1.y = 99.031
L9_1.z = 1814.319
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 36
L9_1 = GadgetState
L9_1 = L9_1.GearStart
L8_1.state = L9_1
L8_1.area_id = 19
L9_1 = {}
L9_1.config_id = 433013
L9_1.gadget_id = 70310034
L10_1 = {}
L10_1.x = -696.922
L10_1.y = 99.093
L10_1.z = 1810.309
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 36
L9_1.area_id = 19
L10_1 = {}
L10_1.config_id = 433014
L10_1.gadget_id = 70220015
L11_1 = {}
L11_1.x = -689.438
L11_1.y = 99.031
L11_1.z = 1811.891
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 270.0
L11_1.y = 322.65
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 36
L10_1.area_id = 19
L11_1 = {}
L11_1.config_id = 433015
L11_1.gadget_id = 70220016
L12_1 = {}
L12_1.x = -688.91
L12_1.y = 99.831
L12_1.z = 1810.53
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 270.0
L12_1.y = 340.188
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 36
L11_1.area_id = 19
L12_1 = {}
L12_1.config_id = 433016
L12_1.gadget_id = 70220015
L13_1 = {}
L13_1.x = -688.783
L13_1.y = 99.031
L13_1.z = 1810.097
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 270.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 36
L12_1.area_id = 19
L13_1 = {}
L13_1.config_id = 433017
L13_1.gadget_id = 70220005
L14_1 = {}
L14_1.x = -695.655
L14_1.y = 99.028
L14_1.z = 1808.433
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 36
L13_1.area_id = 19
L14_1 = {}
L14_1.config_id = 433018
L14_1.gadget_id = 70220015
L15_1 = {}
L15_1.x = -695.014
L15_1.y = 99.503
L15_1.z = 1807.524
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 299.885
L15_1.y = 49.215
L15_1.z = 4.872
L14_1.rot = L15_1
L14_1.level = 36
L14_1.area_id = 19
L15_1 = {}
L15_1.config_id = 433019
L15_1.gadget_id = 70220015
L16_1 = {}
L16_1.x = -695.493
L16_1.y = 99.062
L16_1.z = 1806.686
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 270.02
L16_1.y = 323.417
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 36
L15_1.area_id = 19
L16_1 = {}
L16_1.config_id = 433020
L16_1.gadget_id = 70220013
L17_1 = {}
L17_1.x = -682.218
L17_1.y = 99.031
L17_1.z = 1793.635
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 359.862
L17_1.y = 333.026
L17_1.z = 1.053
L16_1.rot = L17_1
L16_1.level = 36
L16_1.area_id = 19
L17_1 = {}
L17_1.config_id = 433021
L17_1.gadget_id = 70220013
L18_1 = {}
L18_1.x = -686.317
L18_1.y = 99.161
L18_1.z = 1804.738
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 357.108
L18_1.y = 323.56
L18_1.z = 7.548
L17_1.rot = L18_1
L17_1.level = 36
L17_1.area_id = 19
L18_1 = {}
L18_1.config_id = 433022
L18_1.gadget_id = 70220014
L19_1 = {}
L19_1.x = -687.064
L19_1.y = 99.051
L19_1.z = 1803.155
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 36
L18_1.area_id = 19
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1433005
L2_1.name = "ANY_GADGET_DIE_433005"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_433005"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_433005"
L3_1 = {}
L3_1.config_id = 1433008
L3_1.name = "GADGET_CREATE_433008"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_433008"
L3_1.action = "action_EVENT_GADGET_CREATE_433008"
L4_1 = {}
L4_1.config_id = 1433010
L4_1.name = "GADGET_STATE_CHANGE_433010"
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_433010"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_433010"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1433011
L5_1.name = "SELECT_OPTION_433011"
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_433011"
L5_1.action = "action_EVENT_SELECT_OPTION_433011"
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 = 433004
L5_1 = 433006
L6_1 = 433007
L7_1 = 433012
L8_1 = 433013
L9_1 = 433014
L10_1 = 433015
L11_1 = 433016
L12_1 = 433017
L13_1 = 433018
L14_1 = 433019
L15_1 = 433020
L16_1 = 433021
L17_1 = 433022
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
L3_1[13] = L16_1
L3_1[14] = L17_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_433005"
L5_1 = "GADGET_CREATE_433008"
L6_1 = "GADGET_STATE_CHANGE_433010"
L7_1 = "SELECT_OPTION_433011"
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 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 433002
L6_1 = 433003
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_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
L2_2 = A1_2.param1
if 433004 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_433005 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133106433
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_433005 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 433009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_433008 = 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 = 133106433
L5_2 = 433009
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_433008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 433002 == 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_433010 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "7107501"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 433009
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_gadget"
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 = 7106421
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 = {}
L2_2.x = -697.9495
L2_2.y = 100
L2_2.z = 1817.17
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 = 3
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 = {}
L4_2.x = -698
L4_2.y = 100
L4_2.z = 1817
L5_2 = ScriptLib
L5_2 = L5_2.ScenePlaySound
L6_2 = A0_2
L7_2 = {}
L7_2.play_pos = L4_2
L7_2.sound_name = "Audio_lua_quest_WQ_cengYanJuYuan_knock"
L7_2.play_type = 1
L7_2.is_broadcast = false
L5_2 = L5_2(L6_2, L7_2)
if 0 ~= L5_2 then
L5_2 = ScriptLib
L5_2 = L5_2.PrintContextLog
L6_2 = A0_2
L7_2 = "@@ LUA_WARNING : active_soundplay"
L5_2(L6_2, L7_2)
L5_2 = -1
return L5_2
end
L5_2 = 0
return L5_2
end
action_EVENT_GADGET_STATE_CHANGE_433010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 433009 ~= 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_433011 = 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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133106433
L5_2 = 433009
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 433007
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_SELECT_OPTION_433011 = L1_1