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

742 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
L0_1 = {}
L0_1.group_id = 133223271
L1_1 = {}
L2_1 = {}
L3_1 = 271006
L4_1 = 271007
L5_1 = 271008
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.order = L2_1
L1_1.region = 271013
L1_1.region_Enter = 271013
L1_1.region_Leave = 271020
L1_1.challenge_id = 2002003
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 271006
L3_1.gadget_id = 70800043
L4_1 = {}
L4_1.x = -6652.147
L4_1.y = 193.481
L4_1.z = -2644.835
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 = 1
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 271007
L4_1.gadget_id = 70800043
L5_1 = {}
L5_1.x = -6646.266
L5_1.y = 193.481
L5_1.z = -2662.062
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 = 1
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 271008
L5_1.gadget_id = 70800043
L6_1 = {}
L6_1.x = -6665.896
L6_1.y = 193.51
L6_1.z = -2669.527
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 = 1
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 271012
L6_1.gadget_id = 70010006
L7_1 = {}
L7_1.x = -6650.266
L7_1.y = 200.165
L7_1.z = -2690.877
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 = 1
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 271022
L7_1.gadget_id = 70800044
L8_1 = {}
L8_1.x = -6652.147
L8_1.y = 193.481
L8_1.z = -2644.835
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 271023
L8_1.gadget_id = 70800044
L9_1 = {}
L9_1.x = -6646.266
L9_1.y = 193.481
L9_1.z = -2662.062
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 18
L9_1 = {}
L9_1.config_id = 271024
L9_1.gadget_id = 70800044
L10_1 = {}
L10_1.x = -6665.896
L10_1.y = 193.51
L10_1.z = -2669.527
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 = 1
L9_1.area_id = 18
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 271013
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 50
L4_1 = {}
L4_1.x = -6671.827
L4_1.y = 193.481
L4_1.z = -2670.206
L3_1.pos = L4_1
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 271020
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 70
L5_1 = {}
L5_1.x = -6649.435
L5_1.y = 200.148
L5_1.z = -2690.331
L4_1.pos = L5_1
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 271021
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 30
L6_1 = {}
L6_1.x = -6659.852
L6_1.y = 193.481
L6_1.z = -2657.117
L5_1.pos = L6_1
L5_1.area_id = 18
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1271014
L3_1.name = "SELECT_OPTION_271014"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_271014"
L3_1.action = "action_EVENT_SELECT_OPTION_271014"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1271015
L4_1.name = "SELECT_OPTION_271015"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_271015"
L4_1.action = "action_EVENT_SELECT_OPTION_271015"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1271016
L5_1.name = "SELECT_OPTION_271016"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_271016"
L5_1.action = "action_EVENT_SELECT_OPTION_271016"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1271021
L6_1.name = "ENTER_REGION_271021"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ENTER_REGION_271021"
L6_1.action = "action_EVENT_ENTER_REGION_271021"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 271001
L4_1.monster_id = 21020201
L5_1 = {}
L5_1.x = -6655.532
L5_1.y = 193.481
L5_1.z = -2647.306
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 73.821
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 271002
L5_1.monster_id = 21010301
L6_1 = {}
L6_1.x = -6648.39
L6_1.y = 193.518
L6_1.z = -2641.736
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 191.964
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 271003
L6_1.monster_id = 21010301
L7_1 = {}
L7_1.x = -6652.188
L7_1.y = 193.481
L7_1.z = -2652.13
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 = 1
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 271004
L7_1.monster_id = 21010601
L8_1 = {}
L8_1.x = -6646.332
L8_1.y = 193.481
L8_1.z = -2650.008
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 307.674
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 271005
L8_1.monster_id = 21010601
L9_1 = {}
L9_1.x = -6654.91
L9_1.y = 193.492
L9_1.z = -2639.302
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 148.471
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L8_1.area_id = 18
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.monsters = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 271009
L4_1.gadget_id = 70800043
L5_1 = {}
L5_1.x = -6691.645
L5_1.y = 201.785
L5_1.z = -2689.858
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 = 1
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 271010
L5_1.gadget_id = 70211111
L6_1 = {}
L6_1.x = -6695.56
L6_1.y = 199.696
L6_1.z = -2646.776
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 = 26
L5_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187"
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.name = "chest"
L6_1.exp = 1
L5_1.explore = L6_1
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 271011
L6_1.gadget_id = 70300114
L7_1 = {}
L7_1.x = -6650.605
L7_1.y = 193.481
L7_1.z = -2645.798
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 = 1
L6_1.area_id = 18
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 1271017
L4_1.name = "SELECT_OPTION_271017"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_271017"
L4_1.action = "action_EVENT_SELECT_OPTION_271017"
L5_1 = {}
L5_1.config_id = 1271018
L5_1.name = "GADGET_STATE_CHANGE_271018"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_271018"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_271018"
L6_1 = {}
L6_1.config_id = 1271019
L6_1.name = "ANY_MONSTER_DIE_271019"
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_271019"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_271019"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
garbages = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 271012
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 271013
L6_1 = 271020
L7_1 = 271021
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "SELECT_OPTION_271014"
L6_1 = "SELECT_OPTION_271015"
L7_1 = "SELECT_OPTION_271016"
L8_1 = "ENTER_REGION_271021"
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
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L7_1.monsters = L8_1
L8_1 = {}
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L7_1.triggers = L8_1
L7_1.rand_weight = 100
L8_1 = {}
L9_1 = {}
L8_1.monsters = L9_1
L9_1 = {}
L8_1.gadgets = L9_1
L9_1 = {}
L8_1.regions = L9_1
L9_1 = {}
L8_1.triggers = L9_1
L8_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 271006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 92 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_271014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 31070407
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "LD_Finish"
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 : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 271022
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_271014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 271007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 92 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_271015 = L2_1
function L2_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 = "LD_Finish"
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 : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 271023
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_271015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 271008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 92 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_271016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "133223271"
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 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 31070408
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "LD_Finish"
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 : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 271024
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_271016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 271021 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_271021 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = -6659
L2_2.y = 193
L2_2.z = -2657
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31070405
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 = 0
return L3_2
end
action_EVENT_ENTER_REGION_271021 = L2_1
L2_1 = require
L3_1 = "V2_2/Ayesha"
L2_1(L3_1)