赴爱 发表于 2025-5-5 20:19:50

汉化


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 发表于 2025-5-5 20:20:05

下面是你提供的配置文件的汉化版本:


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'`都用方括号进行了标记。根据你的需求,如果有其他部分需要翻译,请随时告诉我!
页: [1]
查看完整版本: 汉化