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

499 lines
9.3 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 = 133002233
L1_1 = {}
L2_1 = {}
L2_1.config_id = 611
L2_1.monster_id = 20010801
L3_1 = {}
L3_1.x = 1861.072
L3_1.y = 201.158
L3_1.z = -171.721
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 152.535
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 10
L2_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 612
L3_1.monster_id = 20010801
L4_1 = {}
L4_1.x = 1857.646
L4_1.y = 201.331
L4_1.z = -175.069
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 147.985
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 10
L3_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 746
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1863.672
L5_1.y = 201.283
L5_1.z = -174.808
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 173.419
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 10
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 798
L5_1.monster_id = 20010901
L6_1 = {}
L6_1.x = 1857.483
L6_1.y = 200.594
L6_1.z = -169.826
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 149.681
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 10
L5_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 870
L6_1.monster_id = 22010301
L7_1 = {}
L7_1.x = 1881.026
L7_1.y = 202.241
L7_1.z = -176.628
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 202.747
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 24
L6_1.drop_id = 1000100
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 871
L7_1.monster_id = 21030101
L8_1 = {}
L8_1.x = 1883.024
L8_1.y = 202.414
L8_1.z = -178.641
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 217.052
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 23
L7_1.drop_id = 1000100
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 872
L8_1.monster_id = 21010901
L9_1 = {}
L9_1.x = 1878.09
L9_1.y = 201.999
L9_1.z = -177.207
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 167.116
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 23
L8_1.drop_id = 1000100
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 233002
L9_1.monster_id = 20010801
L10_1 = {}
L10_1.x = 1857.771
L10_1.y = 201.349
L10_1.z = -175.181
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 10
L9_1.drop_id = 1000100
L9_1.area_id = 3
L10_1 = {}
L10_1.config_id = 233003
L10_1.monster_id = 20010801
L11_1 = {}
L11_1.x = 1861.181
L11_1.y = 201.17
L11_1.z = -171.904
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 10
L10_1.drop_id = 1000100
L10_1.area_id = 3
L11_1 = {}
L11_1.config_id = 233004
L11_1.monster_id = 20010801
L12_1 = {}
L12_1.x = 1863.754
L12_1.y = 201.287
L12_1.z = -174.828
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 10
L11_1.drop_id = 1000100
L11_1.area_id = 3
L12_1 = {}
L12_1.config_id = 233005
L12_1.monster_id = 20010901
L13_1 = {}
L13_1.x = 1857.376
L13_1.y = 200.593
L13_1.z = -169.936
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 10
L12_1.drop_id = 1000100
L12_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
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 287
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 14.4
L3_1 = {}
L3_1.x = 1860.365
L3_1.y = 201.0
L3_1.z = -173.521
L2_1.pos = L3_1
L2_1.area_id = 3
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000287
L2_1.name = "ENTER_REGION_287"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_287"
L2_1.action = "action_EVENT_ENTER_REGION_287"
L3_1 = {}
L3_1.config_id = 1233001
L3_1.name = "ANY_MONSTER_DIE_233001"
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_233001"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_233001"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1233006
L4_1.name = "ANY_MONSTER_DIE_233006"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = ""
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_233006"
L5_1 = {}
L5_1.config_id = 1233007
L5_1.name = "QUEST_FINISH_233007"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_FINISH
L5_1.event = L6_1
L5_1.source = "2006306"
L5_1.condition = "condition_EVENT_QUEST_FINISH_233007"
L5_1.action = "action_EVENT_QUEST_FINISH_233007"
L6_1 = {}
L6_1.config_id = 1233008
L6_1.name = "QUEST_FINISH_233008"
L7_1 = EventType
L7_1 = L7_1.EVENT_QUEST_FINISH
L6_1.event = L7_1
L6_1.source = "2006308"
L6_1.condition = ""
L6_1.action = "action_EVENT_QUEST_FINISH_233008"
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 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "is_monster_killed"
L2_1.value = 1
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 = {}
L4_1 = 611
L5_1 = 612
L6_1 = 746
L7_1 = 798
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 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 287
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_287"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 870
L6_1 = 871
L7_1 = 872
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L3_1.ban_refresh = true
L4_1 = {}
L5_1 = {}
L6_1 = 233002
L7_1 = 233003
L8_1 = 233004
L9_1 = 233005
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_233001"
L7_1 = "ANY_MONSTER_DIE_233006"
L8_1 = "QUEST_FINISH_233007"
L9_1 = "QUEST_FINISH_233008"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.triggers = L5_1
L4_1.rand_weight = 0
L4_1.ban_refresh = true
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, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 287 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_287 = 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 = 798
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_ENTER_REGION_287 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 233005 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_233001 = 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 = "1330022331"
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_233001 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "is_monster_killed"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_233006 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "is_monster_killed"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_233007 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133002233
L4_2.suite = 3
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 : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_233007 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133002233
L4_2.suite = 1
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 : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_233008 = L1_1