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

484 lines
9.2 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 = 133106308
L1_1 = {}
L2_1 = {}
L2_1.config_id = 308001
L2_1.monster_id = 25010201
L3_1 = {}
L3_1.x = -949.646
L3_1.y = 207.367
L3_1.z = 966.679
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 = 32
L2_1.drop_id = 1000100
L2_1.pose_id = 9003
L2_1.area_id = 8
L3_1 = {}
L3_1.config_id = 308002
L3_1.monster_id = 25010201
L4_1 = {}
L4_1.x = -955.384
L4_1.y = 208.781
L4_1.z = 975.892
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 159.18
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L3_1.drop_id = 1000100
L3_1.pose_id = 9006
L3_1.area_id = 8
L4_1 = {}
L4_1.config_id = 308003
L4_1.monster_id = 25010301
L5_1 = {}
L5_1.x = -956.276
L5_1.y = 208.744
L5_1.z = 961.611
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 = 32
L4_1.drop_id = 1000100
L4_1.pose_id = 9002
L4_1.area_id = 8
L5_1 = {}
L5_1.config_id = 308004
L5_1.monster_id = 25010501
L6_1 = {}
L6_1.x = -963.946
L6_1.y = 210.098
L6_1.z = 969.993
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 85.998
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 32
L5_1.drop_id = 1000100
L5_1.pose_id = 9002
L5_1.area_id = 8
L6_1 = {}
L6_1.config_id = 308005
L6_1.monster_id = 25010701
L7_1 = {}
L7_1.x = -954.335
L7_1.y = 207.889
L7_1.z = 972.472
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 = 32
L6_1.drop_id = 1000100
L6_1.pose_id = 9009
L6_1.area_id = 8
L7_1 = {}
L7_1.config_id = 308006
L7_1.monster_id = 25070101
L8_1 = {}
L8_1.x = -989.84
L8_1.y = 217.976
L8_1.z = 958.954
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 85.363
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 32
L7_1.drop_id = 1000100
L7_1.area_id = 8
L8_1 = {}
L8_1.config_id = 308007
L8_1.monster_id = 25010301
L9_1 = {}
L9_1.x = -986.52
L9_1.y = 217.999
L9_1.z = 962.748
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 116.282
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 32
L8_1.drop_id = 1000100
L8_1.area_id = 8
L9_1 = {}
L9_1.config_id = 308008
L9_1.monster_id = 25010501
L10_1 = {}
L10_1.x = -989.727
L10_1.y = 216.602
L10_1.z = 952.221
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 57.224
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 32
L9_1.drop_id = 1000100
L9_1.area_id = 8
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 = {}
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1308009
L2_1.name = "ANY_MONSTER_DIE_308009"
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_308009"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_308009"
L3_1 = {}
L3_1.config_id = 1308010
L3_1.name = "ANY_MONSTER_DIE_308010"
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_308010"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_308010"
L4_1 = {}
L4_1.config_id = 1308011
L4_1.name = "VARIABLE_CHANGE_308011"
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_308011"
L4_1.action = "action_EVENT_VARIABLE_CHANGE_308011"
L5_1 = {}
L5_1.config_id = 1308012
L5_1.name = "ANY_MONSTER_DIE_308012"
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_308012"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_308012"
L6_1 = {}
L6_1.config_id = 1308013
L6_1.name = "ANY_MONSTER_DIE_308013"
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_308013"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_308013"
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 = 308001
L6_1 = 308002
L7_1 = 308003
L8_1 = 308004
L9_1 = 308005
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 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_308009"
L6_1 = "ANY_MONSTER_DIE_308010"
L7_1 = "VARIABLE_CHANGE_308011"
L8_1 = "ANY_MONSTER_DIE_308012"
L9_1 = "ANY_MONSTER_DIE_308013"
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 = 308006
L7_1 = 308007
L8_1 = 308008
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_308009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133106308
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = {}
L2_2.x = -955
L2_2.y = 208
L2_2.z = 968
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 400004
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 = {}
L3_2.x = -955
L3_2.y = 208
L3_2.z = 968
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 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_308009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 308006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_308010 = 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_308010 = 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_308011 = 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 = "1331063081"
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_VARIABLE_CHANGE_308011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 308007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_308012 = 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_308012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 308008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_308013 = 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_308013 = L1_1