mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
451 lines
8.2 KiB
Lua
451 lines
8.2 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133001045
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 45001
|
|
L2_1.gadget_id = 70690012
|
|
L3_1 = {}
|
|
L3_1.x = 1748.557
|
|
L3_1.y = 192.753
|
|
L3_1.z = -1527.256
|
|
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 = 5
|
|
L2_1.area_id = 2
|
|
L3_1 = {}
|
|
L3_1.config_id = 45003
|
|
L3_1.gadget_id = 70690001
|
|
L4_1 = {}
|
|
L4_1.x = 1762.88
|
|
L4_1.y = 206.429
|
|
L4_1.z = -1520.972
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 358.974
|
|
L4_1.y = 62.249
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 5
|
|
L3_1.area_id = 2
|
|
L4_1 = {}
|
|
L4_1.config_id = 45004
|
|
L4_1.gadget_id = 70690001
|
|
L5_1 = {}
|
|
L5_1.x = 1771.728
|
|
L5_1.y = 206.608
|
|
L5_1.z = -1516.317
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 358.973
|
|
L5_1.y = 62.249
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 5
|
|
L4_1.area_id = 2
|
|
L5_1 = {}
|
|
L5_1.config_id = 45005
|
|
L5_1.gadget_id = 70690001
|
|
L6_1 = {}
|
|
L6_1.x = 1780.576
|
|
L6_1.y = 206.788
|
|
L6_1.z = -1511.661
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 358.974
|
|
L6_1.y = 62.249
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 5
|
|
L5_1.area_id = 2
|
|
L6_1 = {}
|
|
L6_1.config_id = 45006
|
|
L6_1.gadget_id = 70690001
|
|
L7_1 = {}
|
|
L7_1.x = 1789.425
|
|
L7_1.y = 206.967
|
|
L7_1.z = -1507.006
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 358.974
|
|
L7_1.y = 62.249
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 5
|
|
L6_1.area_id = 2
|
|
L7_1 = {}
|
|
L7_1.config_id = 45007
|
|
L7_1.gadget_id = 70690001
|
|
L8_1 = {}
|
|
L8_1.x = 1815.528
|
|
L8_1.y = 203.879
|
|
L8_1.z = -1493.271
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 358.973
|
|
L8_1.y = 62.25
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 5
|
|
L7_1.area_id = 2
|
|
L8_1 = {}
|
|
L8_1.config_id = 45008
|
|
L8_1.gadget_id = 70690001
|
|
L9_1 = {}
|
|
L9_1.x = 1824.377
|
|
L9_1.y = 204.058
|
|
L9_1.z = -1488.617
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 358.974
|
|
L9_1.y = 62.25
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 5
|
|
L8_1.area_id = 2
|
|
L9_1 = {}
|
|
L9_1.config_id = 45009
|
|
L9_1.gadget_id = 70690001
|
|
L10_1 = {}
|
|
L10_1.x = 1833.225
|
|
L10_1.y = 204.237
|
|
L10_1.z = -1483.961
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 358.974
|
|
L10_1.y = 62.249
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 5
|
|
L9_1.area_id = 2
|
|
L10_1 = {}
|
|
L10_1.config_id = 45012
|
|
L10_1.gadget_id = 70710126
|
|
L11_1 = {}
|
|
L11_1.x = 1748.229
|
|
L11_1.y = 195.163
|
|
L11_1.z = -1527.847
|
|
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 = 2
|
|
L11_1 = {}
|
|
L11_1.config_id = 45014
|
|
L11_1.gadget_id = 70690012
|
|
L12_1 = {}
|
|
L12_1.x = 1804.761
|
|
L12_1.y = 190.813
|
|
L12_1.z = -1500.106
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 0.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 5
|
|
L11_1.area_id = 2
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 45011
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 25
|
|
L3_1 = {}
|
|
L3_1.x = 1888.163
|
|
L3_1.y = 196.231
|
|
L3_1.z = -1463.049
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 2
|
|
L3_1 = {}
|
|
L3_1.config_id = 45013
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 5
|
|
L4_1 = {}
|
|
L4_1.x = 1748.203
|
|
L4_1.y = 195.162
|
|
L4_1.z = -1527.74
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 2
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1045002
|
|
L2_1.name = "TIME_AXIS_PASS_45002"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_TIME_AXIS_PASS
|
|
L2_1.event = L3_1
|
|
L2_1.source = "T1"
|
|
L2_1.condition = ""
|
|
L2_1.action = "action_EVENT_TIME_AXIS_PASS_45002"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1045010
|
|
L3_1.name = "GROUP_LOAD_45010"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GROUP_LOAD
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_GROUP_LOAD_45010"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1045011
|
|
L4_1.name = "ENTER_REGION_45011"
|
|
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_45011"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_45011"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1045013
|
|
L5_1.name = "ENTER_REGION_45013"
|
|
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_45013"
|
|
L5_1.action = "action_EVENT_ENTER_REGION_45013"
|
|
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 = 45001
|
|
L5_1 = 45003
|
|
L6_1 = 45004
|
|
L7_1 = 45005
|
|
L8_1 = 45006
|
|
L9_1 = 45007
|
|
L10_1 = 45008
|
|
L11_1 = 45009
|
|
L12_1 = 45014
|
|
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 = 45011
|
|
L3_1[1] = L4_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "TIME_AXIS_PASS_45002"
|
|
L5_1 = "GROUP_LOAD_45010"
|
|
L6_1 = "ENTER_REGION_45011"
|
|
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 = {}
|
|
L2_2.x = 1746
|
|
L2_2.y = 200
|
|
L2_2.z = -1526
|
|
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_45002 = 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_45010 = 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 ~= 45011 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_45011 = 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 = 133001045
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_45011 = 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 ~= 45013 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_45013 = 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 = 45012
|
|
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_45013 = L1_1
|