mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
508 lines
9.2 KiB
Lua
508 lines
9.2 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 = 133105066
|
|
L1_1 = {}
|
|
L1_1.group_id = 133105066
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 66001
|
|
L3_1.monster_id = 21010201
|
|
L4_1 = {}
|
|
L4_1.x = 475.427
|
|
L4_1.y = 200.304
|
|
L4_1.z = -355.221
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 108.521
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L3_1.disableWander = true
|
|
L4_1 = {}
|
|
L5_1 = 4145
|
|
L4_1[1] = L5_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isOneoff = true
|
|
L3_1.pose_id = 9013
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 66002
|
|
L4_1.monster_id = 21010201
|
|
L5_1 = {}
|
|
L5_1.x = 474.813
|
|
L5_1.y = 200.149
|
|
L5_1.z = -358.075
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 102.543
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1.disableWander = true
|
|
L5_1 = {}
|
|
L6_1 = 4145
|
|
L5_1[1] = L6_1
|
|
L4_1.affix = L5_1
|
|
L4_1.isOneoff = true
|
|
L4_1.pose_id = 9013
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 66003
|
|
L5_1.monster_id = 21020301
|
|
L6_1 = {}
|
|
L6_1.x = 471.939
|
|
L6_1.y = 200.484
|
|
L6_1.z = -346.639
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 192.727
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L5_1.disableWander = true
|
|
L6_1 = {}
|
|
L7_1 = 4145
|
|
L6_1[1] = L7_1
|
|
L5_1.affix = L6_1
|
|
L5_1.isOneoff = true
|
|
L5_1.pose_id = 401
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 66005
|
|
L6_1.monster_id = 21010401
|
|
L7_1 = {}
|
|
L7_1.x = 466.269
|
|
L7_1.y = 200.878
|
|
L7_1.z = -361.967
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 216.398
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L6_1.disableWander = true
|
|
L7_1 = {}
|
|
L8_1 = 4145
|
|
L7_1[1] = L8_1
|
|
L6_1.affix = L7_1
|
|
L6_1.isOneoff = true
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 66012
|
|
L7_1.monster_id = 21010401
|
|
L8_1 = {}
|
|
L8_1.x = 463.645
|
|
L8_1.y = 200.635
|
|
L8_1.z = -360.404
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 208.944
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L7_1.disableWander = true
|
|
L8_1 = {}
|
|
L9_1 = 4145
|
|
L8_1[1] = L9_1
|
|
L7_1.affix = L8_1
|
|
L7_1.isOneoff = true
|
|
L7_1.pose_id = 9016
|
|
L7_1.area_id = 9
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 66006
|
|
L3_1.gadget_id = 70350201
|
|
L4_1 = {}
|
|
L4_1.x = 474.539
|
|
L4_1.y = 201.498
|
|
L4_1.z = -369.664
|
|
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 = 1
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 66007
|
|
L4_1.gadget_id = 70300081
|
|
L5_1 = {}
|
|
L5_1.x = 479.705
|
|
L5_1.y = 200.038
|
|
L5_1.z = -357.531
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 11.292
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 66008
|
|
L5_1.gadget_id = 70300081
|
|
L6_1 = {}
|
|
L6_1.x = 461.573
|
|
L6_1.y = 200.397
|
|
L6_1.z = -365.356
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 137.215
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 66009
|
|
L6_1.gadget_id = 70210114
|
|
L7_1 = {}
|
|
L7_1.x = 473.546
|
|
L7_1.y = 200.38
|
|
L7_1.z = -352.791
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 0.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.isOneoff = true
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 66013
|
|
L7_1.gadget_id = 70300088
|
|
L8_1 = {}
|
|
L8_1.x = 464.325
|
|
L8_1.y = 200.662
|
|
L8_1.z = -364.549
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 306.355
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 9
|
|
L8_1 = {}
|
|
L8_1.config_id = 66014
|
|
L8_1.gadget_id = 70300088
|
|
L9_1 = {}
|
|
L9_1.x = 461.919
|
|
L9_1.y = 200.473
|
|
L9_1.z = -362.892
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 306.355
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 9
|
|
L9_1 = {}
|
|
L9_1.config_id = 66015
|
|
L9_1.gadget_id = 70300091
|
|
L10_1 = {}
|
|
L10_1.x = 474.587
|
|
L10_1.y = 201.513
|
|
L10_1.z = -369.74
|
|
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 = 1
|
|
L9_1.area_id = 9
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 66011
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 40
|
|
L4_1 = {}
|
|
L4_1.x = 467.651
|
|
L4_1.y = 200.312
|
|
L4_1.z = -353.716
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 9
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1066010
|
|
L3_1.name = "ANY_MONSTER_DIE_66010"
|
|
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_66010"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_66010"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1066011
|
|
L4_1.name = "ENTER_REGION_66011"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_ENTER_REGION_66011"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1066016
|
|
L5_1.name = "GROUP_LOAD_66016"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GROUP_LOAD
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GROUP_LOAD_66016"
|
|
L5_1.action = "action_EVENT_GROUP_LOAD_66016"
|
|
L5_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "CHEST_CREATED"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L4_1 = {}
|
|
L4_1.configId = 2
|
|
L4_1.name = "KILL"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 66004
|
|
L4_1.monster_id = 21020301
|
|
L5_1 = {}
|
|
L5_1.x = 467.059
|
|
L5_1.y = 200.512
|
|
L5_1.z = -347.742
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 148.102
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L4_1.disableWander = true
|
|
L5_1 = {}
|
|
L6_1 = 4145
|
|
L5_1[1] = L6_1
|
|
L4_1.affix = L5_1
|
|
L4_1.isOneoff = true
|
|
L4_1.area_id = 9
|
|
L3_1[1] = L4_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1066017
|
|
L4_1.name = "ANY_MONSTER_DIE_66017"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_66017"
|
|
L4_1.trigger_count = 5
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
garbages = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 66001
|
|
L6_1 = 66002
|
|
L7_1 = 66003
|
|
L8_1 = 66005
|
|
L9_1 = 66012
|
|
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
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 66006
|
|
L6_1 = 66007
|
|
L7_1 = 66008
|
|
L8_1 = 66013
|
|
L9_1 = 66014
|
|
L10_1 = 66015
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 66011
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_66010"
|
|
L6_1 = "ENTER_REGION_66011"
|
|
L7_1 = "GROUP_LOAD_66016"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
suites = L2_1
|
|
function L2_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_66010 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "CHEST_CREATED"
|
|
L5_2 = 1
|
|
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_groupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateChannellerSlabCampRewardGadget
|
|
L3_2 = A0_2
|
|
L4_2 = 66009
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_66010 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AssignPlayerShowTemplateReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 149
|
|
L5_2 = {}
|
|
L6_2 = {}
|
|
L5_2.param_uid_vec = L6_2
|
|
L6_2 = {}
|
|
L5_2.param_vec = L6_2
|
|
L6_2 = {}
|
|
L7_2 = A0_2.uid
|
|
L6_2[1] = L7_2
|
|
L5_2.uid_vec = L6_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_66011 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "CHEST_CREATED"
|
|
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_GROUP_LOAD_66016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateChannellerSlabCampRewardGadget
|
|
L3_2 = A0_2
|
|
L4_2 = 66009
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_66016 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_3/EnergyDisk"
|
|
L2_1(L3_1)
|