Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133007032.lua
2022-04-29 16:40:51 +02:00

759 lines
14 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, L13_1
L0_1 = {}
L0_1.group_id = 133007032
L1_1 = {}
L2_1 = {}
L2_1.config_id = 65
L2_1.monster_id = 21020101
L3_1 = {}
L3_1.x = 2776.178
L3_1.y = 206.836
L3_1.z = 104.842
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 14.83
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 = 4
L3_1 = {}
L3_1.config_id = 130
L3_1.monster_id = 21010401
L4_1 = {}
L4_1.x = 2771.745
L4_1.y = 210.466
L4_1.z = 91.449
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 158.924
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 22
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 = 402
L3_1.area_id = 4
L4_1 = {}
L4_1.config_id = 131
L4_1.monster_id = 21010401
L5_1 = {}
L5_1.x = 2766.148
L5_1.y = 211.819
L5_1.z = 104.358
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 164.922
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 22
L4_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L4_1.pose_id = 402
L4_1.area_id = 4
L5_1 = {}
L5_1.config_id = 137
L5_1.monster_id = 21010401
L6_1 = {}
L6_1.x = 2776.385
L6_1.y = 206.949
L6_1.z = 110.026
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 161.554
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 22
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 = 9002
L5_1.area_id = 4
L6_1 = {}
L6_1.config_id = 447
L6_1.monster_id = 21020101
L7_1 = {}
L7_1.x = 2776.125
L7_1.y = 206.833
L7_1.z = 104.809
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 14.83
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 24
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.pose_id = 401
L6_1.area_id = 4
L7_1 = {}
L7_1.config_id = 448
L7_1.monster_id = 21010401
L8_1 = {}
L8_1.x = 2771.692
L8_1.y = 210.466
L8_1.z = 91.418
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 158.924
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 24
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.pose_id = 9002
L7_1.area_id = 4
L8_1 = {}
L8_1.config_id = 449
L8_1.monster_id = 21010401
L9_1 = {}
L9_1.x = 2766.094
L9_1.y = 211.819
L9_1.z = 104.325
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 164.922
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 24
L8_1.drop_id = 1000100
L8_1.pose_id = 9002
L8_1.area_id = 4
L9_1 = {}
L9_1.config_id = 450
L9_1.monster_id = 21010401
L10_1 = {}
L10_1.x = 2776.332
L10_1.y = 206.939
L10_1.z = 109.994
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 161.554
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 24
L9_1.drop_id = 1000100
L9_1.disableWander = true
L9_1.area_id = 4
L10_1 = {}
L10_1.config_id = 451
L10_1.monster_id = 21010101
L11_1 = {}
L11_1.x = 2767.585
L11_1.y = 207.059
L11_1.z = 73.87
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 212.26
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 22
L10_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L10_1.area_id = 4
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 308
L2_1.gadget_id = 70220013
L3_1 = {}
L3_1.x = 2767.248
L3_1.y = 206.825
L3_1.z = 113.714
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 82.751
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 23
L2_1.area_id = 4
L3_1 = {}
L3_1.config_id = 309
L3_1.gadget_id = 70220013
L4_1 = {}
L4_1.x = 2770.618
L4_1.y = 207.158
L4_1.z = 100.892
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 87.005
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 23
L3_1.area_id = 4
L4_1 = {}
L4_1.config_id = 310
L4_1.gadget_id = 70220013
L5_1 = {}
L5_1.x = 2784.891
L5_1.y = 207.027
L5_1.z = 89.768
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 312.098
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 23
L4_1.area_id = 4
L5_1 = {}
L5_1.config_id = 311
L5_1.gadget_id = 70220013
L6_1 = {}
L6_1.x = 2785.938
L6_1.y = 207.066
L6_1.z = 91.478
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 139.667
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 23
L5_1.area_id = 4
L6_1 = {}
L6_1.config_id = 312
L6_1.gadget_id = 70310004
L7_1 = {}
L7_1.x = 2782.536
L7_1.y = 207.016
L7_1.z = 97.489
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 102.037
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 23
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.area_id = 4
L7_1 = {}
L7_1.config_id = 989
L7_1.gadget_id = 70220013
L8_1 = {}
L8_1.x = 2767.175
L8_1.y = 206.825
L8_1.z = 113.591
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 82.751
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 23
L7_1.area_id = 4
L8_1 = {}
L8_1.config_id = 990
L8_1.gadget_id = 70220013
L9_1 = {}
L9_1.x = 2770.545
L9_1.y = 207.161
L9_1.z = 100.769
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 87.005
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 23
L8_1.area_id = 4
L9_1 = {}
L9_1.config_id = 991
L9_1.gadget_id = 70220013
L10_1 = {}
L10_1.x = 2784.818
L10_1.y = 207.025
L10_1.z = 89.645
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 312.098
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 23
L9_1.area_id = 4
L10_1 = {}
L10_1.config_id = 992
L10_1.gadget_id = 70220013
L11_1 = {}
L11_1.x = 2785.865
L11_1.y = 207.063
L11_1.z = 91.354
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 139.667
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 23
L10_1.area_id = 4
L11_1 = {}
L11_1.config_id = 993
L11_1.gadget_id = 70310004
L12_1 = {}
L12_1.x = 2782.463
L12_1.y = 207.058
L12_1.z = 97.366
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 102.037
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 23
L12_1 = GadgetState
L12_1 = L12_1.GearStart
L11_1.state = L12_1
L11_1.area_id = 4
L12_1 = {}
L12_1.config_id = 32001
L12_1.gadget_id = 70211022
L13_1 = {}
L13_1.x = 2767.248
L13_1.y = 212.071
L13_1.z = 106.982
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 154.546
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 21
L12_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\232\146\153\229\190\183"
L13_1 = GadgetState
L13_1 = L13_1.ChestLocked
L12_1.state = L13_1
L12_1.isOneoff = true
L12_1.persistent = true
L13_1 = {}
L13_1.name = "chest"
L13_1.exp = 1
L12_1.explore = L13_1
L12_1.area_id = 4
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
L1_1[10] = L11_1
L1_1[11] = L12_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000076
L2_1.name = "ANY_MONSTER_DIE_76"
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_76"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_76"
L2_1.tlog_tag = "\233\163\142\233\190\153_32_\229\164\167\232\144\165\239\191\189\239\191\189?1_\230\136\144\229\138\159"
L3_1 = {}
L3_1.config_id = 1000329
L3_1.name = "ANY_MONSTER_DIE_329"
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_329"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_329"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1000330
L4_1.name = "QUEST_FINISH_330"
L5_1 = EventType
L5_1 = L5_1.EVENT_QUEST_FINISH
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_QUEST_FINISH_330"
L4_1.action = "action_EVENT_QUEST_FINISH_330"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1000331
L5_1.name = "QUEST_FINISH_331"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_FINISH
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_QUEST_FINISH_331"
L5_1.action = "action_EVENT_QUEST_FINISH_331"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1000332
L6_1.name = "MONSTER_BATTLE_332"
L7_1 = EventType
L7_1 = L7_1.EVENT_MONSTER_BATTLE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = ""
L6_1.action = "action_EVENT_MONSTER_BATTLE_332"
L6_1.trigger_count = 0
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
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 = 65
L5_1 = 130
L6_1 = 131
L7_1 = 137
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 308
L5_1 = 309
L6_1 = 310
L7_1 = 311
L8_1 = 312
L9_1 = 32001
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_76"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 447
L6_1 = 448
L7_1 = 449
L8_1 = 450
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 989
L6_1 = 990
L7_1 = 991
L8_1 = 992
L9_1 = 993
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_329"
L6_1 = "QUEST_FINISH_330"
L7_1 = "QUEST_FINISH_331"
L8_1 = "MONSTER_BATTLE_332"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_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
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_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_76 = 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 = 32001
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_76 = 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_329 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330070321"
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 : add_quest_progress"
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_329 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2001507 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_330 = 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.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 448
L5_2 = 133007032
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_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 449
L5_2 = 133007032
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_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 450
L5_2 = 133007032
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_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 447
L5_2 = 133007032
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_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 451
L4_2.delay_time = 0
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_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_330 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2001510 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_331 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 451
L4_2.delay_time = 0
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_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_331 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330070322"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_MONSTER_BATTLE_332 = L1_1