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

575 lines
11 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 = 133002392
L1_1 = {}
L2_1 = {}
L2_1.config_id = 392005
L2_1.monster_id = 25010301
L3_1 = {}
L3_1.x = 2160.692
L3_1.y = 213.432
L3_1.z = -583.033
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 15
L2_1.drop_id = 1000100
L2_1.pose_id = 9003
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 392006
L3_1.monster_id = 25010301
L4_1 = {}
L4_1.x = 2139.49
L4_1.y = 213.309
L4_1.z = -586.392
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 = 15
L3_1.drop_id = 1000100
L3_1.pose_id = 9002
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 392007
L4_1.monster_id = 25010501
L5_1 = {}
L5_1.x = 2142.238
L5_1.y = 215.337
L5_1.z = -570.263
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 111.3
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 15
L4_1.drop_id = 1000100
L4_1.pose_id = 4
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 392008
L5_1.monster_id = 25010501
L6_1 = {}
L6_1.x = 2132.791
L6_1.y = 214.749
L6_1.z = -580.101
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 99.602
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 15
L5_1.drop_id = 1000100
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 392009
L6_1.monster_id = 25030301
L7_1 = {}
L7_1.x = 2149.856
L7_1.y = 213.449
L7_1.z = -577.554
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 = 15
L6_1.drop_id = 1000100
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 392010
L7_1.monster_id = 25010701
L8_1 = {}
L8_1.x = 2149.227
L8_1.y = 213.138
L8_1.z = -565.966
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 150.392
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 15
L7_1.drop_id = 1000100
L7_1.pose_id = 9005
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 392011
L8_1.monster_id = 25070101
L9_1 = {}
L9_1.x = 2167.824
L9_1.y = 209.91
L9_1.z = -557.397
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 203.923
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 15
L8_1.drop_id = 1000100
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 392012
L9_1.monster_id = 25030201
L10_1 = {}
L10_1.x = 2134.086
L10_1.y = 214.681
L10_1.z = -578.022
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 359.944
L10_1.y = 81.603
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 15
L9_1.drop_id = 1000100
L9_1.area_id = 3
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 392001
L2_1.gadget_id = 70300093
L3_1 = {}
L3_1.x = 2144.832
L3_1.y = 214.719
L3_1.z = -567.399
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 15
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 392002
L3_1.gadget_id = 70300105
L4_1 = {}
L4_1.x = 2152.552
L4_1.y = 212.901
L4_1.z = -562.478
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 275.982
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 15
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 392003
L4_1.gadget_id = 70310001
L5_1 = {}
L5_1.x = 2159.486
L5_1.y = 212.979
L5_1.z = -567.175
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 = 15
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 392004
L5_1.gadget_id = 70310001
L6_1 = {}
L6_1.x = 2139.088
L6_1.y = 216.156
L6_1.z = -569.758
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 = 15
L5_1.area_id = 3
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1392013
L2_1.name = "ANY_MONSTER_DIE_392013"
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_392013"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_392013"
L3_1 = {}
L3_1.config_id = 1392014
L3_1.name = "ANY_MONSTER_DIE_392014"
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_392014"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_392014"
L4_1 = {}
L4_1.config_id = 1392015
L4_1.name = "VARIABLE_CHANGE_392015"
L5_1 = EventType
L5_1 = L5_1.EVENT_VARIABLE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_392015"
L4_1.action = "action_EVENT_VARIABLE_CHANGE_392015"
L5_1 = {}
L5_1.config_id = 1392016
L5_1.name = "ANY_MONSTER_DIE_392016"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_392016"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_392016"
L6_1 = {}
L6_1.config_id = 1392017
L6_1.name = "ANY_MONSTER_DIE_392017"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_392017"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_392017"
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 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "thiefNum"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_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 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 392005
L6_1 = 392006
L7_1 = 392007
L8_1 = 392009
L9_1 = 392010
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.monsters = L4_1
L4_1 = {}
L5_1 = 392001
L6_1 = 392002
L7_1 = 392003
L8_1 = 392004
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_392013"
L6_1 = "ANY_MONSTER_DIE_392014"
L7_1 = "VARIABLE_CHANGE_392015"
L8_1 = "ANY_MONSTER_DIE_392016"
L9_1 = "ANY_MONSTER_DIE_392017"
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.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 392008
L7_1 = 392011
L8_1 = 392012
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_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_392013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = 2145
L2_2.y = 214
L2_2.z = -575
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 400004
L6_2 = L2_2
L7_2 = 30
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.x = 2145
L3_2.y = 214
L3_2.z = -575
L4_2 = ScriptLib
L4_2 = L4_2.ScenePlaySound
L5_2 = A0_2
L6_2 = {}
L6_2.play_pos = L3_2
L6_2.sound_name = "LevelHornSound001"
L6_2.play_type = 1
L6_2.is_broadcast = false
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_soundplay"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.AddExtraGroupSuite
L5_2 = A0_2
L6_2 = 133002392
L7_2 = 3
L4_2(L5_2, L6_2, L7_2)
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_392013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 392008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_392014 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "thiefNum"
L5_2 = 1
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 : change_GroupVariable"
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_392014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "thiefNum"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_392015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = 2148
L2_2.y = 213
L2_2.z = -574
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 1110163
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.AddQuestProgress
L4_2 = A0_2
L5_2 = "1330023921"
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : add_quest_progress"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_392015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 392011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_392016 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "thiefNum"
L5_2 = 1
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 : change_GroupVariable"
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_392016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 392012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_392017 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "thiefNum"
L5_2 = 1
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 : change_GroupVariable"
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_392017 = L1_1