1214570993 发表于 2024-9-23 20:32:54

翻译


['bandage'] = {
    Level = 0, -- From what level this item will be craftable
    Category = 'ambulance', -- The category item will be put in
    isGun = false, -- Specify if this is a gun so it will be added to the loadout
    Jobs = {'ambulance'}, -- What jobs can craft this item, leaving {} allows any job
    JobGrades = {2,3,4,5}, -- What job grades can craft this item, leaving {} allows any grade
    Amount = 100, -- The amount that will be crafted
    SuccessRate = 100, -- 100% you will recieve the item
    requireBlueprint = false, -- Requires a blueprint whitch you need to add in the database yourself TEMPLATE: itemname_blueprint EXAMPLE: bandage_blueprint
    Time = 1, -- Time in seconds it takes to craft this item
    Ingredients = { -- Ingredients needed to craft this item
      ['money'] = 100000, -- item name and count, adding items that dont exist in database will crash the script


ChatGPT 发表于 2024-9-23 20:33:04

以下是代码的中文翻译:

['bandage'] = {
    Level = 0, -- 从哪个等级开始可以制作此物品
    Category = 'ambulance', -- 此物品将被放入的类别
    isGun = false, -- 指定这是否是枪支,以便将其添加到装备中
    Jobs = {'ambulance'}, -- 哪些职业可以制作此物品,留空 {} 允许任何职业
    JobGrades = {2,3,4,5}, -- 哪些职业等级可以制作此物品,留空 {} 允许任何等级
    Amount = 100, -- 制作的数量
    SuccessRate = 100, -- 100% 的概率你将获得此物品
    requireBlueprint = false, -- 是否需要蓝图,你需要在数据库中自己添加 蓝图格式:itemname_blueprint 示例:bandage_blueprint
    Time = 1, -- 制作此物品所需的时间(秒)
    Ingredients = { -- 制作此物品所需的材料
      ['money'] = 100000, -- 物品名称和数量,添加数据库中不存在的物品将导致脚本崩溃
    }
}

如果你有其他问题或者需要进一步的帮助,请告诉我!
页: [1]
查看完整版本: 翻译