翻译成中文,保留源代码
Config.Commands = {
-- [[ To Open the tablet. ]]
tabletCommand = "delivery",
-- [[ To accept the invitation. ]]
acceptInv = "acceptinvite",
-- [[ To deny the invitation. ]]
denyInv = "denyinvite",
-- [[ To block the invitations. ]]
blockInvitations = "blockinvitations",
-- [[ To left the team. ]]
leaveteam = "leaveteam",
}
--[[ You can set Commands.tabletCommand' command to use with item. ]]
Config.Tablet = {
active = true,
itemName = "delivery_tablet",
}
Config.AcceptableTasks = {
-- Min Level 1 Jobs
[1] = {
-- !!! Must be the same as KEY and UNIQUE.
unique_id = 1,
-- Min level required to perform this task
level = 1,
-- Short text explaining the task
title = "Task #1",
-- Type of task type:("delivery" or "collecting")
type = "delivery",
-- The required goal to complete the task
goal = 3,
-- Experience points for completing the mission
exp = 400,
-- Reward for completing the task
fee = 5000,
--[[
The coordinates of the task.
!!! Please add at least as many coordinates as there are targets.
Coordinates will be given randomly.
So the more coordinates you add, the more the feeling of different missions.
!!! Please add as shown.
destinations = {
[1] = { coords = vec4(479.736267, -1736.109863, 29.145020, 206.929138) },
[2] = { coords = vec4(313.898895, -2040.672485, 20.922363, 308.976379) },
[3] = { coords = vec4(353.248352, -2036.400024, 22.337769, 107.716537) },
[4] = { coords = vec4(152.663742, -1823.604370, 27.864502, 56.692913) },
[5] = { coords = vec4(-111.059341, -1593.850586, 31.975830, 238.110229) }, --
[6] = { coords = vec4(-125.630768, -1473.481323, 33.812500, 317.480316) },
[7] = { coords = vec4(168.145050, -1299.177979, 29.364136, 68.031494) },
},
},
[2] = {
unique_id = 2,
level = 1,
title = "Task #2",
type = "collecting",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
[1] = { coords = vec4(479.736267, -1736.109863, 29.145020, 206.929138) },
[2] = { coords = vec4(313.898895, -2040.672485, 20.922363, 308.976379) },
[3] = { coords = vec4(353.248352, -2036.400024, 22.337769, 107.716537) },
[4] = { coords = vec4(152.663742, -1823.604370, 27.864502, 56.692913) },
[5] = { coords = vec4(-111.059341, -1593.850586, 31.975830, 238.110229) },
[6] = { coords = vec4(-125.630768, -1473.481323, 33.812500, 317.480316) },
[7] = { coords = vec4(168.145050, -1299.177979, 29.364136, 68.031494) },
},
},
[3] = {
unique_id = 3,
level = 1,
title = "Task #3",
type = "delivery",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
[1] = { coords = vec4(-1011.0830, -1224.7694, 5.8178, 270.7039) },
[2] = { coords = vec4(-1002.3689, -1219.4747, 5.7666, 166.7043) },
[3] = { coords = vec4(-1098.7528, -1679.8223, 4.3720, 138.8091) },
[4] = { coords = vec4(-1229.1188, -1035.1514, 8.2738, 54.1112) },
[5] = { coords = vec4(15.1934, -1032.5333, 29.3466, 130.3846) },
[6] = { coords = vec4(-583.8513, 195.2310, 71.4421, 99.6975) },
},
},
[4] = {
unique_id = 4,
level = 1,
title = "Task #4",
type = "collecting",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
[1] = { coords = vec4(-1011.0830, -1224.7694, 5.8178, 270.7039) },
[2] = { coords = vec4(-1002.3689, -1219.4747, 5.7666, 166.7043) },
[3] = { coords = vec4(-1098.7528, -1679.8223, 4.3720, 138.8091) },
[4] = { coords = vec4(-1229.1188, -1035.1514, 8.2738, 54.1112) },
[5] = { coords = vec4(15.1934, -1032.5333, 29.3466, 130.3846) },
[6] = { coords = vec4(-583.8513, 195.2310, 71.4421, 99.6975) },
},
},
[5] = {
unique_id = 5,
level = 1,
title = "Task #5",
type = "delivery",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
[1] = { coords = vec4(93.3542, 71.2765, 73.4167, 134.4712) },
[2] = { coords = vec4(-103.1247, -69.9278, 58.8590, 302.5392) },
[3] = { coords = vec4(-22.9876, -192.2715, 52.3628, 109.5882) },
[4] = { coords = vec4(-512.0361, 108.8368, 63.8005, 351.4974) },
[5] = { coords = vec4(-1298.0808, -393.1277, 36.4557, 253.1478) },
[6] = { coords = vec4(-1612.5510, -1028.7708, 13.1532, 238.8762) },
},
},
以下是您提供的代码的中文翻译,保留了源代码格式:
Config.Commands = {
-- []
tabletCommand = "delivery", -- 平板命令
-- []
acceptInv = "acceptinvite", -- 接受邀请
-- []
denyInv = "denyinvite", -- 拒绝邀请
-- []
blockInvitations = "blockinvitations", -- 阻止邀请
-- []
leaveteam = "leaveteam", -- 离开团队
}
--[]
Config.Tablet = {
active = true, -- 激活状态
itemName = "delivery_tablet", -- 物品名称
}
Config.AcceptableTasks = {
-- 最低等级 1 的工作
= {
-- !!! 必须与 KEY 和 UNIQUE 相同。
unique_id = 1, -- 唯一 ID
-- 执行此任务所需的最低等级
level = 1, -- 等级
-- 简短文本说明任务
title = "任务 #1", -- 任务标题
-- 任务类型:("delivery" 或 "collecting")
type = "delivery", -- 任务类型
-- 完成任务所需的目标
goal = 3, -- 目标
-- 完成任务的经验值
exp = 400, -- 经验值
-- 完成任务的奖励
fee = 5000, -- 奖励
--[[
任务的坐标。
!!! 请至少添加与目标数量相同的坐标。
坐标将随机给出。
所以你添加的坐标越多,任务的感觉就越不同。
!!! 请按如下方式添加。
destinations = {
= { coords = vec4(479.736267, -1736.109863, 29.145020, 206.929138) },
= { coords = vec4(313.898895, -2040.672485, 20.922363, 308.976379) },
= { coords = vec4(353.248352, -2036.400024, 22.337769, 107.716537) },
= { coords = vec4(152.663742, -1823.604370, 27.864502, 56.692913) },
= { coords = vec4(-111.059341, -1593.850586, 31.975830, 238.110229) }, --
= { coords = vec4(-125.630768, -1473.481323, 33.812500, 317.480316) },
= { coords = vec4(168.145050, -1299.177979, 29.364136, 68.031494) },
},
},
= {
unique_id = 2,
level = 1,
title = "任务 #2",
type = "collecting",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
= { coords = vec4(479.736267, -1736.109863, 29.145020, 206.929138) },
= { coords = vec4(313.898895, -2040.672485, 20.922363, 308.976379) },
= { coords = vec4(353.248352, -2036.400024, 22.337769, 107.716537) },
= { coords = vec4(152.663742, -1823.604370, 27.864502, 56.692913) },
= { coords = vec4(-111.059341, -1593.850586, 31.975830, 238.110229) },
= { coords = vec4(-125.630768, -1473.481323, 33.812500, 317.480316) },
= { coords = vec4(168.145050, -1299.177979, 29.364136, 68.031494) },
},
},
= {
unique_id = 3,
level = 1,
title = "任务 #3",
type = "delivery",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
= { coords = vec4(-1011.0830, -1224.7694, 5.8178, 270.7039) },
= { coords = vec4(-1002.3689, -1219.4747, 5.7666, 166.7043) },
= { coords = vec4(-1098.7528, -1679.8223, 4.3720, 138.8091) },
= { coords = vec4(-1229.1188, -1035.1514, 8.2738, 54.1112) },
= { coords = vec4(15.1934, -1032.5333, 29.3466, 130.3846) },
= { coords = vec4(-583.8513, 195.2310, 71.4421, 99.6975) },
},
},
= {
unique_id = 4,
level = 1,
title = "任务 #4",
type = "collecting",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
= { coords = vec4(-1011.0830, -1224.7694, 5.8178, 270.7039) },
= { coords = vec4(-1002.3689, -1219.4747, 5.7666, 166.7043) },
= { coords = vec4(-1098.7528, -1679.8223, 4.3720, 138.8091) },
= { coords = vec4(-1229.1188, -1035.1514, 8.2738, 54.1112) },
= { coords = vec4(15.1934, -1032.5333, 29.3466, 130.3846) },
= { coords = vec4(-583.8513, 195.2310, 71.4421, 99.6975) },
},
},
= {
unique_id = 5,
level = 1,
title = "任务 #5",
type = "delivery",
goal = 3,
exp = 400,
fee = 5000,
destinations = {
= { coords = vec4(93.3542, 71.2765, 73.4167, 134.4712) },
= { coords = vec4(-103.1247, -69.9278, 58.8590, 302.5392) },
= { coords = vec4(-22.9876, -192.2715, 52.3628, 109.5882) },
= { coords = vec4(-512.0361, 108.8368, 63.8005, 351.4974) },
= { coords = vec4(-1298.0808, -393.1277, 36.4557, 253.1478) },
= { coords = vec4(-1612.5510, -1028.7708, 13.1532, 238.8762) },
},
},
}
如果您有其他问题或需要进一步的帮助,请告诉我!
页:
[1]