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

397 lines
7.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
L0_1 = {}
L0_1.group_id = 133210464
L1_1 = {}
L1_1.group_ID = 133210464
L1_1.gadget_fundation01 = 464001
L1_1.gadget_hand01 = 464003
L1_1.gadget_fundation02 = 464002
L1_1.gadget_hand02 = 464004
L1_1.gadget_fundation03 = 464007
L1_1.gadget_hand03 = 464005
L1_1.gadget_fundation04 = 0
L1_1.gadget_hand04 = 0
L1_1.gadget_fundation05 = 0
L1_1.gadget_hand05 = 0
L1_1.minDiscrapancy = 15
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 464001
L3_1.gadget_id = 70950084
L4_1 = {}
L4_1.x = -3868.049
L4_1.y = 251.039
L4_1.z = -538.063
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.161
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 464002
L4_1.gadget_id = 70950084
L5_1 = {}
L5_1.x = -3864.951
L5_1.y = 250.524
L5_1.z = -539.594
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 59.132
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 = 464003
L5_1.gadget_id = 70950085
L6_1 = {}
L6_1.x = -3868.049
L6_1.y = 251.039
L6_1.z = -538.063
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 182.441
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 = 464004
L6_1.gadget_id = 70950085
L7_1 = {}
L7_1.x = -3864.951
L7_1.y = 250.524
L7_1.z = -539.594
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 237.117
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L7_1 = GadgetState
L7_1 = L7_1.GearStop
L6_1.state = L7_1
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 464005
L7_1.gadget_id = 70950085
L8_1 = {}
L8_1.x = -3867.932
L8_1.y = 250.02
L8_1.z = -545.355
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 342.475
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L8_1 = GadgetState
L8_1 = L8_1.GearStop
L7_1.state = L8_1
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 464007
L8_1.gadget_id = 70950084
L9_1 = {}
L9_1.x = -3867.932
L9_1.y = 250.02
L9_1.z = -545.355
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 180.314
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 30
L8_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
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1464006
L3_1.name = "VARIABLE_CHANGE_464006"
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_464006"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_464006"
L4_1 = {}
L4_1.config_id = 1464008
L4_1.name = "GROUP_LOAD_464008"
L5_1 = EventType
L5_1 = L5_1.EVENT_GROUP_LOAD
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GROUP_LOAD_464008"
L4_1.action = "action_EVENT_GROUP_LOAD_464008"
L4_1.trigger_count = 0
L2_1[1] = L3_1
L2_1[2] = L4_1
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
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 = 464001
L6_1 = 464002
L7_1 = 464003
L8_1 = 464004
L9_1 = 464005
L10_1 = 464007
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
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "VARIABLE_CHANGE_464006"
L6_1 = "GROUP_LOAD_464008"
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_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
L2_1[1] = L3_1
L2_1[2] = L4_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 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_464006 = 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 = "GadgetCreate"
L5_2 = 1
L6_2 = 133210300
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 = 1
L6_2 = 133210457
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 = 1
L6_2 = 133210461
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 = 1
L6_2 = 133210459
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 = {}
L2_2.x = -3853.265
L2_2.y = 257.8549
L2_2.z = -541.0959
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 = ScriptLib
L4_2 = L4_2.ShowReminder
L5_2 = A0_2
L6_2 = 32100188
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_VARIABLE_CHANGE_464006 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 133210459
L6_2 = 459001
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GROUP_LOAD_464008 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 464004
L5_2 = GadgetState
L5_2 = L5_2.Default
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 = 464005
L5_2 = GadgetState
L5_2 = L5_2.Default
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_GROUP_LOAD_464008 = L2_1
L2_1 = require
L3_1 = "BlackBoxPlay/MagneticGear"
L2_1(L3_1)