mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
540 lines
10 KiB
Lua
540 lines
10 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133225079
|
|
L1_1 = {}
|
|
L1_1.group_id = 133225079
|
|
L2_1 = {}
|
|
L3_1 = 7216719
|
|
L4_1 = 7216619
|
|
L5_1 = 7217226
|
|
L6_1 = 7217320
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L1_1.questList = L2_1
|
|
L2_1 = {}
|
|
L3_1 = 79004
|
|
L4_1 = 79005
|
|
L5_1 = 79006
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L1_1.chestList = L2_1
|
|
defs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 79001
|
|
L2_1.monster_id = 22010401
|
|
L3_1 = {}
|
|
L3_1.x = -6223.989
|
|
L3_1.y = 204.497
|
|
L3_1.z = -2781.433
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 1.853
|
|
L3_1.y = 354.951
|
|
L3_1.z = 2.14
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 33
|
|
L2_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L2_1.disableWander = true
|
|
L2_1.pose_id = 9013
|
|
L2_1.climate_area_id = 7
|
|
L2_1.area_id = 18
|
|
L3_1 = {}
|
|
L3_1.config_id = 79002
|
|
L3_1.monster_id = 22010401
|
|
L4_1 = {}
|
|
L4_1.x = -6253.741
|
|
L4_1.y = 202.917
|
|
L4_1.z = -2829.545
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 331.162
|
|
L4_1.y = 255.472
|
|
L4_1.z = 12.735
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 33
|
|
L3_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L3_1.disableWander = true
|
|
L3_1.pose_id = 9013
|
|
L3_1.climate_area_id = 7
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 79003
|
|
L4_1.monster_id = 22010401
|
|
L5_1 = {}
|
|
L5_1.x = -6255.508
|
|
L5_1.y = 204.212
|
|
L5_1.z = -2826.878
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 355.637
|
|
L5_1.y = 192.497
|
|
L5_1.z = 32.064
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 33
|
|
L4_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L4_1.disableWander = true
|
|
L4_1.pose_id = 9013
|
|
L4_1.climate_area_id = 7
|
|
L4_1.area_id = 18
|
|
L5_1 = {}
|
|
L5_1.config_id = 79010
|
|
L5_1.monster_id = 22010401
|
|
L6_1 = {}
|
|
L6_1.x = -6221.435
|
|
L6_1.y = 204.523
|
|
L6_1.z = -2779.927
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 290.66
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 33
|
|
L5_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L5_1.disableWander = true
|
|
L5_1.pose_id = 9013
|
|
L5_1.climate_area_id = 7
|
|
L5_1.area_id = 18
|
|
L6_1 = {}
|
|
L6_1.config_id = 79011
|
|
L6_1.monster_id = 22010401
|
|
L7_1 = {}
|
|
L7_1.x = -6238.885
|
|
L7_1.y = 207.719
|
|
L7_1.z = -2854.585
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 352.118
|
|
L7_1.y = 236.338
|
|
L7_1.z = 6.733
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 33
|
|
L6_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L6_1.disableWander = true
|
|
L6_1.pose_id = 9013
|
|
L6_1.climate_area_id = 7
|
|
L6_1.area_id = 18
|
|
L7_1 = {}
|
|
L7_1.config_id = 79012
|
|
L7_1.monster_id = 22010401
|
|
L8_1 = {}
|
|
L8_1.x = -6241.834
|
|
L8_1.y = 207.666
|
|
L8_1.z = -2852.839
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 359.895
|
|
L8_1.y = 172.28
|
|
L8_1.z = 10.759
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 33
|
|
L7_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L7_1.disableWander = true
|
|
L7_1.pose_id = 9013
|
|
L7_1.climate_area_id = 7
|
|
L7_1.area_id = 18
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 79004
|
|
L2_1.gadget_id = 70211002
|
|
L3_1 = {}
|
|
L3_1.x = -6223.806
|
|
L3_1.y = 204.409
|
|
L3_1.z = -2778.635
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 153.344
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 26
|
|
L2_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\168\187\229\166\187"
|
|
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 = 18
|
|
L3_1 = {}
|
|
L3_1.config_id = 79005
|
|
L3_1.gadget_id = 70211151
|
|
L4_1 = {}
|
|
L4_1.x = -6256.272
|
|
L4_1.y = 203.598
|
|
L4_1.z = -2829.888
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 2.123
|
|
L4_1.y = 53.454
|
|
L4_1.z = 359.319
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 26
|
|
L3_1.chest_drop_id = 21910017
|
|
L3_1.drop_count = 1
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.ChestLocked
|
|
L3_1.state = L4_1
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L4_1 = {}
|
|
L4_1.name = "chest"
|
|
L4_1.exp = 1
|
|
L3_1.explore = L4_1
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 79006
|
|
L4_1.gadget_id = 70211151
|
|
L5_1 = {}
|
|
L5_1.x = -6241.995
|
|
L5_1.y = 208.523
|
|
L5_1.z = -2857.353
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 24.722
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 26
|
|
L4_1.chest_drop_id = 21910018
|
|
L4_1.drop_count = 1
|
|
L5_1 = GadgetState
|
|
L5_1 = L5_1.ChestLocked
|
|
L4_1.state = L5_1
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L5_1 = {}
|
|
L5_1.name = "chest"
|
|
L5_1.exp = 1
|
|
L4_1.explore = L5_1
|
|
L4_1.area_id = 18
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 79013
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 5
|
|
L3_1 = {}
|
|
L3_1.x = -6240.986
|
|
L3_1.y = 207.58
|
|
L3_1.z = -2854.994
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 18
|
|
L1_1[1] = L2_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1079007
|
|
L2_1.name = "ANY_MONSTER_DIE_79007"
|
|
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_79007"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_79007"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1079008
|
|
L3_1.name = "ANY_MONSTER_DIE_79008"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_79008"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_79008"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1079009
|
|
L4_1.name = "ANY_MONSTER_DIE_79009"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_79009"
|
|
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_79009"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1079013
|
|
L5_1.name = "ENTER_REGION_79013"
|
|
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_79013"
|
|
L5_1.action = "action_EVENT_ENTER_REGION_79013"
|
|
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 = "chestState"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L3_1.name = "suiteBySeq"
|
|
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 = {}
|
|
L4_1 = 79001
|
|
L5_1 = 79010
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 79004
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_79007"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 79002
|
|
L6_1 = 79003
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 79005
|
|
L4_1[1] = L5_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_79008"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 79006
|
|
L5_1[1] = L6_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 79013
|
|
L5_1[1] = L6_1
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ANY_MONSTER_DIE_79009"
|
|
L7_1 = "ENTER_REGION_79013"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_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_79007 = 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 = 79004
|
|
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_79007 = 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_79008 = 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 = 79005
|
|
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_79008 = 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_79009 = 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 = 79006
|
|
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_79009 = 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 ~= 79013 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_79013 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 79011
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 79012
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_79013 = L1_1
|
|
L1_1 = require
|
|
L2_1 = "V2_2/DayFinishSuite"
|
|
L1_1(L2_1)
|