mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
542 lines
10 KiB
Lua
542 lines
10 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 = 133103169
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 169004
|
|
L2_1.monster_id = 21020301
|
|
L3_1 = {}
|
|
L3_1.x = 576.588
|
|
L3_1.y = 245.578
|
|
L3_1.z = 1522.205
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 32.988
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 24
|
|
L2_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L2_1.disableWander = true
|
|
L2_1.pose_id = 401
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 169007
|
|
L3_1.monster_id = 21010501
|
|
L4_1 = {}
|
|
L4_1.x = 587.16
|
|
L4_1.y = 246.113
|
|
L4_1.z = 1553.371
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 128.225
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 24
|
|
L3_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L3_1.disableWander = true
|
|
L3_1.pose_id = 32
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 169008
|
|
L4_1.monster_id = 21010501
|
|
L5_1 = {}
|
|
L5_1.x = 601.004
|
|
L5_1.y = 246.113
|
|
L5_1.z = 1542.881
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 297.836
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 24
|
|
L4_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L4_1.disableWander = true
|
|
L4_1.pose_id = 32
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 169014
|
|
L5_1.monster_id = 21010901
|
|
L6_1 = {}
|
|
L6_1.x = 579.575
|
|
L6_1.y = 245.59
|
|
L6_1.z = 1520.583
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 351.646
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 24
|
|
L5_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L5_1.disableWander = true
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 169015
|
|
L6_1.monster_id = 21011201
|
|
L7_1 = {}
|
|
L7_1.x = 590.745
|
|
L7_1.y = 239.384
|
|
L7_1.z = 1521.784
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 170.194
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 24
|
|
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L6_1.disableWander = true
|
|
L6_1.pose_id = 9003
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 169016
|
|
L7_1.monster_id = 21020201
|
|
L8_1 = {}
|
|
L8_1.x = 596.044
|
|
L8_1.y = 238.669
|
|
L8_1.z = 1551.736
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 34.984
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 24
|
|
L7_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L7_1.disableWander = true
|
|
L7_1.area_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 169018
|
|
L8_1.monster_id = 21011001
|
|
L9_1 = {}
|
|
L9_1.x = 573.509
|
|
L9_1.y = 245.578
|
|
L9_1.z = 1524.055
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 72.139
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 24
|
|
L8_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L8_1.disableWander = true
|
|
L8_1.pose_id = 9003
|
|
L8_1.area_id = 6
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 169001
|
|
L2_1.gadget_id = 70211001
|
|
L3_1 = {}
|
|
L3_1.x = 575.773
|
|
L3_1.y = 245.578
|
|
L3_1.z = 1516.684
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 32.179
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 21
|
|
L2_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\146\131\230\156\136"
|
|
L2_1.isOneoff = true
|
|
L2_1.persistent = true
|
|
L3_1 = {}
|
|
L3_1.name = "chest"
|
|
L3_1.exp = 1
|
|
L2_1.explore = L3_1
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 169002
|
|
L3_1.gadget_id = 70211022
|
|
L4_1 = {}
|
|
L4_1.x = 574.015
|
|
L4_1.y = 245.59
|
|
L4_1.z = 1517.79
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 32.179
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 21
|
|
L3_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\146\131\230\156\136"
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.ChestLocked
|
|
L3_1.state = L4_1
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L4_1 = {}
|
|
L4_1.name = "chest"
|
|
L4_1.exp = 1
|
|
L3_1.explore = L4_1
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 169009
|
|
L4_1.gadget_id = 70310009
|
|
L5_1 = {}
|
|
L5_1.x = 591.407
|
|
L5_1.y = 239.498
|
|
L5_1.z = 1520.924
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 316.316
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 24
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 169019
|
|
L5_1.gadget_id = 70211001
|
|
L6_1 = {}
|
|
L6_1.x = 572.137
|
|
L6_1.y = 245.578
|
|
L6_1.z = 1518.972
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 32.179
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 21
|
|
L5_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\146\131\230\156\136"
|
|
L5_1.isOneoff = true
|
|
L5_1.persistent = true
|
|
L6_1 = {}
|
|
L6_1.name = "chest"
|
|
L6_1.exp = 1
|
|
L5_1.explore = L6_1
|
|
L5_1.area_id = 6
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 169005
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 6
|
|
L3_1 = {}
|
|
L3_1.x = 576.767
|
|
L3_1.y = 245.59
|
|
L3_1.z = 1522.57
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 169006
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 15
|
|
L4_1 = {}
|
|
L4_1.x = 591.842
|
|
L4_1.y = 238.632
|
|
L4_1.z = 1544.537
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 6
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1169003
|
|
L2_1.name = "ANY_MONSTER_DIE_169003"
|
|
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_169003"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_169003"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1169005
|
|
L3_1.name = "ENTER_REGION_169005"
|
|
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_169005"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_169005"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1169006
|
|
L4_1.name = "ENTER_REGION_169006"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ENTER_REGION_169006"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_169006"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1169011
|
|
L5_1.name = "GADGET_STATE_CHANGE_169011"
|
|
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_169011"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_169011"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
triggers = L1_1
|
|
L1_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 = {}
|
|
L4_1 = 169004
|
|
L5_1 = 169016
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 169002
|
|
L5_1 = 169009
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 169005
|
|
L5_1 = 169006
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_169003"
|
|
L5_1 = "ENTER_REGION_169005"
|
|
L6_1 = "ENTER_REGION_169006"
|
|
L7_1 = "GADGET_STATE_CHANGE_169011"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 169014
|
|
L6_1 = 169018
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 169007
|
|
L7_1 = 169008
|
|
L8_1 = 169015
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 169001
|
|
L8_1 = 169019
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_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_169003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 169002
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 4001
|
|
L5_2 = 3
|
|
L6_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : mark_playerAction"
|
|
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_169003 = 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 ~= 169005 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_169005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133103169
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_169005 = 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 ~= 169006 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_169006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133103169
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_169006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 169002 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
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_169011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133103169
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_169011 = L1_1
|