搜索
开启左侧

[有效回答] 翻译成中文,保留原代码

[复制链接]
wx363880556 发表于 2024-8-19 13:15:06 | 显示全部楼层 |阅读模式


["backpack1"] = {
        ["name"] = "backpack1",
        ["label"] = "Backpack 1",
        ["created"] = nil,      
        ["decay"] = 7.0,
        ["weight"] = 10000,
        ["type"] = "item",
        ["image"] = "backpack_girl.png",
        ["unique"] = true,
        ["useable"] = true,
        ["shouldClose"] = true,
        ["combinable"] = nil,
        ["description"] = "Backpack"
},
["backpack2"] = {
        ["name"] = "backpack2",
        ["label"] = "Backpack 2",
        ["created"] = nil,      
        ["decay"] = 7.0,
        ["weight"] = 10000,
        ["type"] = "item",
        ["image"] = "backpack_boy.png",
        ["unique"] = true,
        ["useable"] = true,
        ["shouldClose"] = true,
        ["combinable"] = nil,
        ["description"] = "Backpack"
},

['rope']                     = {['name'] = 'rope',                  ['label'] = 'Rope',                 ["created"] = nil,      ["decay"] = 3.0,    ['weight'] = 200,       ['type'] = 'item',      ['image'] = 'rope.png',     ['unique'] = true,      ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Rope'},
['headbag']                      = {['name'] = 'headbag',                   ['label'] = 'Head bag',                 ["created"] = nil,      ["decay"] = 3.0,    ['weight'] = 200,       ['type'] = 'item',      ['image'] = 'headbag.png',  ['unique'] = true,      ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Head bag'},


['keys']                     = {['name'] = 'keys',                  ['label'] = 'Vehicle Key',              ["created"] = nil,      ["decay"] = 3.0,    ['weight'] = 200,       ['type'] = 'item',      ['image'] = 'keys.png',     ['unique'] = true,      ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Vehicle key'},
    --// Atm Robbery
['towingrope']                   = {['name'] = 'towingrope',                    ['label'] = 'Towing Rope',              ["created"] = nil,      ["decay"] = 3.0,    ['weight'] = 200,       ['type'] = 'item',      ['image'] = 'towingrope.png',   ['unique'] = true,      ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Towing Rope'},
    ['atmobject']                    = {['name'] = 'atmobject',                     ['label'] = 'ATM',                      ["created"] = nil,      ["decay"] = 14.0,    ['weight'] = 200,      ['type'] = 'item',      ['image'] = 'atmobject.png',        ['unique'] = true,      ['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'ATM'},
    ------ House robbery ---

    ["tv"] = {["name"] = "tv", ["label"] = "TV", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolentv.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
    ["art"] = {["name"] = "art", ["label"] = "Art", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolenart.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
    ["microwave"] = {["name"] = "microwave", ["label"] = "Microwave", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolenmicrowave.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
    ["telescope"] = {["name"] = "telescope", ["label"] = "Telescope", ["weight"] = 10, ["type"] = "item", ["image"] = "tel.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
    ["coffeemaker"] = {["name"] = "coffeemaker", ["label"] = "Coffee Maker", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolencoffee.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
    ["toy-egg"]                  = {["name"] = "toy-egg",                   ["label"] = "Burgershot Toy Egg",           ["weight"] = 1000,      ["type"] = "item",      ["image"] = "toy-egg.png",          ["unique"] = false,     ["useable"] = true,     ["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = "Gives Random Toys"},
    ["toy-eggg"]                 = {["name"] = "toy-eggg",                  ["label"] = "RoosterRest Toy Egg",          ["weight"] = 1000,      ["type"] = "item",      ["image"] = "toy-eggg.png",             ["unique"] = false,     ["useable"] = true,     ["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = "Gives Random Toys"},
    --uwu cafe--




回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-8-19 13:15:32 | 显示全部楼层
以下是翻译后的内容,保留了原代码:
["backpack1"] = {
    ["name"] = "backpack1",
    ["label"] = "背包 1",
    ["created"] = nil,      
    ["decay"] = 7.0,
    ["weight"] = 10000,
    ["type"] = "物品",
    ["image"] = "背包_女孩.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "背包"
},
["backpack2"] = {
    ["name"] = "backpack2",
    ["label"] = "背包 2",
    ["created"] = nil,      
    ["decay"] = 7.0,
    ["weight"] = 10000,
    ["type"] = "物品",
    ["image"] = "背包_男孩.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "背包"
},

['rope'] = {
    ['name'] = 'rope', 
    ['label'] = '绳子', 
    ["created"] = nil, 
    ["decay"] = 3.0, 
    ['weight'] = 200, 
    ['type'] = '物品', 
    ['image'] = '绳子.png', 
    ['unique'] = true, 
    ['useable'] = true, 
    ['shouldClose'] = true, 
    ['combinable'] = nil, 
    ['description'] = '绳子'
},
['headbag'] = {
    ['name'] = 'headbag', 
    ['label'] = '头袋', 
    ["created"] = nil, 
    ["decay"] = 3.0, 
    ['weight'] = 200, 
    ['type'] = '物品', 
    ['image'] = '头袋.png', 
    ['unique'] = true, 
    ['useable'] = true, 
    ['shouldClose'] = true, 
    ['combinable'] = nil, 
    ['description'] = '头袋'
},

['keys'] = {
    ['name'] = 'keys', 
    ['label'] = '车钥匙', 
    ["created"] = nil, 
    ["decay"] = 3.0, 
    ['weight'] = 200, 
    ['type'] = '物品', 
    ['image'] = '钥匙.png', 
    ['unique'] = true, 
    ['useable'] = true, 
    ['shouldClose'] = true, 
    ['combinable'] = nil, 
    ['description'] = '车钥匙'
},
--// ATM抢劫
['towingrope'] = {
    ['name'] = 'towingrope', 
    ['label'] = '拖车绳', 
    ["created"] = nil, 
    ["decay"] = 3.0, 
    ['weight'] = 200, 
    ['type'] = '物品', 
    ['image'] = '拖车绳.png', 
    ['unique'] = true, 
    ['useable'] = true, 
    ['shouldClose'] = true, 
    ['combinable'] = nil, 
    ['description'] = '拖车绳'
},
['atmobject'] = {
    ['name'] = 'atmobject', 
    ['label'] = 'ATM机', 
    ["created"] = nil, 
    ["decay"] = 14.0, 
    ['weight'] = 200, 
    ['type'] = '物品', 
    ['image'] = 'ATM机.png', 
    ['unique'] = true, 
    ['useable'] = true, 
    ['shouldClose'] = true, 
    ['combinable'] = nil, 
    ['description'] = 'ATM机'
},
------ 家庭盗窃 ---
["tv"] = {
    ["name"] = "tv", 
    ["label"] = "电视", 
    ["weight"] = 10, 
    ["type"] = "物品", 
    ["image"] = "np_偷电视.png", 
    ["unique"] = true, 
    ["useable"] = false, 
    ["shouldClose"] = false, 
    ["combinable"] = nil, 
    ["description"] = ""
},
["art"] = {
    ["name"] = "art", 
    ["label"] = "艺术品", 
    ["weight"] = 10, 
    ["type"] = "物品", 
    ["image"] = "np_偷艺术品.png", 
    ["unique"] = true, 
    ["useable"] = false, 
    ["shouldClose"] = false, 
    ["combinable"] = nil, 
    ["description"] = ""
},
["microwave"] = {
    ["name"] = "microwave", 
    ["label"] = "微波炉", 
    ["weight"] = 10, 
    ["type"] = "物品", 
    ["image"] = "np_偷微波炉.png", 
    ["unique"] = true, 
    ["useable"] = false, 
    ["shouldClose"] = false, 
    ["combinable"] = nil, 
    ["description"] = ""
},
["telescope"] = {
    ["name"] = "telescope", 
    ["label"] = "望远镜", 
    ["weight"] = 10, 
    ["type"] = "物品", 
    ["image"] = "tel.png", 
    ["unique"] = true, 
    ["useable"] = false, 
    ["shouldClose"] = false, 
    ["combinable"] = nil, 
    ["description"] = ""
},
["coffeemaker"] = {
    ["name"] = "coffeemaker", 
    ["label"] = "咖啡机", 
    ["weight"] = 10, 
    ["type"] = "物品", 
    ["image"] = "np_偷咖啡机.png", 
    ["unique"] = true, 
    ["useable"] = false, 
    ["shouldClose"] = false, 
    ["combinable"] = nil, 
    ["description"] = ""
},
["toy-egg"] = {
    ["name"] = "toy-egg", 
    ["label"] = "Burgershot 玩具蛋", 
    ["weight"] = 1000, 
    ["type"] = "物品", 
    ["image"] = "玩具蛋.png", 
    ["unique"] = false, 
    ["useable"] = true, 
    ["shouldClose"] = true, 
    ["combinable"] = nil, 
    ["description"] = "给出随机玩具"
},
["toy-eggg"] = {
    ["name"] = "toy-eggg", 
    ["label"] = "RoosterRest 玩具蛋", 
    ["weight"] = 1000, 
    ["type"] = "物品", 
    ["image"] = "玩具蛋.png", 
    ["unique"] = false, 
    ["useable"] = true, 
    ["shouldClose"] = true, 
    ["combinable"] = nil, 
    ["description"] = "给出随机玩具"
},
--uwu cafe--

这个代码段主要定义了各种物品(比如背包、绳子、头袋、车钥匙等)的属性,包括它们的名称、标签、图像、重量、类型、是否可使用、是否唯一以及描述等信息。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-9 02:12 , Processed in 0.169433 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

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

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