mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
379 lines
6.9 KiB
Lua
379 lines
6.9 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 = 144005004
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 4001
|
|
L2_1.npc_id = 2003058
|
|
L3_1 = {}
|
|
L3_1.x = 1449.176
|
|
L3_1.y = 135.055
|
|
L3_1.z = -728.507
|
|
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.area_id = 101
|
|
L1_1[1] = L2_1
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 4002
|
|
L2_1.gadget_id = 70211121
|
|
L3_1 = {}
|
|
L3_1.x = 1452.297
|
|
L3_1.y = 134.607
|
|
L3_1.z = -730.881
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 267.104
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 26
|
|
L2_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\190\164\229\178\155"
|
|
L2_1.isOneoff = true
|
|
L2_1.persistent = true
|
|
L3_1 = {}
|
|
L3_1.name = "chest"
|
|
L3_1.exp = 1
|
|
L2_1.explore = L3_1
|
|
L2_1.area_id = 101
|
|
L3_1 = {}
|
|
L3_1.config_id = 4003
|
|
L3_1.gadget_id = 70211121
|
|
L4_1 = {}
|
|
L4_1.x = 1451.937
|
|
L4_1.y = 134.815
|
|
L4_1.z = -732.751
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 295.965
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 26
|
|
L3_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\190\164\229\178\155"
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L4_1 = {}
|
|
L4_1.name = "chest"
|
|
L4_1.exp = 1
|
|
L3_1.explore = L4_1
|
|
L3_1.area_id = 101
|
|
L4_1 = {}
|
|
L4_1.config_id = 4005
|
|
L4_1.gadget_id = 70211121
|
|
L5_1 = {}
|
|
L5_1.x = 1450.881
|
|
L5_1.y = 135.074
|
|
L5_1.z = -734.671
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 323.265
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 26
|
|
L4_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\190\164\229\178\155"
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L5_1 = {}
|
|
L5_1.name = "chest"
|
|
L5_1.exp = 1
|
|
L4_1.explore = L5_1
|
|
L4_1.area_id = 101
|
|
L5_1 = {}
|
|
L5_1.config_id = 4006
|
|
L5_1.gadget_id = 70211001
|
|
L6_1 = {}
|
|
L6_1.x = 1456.545
|
|
L6_1.y = 121.66
|
|
L6_1.z = -737.093
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 1.04
|
|
L6_1.y = 122.798
|
|
L6_1.z = 338.481
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 26
|
|
L5_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\190\164\229\178\155"
|
|
L5_1.isOneoff = true
|
|
L5_1.persistent = true
|
|
L6_1 = {}
|
|
L6_1.name = "chest"
|
|
L6_1.exp = 1
|
|
L5_1.explore = L6_1
|
|
L5_1.area_id = 101
|
|
L6_1 = {}
|
|
L6_1.config_id = 4007
|
|
L6_1.gadget_id = 70211001
|
|
L7_1 = {}
|
|
L7_1.x = 1448.888
|
|
L7_1.y = 139.405
|
|
L7_1.z = -714.597
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 326.847
|
|
L7_1.y = 159.437
|
|
L7_1.z = 320.833
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 26
|
|
L6_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\190\164\229\178\155"
|
|
L6_1.isOneoff = true
|
|
L6_1.persistent = true
|
|
L7_1 = {}
|
|
L7_1.name = "chest"
|
|
L7_1.exp = 1
|
|
L6_1.explore = L7_1
|
|
L6_1.area_id = 101
|
|
L7_1 = {}
|
|
L7_1.config_id = 4008
|
|
L7_1.gadget_id = 70290011
|
|
L8_1 = {}
|
|
L8_1.x = 1468.572
|
|
L8_1.y = 129.123
|
|
L8_1.z = -709.541
|
|
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 = 1
|
|
L7_1.area_id = 101
|
|
L8_1 = {}
|
|
L8_1.config_id = 4009
|
|
L8_1.gadget_id = 70500000
|
|
L9_1 = {}
|
|
L9_1.x = 1468.572
|
|
L9_1.y = 129.123
|
|
L9_1.z = -709.541
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.point_type = 3009
|
|
L8_1.owner = 4008
|
|
L8_1.area_id = 101
|
|
L9_1 = {}
|
|
L9_1.config_id = 4010
|
|
L9_1.gadget_id = 50010007
|
|
L10_1 = {}
|
|
L10_1.x = 1468.79
|
|
L10_1.y = 129.743
|
|
L10_1.z = -708.643
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 73.163
|
|
L10_1.y = 270.704
|
|
L10_1.z = 21.578
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.area_id = 101
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 4004
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 20
|
|
L3_1 = {}
|
|
L3_1.x = 1441.188
|
|
L3_1.y = 129.689
|
|
L3_1.z = -715.507
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 101
|
|
L3_1 = {}
|
|
L3_1.config_id = 4011
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 20
|
|
L4_1 = {}
|
|
L4_1.x = 1441.188
|
|
L4_1.y = 129.689
|
|
L4_1.z = -715.507
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 101
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1004004
|
|
L2_1.name = "ENTER_REGION_4004"
|
|
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_4004"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_4004"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1004011
|
|
L3_1.name = "ENTER_REGION_4011"
|
|
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_4011"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_4011"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_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 = 4002
|
|
L5_1 = 4003
|
|
L6_1 = 4005
|
|
L7_1 = 4006
|
|
L8_1 = 4007
|
|
L9_1 = 4008
|
|
L10_1 = 4009
|
|
L11_1 = 4010
|
|
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
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 4004
|
|
L5_1 = 4011
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ENTER_REGION_4004"
|
|
L5_1 = "ENTER_REGION_4011"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 4001
|
|
L3_1[1] = L4_1
|
|
L2_1.npcs = L3_1
|
|
L2_1.rand_weight = 100
|
|
L1_1[1] = L2_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 ~= 4004 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_4004 = 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 = "7900503finish"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_4004 = 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 ~= 4011 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_4011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ShowReminder
|
|
L3_2 = A0_2
|
|
L4_2 = 1110272
|
|
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_4011 = L1_1
|