mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
450 lines
8.5 KiB
Lua
450 lines
8.5 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133222143
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 143001
|
|
L2_1.monster_id = 21010201
|
|
L3_1 = {}
|
|
L3_1.x = -4824.124
|
|
L3_1.y = 214.655
|
|
L3_1.z = -4708.802
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 12.424
|
|
L3_1.y = 94.679
|
|
L3_1.z = 358.12
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 30
|
|
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L2_1.disableWander = true
|
|
L2_1.pose_id = 9012
|
|
L2_1.area_id = 14
|
|
L3_1 = {}
|
|
L3_1.config_id = 143005
|
|
L3_1.monster_id = 21030601
|
|
L4_1 = {}
|
|
L4_1.x = -4823.51
|
|
L4_1.y = 214.139
|
|
L4_1.z = -4712.058
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 32.336
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
|
|
L3_1.disableWander = true
|
|
L3_1.pose_id = 9012
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 143008
|
|
L4_1.monster_id = 21020301
|
|
L5_1 = {}
|
|
L5_1.x = -4817.477
|
|
L5_1.y = 214.491
|
|
L5_1.z = -4706.079
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 359.71
|
|
L5_1.y = 211.195
|
|
L5_1.z = 359.899
|
|
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.area_id = 14
|
|
L5_1 = {}
|
|
L5_1.config_id = 143009
|
|
L5_1.monster_id = 21020301
|
|
L6_1 = {}
|
|
L6_1.x = -4817.609
|
|
L6_1.y = 214.49
|
|
L6_1.z = -4713.792
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.072
|
|
L6_1.y = 295.374
|
|
L6_1.z = 359.701
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
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 = 143002
|
|
L2_1.gadget_id = 70300085
|
|
L3_1 = {}
|
|
L3_1.x = -4817.488
|
|
L3_1.y = 214.03
|
|
L3_1.z = -4713.776
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 132.196
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 30
|
|
L2_1.area_id = 14
|
|
L3_1 = {}
|
|
L3_1.config_id = 143004
|
|
L3_1.gadget_id = 70300085
|
|
L4_1 = {}
|
|
L4_1.x = -4817.403
|
|
L4_1.y = 214.032
|
|
L4_1.z = -4706.081
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 132.196
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 143010
|
|
L4_1.gadget_id = 70300107
|
|
L5_1 = {}
|
|
L5_1.x = -4822.087
|
|
L5_1.y = 214.226
|
|
L5_1.z = -4710.242
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.122
|
|
L5_1.y = 61.918
|
|
L5_1.z = 359.962
|
|
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 = 143011
|
|
L5_1.gadget_id = 70300086
|
|
L6_1 = {}
|
|
L6_1.x = -4813.759
|
|
L6_1.y = 214.2
|
|
L6_1.z = -4714.524
|
|
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 = 30
|
|
L5_1.area_id = 14
|
|
L6_1 = {}
|
|
L6_1.config_id = 143012
|
|
L6_1.gadget_id = 70300086
|
|
L7_1 = {}
|
|
L7_1.x = -4814.377
|
|
L7_1.y = 214.217
|
|
L7_1.z = -4704.749
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 0.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 14
|
|
L7_1 = {}
|
|
L7_1.config_id = 143013
|
|
L7_1.gadget_id = 70211011
|
|
L8_1 = {}
|
|
L8_1.x = -4816.619
|
|
L8_1.y = 214.19
|
|
L8_1.z = -4710.166
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 269.868
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 26
|
|
L7_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\231\168\187\229\166\187"
|
|
L7_1.isOneoff = true
|
|
L7_1.persistent = true
|
|
L8_1 = {}
|
|
L8_1.name = "chest"
|
|
L8_1.exp = 1
|
|
L7_1.explore = L8_1
|
|
L7_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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1143003
|
|
L2_1.name = "ANY_MONSTER_DIE_143003"
|
|
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_143003"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_143003"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1143006
|
|
L3_1.name = "ANY_MONSTER_DIE_143006"
|
|
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_143006"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_143006"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1143014
|
|
L4_1.name = "GADGET_STATE_CHANGE_143014"
|
|
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_143014"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_143014"
|
|
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 = 143007
|
|
L3_1.monster_id = 20060101
|
|
L4_1 = {}
|
|
L4_1.x = -4790.572
|
|
L4_1.y = 208.869
|
|
L4_1.z = -4705.971
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 8.956
|
|
L4_1.y = 61.083
|
|
L4_1.z = 349.262
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.drop_tag = "\233\163\152\230\181\174\231\129\181"
|
|
L3_1.pose_id = 101
|
|
L3_1.area_id = 14
|
|
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 = 143001
|
|
L5_1 = 143005
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 143002
|
|
L5_1 = 143004
|
|
L6_1 = 143010
|
|
L7_1 = 143011
|
|
L8_1 = 143012
|
|
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.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_143006"
|
|
L5_1 = "GADGET_STATE_CHANGE_143014"
|
|
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 = 143008
|
|
L6_1 = 143009
|
|
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 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_143003"
|
|
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_143003 = 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.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 143013
|
|
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 = 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_143003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 143005 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_143006 = 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 = 133222143
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_143006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 143013 == 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_143014 = 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 = "unlock3"
|
|
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 = -4861.16
|
|
L2_2.y = 202.2
|
|
L2_2.z = -4775.8
|
|
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_143014 = L1_1
|