mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
513 lines
9.7 KiB
Lua
513 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133104668
|
|
L1_1 = {}
|
|
L1_1.group_id = 133104668
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 668001
|
|
L3_1.monster_id = 21010201
|
|
L4_1 = {}
|
|
L4_1.x = 979.531
|
|
L4_1.y = 238.937
|
|
L4_1.z = 921.453
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 312.813
|
|
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 = 9016
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 668002
|
|
L4_1.monster_id = 21010201
|
|
L5_1 = {}
|
|
L5_1.x = 975.766
|
|
L5_1.y = 238.735
|
|
L5_1.z = 921.312
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 44.513
|
|
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 = 9016
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 668003
|
|
L5_1.monster_id = 21020201
|
|
L6_1 = {}
|
|
L6_1.x = 972.221
|
|
L6_1.y = 238.765
|
|
L6_1.z = 917.972
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 47.528
|
|
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 = 668005
|
|
L6_1.monster_id = 21010101
|
|
L7_1 = {}
|
|
L7_1.x = 980.075
|
|
L7_1.y = 238.543
|
|
L7_1.z = 925.697
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 226.563
|
|
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 = 9016
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 668006
|
|
L7_1.monster_id = 21010101
|
|
L8_1 = {}
|
|
L8_1.x = 975.564
|
|
L8_1.y = 238.307
|
|
L8_1.z = 925.114
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 133.33
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_tag = "\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 = 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
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 668004
|
|
L3_1.gadget_id = 70350201
|
|
L4_1 = {}
|
|
L4_1.x = 995.457
|
|
L4_1.y = 242.301
|
|
L4_1.z = 905.677
|
|
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 = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 668008
|
|
L4_1.gadget_id = 70350201
|
|
L5_1 = {}
|
|
L5_1.x = 970.734
|
|
L5_1.y = 240.533
|
|
L5_1.z = 907.354
|
|
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 = 1
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 668012
|
|
L5_1.gadget_id = 70210114
|
|
L6_1 = {}
|
|
L6_1.x = 977.521
|
|
L6_1.y = 238.614
|
|
L6_1.z = 923.391
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 317.31
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.isOneoff = true
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 6
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 668015
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 40
|
|
L4_1 = {}
|
|
L4_1.x = 974.087
|
|
L4_1.y = 239.069
|
|
L4_1.z = 917.379
|
|
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 = 1668009
|
|
L3_1.name = "ANY_MONSTER_DIE_668009"
|
|
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_668009"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_668009"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1668011
|
|
L4_1.name = "GROUP_LOAD_668011"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GROUP_LOAD
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GROUP_LOAD_668011"
|
|
L4_1.action = "action_EVENT_GROUP_LOAD_668011"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1668013
|
|
L5_1.name = "GADGET_STATE_CHANGE_668013"
|
|
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_668013"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_668013"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1668015
|
|
L6_1.name = "ENTER_REGION_668015"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_ENTER_REGION
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_ENTER_REGION_668015"
|
|
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 = 668007
|
|
L4_1.monster_id = 21030401
|
|
L5_1 = {}
|
|
L5_1.x = 982.66
|
|
L5_1.y = 238.538
|
|
L5_1.z = 928.153
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 231.286
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
|
|
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 = 9012
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 668010
|
|
L5_1.monster_id = 21010401
|
|
L6_1 = {}
|
|
L6_1.x = 972.654
|
|
L6_1.y = 237.683
|
|
L6_1.z = 927.687
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 314.668
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L6_1 = {}
|
|
L7_1 = 4145
|
|
L6_1[1] = L7_1
|
|
L5_1.affix = L6_1
|
|
L5_1.isOneoff = true
|
|
L5_1.pose_id = 9016
|
|
L5_1.area_id = 6
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1668014
|
|
L4_1.name = "ANY_MONSTER_DIE_668014"
|
|
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_668014"
|
|
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 = 668001
|
|
L6_1 = 668002
|
|
L7_1 = 668003
|
|
L8_1 = 668005
|
|
L9_1 = 668006
|
|
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 = 668004
|
|
L6_1 = 668008
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 668015
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_668009"
|
|
L6_1 = "GROUP_LOAD_668011"
|
|
L7_1 = "GADGET_STATE_CHANGE_668013"
|
|
L8_1 = "ENTER_REGION_668015"
|
|
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_668009 = 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 = 668012
|
|
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_668009 = 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_668011 = 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 = 668012
|
|
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_668011 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 668012 == 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_668013 = 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 = "1331046681"
|
|
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_668013 = 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_668015 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_3/EnergyDisk"
|
|
L2_1(L3_1)
|