搜索
开启左侧

翻译

[复制链接]
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, -- 物品名称和数量,添加数据库中不存在的物品将导致脚本崩溃
    }
}

如果你有其他问题或者需要进一步的帮助,请告诉我!
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-3-13 11:28 , Processed in 0.148108 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

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

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