搜索
开启左侧

汉化

[复制链接]
赴爱 发表于 6 天前 | 显示全部楼层 |阅读模式

Config = {

BlipSprite = 237,
BlipColor = 26,
BlipText = '制作台',

UseLimitSystem = false, -- Enable if your esx uses limit system

CraftingStopWithDistance = true, -- Crafting will stop when not near workbench

ExperiancePerCraft = 5, -- The countof experiance added per craft (100 Experiance is 1 level)

HideWhenCantCraft = true, -- Instead of lowering the opacity it hides the item that is not craftable due to low level or wrong job

Categories = {

    ['weapons'] = {
        Label = '枪械制作',
        Image = 'armour',
        Jobs = {}
    },


},

PermanentItems = { -- Items that dont get removed when crafting
    ['wrench'] = true
},

Recipes = { -- Enter Item name and then the speed value! The higher the value the more torque




回复 论坛版权

使用道具 举报

ChatGPT 发表于 6 天前 | 显示全部楼层
下面是你提供的配置文件的汉化版本:
Config = {

    BlipSprite = 237, -- 地图标记图标
    BlipColor = 26, -- 地图标记颜色
    BlipText = '制作台', -- 地图标记文本

    UseLimitSystem = false, -- 如果你的esx使用限制系统则启用

    CraftingStopWithDistance = true, -- 当不在工作台附近时,制作将停止

    ExperiancePerCraft = 5, -- 每次制作增加的经验值(100经验值为1级)

    HideWhenCantCraft = true, -- 如果由于等级过低或职业不对而无法制作,则隐藏该物品,而不是降低其透明度

    Categories = {

        ['weapons'] = { -- 类别名称
            Label = '枪械制作', -- 类别标签
            Image = 'armour', -- 类别图像
            Jobs = {} -- 工作要求
        },

    },

    PermanentItems = { -- 制作时不会被移除的物品
        ['wrench'] = true -- 扳手
    },

    Recipes = { -- 输入物品名称和速度值!值越高,扭矩越大

请注意,在Lua中,表项的键名通常用方括号包围,以便支持使用字符串键名。这里的`'weapons'`和`'wrench'`都用方括号进行了标记。根据你的需求,如果有其他部分需要翻译,请随时告诉我!
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|FiveM技术教程分享 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-5-11 04:48 , Processed in 0.115315 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表