mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
464 lines
8.1 KiB
Lua
464 lines
8.1 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 = 133003580
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 580011
|
|
L2_1.monster_id = 20011201
|
|
L3_1 = {}
|
|
L3_1.x = 2249.184
|
|
L3_1.y = 211.724
|
|
L3_1.z = -1136.889
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 17.749
|
|
L3_1.y = 347.47
|
|
L3_1.z = 352.937
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 12
|
|
L2_1.drop_id = 1000100
|
|
L2_1.disableWander = true
|
|
L2_1.area_id = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 580013
|
|
L3_1.monster_id = 21010601
|
|
L4_1 = {}
|
|
L4_1.x = 2248.107
|
|
L4_1.y = 210.949
|
|
L4_1.z = -1135.882
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 151.223
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 12
|
|
L3_1.drop_id = 1000100
|
|
L3_1.disableWander = true
|
|
L3_1.pose_id = 9011
|
|
L3_1.area_id = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 580028
|
|
L4_1.monster_id = 21010201
|
|
L5_1 = {}
|
|
L5_1.x = 2251.959
|
|
L5_1.y = 209.176
|
|
L5_1.z = -1130.25
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 319.217
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 12
|
|
L4_1.drop_id = 1000100
|
|
L4_1.area_id = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 580029
|
|
L5_1.monster_id = 21010601
|
|
L6_1 = {}
|
|
L6_1.x = 2232.386
|
|
L6_1.y = 210.349
|
|
L6_1.z = -1125.293
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 151.223
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 12
|
|
L5_1.drop_id = 1000100
|
|
L5_1.disableWander = true
|
|
L5_1.pose_id = 9003
|
|
L5_1.area_id = 1
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 580001
|
|
L2_1.gadget_id = 70300081
|
|
L3_1 = {}
|
|
L3_1.x = 2226.873
|
|
L3_1.y = 208.418
|
|
L3_1.z = -1120.701
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 1.519
|
|
L3_1.y = 268.76
|
|
L3_1.z = 347.63
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 2
|
|
L2_1.area_id = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 580002
|
|
L3_1.gadget_id = 70300081
|
|
L4_1 = {}
|
|
L4_1.x = 2239.248
|
|
L4_1.y = 208.86
|
|
L4_1.z = -1125.099
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 295.145
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 2
|
|
L3_1.area_id = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 580003
|
|
L4_1.gadget_id = 70300081
|
|
L5_1 = {}
|
|
L5_1.x = 2251.604
|
|
L5_1.y = 209.542
|
|
L5_1.z = -1132.451
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 299.297
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 2
|
|
L4_1.area_id = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 580004
|
|
L5_1.gadget_id = 70300085
|
|
L6_1 = {}
|
|
L6_1.x = 2236.631
|
|
L6_1.y = 209.978
|
|
L6_1.z = -1130.244
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 9.727
|
|
L6_1.y = 359.654
|
|
L6_1.z = 355.538
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 2
|
|
L5_1.area_id = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 580005
|
|
L6_1.gadget_id = 70300102
|
|
L7_1 = {}
|
|
L7_1.x = 2248.774
|
|
L7_1.y = 210.97
|
|
L7_1.z = -1137.471
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 18.937
|
|
L7_1.y = 359.403
|
|
L7_1.z = 356.424
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 2
|
|
L6_1.area_id = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 580006
|
|
L7_1.gadget_id = 70220035
|
|
L8_1 = {}
|
|
L8_1.x = 2236.765
|
|
L8_1.y = 210.389
|
|
L8_1.z = -1129.969
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 32.198
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 2
|
|
L7_1.persistent = true
|
|
L7_1.area_id = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 580007
|
|
L8_1.gadget_id = 70220035
|
|
L9_1 = {}
|
|
L9_1.x = 2251.767
|
|
L9_1.y = 211.735
|
|
L9_1.z = -1139.826
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 47.257
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 2
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 580008
|
|
L9_1.gadget_id = 70300087
|
|
L10_1 = {}
|
|
L10_1.x = 2226.51
|
|
L10_1.y = 208.956
|
|
L10_1.z = -1123.895
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 0.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 2
|
|
L9_1.area_id = 1
|
|
L10_1 = {}
|
|
L10_1.config_id = 580009
|
|
L10_1.gadget_id = 70220035
|
|
L11_1 = {}
|
|
L11_1.x = 2224.671
|
|
L11_1.y = 209.124
|
|
L11_1.z = -1125.009
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 0.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 2
|
|
L10_1.persistent = true
|
|
L10_1.area_id = 1
|
|
L11_1 = {}
|
|
L11_1.config_id = 580010
|
|
L11_1.gadget_id = 70300087
|
|
L12_1 = {}
|
|
L12_1.x = 2249.166
|
|
L12_1.y = 211.291
|
|
L12_1.z = -1137.051
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 18.785
|
|
L12_1.y = 359.455
|
|
L12_1.z = 356.706
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 2
|
|
L11_1.area_id = 1
|
|
L12_1 = {}
|
|
L12_1.config_id = 580012
|
|
L12_1.gadget_id = 70220035
|
|
L13_1 = {}
|
|
L13_1.x = 2232.566
|
|
L13_1.y = 210.043
|
|
L13_1.z = -1129.089
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 55.427
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 2
|
|
L12_1.persistent = true
|
|
L12_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
|
|
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 = 580020
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 22
|
|
L3_1 = {}
|
|
L3_1.x = 2237.232
|
|
L3_1.y = 210.711
|
|
L3_1.z = -1132.019
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 1
|
|
L1_1[1] = L2_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1580014
|
|
L2_1.name = "ANY_MONSTER_DIE_580014"
|
|
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_580014"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_580014"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1580020
|
|
L3_1.name = "ENTER_REGION_580020"
|
|
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_580020"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_580020"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "gadgetNum"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L3_1.name = "QQNum"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = false
|
|
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 = {}
|
|
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
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 580011
|
|
L6_1 = 580013
|
|
L7_1 = 580028
|
|
L8_1 = 580029
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 580001
|
|
L6_1 = 580002
|
|
L7_1 = 580003
|
|
L8_1 = 580004
|
|
L9_1 = 580005
|
|
L10_1 = 580006
|
|
L11_1 = 580007
|
|
L12_1 = 580008
|
|
L13_1 = 580009
|
|
L14_1 = 580010
|
|
L15_1 = 580012
|
|
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 = 580020
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_580014"
|
|
L6_1 = "ENTER_REGION_580020"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_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
|
|
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_580014 = 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 = "1330035801"
|
|
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_580014 = 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 ~= 580020 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_580020 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = {}
|
|
L2_2.x = 2237
|
|
L2_2.y = 210
|
|
L2_2.z = -1132
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminderRadius
|
|
L4_2 = A0_2
|
|
L5_2 = 1110150
|
|
L6_2 = L2_2
|
|
L7_2 = 25
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_580020 = L1_1
|