mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
547 lines
10 KiB
Lua
547 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 = 133104689
|
|
L1_1 = {}
|
|
L1_1.group_id = 133104689
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 689002
|
|
L3_1.monster_id = 21010402
|
|
L4_1 = {}
|
|
L4_1.x = 701.194
|
|
L4_1.y = 239.217
|
|
L4_1.z = 792.729
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 82.894
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\232\191\156\231\168\139\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 = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 689003
|
|
L4_1.monster_id = 21011201
|
|
L5_1 = {}
|
|
L5_1.x = 669.063
|
|
L5_1.y = 239.76
|
|
L5_1.z = 810.052
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 197.618
|
|
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"
|
|
L5_1 = {}
|
|
L6_1 = 4145
|
|
L5_1[1] = L6_1
|
|
L4_1.affix = L5_1
|
|
L4_1.isOneoff = true
|
|
L4_1.pose_id = 9003
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 689009
|
|
L5_1.monster_id = 21020301
|
|
L6_1 = {}
|
|
L6_1.x = 685.324
|
|
L6_1.y = 239.218
|
|
L6_1.z = 797.496
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 223.458
|
|
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 = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 689011
|
|
L6_1.monster_id = 21020301
|
|
L7_1 = {}
|
|
L7_1.x = 685.052
|
|
L7_1.y = 238.964
|
|
L7_1.z = 792.437
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 4.619
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
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.pose_id = 401
|
|
L6_1.area_id = 6
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 689004
|
|
L3_1.gadget_id = 70300088
|
|
L4_1 = {}
|
|
L4_1.x = 705.104
|
|
L4_1.y = 239.314
|
|
L4_1.z = 793.425
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 171.753
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 689005
|
|
L4_1.gadget_id = 70350201
|
|
L5_1 = {}
|
|
L5_1.x = 671.614
|
|
L5_1.y = 240.893
|
|
L5_1.z = 825.249
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 19
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 689006
|
|
L5_1.gadget_id = 70350201
|
|
L6_1 = {}
|
|
L6_1.x = 646.469
|
|
L6_1.y = 240.534
|
|
L6_1.z = 827.397
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 0.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 19
|
|
L5_1.isOneoff = true
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 689007
|
|
L6_1.gadget_id = 70210114
|
|
L7_1 = {}
|
|
L7_1.x = 683.575
|
|
L7_1.y = 239.179
|
|
L7_1.z = 795.615
|
|
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 = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 689015
|
|
L7_1.gadget_id = 70300088
|
|
L8_1 = {}
|
|
L8_1.x = 705.359
|
|
L8_1.y = 239.255
|
|
L8_1.z = 791.315
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 171.753
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 6
|
|
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
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 689010
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 60
|
|
L4_1 = {}
|
|
L4_1.x = 677.828
|
|
L4_1.y = 239.662
|
|
L4_1.z = 797.235
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 6
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1689008
|
|
L3_1.name = "ANY_MONSTER_DIE_689008"
|
|
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_689008"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_689008"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1689010
|
|
L4_1.name = "ENTER_REGION_689010"
|
|
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_689010"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1689014
|
|
L5_1.name = "GADGET_STATE_CHANGE_689014"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_689014"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_689014"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1689016
|
|
L6_1.name = "GROUP_LOAD_689016"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_GROUP_LOAD
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_GROUP_LOAD_689016"
|
|
L6_1.action = "action_EVENT_GROUP_LOAD_689016"
|
|
L6_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_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 = 689001
|
|
L4_1.monster_id = 21010402
|
|
L5_1 = {}
|
|
L5_1.x = 709.41
|
|
L5_1.y = 239.256
|
|
L5_1.z = 780.189
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 119.17
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\232\191\156\231\168\139\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 = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 689012
|
|
L5_1.monster_id = 21011201
|
|
L6_1 = {}
|
|
L6_1.x = 683.736
|
|
L6_1.y = 239.181
|
|
L6_1.z = 796.221
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 124.094
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
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 = 9012
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 689013
|
|
L6_1.monster_id = 21011201
|
|
L7_1 = {}
|
|
L7_1.x = 681.718
|
|
L7_1.y = 239.339
|
|
L7_1.z = 795.745
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 104.032
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\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.pose_id = 9012
|
|
L6_1.area_id = 6
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1689017
|
|
L4_1.name = "ANY_MONSTER_DIE_689017"
|
|
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_689017"
|
|
L4_1.trigger_count = 4
|
|
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 = 689002
|
|
L6_1 = 689003
|
|
L7_1 = 689009
|
|
L8_1 = 689011
|
|
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 = 689004
|
|
L6_1 = 689005
|
|
L7_1 = 689006
|
|
L8_1 = 689015
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 689010
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_689008"
|
|
L6_1 = "ENTER_REGION_689010"
|
|
L7_1 = "GADGET_STATE_CHANGE_689014"
|
|
L8_1 = "GROUP_LOAD_689016"
|
|
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
|
|
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_689008 = 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 = 689007
|
|
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_689008 = 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_689010 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 689007 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestOpened
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_689014 = L2_1
|
|
function L2_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 = "1331046891"
|
|
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_GADGET_STATE_CHANGE_689014 = 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_689016 = 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 = 689007
|
|
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_689016 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_3/EnergyDisk"
|
|
L2_1(L3_1)
|