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

691 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
L0_1 = {}
L0_1.group_id = 133002471
L1_1 = {}
L2_1 = {}
L2_1.config_id = 471001
L2_1.monster_id = 25030301
L3_1 = {}
L3_1.x = 1235.716
L3_1.y = 200.0
L3_1.z = -102.805
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 2.029
L3_1.y = 37.162
L3_1.z = 359.798
L2_1.rot = L3_1
L2_1.level = 16
L2_1.drop_id = 1000100
L2_1.pose_id = 9006
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 471002
L3_1.monster_id = 25030201
L4_1 = {}
L4_1.x = 1236.786
L4_1.y = 200.45
L4_1.z = -93.286
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 31.698
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 16
L3_1.drop_id = 1000100
L3_1.pose_id = 9003
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 471003
L4_1.monster_id = 25010501
L5_1 = {}
L5_1.x = 1231.164
L5_1.y = 200.667
L5_1.z = -96.494
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 359.045
L5_1.y = 153.164
L5_1.z = 358.64
L4_1.rot = L5_1
L4_1.level = 16
L4_1.drop_id = 1000100
L4_1.pose_id = 9004
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 471004
L5_1.monster_id = 25020201
L6_1 = {}
L6_1.x = 1244.432
L6_1.y = 201.077
L6_1.z = -99.789
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 256.779
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 16
L5_1.drop_id = 1000100
L5_1.pose_id = 9004
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 471006
L6_1.monster_id = 25010601
L7_1 = {}
L7_1.x = 1243.215
L7_1.y = 201.726
L7_1.z = -87.282
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 95.639
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 16
L6_1.drop_id = 1000100
L6_1.pose_id = 9005
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 471007
L7_1.monster_id = 25070101
L8_1 = {}
L8_1.x = 1237.276
L8_1.y = 200.0
L8_1.z = -100.784
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 204.837
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.pose_id = 9006
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 471011
L8_1.monster_id = 25010201
L9_1 = {}
L9_1.x = 1211.121
L9_1.y = 200.599
L9_1.z = -86.346
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 4.572
L9_1.y = 300.099
L9_1.z = 359.166
L8_1.rot = L9_1
L8_1.level = 16
L8_1.drop_id = 1000100
L8_1.pose_id = 9004
L8_1.area_id = 5
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 471008
L2_1.gadget_id = 70710038
L3_1 = {}
L3_1.x = 1237.259
L3_1.y = 200.21
L3_1.z = -91.923
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 319.27
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 16
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 471010
L3_1.gadget_id = 70360040
L4_1 = {}
L4_1.x = 1237.241
L4_1.y = 200.45
L4_1.z = -91.882
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 = 5
L4_1 = {}
L4_1.config_id = 471012
L4_1.gadget_id = 70211123
L5_1 = {}
L5_1.x = 1237.27
L5_1.y = 200.208
L5_1.z = -91.637
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 180.181
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 16
L4_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136"
L4_1.isOneoff = true
L4_1.persistent = true
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 471014
L5_1.gadget_id = 70360001
L6_1 = {}
L6_1.x = 1237.399
L6_1.y = 201.651
L6_1.z = -92.259
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 = 16
L5_1.area_id = 5
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 = {}
L2_1 = {}
L2_1.config_id = 471009
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 15
L3_1 = {}
L3_1.x = 1238.689
L3_1.y = 200.117
L3_1.z = -98.305
L2_1.pos = L3_1
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 471017
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 17
L4_1 = {}
L4_1.x = 1237.73
L4_1.y = 200.0
L4_1.z = -93.131
L3_1.pos = L4_1
L3_1.area_id = 5
L1_1[1] = L2_1
L1_1[2] = L3_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1471009
L2_1.name = "ENTER_REGION_471009"
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_471009"
L2_1.action = "action_EVENT_ENTER_REGION_471009"
L3_1 = {}
L3_1.config_id = 1471013
L3_1.name = "GADGET_CREATE_471013"
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_471013"
L3_1.action = "action_EVENT_GADGET_CREATE_471013"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1471015
L4_1.name = "SELECT_OPTION_471015"
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_471015"
L4_1.action = "action_EVENT_SELECT_OPTION_471015"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1471016
L5_1.name = "GADGET_STATE_CHANGE_471016"
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_471016"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_471016"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1471017
L6_1.name = "ENTER_REGION_471017"
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_471017"
L6_1.action = "action_EVENT_ENTER_REGION_471017"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1471018
L7_1.name = "GROUP_LOAD_471018"
L8_1 = EventType
L8_1 = L8_1.EVENT_GROUP_LOAD
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GROUP_LOAD_471018"
L7_1.action = "action_EVENT_GROUP_LOAD_471018"
L7_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
L1_1[6] = L7_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "fin"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "dig"
L3_1.value = 0
L3_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_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 = 471001
L5_1 = 471002
L6_1 = 471003
L7_1 = 471004
L8_1 = 471006
L9_1 = 471007
L10_1 = 471011
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
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 471008
L5_1 = 471010
L6_1 = 471014
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 471009
L5_1 = 471017
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_471009"
L5_1 = "GADGET_CREATE_471013"
L6_1 = "SELECT_OPTION_471015"
L7_1 = "GADGET_STATE_CHANGE_471016"
L8_1 = "ENTER_REGION_471017"
L9_1 = "GROUP_LOAD_471018"
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
L3_1[6] = L9_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_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 ~= 471009 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_471009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = {}
L2_2.x = 1237
L2_2.y = 200
L2_2.z = -91
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 2
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 1
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
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_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ENTER_REGION_471009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 471014 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "dig"
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_GADGET_CREATE_471013 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 169
L4_2[1] = L5_2
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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_471013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 471014 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 169 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_471015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 471012
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 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133002471
L5_2 = 471014
L6_2 = 169
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 471010
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 : kill_entity_by_configId"
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 = "dig"
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_471015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 471012 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.ChestOpened
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_471016 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "finish_133002471"
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "fin"
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 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_471016 = 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 ~= 471017 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_471017 = 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 = "finish_133002471_zhiyin"
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_ENTER_REGION_471017 = 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 = "fin"
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_GROUP_LOAD_471018 = 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 = "finish_133002471"
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_GROUP_LOAD_471018 = L1_1