mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
511 lines
9.3 KiB
Lua
511 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133213145
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 145006
|
|
L2_1.monster_id = 21010101
|
|
L3_1 = {}
|
|
L3_1.x = -3283.645
|
|
L3_1.y = 207.568
|
|
L3_1.z = -3261.574
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 197.411
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 27
|
|
L2_1.drop_id = 1000100
|
|
L2_1.disableWander = true
|
|
L2_1.isOneoff = true
|
|
L2_1.pose_id = 9016
|
|
L2_1.area_id = 12
|
|
L3_1 = {}
|
|
L3_1.config_id = 145007
|
|
L3_1.monster_id = 21010101
|
|
L4_1 = {}
|
|
L4_1.x = -3284.699
|
|
L4_1.y = 207.517
|
|
L4_1.z = -3261.666
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 152.814
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 27
|
|
L3_1.drop_id = 1000100
|
|
L3_1.disableWander = true
|
|
L3_1.isOneoff = true
|
|
L3_1.area_id = 12
|
|
L4_1 = {}
|
|
L4_1.config_id = 145009
|
|
L4_1.monster_id = 28020102
|
|
L5_1 = {}
|
|
L5_1.x = -3261.817
|
|
L5_1.y = 201.235
|
|
L5_1.z = -3266.457
|
|
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 = 27
|
|
L4_1.drop_tag = "\232\181\176\229\133\189"
|
|
L4_1.isOneoff = true
|
|
L4_1.area_id = 12
|
|
L5_1 = {}
|
|
L5_1.config_id = 145010
|
|
L5_1.monster_id = 28020102
|
|
L6_1 = {}
|
|
L6_1.x = -3260.98
|
|
L6_1.y = 201.151
|
|
L6_1.z = -3265.246
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 228.982
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 27
|
|
L5_1.drop_tag = "\232\181\176\229\133\189"
|
|
L5_1.isOneoff = true
|
|
L5_1.area_id = 12
|
|
L6_1 = {}
|
|
L6_1.config_id = 145015
|
|
L6_1.monster_id = 21010101
|
|
L7_1 = {}
|
|
L7_1.x = -3241.345
|
|
L7_1.y = 200.0
|
|
L7_1.z = -3256.137
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 110.733
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 27
|
|
L6_1.drop_id = 1000100
|
|
L6_1.isOneoff = true
|
|
L6_1.pose_id = 9016
|
|
L6_1.area_id = 12
|
|
L7_1 = {}
|
|
L7_1.config_id = 145016
|
|
L7_1.monster_id = 21010101
|
|
L8_1 = {}
|
|
L8_1.x = -3241.156
|
|
L8_1.y = 200.0
|
|
L8_1.z = -3257.486
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 66.136
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 27
|
|
L7_1.drop_id = 1000100
|
|
L7_1.isOneoff = true
|
|
L7_1.pose_id = 9016
|
|
L7_1.area_id = 12
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 145002
|
|
L2_1.gadget_id = 70900394
|
|
L3_1 = {}
|
|
L3_1.x = -3288.333
|
|
L3_1.y = 208.287
|
|
L3_1.z = -3254.086
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 1.658
|
|
L3_1.y = 5.896
|
|
L3_1.z = 0.731
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 27
|
|
L2_1.isOneoff = true
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 12
|
|
L3_1 = {}
|
|
L3_1.config_id = 145004
|
|
L3_1.gadget_id = 70360001
|
|
L4_1 = {}
|
|
L4_1.x = -3288.39
|
|
L4_1.y = 209.123
|
|
L4_1.z = -3253.896
|
|
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 = 27
|
|
L3_1.area_id = 12
|
|
L4_1 = {}
|
|
L4_1.config_id = 145008
|
|
L4_1.gadget_id = 71700105
|
|
L5_1 = {}
|
|
L5_1.x = -3261.553
|
|
L5_1.y = 201.365
|
|
L5_1.z = -3265.773
|
|
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 = 27
|
|
L4_1.isOneoff = true
|
|
L4_1.area_id = 12
|
|
L5_1 = {}
|
|
L5_1.config_id = 145013
|
|
L5_1.gadget_id = 70220064
|
|
L6_1 = {}
|
|
L6_1.x = -3282.58
|
|
L6_1.y = 206.178
|
|
L6_1.z = -3267.878
|
|
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 = 27
|
|
L5_1.area_id = 12
|
|
L6_1 = {}
|
|
L6_1.config_id = 145014
|
|
L6_1.gadget_id = 70220064
|
|
L7_1 = {}
|
|
L7_1.x = -3284.53
|
|
L7_1.y = 207.365
|
|
L7_1.z = -3263.198
|
|
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 = 27
|
|
L6_1.area_id = 12
|
|
L7_1 = {}
|
|
L7_1.config_id = 145017
|
|
L7_1.gadget_id = 70210101
|
|
L8_1 = {}
|
|
L8_1.x = -3239.761
|
|
L8_1.y = 200.0
|
|
L8_1.z = -3257.167
|
|
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 = 26
|
|
L7_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\233\128\154\231\148\168\231\168\187\229\166\187"
|
|
L7_1.isOneoff = true
|
|
L7_1.persistent = true
|
|
L7_1.area_id = 12
|
|
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 = 145001
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 20
|
|
L3_1 = {}
|
|
L3_1.x = -3273.311
|
|
L3_1.y = 202.412
|
|
L3_1.z = -3260.877
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 12
|
|
L1_1[1] = L2_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1145001
|
|
L2_1.name = "ENTER_REGION_145001"
|
|
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_145001"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_145001"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1145003
|
|
L3_1.name = "GADGET_CREATE_145003"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGET_CREATE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_GADGET_CREATE_145003"
|
|
L3_1.action = "action_EVENT_GADGET_CREATE_145003"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1145005
|
|
L4_1.name = "SELECT_OPTION_145005"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_SELECT_OPTION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_SELECT_OPTION_145005"
|
|
L4_1.action = "action_EVENT_SELECT_OPTION_145005"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
triggers = L1_1
|
|
L1_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 = 145002
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 145006
|
|
L6_1 = 145007
|
|
L7_1 = 145009
|
|
L8_1 = 145010
|
|
L9_1 = 145015
|
|
L10_1 = 145016
|
|
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
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 145002
|
|
L6_1 = 145004
|
|
L7_1 = 145008
|
|
L8_1 = 145013
|
|
L9_1 = 145014
|
|
L10_1 = 145017
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 145001
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_145001"
|
|
L6_1 = "GADGET_CREATE_145003"
|
|
L7_1 = "SELECT_OPTION_145005"
|
|
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 = {}
|
|
L6_1 = "SELECT_OPTION_145005"
|
|
L5_1[1] = L6_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 ~= 145001 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_145001 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "7212405_end"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 1110352
|
|
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 : active_reminder_ui"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_145001 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 145004 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_145003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133213145
|
|
L5_2 = 145004
|
|
L6_2 = {}
|
|
L7_2 = 70
|
|
L6_2[1] = L7_2
|
|
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_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_145003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 145004 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 70 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_145005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "7212406_end"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133213145
|
|
L4_2.suite = 3
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 1110354
|
|
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 : active_reminder_ui"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_145005 = L1_1
|