mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
534 lines
10 KiB
Lua
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 = 133003482
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1722
|
|
L2_1.monster_id = 20040201
|
|
L3_1 = {}
|
|
L3_1.x = 2908.459
|
|
L3_1.y = 270.63
|
|
L3_1.z = -1301.282
|
|
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 = 1
|
|
L1_1[1] = L2_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 4352
|
|
L2_1.gadget_id = 70210106
|
|
L3_1 = {}
|
|
L3_1.x = 2908.285
|
|
L3_1.y = 269.918
|
|
L3_1.z = -1301.327
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 342.291
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 26
|
|
L2_1.drop_tag = "\230\151\160\231\155\184\228\185\139\233\163\142"
|
|
L2_1.showcutscene = true
|
|
L2_1.persistent = true
|
|
L3_1 = {}
|
|
L3_1.monster_config_id = 1722
|
|
L3_1.resin = 40
|
|
L3_1.life_time = 600
|
|
L3_1.take_num = 100
|
|
L2_1.boss_chest = L3_1
|
|
L2_1.area_id = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 482003
|
|
L3_1.gadget_id = 70360081
|
|
L4_1 = {}
|
|
L4_1.x = 2926.744
|
|
L4_1.y = 272.52
|
|
L4_1.z = -1324.497
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 321.957
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.persistent = true
|
|
L3_1.mark_flag = 1
|
|
L3_1.area_id = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 482004
|
|
L4_1.gadget_id = 70360081
|
|
L5_1 = {}
|
|
L5_1.x = 2896.577
|
|
L5_1.y = 272.43
|
|
L5_1.z = -1328.308
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 23.683
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.persistent = true
|
|
L4_1.mark_flag = 1
|
|
L4_1.area_id = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 482005
|
|
L5_1.gadget_id = 70360081
|
|
L6_1 = {}
|
|
L6_1.x = 2878.712
|
|
L6_1.y = 272.47
|
|
L6_1.z = -1302.573
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 87.746
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.persistent = true
|
|
L5_1.mark_flag = 1
|
|
L5_1.area_id = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 482006
|
|
L6_1.gadget_id = 70360081
|
|
L7_1 = {}
|
|
L7_1.x = 2890.493
|
|
L7_1.y = 272.55
|
|
L7_1.z = -1277.672
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 141.827
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.persistent = true
|
|
L6_1.mark_flag = 1
|
|
L6_1.area_id = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 482007
|
|
L7_1.gadget_id = 70360081
|
|
L8_1 = {}
|
|
L8_1.x = 2918.981
|
|
L8_1.y = 272.51
|
|
L8_1.z = -1273.826
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 200.794
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.persistent = true
|
|
L7_1.mark_flag = 1
|
|
L7_1.area_id = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 482008
|
|
L8_1.gadget_id = 70360081
|
|
L9_1 = {}
|
|
L9_1.x = 2937.801
|
|
L9_1.y = 272.54
|
|
L9_1.z = -1298.916
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 268.464
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.persistent = true
|
|
L8_1.mark_flag = 1
|
|
L8_1.area_id = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 482009
|
|
L9_1.gadget_id = 70360084
|
|
L10_1 = {}
|
|
L10_1.x = 2908.349
|
|
L10_1.y = 269.87
|
|
L10_1.z = -1301.319
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 29.127
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L9_1.persistent = true
|
|
L9_1.mark_flag = 1
|
|
L9_1.area_id = 1
|
|
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 = 482002
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 35
|
|
L3_1 = {}
|
|
L3_1.x = 2907.371
|
|
L3_1.y = 269.887
|
|
L3_1.z = -1300.821
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 482010
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 45
|
|
L4_1 = {}
|
|
L4_1.x = 2907.371
|
|
L4_1.y = 269.887
|
|
L4_1.z = -1300.821
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 1
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1000586
|
|
L2_1.name = "ANY_MONSTER_DIE_586"
|
|
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_586"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_586"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1482002
|
|
L3_1.name = "ENTER_REGION_482002"
|
|
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_482002"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_482002"
|
|
L3_1.trigger_count = 0
|
|
L3_1.forbid_guest = false
|
|
L4_1 = {}
|
|
L4_1.config_id = 1482010
|
|
L4_1.name = "LEAVE_REGION_482010"
|
|
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_482010"
|
|
L4_1.action = "action_EVENT_LEAVE_REGION_482010"
|
|
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 = 482001
|
|
L3_1.gadget_id = 71000007
|
|
L4_1 = {}
|
|
L4_1.x = 2907.521
|
|
L4_1.y = 269.887
|
|
L4_1.z = -1301.325
|
|
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 = 30
|
|
L3_1.area_id = 1
|
|
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 = 1722
|
|
L3_1[1] = L4_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 482003
|
|
L5_1 = 482004
|
|
L6_1 = 482005
|
|
L7_1 = 482006
|
|
L8_1 = 482007
|
|
L9_1 = 482008
|
|
L10_1 = 482009
|
|
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 = 482002
|
|
L5_1 = 482010
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_586"
|
|
L5_1 = "ENTER_REGION_482002"
|
|
L6_1 = "LEAVE_REGION_482010"
|
|
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_586 = 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 = 4352
|
|
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 = 482009
|
|
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 = 482003
|
|
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 = 482004
|
|
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 = 482005
|
|
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 = 482006
|
|
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 = 482007
|
|
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 = 482008
|
|
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_586 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 482002 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_482002 = 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 == 482002 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 == 482010 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_482002 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 482010 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_LEAVE_REGION_482010 = 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 = 482002
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_LEAVE_REGION_482010 = L1_1
|
|
L1_1 = require
|
|
L2_1 = "TD_Lib"
|
|
L1_1(L2_1)
|