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

490 lines
9.6 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1
L0_1 = {}
L0_1.group_id = 133104438
L1_1 = {}
L2_1 = {}
L2_1.config_id = 438001
L2_1.monster_id = 22010301
L3_1 = {}
L3_1.x = 874.458
L3_1.y = 238.804
L3_1.z = 855.358
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 60.832
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 19
L2_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
L2_1.area_id = 6
L3_1 = {}
L3_1.config_id = 438007
L3_1.monster_id = 21010701
L4_1 = {}
L4_1.x = 895.633
L4_1.y = 238.056
L4_1.z = 854.424
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 286.994
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 19
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L3_1.area_id = 6
L4_1 = {}
L4_1.config_id = 438008
L4_1.monster_id = 21010701
L5_1 = {}
L5_1.x = 893.73
L5_1.y = 238.171
L5_1.z = 865.741
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 247.433
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 19
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L4_1.area_id = 6
L5_1 = {}
L5_1.config_id = 438009
L5_1.monster_id = 21010701
L6_1 = {}
L6_1.x = 879.184
L6_1.y = 238.33
L6_1.z = 850.704
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 41.56
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 19
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.area_id = 6
L6_1 = {}
L6_1.config_id = 438010
L6_1.monster_id = 21010701
L7_1 = {}
L7_1.x = 879.908
L7_1.y = 238.575
L7_1.z = 867.304
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 138.519
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 19
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.area_id = 6
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 438002
L2_1.gadget_id = 70211021
L3_1 = {}
L3_1.x = 885.388
L3_1.y = 238.946
L3_1.z = 858.492
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.644
L3_1.y = 150.708
L3_1.z = 359.504
L2_1.rot = L3_1
L2_1.level = 16
L2_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\146\131\230\156\136"
L3_1 = GadgetState
L3_1 = L3_1.ChestLocked
L2_1.state = L3_1
L2_1.isOneoff = true
L2_1.persistent = true
L3_1 = {}
L3_1.name = "chest"
L3_1.exp = 1
L2_1.explore = L3_1
L2_1.area_id = 6
L3_1 = {}
L3_1.config_id = 438004
L3_1.gadget_id = 70800009
L4_1 = {}
L4_1.x = 885.365
L4_1.y = 238.893
L4_1.z = 858.476
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.207
L4_1.y = 310.855
L4_1.z = 359.835
L3_1.rot = L4_1
L3_1.level = 19
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 6
L1_1[1] = L2_1
L1_1[2] = L3_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 438011
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 14.5
L3_1 = {}
L3_1.x = 885.457
L3_1.y = 238.997
L3_1.z = 858.414
L2_1.pos = L3_1
L2_1.area_id = 6
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1438003
L2_1.name = "ANY_MONSTER_DIE_438003"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_438003"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_438003"
L3_1 = {}
L3_1.config_id = 1438005
L3_1.name = "GADGET_STATE_CHANGE_438005"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_438005"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_438005"
L4_1 = {}
L4_1.config_id = 1438006
L4_1.name = "GROUP_LOAD_438006"
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_438006"
L4_1.action = "action_EVENT_GROUP_LOAD_438006"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1438011
L5_1.name = "ENTER_REGION_438011"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_438011"
L5_1.action = "action_EVENT_ENTER_REGION_438011"
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 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "flag"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_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 = 438002
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 438011
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_438003"
L5_1 = "GROUP_LOAD_438006"
L6_1 = "ENTER_REGION_438011"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 438001
L6_1 = 438007
L7_1 = 438008
L8_1 = 438009
L9_1 = 438010
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
L3_1.monsters = L4_1
L4_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, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "flag"
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_ANY_MONSTER_DIE_438003 = 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 = "flag"
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 438002
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.MarkPlayerAction
L3_2 = A0_2
L4_2 = 4000
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 438004
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 : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_438003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 438004 == 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_438005 = 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.PlayCutScene
L3_2 = A0_2
L4_2 = 133104440
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 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 133104440
L5_2 = 440004
L6_2 = GadgetState
L6_2 = L6_2.GearStart
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_gadget_state_by_GroupId_ConfigId"
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_438005 = 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 = "flag"
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_438006 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 438002
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_438006 = 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 ~= 438011 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 = true
return L2_2
end
condition_EVENT_ENTER_REGION_438011 = 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 = 133104438
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 438004
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 = 0
return L2_2
end
action_EVENT_ENTER_REGION_438011 = L1_1