mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
532 lines
9.7 KiB
Lua
532 lines
9.7 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, L11_1, L12_1, L13_1, L14_1, L15_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133106902
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 902005
|
|
L2_1.monster_id = 24010101
|
|
L3_1 = {}
|
|
L3_1.x = -204.188
|
|
L3_1.y = 234.817
|
|
L3_1.z = 1232.547
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 132.798
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 35
|
|
L2_1.drop_id = 1000100
|
|
L2_1.disableWander = true
|
|
L2_1.pose_id = 101
|
|
L2_1.area_id = 8
|
|
L1_1[1] = L2_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 902001
|
|
L2_1.gadget_id = 70710202
|
|
L3_1 = {}
|
|
L3_1.x = -129.005
|
|
L3_1.y = 224.088
|
|
L3_1.z = 1256.612
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 91.425
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 32
|
|
L2_1.area_id = 8
|
|
L3_1 = {}
|
|
L3_1.config_id = 902002
|
|
L3_1.gadget_id = 70710202
|
|
L4_1 = {}
|
|
L4_1.x = -118.828
|
|
L4_1.y = 224.859
|
|
L4_1.z = 1258.729
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 59.94
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 32
|
|
L3_1.area_id = 8
|
|
L4_1 = {}
|
|
L4_1.config_id = 902003
|
|
L4_1.gadget_id = 70710202
|
|
L5_1 = {}
|
|
L5_1.x = -168.108
|
|
L5_1.y = 234.589
|
|
L5_1.z = 1245.26
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 56.597
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 32
|
|
L4_1.area_id = 8
|
|
L5_1 = {}
|
|
L5_1.config_id = 902004
|
|
L5_1.gadget_id = 70710202
|
|
L6_1 = {}
|
|
L6_1.x = -124.132
|
|
L6_1.y = 223.92
|
|
L6_1.z = 1256.811
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 79.007
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 32
|
|
L5_1.area_id = 8
|
|
L6_1 = {}
|
|
L6_1.config_id = 902010
|
|
L6_1.gadget_id = 70710202
|
|
L7_1 = {}
|
|
L7_1.x = -103.254
|
|
L7_1.y = 227.469
|
|
L7_1.z = 1264.374
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 32.961
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 32
|
|
L6_1.area_id = 8
|
|
L7_1 = {}
|
|
L7_1.config_id = 902011
|
|
L7_1.gadget_id = 70710202
|
|
L8_1 = {}
|
|
L8_1.x = -100.307
|
|
L8_1.y = 227.452
|
|
L8_1.z = 1269.826
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 31.312
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 32
|
|
L7_1.area_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 902012
|
|
L8_1.gadget_id = 70710202
|
|
L9_1 = {}
|
|
L9_1.x = -151.945
|
|
L9_1.y = 231.533
|
|
L9_1.z = 1248.872
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 6.226
|
|
L9_1.y = 71.129
|
|
L9_1.z = 5.482
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 32
|
|
L8_1.area_id = 8
|
|
L9_1 = {}
|
|
L9_1.config_id = 902013
|
|
L9_1.gadget_id = 70710202
|
|
L10_1 = {}
|
|
L10_1.x = -143.345
|
|
L10_1.y = 228.758
|
|
L10_1.z = 1254.05
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 66.921
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 32
|
|
L9_1.area_id = 8
|
|
L10_1 = {}
|
|
L10_1.config_id = 902014
|
|
L10_1.gadget_id = 70710202
|
|
L11_1 = {}
|
|
L11_1.x = -149.144
|
|
L11_1.y = 230.766
|
|
L11_1.z = 1251.383
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 58.02
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 32
|
|
L10_1.area_id = 8
|
|
L11_1 = {}
|
|
L11_1.config_id = 902015
|
|
L11_1.gadget_id = 70710202
|
|
L12_1 = {}
|
|
L12_1.x = -175.498
|
|
L12_1.y = 234.589
|
|
L12_1.z = 1237.225
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 52.832
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 32
|
|
L11_1.area_id = 8
|
|
L12_1 = {}
|
|
L12_1.config_id = 902016
|
|
L12_1.gadget_id = 70710202
|
|
L13_1 = {}
|
|
L13_1.x = -181.816
|
|
L13_1.y = 234.589
|
|
L13_1.z = 1233.545
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 62.089
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 32
|
|
L12_1.area_id = 8
|
|
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
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 902006
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 15
|
|
L3_1 = {}
|
|
L3_1.x = -115.093
|
|
L3_1.y = 226.247
|
|
L3_1.z = 1264.131
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 8
|
|
L3_1 = {}
|
|
L3_1.config_id = 902007
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 8
|
|
L4_1 = {}
|
|
L4_1.x = -148.758
|
|
L4_1.y = 230.666
|
|
L4_1.z = 1252.845
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 8
|
|
L4_1 = {}
|
|
L4_1.config_id = 902008
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 10
|
|
L5_1 = {}
|
|
L5_1.x = -175.77
|
|
L5_1.y = 234.589
|
|
L5_1.z = 1239.574
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 8
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1902006
|
|
L2_1.name = "ENTER_REGION_902006"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_ENTER_REGION
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_ENTER_REGION_902006"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_902006"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1902007
|
|
L3_1.name = "ENTER_REGION_902007"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ENTER_REGION
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ENTER_REGION_902007"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_902007"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1902008
|
|
L4_1.name = "ENTER_REGION_902008"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ENTER_REGION_902008"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_902008"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1902009
|
|
L5_1.name = "ANY_MONSTER_DIE_902009"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_902009"
|
|
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_902009"
|
|
L5_1.trigger_count = 0
|
|
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 = {}
|
|
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 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L2_1.ban_refresh = true
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 902005
|
|
L4_1[1] = L5_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 902001
|
|
L6_1 = 902002
|
|
L7_1 = 902003
|
|
L8_1 = 902004
|
|
L9_1 = 902010
|
|
L10_1 = 902011
|
|
L11_1 = 902012
|
|
L12_1 = 902013
|
|
L13_1 = 902014
|
|
L14_1 = 902015
|
|
L15_1 = 902016
|
|
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
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 902006
|
|
L6_1 = 902007
|
|
L7_1 = 902008
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_902006"
|
|
L6_1 = "ENTER_REGION_902007"
|
|
L7_1 = "ENTER_REGION_902008"
|
|
L8_1 = "ANY_MONSTER_DIE_902009"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L3_1.ban_refresh = true
|
|
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, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 902006 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_902006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "13310690201"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_902006 = 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 ~= 902007 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_902007 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "13310690202"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_902007 = 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 ~= 902008 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_902008 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "13310690203"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_902008 = 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_902009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "13310690204"
|
|
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 : add_quest_progress"
|
|
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_902009 = L1_1
|