mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
495 lines
9.3 KiB
Lua
495 lines
9.3 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 = 133102104
|
|
L1_1 = {}
|
|
L1_1.gadget_1 = 104011
|
|
L1_1.gadget_2 = 104012
|
|
L1_1.gadget_3 = 104013
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 104001
|
|
L3_1.monster_id = 26040101
|
|
L4_1 = {}
|
|
L4_1.x = 1319.076
|
|
L4_1.y = 203.558
|
|
L4_1.z = 466.053
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 129.098
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 19
|
|
L3_1.drop_tag = "\229\178\169\233\190\153\232\156\165"
|
|
L3_1.area_id = 5
|
|
L4_1 = {}
|
|
L4_1.config_id = 104002
|
|
L4_1.monster_id = 26040104
|
|
L5_1 = {}
|
|
L5_1.x = 1311.015
|
|
L5_1.y = 202.362
|
|
L5_1.z = 453.804
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 76.597
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 19
|
|
L4_1.drop_tag = "\229\178\169\233\190\153\232\156\165"
|
|
L4_1.area_id = 5
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 104003
|
|
L3_1.gadget_id = 70290010
|
|
L4_1 = {}
|
|
L4_1.x = 1317.864
|
|
L4_1.y = 200.566
|
|
L4_1.z = 440.397
|
|
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.isOneoff = true
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 5
|
|
L4_1 = {}
|
|
L4_1.config_id = 104004
|
|
L4_1.gadget_id = 70500000
|
|
L5_1 = {}
|
|
L5_1.x = 1317.864
|
|
L5_1.y = 200.566
|
|
L5_1.z = 440.397
|
|
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.point_type = 3006
|
|
L4_1.owner = 104003
|
|
L4_1.area_id = 5
|
|
L5_1 = {}
|
|
L5_1.config_id = 104005
|
|
L5_1.gadget_id = 70290010
|
|
L6_1 = {}
|
|
L6_1.x = 1333.772
|
|
L6_1.y = 200.052
|
|
L6_1.z = 443.453
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 328.235
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.isOneoff = true
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 5
|
|
L6_1 = {}
|
|
L6_1.config_id = 104006
|
|
L6_1.gadget_id = 70500000
|
|
L7_1 = {}
|
|
L7_1.x = 1333.771
|
|
L7_1.y = 200.052
|
|
L7_1.z = 443.453
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 328.235
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.point_type = 3006
|
|
L6_1.owner = 104005
|
|
L6_1.area_id = 5
|
|
L7_1 = {}
|
|
L7_1.config_id = 104011
|
|
L7_1.gadget_id = 70220008
|
|
L8_1 = {}
|
|
L8_1.x = 1357.014
|
|
L8_1.y = 201.554
|
|
L8_1.z = 440.002
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 7.011
|
|
L8_1.y = 150.987
|
|
L8_1.z = 356.127
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 24
|
|
L7_1.isOneoff = true
|
|
L7_1.persistent = true
|
|
L7_1.area_id = 5
|
|
L8_1 = {}
|
|
L8_1.config_id = 104012
|
|
L8_1.gadget_id = 70220008
|
|
L9_1 = {}
|
|
L9_1.x = 1301.672
|
|
L9_1.y = 201.487
|
|
L9_1.z = 450.122
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 354.701
|
|
L9_1.y = 202.063
|
|
L9_1.z = 353.777
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 24
|
|
L8_1.isOneoff = true
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 5
|
|
L9_1 = {}
|
|
L9_1.config_id = 104013
|
|
L9_1.gadget_id = 70220008
|
|
L10_1 = {}
|
|
L10_1.x = 1344.792
|
|
L10_1.y = 201.26
|
|
L10_1.z = 457.423
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 14.907
|
|
L10_1.y = 90.526
|
|
L10_1.z = 356.678
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 24
|
|
L9_1.isOneoff = true
|
|
L9_1.persistent = true
|
|
L9_1.area_id = 5
|
|
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 = 104016
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 40
|
|
L4_1 = {}
|
|
L4_1.x = 1324.067
|
|
L4_1.y = 202.1
|
|
L4_1.z = 456.239
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 5
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1104014
|
|
L3_1.name = "VARIABLE_CHANGE_104014"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_104014"
|
|
L3_1.action = "action_EVENT_VARIABLE_CHANGE_104014"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1104015
|
|
L4_1.name = "ANY_GADGET_DIE_104015"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ANY_GADGET_DIE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_104015"
|
|
L4_1.action = "action_EVENT_ANY_GADGET_DIE_104015"
|
|
L4_1.trigger_count = 3
|
|
L5_1 = {}
|
|
L5_1.config_id = 1104016
|
|
L5_1.name = "ENTER_REGION_104016"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_ENTER_REGION
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_ENTER_REGION_104016"
|
|
L5_1.action = "action_EVENT_ENTER_REGION_104016"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1104017
|
|
L6_1.name = "ANY_MONSTER_DIE_104017"
|
|
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_104017"
|
|
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_104017"
|
|
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 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "flag"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = false
|
|
L4_1 = {}
|
|
L4_1.configId = 2
|
|
L4_1.name = "PuzzleFinish"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = false
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 3
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 104003
|
|
L6_1 = 104004
|
|
L7_1 = 104005
|
|
L8_1 = 104006
|
|
L9_1 = 104011
|
|
L10_1 = 104012
|
|
L11_1 = 104013
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 104016
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "VARIABLE_CHANGE_104014"
|
|
L6_1 = "ANY_GADGET_DIE_104015"
|
|
L7_1 = "ENTER_REGION_104016"
|
|
L8_1 = "ANY_MONSTER_DIE_104017"
|
|
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 = {}
|
|
L6_1 = 104001
|
|
L7_1 = 104002
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_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
|
|
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, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "flag"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 3 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_104014 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133102104
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "PuzzleFinish"
|
|
L5_2 = 1
|
|
L6_2 = 133102104
|
|
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_groupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_104014 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_1
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.gadget_2
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = L1_1.gadget_3
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
end
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_104015 = 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.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "flag"
|
|
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 : change_GroupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_104015 = 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 ~= 104016 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_104016 = L2_1
|
|
function L2_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 = "PuzzleFinish"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExpeditionChallengeEnterRegion
|
|
L3_2 = A0_2
|
|
L4_2 = false
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "PuzzleFinish"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 1 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExpeditionChallengeEnterRegion
|
|
L3_2 = A0_2
|
|
L4_2 = true
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_104016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_104017 = 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.FinishExpeditionChallenge
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GoToGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133102104
|
|
L5_2 = 3
|
|
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_ANY_MONSTER_DIE_104017 = L2_1
|