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

727 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, L12_1, L13_1, L14_1
L0_1 = {}
L0_1.group_id = 133104422
L1_1 = {}
L2_1 = {}
L2_1.config_id = 422001
L2_1.monster_id = 20011201
L3_1 = {}
L3_1.x = 647.376
L3_1.y = 200.182
L3_1.z = 151.379
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.487
L3_1.y = 66.399
L3_1.z = 0.24
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 = 9
L3_1 = {}
L3_1.config_id = 422002
L3_1.monster_id = 20011001
L4_1 = {}
L4_1.x = 636.005
L4_1.y = 200.116
L4_1.z = 152.082
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 1.368
L4_1.y = 82.631
L4_1.z = 1.728
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 = 9
L4_1 = {}
L4_1.config_id = 422003
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 629.067
L5_1.y = 200.0
L5_1.z = 151.586
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 77.204
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 = 9
L5_1 = {}
L5_1.config_id = 422012
L5_1.monster_id = 20011001
L6_1 = {}
L6_1.x = 608.434
L6_1.y = 200.214
L6_1.z = 139.039
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 334.012
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 = 9
L6_1 = {}
L6_1.config_id = 422013
L6_1.monster_id = 20010801
L7_1 = {}
L7_1.x = 625.218
L7_1.y = 200.0
L7_1.z = 149.182
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 77.204
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 = 9
L7_1 = {}
L7_1.config_id = 422014
L7_1.monster_id = 20010801
L8_1 = {}
L8_1.x = 618.171
L8_1.y = 200.0
L8_1.z = 146.995
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 77.204
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 = 9
L8_1 = {}
L8_1.config_id = 422015
L8_1.monster_id = 20011401
L9_1 = {}
L9_1.x = 589.297
L9_1.y = 200.828
L9_1.z = 127.312
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.368
L9_1.y = 87.506
L9_1.z = 0.399
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 = 9
L9_1 = {}
L9_1.config_id = 422017
L9_1.monster_id = 20011201
L10_1 = {}
L10_1.x = 648.171
L10_1.y = 200.242
L10_1.z = 154.037
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 359.767
L10_1.y = 155.618
L10_1.z = 0.491
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 = 9
L10_1 = {}
L10_1.config_id = 422018
L10_1.monster_id = 20011001
L11_1 = {}
L11_1.x = 604.913
L11_1.y = 200.193
L11_1.z = 140.752
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 84.445
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 = 9
L11_1 = {}
L11_1.config_id = 422019
L11_1.monster_id = 20010801
L12_1 = {}
L12_1.x = 613.9
L12_1.y = 200.0
L12_1.z = 147.009
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 77.204
L12_1.z = 0.0
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 = 9
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 = 422004
L2_1.gadget_id = 70360005
L3_1 = {}
L3_1.x = 662.229
L3_1.y = 200.428
L3_1.z = 158.578
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 356.466
L3_1.y = 359.726
L3_1.z = 8.881
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 9
L3_1 = {}
L3_1.config_id = 422005
L3_1.gadget_id = 70360025
L4_1 = {}
L4_1.x = 573.186
L4_1.y = 206.086
L4_1.z = 125.325
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 = 9
L4_1 = {}
L4_1.config_id = 422006
L4_1.gadget_id = 70350085
L5_1 = {}
L5_1.x = 573.16
L5_1.y = 206.063
L5_1.z = 125.277
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 = 9
L5_1 = {}
L5_1.config_id = 422007
L5_1.gadget_id = 70350085
L6_1 = {}
L6_1.x = 662.2
L6_1.y = 200.922
L6_1.z = 158.6
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 = 9
L6_1 = {}
L6_1.config_id = 422016
L6_1.gadget_id = 70220005
L7_1 = {}
L7_1.x = 588.201
L7_1.y = 201.041
L7_1.z = 127.695
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 353.832
L7_1.y = 0.48
L7_1.z = 351.119
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 9
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 422008
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 3
L3_1 = {}
L3_1.x = 573.16
L3_1.y = 206.063
L3_1.z = 125.277
L2_1.pos = L3_1
L2_1.area_id = 9
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1422008
L2_1.name = "ENTER_REGION_422008"
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_422008"
L2_1.action = "action_EVENT_ENTER_REGION_422008"
L2_1.tag = "666"
L2_1.forbid_guest = false
L3_1 = {}
L3_1.config_id = 1422009
L3_1.name = "CHALLENGE_SUCCESS_422009"
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_422009"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1422010
L4_1.name = "CHALLENGE_FAIL_422010"
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_422010"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1422011
L5_1.name = "GADGET_STATE_CHANGE_422011"
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_422011"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_422011"
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 = 422004
L5_1 = 422007
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_422011"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 422001
L6_1 = 422002
L7_1 = 422003
L8_1 = 422012
L9_1 = 422013
L10_1 = 422014
L11_1 = 422015
L12_1 = 422017
L13_1 = 422018
L14_1 = 422019
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 = 422005
L6_1 = 422006
L7_1 = 422016
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 422008
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_422008"
L6_1 = "CHALLENGE_SUCCESS_422009"
L7_1 = "CHALLENGE_FAIL_422010"
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 ~= 422008 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_422008 = 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 = 422005
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_422008 = 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 = 422007
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 = 133104422
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 = 422004
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 = 133104422
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_422009 = 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 = 422007
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 = 133104422
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 = 422004
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_422010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 422004 == 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_422011 = 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 = 133104422
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 = 422007
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_422011 = L1_1