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

745 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, L11_1, L12_1, L13_1, L14_1
L0_1 = {}
L0_1.group_id = 133101096
L1_1 = {}
L2_1 = {}
L2_1.config_id = 96002
L2_1.monster_id = 20011001
L3_1 = {}
L3_1.x = 1163.235
L3_1.y = 297.449
L3_1.z = 1375.214
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 = 1
L2_1.drop_id = 1000100
L2_1.disableWander = true
L3_1 = {}
L4_1 = 1410
L3_1[1] = L4_1
L2_1.affix = L3_1
L2_1.area_id = 6
L3_1 = {}
L3_1.config_id = 96003
L3_1.monster_id = 20011001
L4_1 = {}
L4_1.x = 1162.454
L4_1.y = 297.361
L4_1.z = 1375.264
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.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1410
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.area_id = 6
L4_1 = {}
L4_1.config_id = 96012
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1222.167
L5_1.y = 283.744
L5_1.z = 1325.667
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.drop_id = 1000100
L4_1.disableWander = true
L5_1 = {}
L6_1 = 1410
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.area_id = 6
L5_1 = {}
L5_1.config_id = 96013
L5_1.monster_id = 20011001
L6_1 = {}
L6_1.x = 1162.137
L6_1.y = 297.479
L6_1.z = 1376.37
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
L5_1.disableWander = true
L6_1 = {}
L7_1 = 1410
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.area_id = 6
L6_1 = {}
L6_1.config_id = 96014
L6_1.monster_id = 20010801
L7_1 = {}
L7_1.x = 1223.217
L7_1.y = 283.937
L7_1.z = 1325.266
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
L6_1.disableWander = true
L7_1 = {}
L8_1 = 1410
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.area_id = 6
L7_1 = {}
L7_1.config_id = 96015
L7_1.monster_id = 20011201
L8_1 = {}
L8_1.x = 1203.572
L8_1.y = 280.026
L8_1.z = 1337.15
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
L7_1.disableWander = true
L8_1 = {}
L9_1 = 1410
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.area_id = 6
L8_1 = {}
L8_1.config_id = 96016
L8_1.monster_id = 20010501
L9_1 = {}
L9_1.x = 1255.98
L9_1.y = 282.898
L9_1.z = 1320.213
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 348.484
L9_1.y = 359.868
L9_1.z = 1.311
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.disableWander = true
L9_1 = {}
L10_1 = 1410
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.area_id = 6
L9_1 = {}
L9_1.config_id = 96017
L9_1.monster_id = 20011201
L10_1 = {}
L10_1.x = 1204.78
L10_1.y = 279.901
L10_1.z = 1338.423
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
L9_1.disableWander = true
L10_1 = {}
L11_1 = 1410
L10_1[1] = L11_1
L9_1.affix = L10_1
L9_1.area_id = 6
L10_1 = {}
L10_1.config_id = 96018
L10_1.monster_id = 20011001
L11_1 = {}
L11_1.x = 1163.17
L11_1.y = 297.467
L11_1.z = 1376.206
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 = 1
L10_1.drop_id = 1000100
L10_1.disableWander = true
L11_1 = {}
L12_1 = 1410
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.area_id = 6
L11_1 = {}
L11_1.config_id = 96019
L11_1.monster_id = 20010501
L12_1 = {}
L12_1.x = 1256.019
L12_1.y = 282.666
L12_1.z = 1318.681
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 348.484
L12_1.y = 359.868
L12_1.z = 1.311
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L11_1.disableWander = true
L12_1 = {}
L13_1 = 1410
L12_1[1] = L13_1
L11_1.affix = L12_1
L11_1.area_id = 6
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 96001
L2_1.gadget_id = 70220035
L3_1 = {}
L3_1.x = 1255.098
L3_1.y = 282.996
L3_1.z = 1320.429
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 283.779
L3_1.y = 185.421
L3_1.z = 174.836
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 6
L3_1 = {}
L3_1.config_id = 96004
L3_1.gadget_id = 70360005
L4_1 = {}
L4_1.x = 1158.28
L4_1.y = 296.979
L4_1.z = 1376.394
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 355.06
L4_1.y = 358.587
L4_1.z = 3.553
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 6
L4_1 = {}
L4_1.config_id = 96005
L4_1.gadget_id = 70360025
L5_1 = {}
L5_1.x = 1259.102
L5_1.y = 285.119
L5_1.z = 1330.551
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 = 6
L5_1 = {}
L5_1.config_id = 96006
L5_1.gadget_id = 70350085
L6_1 = {}
L6_1.x = 1259.182
L6_1.y = 285.164
L6_1.z = 1330.712
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 = 6
L6_1 = {}
L6_1.config_id = 96007
L6_1.gadget_id = 70350085
L7_1 = {}
L7_1.x = 1158.271
L7_1.y = 297.518
L7_1.z = 1376.349
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.866
L7_1.y = 0.313
L7_1.z = 359.982
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 6
L7_1 = {}
L7_1.config_id = 96020
L7_1.gadget_id = 70220035
L8_1 = {}
L8_1.x = 1254.468
L8_1.y = 282.469
L8_1.z = 1318.824
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 351.581
L8_1.y = 0.445
L8_1.z = 13.964
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 6
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 96008
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 4
L3_1 = {}
L3_1.x = 1259.107
L3_1.y = 285.23
L3_1.z = 1331.091
L2_1.pos = L3_1
L2_1.area_id = 6
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1096008
L2_1.name = "ENTER_REGION_96008"
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_96008"
L2_1.action = "action_EVENT_ENTER_REGION_96008"
L2_1.tag = "666"
L2_1.forbid_guest = false
L3_1 = {}
L3_1.config_id = 1096009
L3_1.name = "CHALLENGE_SUCCESS_96009"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_SUCCESS
L3_1.event = L4_1
L3_1.source = "888"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_SUCCESS_96009"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1096010
L4_1.name = "CHALLENGE_FAIL_96010"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_FAIL
L4_1.event = L5_1
L4_1.source = "888"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_FAIL_96010"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1096011
L5_1.name = "GADGET_STATE_CHANGE_96011"
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_96011"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_96011"
L5_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "hasFinished"
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 = 3
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 96004
L5_1 = 96007
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_96011"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 96002
L6_1 = 96003
L7_1 = 96012
L8_1 = 96013
L9_1 = 96014
L10_1 = 96015
L11_1 = 96016
L12_1 = 96017
L13_1 = 96018
L14_1 = 96019
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
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 96001
L6_1 = 96005
L7_1 = 96006
L8_1 = 96020
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 96008
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_96008"
L6_1 = "CHALLENGE_SUCCESS_96009"
L7_1 = "CHALLENGE_FAIL_96010"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_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
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 ~= 96008 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_96008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 96005
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 = 0
return L2_2
end
action_EVENT_ENTER_REGION_96008 = 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 = "hasFinished"
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 96007
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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133101096
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 96004
L5_2 = GadgetState
L5_2 = L5_2.Default
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.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133101096
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 : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_96009 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 96007
L5_2 = GadgetState
L5_2 = L5_2.Default
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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133101096
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 96004
L5_2 = GadgetState
L5_2 = L5_2.Default
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
L5_2 = 0
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_CHALLENGE_FAIL_96010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 96004 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
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_STATE_CHANGE_96011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133101096
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 96007
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.ActiveChallenge
L3_2 = A0_2
L4_2 = 888
L5_2 = 189
L6_2 = 25
L7_2 = 4
L8_2 = 666
L9_2 = 5
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
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_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_96011 = L1_1