mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
408 lines
7.3 KiB
Lua
408 lines
7.3 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 = 177006021
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 21001
|
|
L2_1.monster_id = 21011001
|
|
L3_1 = {}
|
|
L3_1.x = 290.422
|
|
L3_1.y = 174.921
|
|
L3_1.z = -291.002
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 95.887
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 36
|
|
L2_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L2_1.disableWander = true
|
|
L3_1 = {}
|
|
L4_1 = 1032
|
|
L3_1[1] = L4_1
|
|
L2_1.affix = L3_1
|
|
L2_1.pose_id = 32
|
|
L2_1.area_id = 210
|
|
L3_1 = {}
|
|
L3_1.config_id = 21012
|
|
L3_1.monster_id = 21010201
|
|
L4_1 = {}
|
|
L4_1.x = 300.39
|
|
L4_1.y = 174.14
|
|
L4_1.z = -287.141
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 11.408
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 36
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L3_1.disableWander = true
|
|
L4_1 = {}
|
|
L5_1 = 1032
|
|
L4_1[1] = L5_1
|
|
L3_1.affix = L4_1
|
|
L3_1.pose_id = 9012
|
|
L3_1.area_id = 210
|
|
L4_1 = {}
|
|
L4_1.config_id = 21013
|
|
L4_1.monster_id = 21010201
|
|
L5_1 = {}
|
|
L5_1.x = 299.565
|
|
L5_1.y = 174.263
|
|
L5_1.z = -280.986
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 172.383
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1.disableWander = true
|
|
L5_1 = {}
|
|
L6_1 = 1032
|
|
L5_1[1] = L6_1
|
|
L4_1.affix = L5_1
|
|
L4_1.pose_id = 9012
|
|
L4_1.area_id = 210
|
|
L5_1 = {}
|
|
L5_1.config_id = 21014
|
|
L5_1.monster_id = 21020701
|
|
L6_1 = {}
|
|
L6_1.x = 296.547
|
|
L6_1.y = 174.804
|
|
L6_1.z = -287.988
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 353.642
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 36
|
|
L5_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L5_1.disableWander = true
|
|
L6_1 = {}
|
|
L7_1 = 1032
|
|
L6_1[1] = L7_1
|
|
L5_1.affix = L6_1
|
|
L5_1.pose_id = 401
|
|
L5_1.area_id = 210
|
|
L6_1 = {}
|
|
L6_1.config_id = 21015
|
|
L6_1.monster_id = 21011001
|
|
L7_1 = {}
|
|
L7_1.x = 298.795
|
|
L7_1.y = 174.302
|
|
L7_1.z = -289.988
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 49.291
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 36
|
|
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 = 1032
|
|
L7_1[1] = L8_1
|
|
L6_1.affix = L7_1
|
|
L6_1.pose_id = 32
|
|
L6_1.area_id = 210
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 21002
|
|
L2_1.gadget_id = 70211153
|
|
L3_1 = {}
|
|
L3_1.x = 299.403
|
|
L3_1.y = 174.122
|
|
L3_1.z = -278.525
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 352.045
|
|
L3_1.y = 195.141
|
|
L3_1.z = 8.346
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 16
|
|
L2_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\184\173\231\186\167\231\168\187\229\166\187"
|
|
L3_1 = GadgetState
|
|
L3_1 = L3_1.ChestBramble
|
|
L2_1.state = L3_1
|
|
L2_1.isOneoff = true
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 210
|
|
L3_1 = {}
|
|
L3_1.config_id = 21004
|
|
L3_1.gadget_id = 70300101
|
|
L4_1 = {}
|
|
L4_1.x = 296.342
|
|
L4_1.y = 173.691
|
|
L4_1.z = -271.985
|
|
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.area_id = 210
|
|
L4_1 = {}
|
|
L4_1.config_id = 21006
|
|
L4_1.gadget_id = 70220013
|
|
L5_1 = {}
|
|
L5_1.x = 301.838
|
|
L5_1.y = 173.355
|
|
L5_1.z = -273.977
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 2.089
|
|
L5_1.y = 0.19
|
|
L5_1.z = 355.791
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.area_id = 210
|
|
L5_1 = {}
|
|
L5_1.config_id = 21007
|
|
L5_1.gadget_id = 70220013
|
|
L6_1 = {}
|
|
L6_1.x = 299.472
|
|
L6_1.y = 173.615
|
|
L6_1.z = -273.169
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 5.091
|
|
L6_1.y = 29.523
|
|
L6_1.z = 356.345
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 210
|
|
L6_1 = {}
|
|
L6_1.config_id = 21008
|
|
L6_1.gadget_id = 70300086
|
|
L7_1 = {}
|
|
L7_1.x = 300.149
|
|
L7_1.y = 173.043
|
|
L7_1.z = -290.79
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 333.317
|
|
L7_1.y = 0.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 210
|
|
L7_1 = {}
|
|
L7_1.config_id = 21009
|
|
L7_1.gadget_id = 70300086
|
|
L8_1 = {}
|
|
L8_1.x = 293.115
|
|
L8_1.y = 174.753
|
|
L8_1.z = -278.277
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 11.469
|
|
L8_1.y = 23.033
|
|
L8_1.z = 35.117
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 210
|
|
L8_1 = {}
|
|
L8_1.config_id = 21011
|
|
L8_1.gadget_id = 70300107
|
|
L9_1 = {}
|
|
L9_1.x = 301.017
|
|
L9_1.y = 174.058
|
|
L9_1.z = -283.617
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L9_1 = GadgetState
|
|
L9_1 = L9_1.GearStart
|
|
L8_1.state = L9_1
|
|
L8_1.area_id = 210
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1021003
|
|
L2_1.name = "ANY_MONSTER_DIE_21003"
|
|
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_21003"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_21003"
|
|
L2_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "flag"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L3_1.name = "state"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 21010
|
|
L3_1.monster_id = 22010201
|
|
L4_1 = {}
|
|
L4_1.x = 304.174
|
|
L4_1.y = 173.418
|
|
L4_1.z = -283.603
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 257.25
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 36
|
|
L3_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L3_1.disableWander = true
|
|
L4_1 = {}
|
|
L5_1 = 1032
|
|
L4_1[1] = L5_1
|
|
L3_1.affix = L4_1
|
|
L3_1.pose_id = 9013
|
|
L3_1.area_id = 210
|
|
L2_1[1] = L3_1
|
|
L1_1.monsters = L2_1
|
|
garbages = 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 = 21001
|
|
L5_1 = 21012
|
|
L6_1 = 21013
|
|
L7_1 = 21014
|
|
L8_1 = 21015
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L3_1[5] = L8_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 21002
|
|
L5_1 = 21004
|
|
L6_1 = 21006
|
|
L7_1 = 21007
|
|
L8_1 = 21008
|
|
L9_1 = 21009
|
|
L10_1 = 21011
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L3_1[5] = L8_1
|
|
L3_1[6] = L9_1
|
|
L3_1[7] = L10_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_21003"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_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 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "state"
|
|
L2_2 = L2_2(L3_2, L4_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_21003 = 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.SetGroupGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 177006060
|
|
L5_2 = 60003
|
|
L6_2 = GadgetState
|
|
L6_2 = L6_2.Default
|
|
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 : set_gadget_state_by_GroupId_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 = 4000
|
|
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_21003 = L1_1
|