mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
490 lines
9.2 KiB
Lua
490 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133104674
|
|
L1_1 = {}
|
|
L1_1.group_id = 133104674
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 674001
|
|
L3_1.monster_id = 25020201
|
|
L4_1 = {}
|
|
L4_1.x = 1142.139
|
|
L4_1.y = 211.341
|
|
L4_1.z = 843.907
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 130.247
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
|
|
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 = 9009
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 674003
|
|
L4_1.monster_id = 25060101
|
|
L5_1 = {}
|
|
L5_1.x = 1144.898
|
|
L5_1.y = 211.572
|
|
L5_1.z = 841.894
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 273.372
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
|
|
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 = 9006
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 674004
|
|
L5_1.monster_id = 25010201
|
|
L6_1 = {}
|
|
L6_1.x = 1142.427
|
|
L6_1.y = 211.324
|
|
L6_1.z = 852.939
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 148.57
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
|
|
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 = 9004
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 674006
|
|
L6_1.monster_id = 25010201
|
|
L7_1 = {}
|
|
L7_1.x = 1141.274
|
|
L7_1.y = 210.891
|
|
L7_1.z = 849.741
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 86.894
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
|
|
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 = 9004
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 674011
|
|
L7_1.monster_id = 25030201
|
|
L8_1 = {}
|
|
L8_1.x = 1145.096
|
|
L8_1.y = 211.357
|
|
L8_1.z = 850.345
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 279.515
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
|
|
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 = 9002
|
|
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 = 674005
|
|
L3_1.gadget_id = 70350201
|
|
L4_1 = {}
|
|
L4_1.x = 1153.655
|
|
L4_1.y = 211.942
|
|
L4_1.z = 849.156
|
|
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 = 674007
|
|
L4_1.gadget_id = 70210114
|
|
L5_1 = {}
|
|
L5_1.x = 1139.162
|
|
L5_1.y = 210.569
|
|
L5_1.z = 846.17
|
|
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 = 674012
|
|
L5_1.gadget_id = 70310006
|
|
L6_1 = {}
|
|
L6_1.x = 1143.358
|
|
L6_1.y = 211.243
|
|
L6_1.z = 850.642
|
|
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 = 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 = 674010
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 40
|
|
L4_1 = {}
|
|
L4_1.x = 1144.681
|
|
L4_1.y = 211.254
|
|
L4_1.z = 848.688
|
|
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 = 1674008
|
|
L3_1.name = "ANY_MONSTER_DIE_674008"
|
|
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_674008"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_674008"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1674009
|
|
L4_1.name = "GADGET_STATE_CHANGE_674009"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_674009"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_674009"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1674010
|
|
L5_1.name = "ENTER_REGION_674010"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_ENTER_REGION
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_ENTER_REGION_674010"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1674013
|
|
L6_1.name = "GROUP_LOAD_674013"
|
|
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_674013"
|
|
L6_1.action = "action_EVENT_GROUP_LOAD_674013"
|
|
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 = 674002
|
|
L4_1.monster_id = 25010401
|
|
L5_1 = {}
|
|
L5_1.x = 1141.869
|
|
L5_1.y = 211.316
|
|
L5_1.z = 839.834
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 68.51
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
|
|
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 = 9009
|
|
L4_1.area_id = 6
|
|
L3_1[1] = L4_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1674014
|
|
L4_1.name = "ANY_MONSTER_DIE_674014"
|
|
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_674014"
|
|
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 = 674001
|
|
L6_1 = 674003
|
|
L7_1 = 674004
|
|
L8_1 = 674006
|
|
L9_1 = 674011
|
|
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 = 674005
|
|
L6_1 = 674012
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 674010
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_674008"
|
|
L6_1 = "GADGET_STATE_CHANGE_674009"
|
|
L7_1 = "ENTER_REGION_674010"
|
|
L8_1 = "GROUP_LOAD_674013"
|
|
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_674008 = 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 = 674007
|
|
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_674008 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 674007 == 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_674009 = 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 = "1331046741"
|
|
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_674009 = 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_674010 = 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_674013 = 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 = 674007
|
|
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_674013 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_3/EnergyDisk"
|
|
L2_1(L3_1)
|