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

684 lines
13 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
L0_1 = {}
L0_1.group_id = 133213178
L1_1 = {}
L1_1.group_id = 133213178
L1_1.inner_region = 178016
L1_1.outer_region = 178016
L1_1.related_region = 178016
L2_1 = {}
L3_1 = {}
L3_1.config_id = 178006
L3_1.monster_id = 25080101
L4_1 = {}
L4_1.x = -3337.254
L4_1.y = 200.269
L4_1.z = -3682.464
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 32.669
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 1007
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.pose_id = 1
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 178007
L4_1.monster_id = 25080201
L5_1 = {}
L5_1.x = -3329.876
L5_1.y = 200.165
L5_1.z = -3671.537
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 1.192
L5_1.y = 214.502
L5_1.z = 358.267
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 1007
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.pose_id = 1
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 178008
L5_1.monster_id = 25080101
L6_1 = {}
L6_1.x = -3341.191
L6_1.y = 200.065
L6_1.z = -3675.284
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.drop_id = 1000100
L6_1 = {}
L7_1 = 1007
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.pose_id = 1
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 178009
L6_1.monster_id = 25080301
L7_1 = {}
L7_1.x = -3331.604
L7_1.y = 200.081
L7_1.z = -3667.456
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_id = 1000100
L7_1 = {}
L8_1 = 1007
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.pose_id = 1
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 178010
L7_1.monster_id = 25080301
L8_1 = {}
L8_1.x = -3322.812
L8_1.y = 200.13
L8_1.z = -3674.843
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.drop_id = 1000100
L8_1 = {}
L9_1 = 1007
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.pose_id = 1
L7_1.area_id = 12
L8_1 = {}
L8_1.config_id = 178011
L8_1.monster_id = 25080101
L9_1 = {}
L9_1.x = -3329.785
L9_1.y = 200.109
L9_1.z = -3665.329
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.drop_id = 1000100
L9_1 = {}
L10_1 = 1007
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.pose_id = 1
L8_1.area_id = 12
L9_1 = {}
L9_1.config_id = 178012
L9_1.monster_id = 25080101
L10_1 = {}
L10_1.x = -3329.459
L10_1.y = 200.235
L10_1.z = -3681.805
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.drop_id = 1000100
L10_1 = {}
L11_1 = 1007
L10_1[1] = L11_1
L9_1.affix = L10_1
L9_1.pose_id = 1
L9_1.area_id = 12
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 178001
L3_1.gadget_id = 70330064
L4_1 = {}
L4_1.x = -3336.673
L4_1.y = 200.042
L4_1.z = -3669.381
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.interact_id = 35
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 178002
L4_1.gadget_id = 70350082
L5_1 = {}
L5_1.x = -3327.365
L5_1.y = 200.111
L5_1.z = -3679.958
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.persistent = true
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 178003
L5_1.gadget_id = 70330063
L6_1 = {}
L6_1.x = -3331.259
L6_1.y = 200.145
L6_1.z = -3675.508
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 = 12
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 178015
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 12
L4_1 = {}
L4_1.x = -3326.876
L4_1.y = 200.087
L4_1.z = -3680.787
L3_1.pos = L4_1
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 178016
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 35
L5_1 = {}
L5_1.x = -3330.38
L5_1.y = 200.779
L5_1.z = -3675.433
L4_1.pos = L5_1
L4_1.area_id = 12
L2_1[1] = L3_1
L2_1[2] = L4_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1178004
L3_1.name = "GADGET_CREATE_178004"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_178004"
L3_1.action = "action_EVENT_GADGET_CREATE_178004"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1178005
L4_1.name = "SELECT_OPTION_178005"
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_178005"
L4_1.action = "action_EVENT_SELECT_OPTION_178005"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1178013
L5_1.name = "CHALLENGE_FAIL_178013"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_FAIL
L5_1.event = L6_1
L5_1.source = "101"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_FAIL_178013"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1178014
L6_1.name = "CHALLENGE_SUCCESS_178014"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = "101"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_178014"
L7_1 = {}
L7_1.config_id = 1178015
L7_1.name = "ENTER_REGION_178015"
L8_1 = EventType
L8_1 = L8_1.EVENT_ENTER_REGION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = ""
L7_1.action = "action_EVENT_ENTER_REGION_178015"
L8_1 = {}
L8_1.config_id = 1178017
L8_1.name = "GROUP_LOAD_178017"
L9_1 = EventType
L9_1 = L9_1.EVENT_GROUP_LOAD
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = ""
L8_1.action = "action_EVENT_GROUP_LOAD_178017"
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
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 3
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 = 178001
L6_1 = 178002
L7_1 = 178003
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 178015
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_178004"
L6_1 = "SELECT_OPTION_178005"
L7_1 = "CHALLENGE_FAIL_178013"
L8_1 = "CHALLENGE_SUCCESS_178014"
L9_1 = "ENTER_REGION_178015"
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 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 178016
L5_1[1] = L6_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 = {}
L7_1 = "GROUP_LOAD_178017"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 178002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_178004 = L2_1
function L2_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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 133213178
L5_2 = 178002
L6_2 = {}
L7_2 = 175
L6_2[1] = L7_2
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 : set_wok_options_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_178004 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 178002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 175 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_178005 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133213178
L5_2 = 178002
L6_2 = 175
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 : del_work_options_by_group_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 101
L5_2 = 111169
L6_2 = 120
L7_2 = 133213178
L8_2 = 6
L9_2 = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AutoMonsterTide
L3_2 = A0_2
L4_2 = 1
L5_2 = 133213178
L6_2 = {}
L7_2 = 178006
L8_2 = 178007
L9_2 = 178008
L10_2 = 178009
L11_2 = 178010
L12_2 = 178011
L13_2 = 178012
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L6_2[4] = L10_2
L6_2[5] = L11_2
L6_2[6] = L12_2
L6_2[7] = L13_2
L7_2 = 6
L8_2 = 3
L9_2 = 3
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 178002
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133213178
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 133213178
L5_2 = 2
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_blossomscehedule_byGroupId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_178005 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133213178
L5_2 = EntityType
L5_2 = L5_2.REGION
L6_2 = 178016
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133213178
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_CHALLENGE_FAIL_178013 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 178002
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "133213178"
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.SetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 133213178
L5_2 = 3
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_blossomscehedule_byGroupId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 0
L4_2.suite = 1
L4_2.exclude_prev = true
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_blossom_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_178014 = L2_1
function L2_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.AssignPlayerShowTemplateReminder
L3_2 = A0_2
L4_2 = 140
L5_2 = {}
L6_2 = {}
L5_2.param_uid_vec = L6_2
L6_2 = {}
L5_2.param_vec = L6_2
L6_2 = {}
L7_2 = A0_2.uid
L6_2[1] = L7_2
L5_2.uid_vec = L6_2
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_178015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 0
L4_2.suite = 1
L4_2.exclude_prev = true
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_blossom_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_178017 = L2_1
L2_1 = require
L3_1 = "V2_0/SetPerformanceOptimizationWithRegion_Event_V2.0"
L2_1(L3_1)
L2_1 = require
L3_1 = "V2_0/ExhibitionRoleElectricBomb"
L2_1(L3_1)