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

708 lines
14 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
L0_1 = {}
L0_1.group_id = 133106030
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 30001
L2_1.gadget_id = 70290209
L3_1 = {}
L3_1.x = -582.845
L3_1.y = 178.275
L3_1.z = 1805.1
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 11.153
L3_1.y = 329.502
L3_1.z = 51.56
L2_1.rot = L3_1
L2_1.level = 36
L2_1.persistent = true
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 30002
L3_1.gadget_id = 70290210
L4_1 = {}
L4_1.x = -561.38
L4_1.y = 177.445
L4_1.z = 1828.039
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 322.55
L4_1.y = 300.6
L4_1.z = 31.487
L3_1.rot = L4_1
L3_1.level = 36
L3_1.persistent = true
L3_1.area_id = 19
L4_1 = {}
L4_1.config_id = 30003
L4_1.gadget_id = 70290368
L5_1 = {}
L5_1.x = -550.284
L5_1.y = 179.461
L5_1.z = 1849.181
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 301.784
L5_1.y = 334.417
L5_1.z = 51.123
L4_1.rot = L5_1
L4_1.level = 36
L4_1.persistent = true
L4_1.area_id = 19
L5_1 = {}
L5_1.config_id = 30004
L5_1.gadget_id = 70290369
L6_1 = {}
L6_1.x = -589.6
L6_1.y = 177.24
L6_1.z = 1871.42
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 305.956
L6_1.y = 96.117
L6_1.z = 6.052
L5_1.rot = L6_1
L5_1.level = 36
L5_1.persistent = true
L5_1.area_id = 19
L6_1 = {}
L6_1.config_id = 30005
L6_1.gadget_id = 70290370
L7_1 = {}
L7_1.x = -582.06
L7_1.y = 182.67
L7_1.z = 1901.29
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.56
L7_1.y = 161.025
L7_1.z = 331.763
L6_1.rot = L7_1
L6_1.level = 36
L6_1.persistent = true
L6_1.area_id = 19
L7_1 = {}
L7_1.config_id = 30006
L7_1.gadget_id = 70290371
L8_1 = {}
L8_1.x = -576.622
L8_1.y = 183.957
L8_1.z = 1928.393
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 18.561
L8_1.y = 359.114
L8_1.z = 31.071
L7_1.rot = L8_1
L7_1.level = 36
L7_1.persistent = true
L7_1.area_id = 19
L8_1 = {}
L8_1.config_id = 30007
L8_1.gadget_id = 70290404
L9_1 = {}
L9_1.x = -519.912
L9_1.y = 181.097
L9_1.z = 1897.477
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 230.597
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 36
L8_1.persistent = true
L8_1.area_id = 19
L9_1 = {}
L9_1.config_id = 30008
L9_1.gadget_id = 70290372
L10_1 = {}
L10_1.x = -535.029
L10_1.y = 176.553
L10_1.z = 1798.564
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 40.145
L10_1.y = 169.532
L10_1.z = 348.726
L9_1.rot = L10_1
L9_1.level = 36
L9_1.persistent = true
L9_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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 30011
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 10
L3_1 = {}
L3_1.x = -573.888
L3_1.y = 171.699
L3_1.z = 1796.544
L2_1.pos = L3_1
L2_1.area_id = 19
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1030009
L2_1.name = "GADGET_STATE_CHANGE_30009"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_30009"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_30009"
L3_1 = {}
L3_1.config_id = 1030010
L3_1.name = "TIME_AXIS_PASS_30010"
L4_1 = EventType
L4_1 = L4_1.EVENT_TIME_AXIS_PASS
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_TIME_AXIS_PASS_30010"
L3_1.action = "action_EVENT_TIME_AXIS_PASS_30010"
L4_1 = {}
L4_1.config_id = 1030011
L4_1.name = "ENTER_REGION_30011"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_30011"
L4_1.action = "action_EVENT_ENTER_REGION_30011"
L5_1 = {}
L5_1.config_id = 1030012
L5_1.name = "ANY_GADGET_DIE_30012"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_GADGET_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_GADGET_DIE_30012"
L5_1.action = "action_EVENT_ANY_GADGET_DIE_30012"
L6_1 = {}
L6_1.config_id = 1030013
L6_1.name = "TIME_AXIS_PASS_30013"
L7_1 = EventType
L7_1 = L7_1.EVENT_TIME_AXIS_PASS
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_TIME_AXIS_PASS_30013"
L6_1.action = "action_EVENT_TIME_AXIS_PASS_30013"
L7_1 = {}
L7_1.config_id = 1030014
L7_1.name = "GROUP_LOAD_30014"
L8_1 = EventType
L8_1 = L8_1.EVENT_GROUP_LOAD
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GROUP_LOAD_30014"
L7_1.action = "action_EVENT_GROUP_LOAD_30014"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1030015
L8_1.name = "GADGET_STATE_CHANGE_30015"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_30015"
L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_30015"
L8_1.trigger_count = 0
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "hasTriggered"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "achieved"
L3_1.value = 0
L3_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_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 = 30001
L5_1 = 30002
L6_1 = 30003
L7_1 = 30004
L8_1 = 30005
L9_1 = 30006
L10_1 = 30007
L11_1 = 30008
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
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 30011
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_30009"
L5_1 = "TIME_AXIS_PASS_30010"
L6_1 = "ENTER_REGION_30011"
L7_1 = "ANY_GADGET_DIE_30012"
L8_1 = "TIME_AXIS_PASS_30013"
L9_1 = "GROUP_LOAD_30014"
L10_1 = "GADGET_STATE_CHANGE_30015"
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
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 = A1_2.param2
if 30001 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_30009 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasTriggered"
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 = 310603003
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.InitTimeAxis
L3_2 = A0_2
L4_2 = "lookatshockwave"
L5_2 = {}
L6_2 = 3
L5_2[1] = L6_2
L6_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_30009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.source_name
if "lookatshockwave" == L2_2 then
L2_2 = A1_2.param1
if 1 == L2_2 then
goto lbl_9
end
end
L2_2 = false
do return L2_2 end
::lbl_9::
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_30010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = {}
L2_2.x = -561.3795
L2_2.y = 177.4451
L2_2.z = 1828.039
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 = 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 = ScriptLib
L4_2 = L4_2.ShowReminder
L5_2 = A0_2
L6_2 = 310603004
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_TIME_AXIS_PASS_30010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 30011 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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 = "hasTriggered"
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_30011 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 310603002
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 = -575.8529
L2_2.y = 173.5302
L2_2.z = 1798.937
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 = 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 = true
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_ENTER_REGION_30011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 30007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_30012 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "achieved"
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.InitTimeAxis
L3_2 = A0_2
L4_2 = "achieved"
L5_2 = {}
L6_2 = 7
L5_2[1] = L6_2
L6_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PlayCutScene
L3_2 = A0_2
L4_2 = 310603001
L5_2 = 0
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 : play_cutscene"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_30012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.source_name
if "achieved" == L2_2 then
L2_2 = A1_2.param1
if 1 == L2_2 then
goto lbl_9
end
end
L2_2 = false
do return L2_2 end
::lbl_9::
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_30013 = 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.MarkPlayerAction
L3_2 = A0_2
L4_2 = 6074
L5_2 = 3
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 : mark_playerAction"
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 = 310603005
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 = 0
return L2_2
end
action_EVENT_TIME_AXIS_PASS_30013 = L1_1
function L1_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 = "achieved"
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_30014 = 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.MarkPlayerAction
L3_2 = A0_2
L4_2 = 6074
L5_2 = 3
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 : mark_playerAction"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_30014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 30001 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_30015 = 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.MarkPlayerAction
L3_2 = A0_2
L4_2 = 6074
L5_2 = 1
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 : mark_playerAction"
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_30015 = L1_1