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

534 lines
10 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 = 133001313
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1372
L2_1.monster_id = 20040101
L3_1 = {}
L3_1.x = 1308.95
L3_1.y = 331.783
L3_1.z = -1942.339
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 = 36
L2_1.drop_id = 1000100
L2_1.area_id = 2
L1_1[1] = L2_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3279
L2_1.gadget_id = 70210106
L3_1 = {}
L3_1.x = 1309.352
L3_1.y = 330.01
L3_1.z = -1942.557
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 = 11
L2_1.drop_tag = "\230\151\160\231\155\184\228\185\139\233\155\183"
L2_1.showcutscene = true
L2_1.persistent = true
L3_1 = {}
L3_1.monster_config_id = 1372
L3_1.resin = 40
L3_1.life_time = 600
L3_1.take_num = 100
L2_1.boss_chest = L3_1
L2_1.area_id = 2
L3_1 = {}
L3_1.config_id = 313001
L3_1.gadget_id = 70360082
L4_1 = {}
L4_1.x = 1304.33
L4_1.y = 332.53
L4_1.z = -1913.64
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 165.827
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 15
L3_1.persistent = true
L3_1.mark_flag = 1
L3_1.area_id = 2
L4_1 = {}
L4_1.config_id = 313002
L4_1.gadget_id = 70360085
L5_1 = {}
L5_1.x = 1309.3
L5_1.y = 330.01
L5_1.z = -1942.6
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 15
L4_1.persistent = true
L4_1.mark_flag = 1
L4_1.area_id = 2
L5_1 = {}
L5_1.config_id = 313003
L5_1.gadget_id = 70360082
L6_1 = {}
L6_1.x = 1333.3
L6_1.y = 332.577
L6_1.z = -1925.36
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 237.437
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 15
L5_1.persistent = true
L5_1.mark_flag = 1
L5_1.area_id = 2
L6_1 = {}
L6_1.config_id = 313004
L6_1.gadget_id = 70360082
L7_1 = {}
L7_1.x = 1337.17
L7_1.y = 332.54
L7_1.z = -1953.04
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 290.93
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 15
L6_1.persistent = true
L6_1.mark_flag = 1
L6_1.area_id = 2
L7_1 = {}
L7_1.config_id = 313005
L7_1.gadget_id = 70360082
L8_1 = {}
L8_1.x = 1313.19
L8_1.y = 332.661
L8_1.z = -1971.98
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 355.017
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 15
L7_1.persistent = true
L7_1.mark_flag = 1
L7_1.area_id = 2
L8_1 = {}
L8_1.config_id = 313006
L8_1.gadget_id = 70360082
L9_1 = {}
L9_1.x = 1284.55
L9_1.y = 332.669
L9_1.z = -1958.95
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 56.719
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 15
L8_1.persistent = true
L8_1.mark_flag = 1
L8_1.area_id = 2
L9_1 = {}
L9_1.config_id = 313007
L9_1.gadget_id = 70360082
L10_1 = {}
L10_1.x = 1281.81
L10_1.y = 332.679
L10_1.z = -1931.54
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 110.801
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 15
L9_1.persistent = true
L9_1.mark_flag = 1
L9_1.area_id = 2
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 = 313009
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 35
L3_1 = {}
L3_1.x = 1307.247
L3_1.y = 330.026
L3_1.z = -1943.044
L2_1.pos = L3_1
L2_1.area_id = 2
L3_1 = {}
L3_1.config_id = 313010
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 45
L4_1 = {}
L4_1.x = 1307.717
L4_1.y = 330.026
L4_1.z = -1943.867
L3_1.pos = L4_1
L3_1.area_id = 2
L1_1[1] = L2_1
L1_1[2] = L3_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000488
L2_1.name = "ANY_MONSTER_DIE_488"
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_488"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_488"
L3_1 = {}
L3_1.config_id = 1313009
L3_1.name = "ENTER_REGION_313009"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = "1"
L3_1.condition = "condition_EVENT_ENTER_REGION_313009"
L3_1.action = "action_EVENT_ENTER_REGION_313009"
L3_1.trigger_count = 0
L3_1.forbid_guest = false
L4_1 = {}
L4_1.config_id = 1313010
L4_1.name = "LEAVE_REGION_313010"
L5_1 = EventType
L5_1 = L5_1.EVENT_LEAVE_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_LEAVE_REGION_313010"
L4_1.action = "action_EVENT_LEAVE_REGION_313010"
L4_1.trigger_count = 0
L4_1.forbid_guest = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 313008
L3_1.gadget_id = 71000007
L4_1 = {}
L4_1.x = 1308.609
L4_1.y = 330.027
L4_1.z = -1942.382
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 = 15
L3_1.area_id = 2
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = 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 = {}
L4_1 = 1372
L3_1[1] = L4_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 313001
L5_1 = 313002
L6_1 = 313003
L7_1 = 313004
L8_1 = 313005
L9_1 = 313006
L10_1 = 313007
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.gadgets = L3_1
L3_1 = {}
L4_1 = 313009
L5_1 = 313010
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_488"
L5_1 = "ENTER_REGION_313009"
L6_1 = "LEAVE_REGION_313010"
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
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_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 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_488 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 3279
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 313002
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 = 313001
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 = 313003
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 = 313004
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 = 313005
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 = 313006
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 = 313007
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_ANY_MONSTER_DIE_488 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 313009 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_313009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
L2_2 = A0_2.uid
if L2_2 ~= 0 then
L2_2 = {}
L3_2 = {}
L4_2 = 1
L5_2 = regions
L5_2 = #L5_2
L6_2 = 1
for L7_2 = L4_2, L5_2, L6_2 do
L8_2 = regions
L8_2 = L8_2[L7_2]
L8_2 = L8_2.config_id
if L8_2 == 313009 then
L8_2 = regions
L2_2 = L8_2[L7_2]
end
L8_2 = regions
L8_2 = L8_2[L7_2]
L8_2 = L8_2.config_id
if L8_2 == 313010 then
L8_2 = regions
L3_2 = L8_2[L7_2]
end
end
L4_2 = TrySetPlayerEyePoint
L5_2 = A0_2
L6_2 = L2_2
L7_2 = L3_2
L8_2 = 0
L9_2 = {}
L10_2 = 0
L9_2[1] = L10_2
L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_313009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 313010 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_313010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A0_2.uid
if L2_2 ~= 0 then
L2_2 = ScriptLib
L2_2 = L2_2.ClearPlayerEyePoint
L3_2 = A0_2
L4_2 = 313009
L2_2(L3_2, L4_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_313010 = L1_1
L1_1 = require
L2_1 = "TD_Lib"
L1_1(L2_1)