mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
485 lines
8.8 KiB
Lua
485 lines
8.8 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 = 133104308
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 308001
|
|
L2_1.gadget_id = 70690012
|
|
L3_1 = {}
|
|
L3_1.x = -125.492
|
|
L3_1.y = 290.072
|
|
L3_1.z = 130.632
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 92.284
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 5
|
|
L2_1.area_id = 7
|
|
L3_1 = {}
|
|
L3_1.config_id = 308002
|
|
L3_1.gadget_id = 70690001
|
|
L4_1 = {}
|
|
L4_1.x = -118.034
|
|
L4_1.y = 302.66
|
|
L4_1.z = 117.875
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 3.753
|
|
L4_1.y = 163.051
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 7
|
|
L4_1 = {}
|
|
L4_1.config_id = 308003
|
|
L4_1.gadget_id = 70690001
|
|
L5_1 = {}
|
|
L5_1.x = -115.998
|
|
L5_1.y = 302.202
|
|
L5_1.z = 111.193
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 3.753
|
|
L5_1.y = 163.051
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.area_id = 7
|
|
L5_1 = {}
|
|
L5_1.config_id = 308004
|
|
L5_1.gadget_id = 70690001
|
|
L6_1 = {}
|
|
L6_1.x = -113.962
|
|
L6_1.y = 301.744
|
|
L6_1.z = 104.512
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 3.753
|
|
L6_1.y = 163.051
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 7
|
|
L6_1 = {}
|
|
L6_1.config_id = 308005
|
|
L6_1.gadget_id = 70690001
|
|
L7_1 = {}
|
|
L7_1.x = -111.925
|
|
L7_1.y = 301.286
|
|
L7_1.z = 97.83
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 3.753
|
|
L7_1.y = 163.051
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 7
|
|
L7_1 = {}
|
|
L7_1.config_id = 308006
|
|
L7_1.gadget_id = 70690001
|
|
L8_1 = {}
|
|
L8_1.x = -109.889
|
|
L8_1.y = 300.828
|
|
L8_1.z = 91.148
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 3.753
|
|
L8_1.y = 163.051
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 7
|
|
L8_1 = {}
|
|
L8_1.config_id = 308007
|
|
L8_1.gadget_id = 70690001
|
|
L9_1 = {}
|
|
L9_1.x = -107.842
|
|
L9_1.y = 300.918
|
|
L9_1.z = 84.432
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 3.753
|
|
L9_1.y = 163.051
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 7
|
|
L9_1 = {}
|
|
L9_1.config_id = 308008
|
|
L9_1.gadget_id = 70690001
|
|
L10_1 = {}
|
|
L10_1.x = -105.816
|
|
L10_1.y = 299.911
|
|
L10_1.z = 77.785
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 3.753
|
|
L10_1.y = 163.051
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.area_id = 7
|
|
L10_1 = {}
|
|
L10_1.config_id = 308009
|
|
L10_1.gadget_id = 70710126
|
|
L11_1 = {}
|
|
L11_1.x = -123.355
|
|
L11_1.y = 290.441
|
|
L11_1.z = 130.533
|
|
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.area_id = 7
|
|
L11_1 = {}
|
|
L11_1.config_id = 308013
|
|
L11_1.gadget_id = 70690001
|
|
L12_1 = {}
|
|
L12_1.x = -98.151
|
|
L12_1.y = 295.683
|
|
L12_1.z = 49.913
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 6.272
|
|
L12_1.y = 167.322
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.area_id = 7
|
|
L12_1 = {}
|
|
L12_1.config_id = 308014
|
|
L12_1.gadget_id = 70690001
|
|
L13_1 = {}
|
|
L13_1.x = -96.649
|
|
L13_1.y = 294.931
|
|
L13_1.z = 43.236
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 16.783
|
|
L13_1.y = 186.906
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.area_id = 7
|
|
L13_1 = {}
|
|
L13_1.config_id = 308015
|
|
L13_1.gadget_id = 70690001
|
|
L14_1 = {}
|
|
L14_1.x = -97.455
|
|
L14_1.y = 292.91
|
|
L14_1.z = 36.583
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 16.783
|
|
L14_1.y = 186.906
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L13_1.area_id = 7
|
|
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
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 308011
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 25
|
|
L3_1 = {}
|
|
L3_1.x = -106.343
|
|
L3_1.y = 253.448
|
|
L3_1.z = -38.396
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 7
|
|
L3_1 = {}
|
|
L3_1.config_id = 308012
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 4
|
|
L4_1 = {}
|
|
L4_1.x = -123.344
|
|
L4_1.y = 290.446
|
|
L4_1.z = 130.567
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 7
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1308010
|
|
L2_1.name = "GROUP_LOAD_308010"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_GROUP_LOAD
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = ""
|
|
L2_1.action = "action_EVENT_GROUP_LOAD_308010"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1308011
|
|
L3_1.name = "ENTER_REGION_308011"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ENTER_REGION
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ENTER_REGION_308011"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_308011"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1308012
|
|
L4_1.name = "ENTER_REGION_308012"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ENTER_REGION_308012"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_308012"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1308016
|
|
L5_1.name = "TIME_AXIS_PASS_308016"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_TIME_AXIS_PASS
|
|
L5_1.event = L6_1
|
|
L5_1.source = "T1"
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_TIME_AXIS_PASS_308016"
|
|
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 = {}
|
|
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 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 308001
|
|
L5_1 = 308002
|
|
L6_1 = 308003
|
|
L7_1 = 308004
|
|
L8_1 = 308005
|
|
L9_1 = 308006
|
|
L10_1 = 308013
|
|
L11_1 = 308014
|
|
L12_1 = 308015
|
|
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
|
|
L3_1[8] = L11_1
|
|
L3_1[9] = L12_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 308011
|
|
L3_1[1] = L4_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GROUP_LOAD_308010"
|
|
L5_1 = "ENTER_REGION_308011"
|
|
L6_1 = "TIME_AXIS_PASS_308016"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
suites = 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.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "T1"
|
|
L5_2 = {}
|
|
L6_2 = 3
|
|
L5_2[1] = L6_2
|
|
L6_2 = false
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_308010 = 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 ~= 308011 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_308011 = 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.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133104308
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_308011 = 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 ~= 308012 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_308012 = 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.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133104308
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 308009
|
|
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 : remove_gadget_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_308012 = 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 = -123
|
|
L2_2.y = 300
|
|
L2_2.z = 130
|
|
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 = true
|
|
L6_2.duration = 3
|
|
L6_2.is_force = true
|
|
L6_2.is_broadcast = false
|
|
L6_2.is_recover_keep_current = true
|
|
L6_2.delay = 0
|
|
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 = ScriptLib
|
|
L4_2 = L4_2.ShowReminder
|
|
L5_2 = A0_2
|
|
L6_2 = 400071
|
|
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_reminder_ui"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_TIME_AXIS_PASS_308016 = L1_1
|