mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
523 lines
9.8 KiB
Lua
523 lines
9.8 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 = 133222142
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 142001
|
|
L2_1.monster_id = 21030601
|
|
L3_1 = {}
|
|
L3_1.x = -4855.761
|
|
L3_1.y = 200.366
|
|
L3_1.z = -4795.923
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 147.731
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 30
|
|
L2_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
|
|
L2_1.disableWander = true
|
|
L2_1.pose_id = 9012
|
|
L2_1.area_id = 14
|
|
L3_1 = {}
|
|
L3_1.config_id = 142005
|
|
L3_1.monster_id = 21010201
|
|
L4_1 = {}
|
|
L4_1.x = -4851.429
|
|
L4_1.y = 200.259
|
|
L4_1.z = -4796.435
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 222.105
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L3_1.disableWander = true
|
|
L3_1.pose_id = 9012
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 142008
|
|
L4_1.monster_id = 21020701
|
|
L5_1 = {}
|
|
L5_1.x = -4853.667
|
|
L5_1.y = 201.584
|
|
L5_1.z = -4801.449
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 7.276
|
|
L5_1.y = 27.008
|
|
L5_1.z = 4.032
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L4_1.disableWander = true
|
|
L4_1.area_id = 14
|
|
L5_1 = {}
|
|
L5_1.config_id = 142015
|
|
L5_1.monster_id = 21010501
|
|
L6_1 = {}
|
|
L6_1.x = -4858.727
|
|
L6_1.y = 202.086
|
|
L6_1.z = -4804.595
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 40.34
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
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.pose_id = 9003
|
|
L5_1.area_id = 14
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 142002
|
|
L2_1.gadget_id = 70211001
|
|
L3_1 = {}
|
|
L3_1.x = -4853.829
|
|
L3_1.y = 201.598
|
|
L3_1.z = -4801.554
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 9.897
|
|
L3_1.y = 19.983
|
|
L3_1.z = 2.041
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 26
|
|
L2_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\168\187\229\166\187"
|
|
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 = 14
|
|
L3_1 = {}
|
|
L3_1.config_id = 142009
|
|
L3_1.gadget_id = 70300085
|
|
L4_1 = {}
|
|
L4_1.x = -4853.909
|
|
L4_1.y = 201.164
|
|
L4_1.z = -4801.763
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 355.698
|
|
L4_1.y = 235.66
|
|
L4_1.z = 352.71
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 142010
|
|
L4_1.gadget_id = 70300107
|
|
L5_1 = {}
|
|
L5_1.x = -4853.833
|
|
L5_1.y = 200.456
|
|
L5_1.z = -4798.768
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 298.778
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L5_1 = GadgetState
|
|
L5_1 = L5_1.GearStart
|
|
L4_1.state = L5_1
|
|
L4_1.area_id = 14
|
|
L5_1 = {}
|
|
L5_1.config_id = 142013
|
|
L5_1.gadget_id = 70300086
|
|
L6_1 = {}
|
|
L6_1.x = -4850.758
|
|
L6_1.y = 201.377
|
|
L6_1.z = -4807.086
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 354.025
|
|
L6_1.y = 343.812
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.area_id = 14
|
|
L6_1 = {}
|
|
L6_1.config_id = 142014
|
|
L6_1.gadget_id = 70300086
|
|
L7_1 = {}
|
|
L7_1.x = -4859.82
|
|
L7_1.y = 201.339
|
|
L7_1.z = -4805.902
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 354.025
|
|
L7_1.y = 343.812
|
|
L7_1.z = 14.01
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 14
|
|
L7_1 = {}
|
|
L7_1.config_id = 142017
|
|
L7_1.gadget_id = 70220013
|
|
L8_1 = {}
|
|
L8_1.x = -4846.523
|
|
L8_1.y = 201.444
|
|
L8_1.z = -4805.085
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 24.084
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.area_id = 14
|
|
L8_1 = {}
|
|
L8_1.config_id = 142018
|
|
L8_1.gadget_id = 70220013
|
|
L9_1 = {}
|
|
L9_1.x = -4846.002
|
|
L9_1.y = 201.063
|
|
L9_1.z = -4802.659
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 340.579
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.area_id = 14
|
|
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 = 1142003
|
|
L2_1.name = "ANY_MONSTER_DIE_142003"
|
|
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_142003"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_142003"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1142011
|
|
L3_1.name = "ANY_MONSTER_DIE_142011"
|
|
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_142011"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_142011"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1142012
|
|
L4_1.name = "GADGET_STATE_CHANGE_142012"
|
|
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_142012"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_142012"
|
|
L4_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 142007
|
|
L3_1.monster_id = 21020701
|
|
L4_1 = {}
|
|
L4_1.x = -4856.212
|
|
L4_1.y = 202.402
|
|
L4_1.z = -4801.07
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 357.457
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L3_1.disableWander = true
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 142016
|
|
L4_1.monster_id = 21010301
|
|
L5_1 = {}
|
|
L5_1.x = -4843.58
|
|
L5_1.y = 200.291
|
|
L5_1.z = -4793.426
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 1.318
|
|
L5_1.y = 313.814
|
|
L5_1.z = 2.503
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1.area_id = 14
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L1_1.monsters = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 142004
|
|
L3_1.gadget_id = 70300089
|
|
L4_1 = {}
|
|
L4_1.x = -4842.213
|
|
L4_1.y = 201.529
|
|
L4_1.z = -4806.435
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 4.417
|
|
L4_1.y = 269.673
|
|
L4_1.z = 351.12
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 142006
|
|
L4_1.gadget_id = 70300089
|
|
L5_1 = {}
|
|
L5_1.x = -4847.99
|
|
L5_1.y = 201.586
|
|
L5_1.z = -4807.016
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 3.477
|
|
L5_1.y = 258.653
|
|
L5_1.z = 355.396
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.area_id = 14
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_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 = 142001
|
|
L5_1 = 142005
|
|
L6_1 = 142015
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 142009
|
|
L5_1 = 142010
|
|
L6_1 = 142013
|
|
L7_1 = 142014
|
|
L8_1 = 142017
|
|
L9_1 = 142018
|
|
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
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_142011"
|
|
L5_1 = "GADGET_STATE_CHANGE_142012"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 142008
|
|
L4_1[1] = L5_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_142003"
|
|
L4_1[1] = L5_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_142003 = 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.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 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 142002
|
|
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_142003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 142001 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_142011 = 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 = 133222142
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_142011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 142002 == 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_142012 = 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.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "unlock1"
|
|
L5_2 = 1
|
|
L6_2 = 133222338
|
|
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_groupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = {}
|
|
L2_2.x = -4872.141
|
|
L2_2.y = 203.631
|
|
L2_2.z = -4784.863
|
|
L3_2 = {}
|
|
L3_2.x = 0
|
|
L3_2.y = 0
|
|
L3_2.z = 0
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.BeginCameraSceneLook
|
|
L5_2 = A0_2
|
|
L6_2 = {}
|
|
L6_2.look_pos = L2_2
|
|
L6_2.is_allow_input = true
|
|
L6_2.duration = 1.5
|
|
L6_2.is_force = true
|
|
L6_2.is_broadcast = false
|
|
L6_2.is_recover_keep_current = true
|
|
L6_2.delay = 0
|
|
L6_2.is_set_follow_pos = false
|
|
L6_2.follow_pos = L3_2
|
|
L6_2.is_force_walk = false
|
|
L6_2.is_change_play_mode = false
|
|
L6_2.is_set_screen_XY = false
|
|
L6_2.screen_x = 0
|
|
L6_2.screen_y = 0
|
|
L4_2 = L4_2(L5_2, L6_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_142012 = L1_1
|