mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
366 lines
6.6 KiB
Lua
366 lines
6.6 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, L11_1, L12_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 166001322
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 322001
|
|
L2_1.monster_id = 26040102
|
|
L3_1 = {}
|
|
L3_1.x = 1061.404
|
|
L3_1.y = 1009.495
|
|
L3_1.z = 847.14
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 211.415
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 36
|
|
L2_1.drop_tag = "\229\178\169\233\190\153\232\156\165"
|
|
L2_1.disableWander = true
|
|
L2_1.area_id = 300
|
|
L1_1[1] = L2_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 322002
|
|
L2_1.gadget_id = 70211012
|
|
L3_1 = {}
|
|
L3_1.x = 1067.048
|
|
L3_1.y = 1014.003
|
|
L3_1.z = 836.397
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 7.798
|
|
L3_1.y = 227.703
|
|
L3_1.z = 350.603
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 26
|
|
L2_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\231\146\131\230\156\136"
|
|
L3_1 = GadgetState
|
|
L3_1 = L3_1.ChestLocked
|
|
L2_1.state = L3_1
|
|
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 = 300
|
|
L3_1 = {}
|
|
L3_1.config_id = 322005
|
|
L3_1.gadget_id = 70290324
|
|
L4_1 = {}
|
|
L4_1.x = 1064.368
|
|
L4_1.y = 1012.674
|
|
L4_1.z = 832.207
|
|
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 = 36
|
|
L3_1.area_id = 300
|
|
L4_1 = {}
|
|
L4_1.config_id = 322006
|
|
L4_1.gadget_id = 70290324
|
|
L5_1 = {}
|
|
L5_1.x = 1049.758
|
|
L5_1.y = 1009.939
|
|
L5_1.z = 841.142
|
|
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 = 36
|
|
L4_1.area_id = 300
|
|
L5_1 = {}
|
|
L5_1.config_id = 322007
|
|
L5_1.gadget_id = 70290324
|
|
L6_1 = {}
|
|
L6_1.x = 1071.585
|
|
L6_1.y = 1010.056
|
|
L6_1.z = 854.67
|
|
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 = 36
|
|
L5_1.area_id = 300
|
|
L6_1 = {}
|
|
L6_1.config_id = 322008
|
|
L6_1.gadget_id = 70290324
|
|
L7_1 = {}
|
|
L7_1.x = 1047.9
|
|
L7_1.y = 1013.291
|
|
L7_1.z = 857.597
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 301.314
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 36
|
|
L6_1.area_id = 300
|
|
L7_1 = {}
|
|
L7_1.config_id = 322009
|
|
L7_1.gadget_id = 70220048
|
|
L8_1 = {}
|
|
L8_1.x = 1042.038
|
|
L8_1.y = 1009.019
|
|
L8_1.z = 813.735
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 0.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 36
|
|
L7_1.area_id = 300
|
|
L8_1 = {}
|
|
L8_1.config_id = 322010
|
|
L8_1.gadget_id = 70220048
|
|
L9_1 = {}
|
|
L9_1.x = 1043.72
|
|
L9_1.y = 1009.055
|
|
L9_1.z = 813.515
|
|
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 = 36
|
|
L8_1.area_id = 300
|
|
L9_1 = {}
|
|
L9_1.config_id = 322011
|
|
L9_1.gadget_id = 70220048
|
|
L10_1 = {}
|
|
L10_1.x = 1045.436
|
|
L10_1.y = 1008.532
|
|
L10_1.z = 811.136
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 359.154
|
|
L10_1.y = 354.665
|
|
L10_1.z = 10.185
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 36
|
|
L9_1.area_id = 300
|
|
L10_1 = {}
|
|
L10_1.config_id = 322012
|
|
L10_1.gadget_id = 70220048
|
|
L11_1 = {}
|
|
L11_1.x = 1042.847
|
|
L11_1.y = 1010.598
|
|
L11_1.z = 813.635
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 333.419
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 36
|
|
L10_1.area_id = 300
|
|
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
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1322003
|
|
L2_1.name = "ANY_MONSTER_DIE_322003"
|
|
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_322003"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_322003"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1322013
|
|
L3_1.name = "ANY_GADGET_DIE_322013"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_322013"
|
|
L3_1.action = "action_EVENT_ANY_GADGET_DIE_322013"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 322014
|
|
L3_1.gadget_id = 70290301
|
|
L4_1 = {}
|
|
L4_1.x = 1047.288
|
|
L4_1.y = 1014.556
|
|
L4_1.z = 861.202
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.662
|
|
L4_1.y = 265.229
|
|
L4_1.z = 340.205
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 36
|
|
L3_1.isOneoff = true
|
|
L3_1.area_id = 300
|
|
L2_1[1] = L3_1
|
|
L1_1.gadgets = 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 = 322001
|
|
L3_1[1] = L4_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 322002
|
|
L5_1 = 322005
|
|
L6_1 = 322006
|
|
L7_1 = 322007
|
|
L8_1 = 322008
|
|
L9_1 = 322009
|
|
L10_1 = 322010
|
|
L11_1 = 322011
|
|
L12_1 = 322012
|
|
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
|
|
L3_1[8] = L11_1
|
|
L3_1[9] = L12_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_322003"
|
|
L5_1 = "ANY_GADGET_DIE_322013"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_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
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_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_322003 = 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 = 322002
|
|
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 = 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_322003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 322009 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_322013 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 322012
|
|
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 : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_322013 = L1_1
|