wx363880556 发表于 2024-8-19 14:51:21

翻译成中文,保留原有代码


['weapon_snspistol_mk2']      = {['name'] = 'weapon_snspistol_mk2',          ['label'] = 'SNS Pistol Mk II',         ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_PISTOL',         ['image'] = 'weapon_snspistol_mk2.png', ['unique'] = true,      ['useable'] = true,   ['description'] = 'SNS Pistol MK2'},
    ['weapon_raypistol']             = {['name'] = 'weapon_raypistol',            ['label'] = 'Up-n-Atomizer',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_PISTOL',         ['image'] = 'weapon_raypistol.png',   ['unique'] = true,      ['useable'] = true,   ['description'] = 'Weapon Raypistol'},
   
    ['weapon_ceramicpistol']         = {['name'] = 'weapon_ceramicpistol',          ['label'] = 'Ceramic Pistol',         ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_PISTOL',         ['image'] = 'weapon_ceramicpistol.png', ['unique'] = true,      ['useable'] = true,   ['description'] = 'Weapon Ceramicpistol'},
    ['weapon_navyrevolver']          = {['name'] = 'weapon_navyrevolver',         ['label'] = 'Navy Revolver',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_PISTOL',         ['image'] = 'weapon_navyrevolver.png',['unique'] = true,      ['useable'] = true,   ['description'] = 'Weapon Navyrevolver'},
    ['weapon_gadgetpistol']          = {['name'] = 'weapon_gadgetpistol',         ['label'] = 'Perico Pistol',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_PISTOL',         ['image'] = 'weapon_gadgetpistol.png',['unique'] = true,      ['useable'] = true,   ['description'] = 'Weapon Gadgetpistol'},

    -- Submachine Guns
    ['weapon_microsmg']            = {['name'] = 'weapon_microsmg',               ['label'] = 'Micro SMG',                ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SMG',            ['image'] = 'weapon_microsmg.png',      ['unique'] = true,      ['useable'] = false,    ['description'] = 'A handheld lightweight machine gun'},
    ['weapon_smg']                   = {['name'] = 'weapon_smg',                  ['label'] = 'SMG',                      ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SMG',            ['image'] = 'weapon_smg.png',         ['unique'] = true,      ['useable'] = false,    ['description'] = 'A handheld lightweight machine gun'},
    ['weapon_smg_mk2']               = {['name'] = 'weapon_smg_mk2',                ['label'] = 'SMG Mk II',                ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SMG',            ['image'] = 'weapon_smg_mk2.png',       ['unique'] = true,      ['useable'] = true,   ['description'] = 'SMG MK2'},
    ['weapon_assaultsmg']            = {['name'] = 'weapon_assaultsmg',             ['label'] = 'Assault SMG',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SMG',            ['image'] = 'weapon_assaultsmg.png',    ['unique'] = true,      ['useable'] = false,    ['description'] = 'An assault version of a handheld lightweight machine gun'},
    ['weapon_combatpdw']             = {['name'] = 'weapon_combatpdw',            ['label'] = 'Combat PDW',               ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SMG',            ['image'] = 'weapon_combatpdw.png',   ['unique'] = true,      ['useable'] = false,    ['description'] = 'A combat version of a handheld lightweight machine gun'},
    ['weapon_machinepistol']         = {['name'] = 'weapon_machinepistol',          ['label'] = 'Tec-9',                  ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_PISTOL',         ['image'] = 'weapon_machinepistol.png', ['unique'] = true,      ['useable'] = false,    ['description'] = 'A self-loading pistol capable of burst or fully automatic fire'},
    ['weapon_minismg']               = {['name'] = 'weapon_minismg',                ['label'] = 'Mini SMG',               ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SMG',            ['image'] = 'weapon_minismg.png',       ['unique'] = true,      ['useable'] = false,    ['description'] = 'A mini handheld lightweight machine gun'},
    ['weapon_raycarbine']            = {['name'] = 'weapon_raycarbine',             ['label'] = 'Unholy Hellbringer',       ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SMG',            ['image'] = 'weapon_raycarbine.png',    ['unique'] = true,      ['useable'] = true,   ['description'] = 'Weapon Raycarbine'},

    -- Shotguns
    ['weapon_pumpshotgun']         = {['name'] = 'weapon_pumpshotgun',            ['label'] = 'Pump Shotgun',             ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_pumpshotgun.png',   ['unique'] = true,      ['useable'] = false,    ['description'] = 'A pump-action smoothbore gun for firing small shot at short range'},
    ['weapon_sawnoffshotgun']      = {['name'] = 'weapon_sawnoffshotgun',         ['label'] = 'Sawn-off Shotgun',         ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_sawnoffshotgun.png', ['unique'] = true,   ['useable'] = false,    ['description'] = 'A sawn-off smoothbore gun for firing small shot at short range'},
    ['weapon_assaultshotgun']      = {['name'] = 'weapon_assaultshotgun',         ['label'] = 'Assault Shotgun',          ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_assaultshotgun.png', ['unique'] = true,   ['useable'] = false,    ['description'] = 'An assault version of asmoothbore gun for firing small shot at short range'},
    ['weapon_bullpupshotgun']      = {['name'] = 'weapon_bullpupshotgun',         ['label'] = 'Bullpup Shotgun',          ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_bullpupshotgun.png', ['unique'] = true,   ['useable'] = false,    ['description'] = 'A compact smoothbore gun for firing small shot at short range'},
    ['weapon_musket']                = {['name'] = 'weapon_musket',               ['label'] = 'Musket',                   ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_musket.png',      ['unique'] = true,      ['useable'] = false,    ['description'] = 'An infantryman\'s light gun with a long barrel, typically smooth-bored, muzzleloading, and fired from the shoulder'},
    ['weapon_heavyshotgun']          = {['name'] = 'weapon_heavyshotgun',         ['label'] = 'Heavy Shotgun',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_heavyshotgun.png',['unique'] = true,      ['useable'] = false,    ['description'] = 'A large smoothbore gun for firing small shot at short range'},
    ['weapon_dbshotgun']             = {['name'] = 'weapon_dbshotgun',            ['label'] = 'Double-barrel Shotgun',    ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_dbshotgun.png',   ['unique'] = true,      ['useable'] = false,    ['description'] = 'A shotgun with two parallel barrels, allowing two single shots to be fired in quick succession'},
    ['weapon_autoshotgun']         = {['name'] = 'weapon_autoshotgun',            ['label'] = 'Auto Shotgun',             ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_autoshotgun.png',   ['unique'] = true,      ['useable'] = false,    ['description'] = 'A shotgun capable of rapid continous fire'},
    ['weapon_pumpshotgun_mk2']       = {['name'] = 'weapon_pumpshotgun_mk2',      ['label'] = 'Pumpshotgun Mk II',      ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_pumpshotgun_mk2.png', ['unique'] = true,    ['useable'] = true,   ['description'] = 'Pumpshotgun MK2'},
    ['weapon_combatshotgun']         = {['name'] = 'weapon_combatshotgun',          ['label'] = 'Combat Shotgun',         ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_SHOTGUN',          ['image'] = 'weapon_combatshotgun.png', ['unique'] = true,      ['useable'] = true,   ['description'] = 'Weapon Combatshotgun'},

    -- Assault Rifles
    ['weapon_assaultrifle']          = {['name'] = 'weapon_assaultrifle',         ['label'] = 'Assault Rifle',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_assaultrifle.png',['unique'] = true,      ['useable'] = false,    ['description'] = 'A rapid-fire, magazine-fed automatic rifle designed for infantry use'},
    ['weapon_assaultrifle_mk2']      = {['name'] = 'weapon_assaultrifle_mk2',       ['label'] = 'Assault Rifle Mk II',      ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_assaultrifle_mk2.png', ['unique'] = true,   ['useable'] = true,   ['description'] = 'Assault Rifle MK2'},
    ['weapon_carbinerifle']          = {['name'] = 'weapon_carbinerifle',         ['label'] = 'Carbine Rifle',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_carbinerifle.png',['unique'] = true,      ['useable'] = false,    ['description'] = 'A lightweight automatic rifle'},
    ['weapon_carbinerifle_mk2']      = {['name'] = 'weapon_carbinerifle_mk2',       ['label'] = 'Carbine Rifle Mk II',      ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_carbinerifle_mk2.png', ['unique'] = true,   ['useable'] = true,   ['description'] = 'Carbine Rifle MK2'},
    ['weapon_advancedrifle']         = {['name'] = 'weapon_advancedrifle',          ['label'] = 'OTs-14 Groza',             ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'np_groza.png', ['unique'] = true,      ['useable'] = false,    ['description'] = 'An assault version of a rapid-fire, magazine-fed automatic rifle designed for infantry use'},
    ['weapon_specialcarbine']      = {['name'] = 'weapon_specialcarbine',         ['label'] = 'Special Carbine',          ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_specialcarbine.png', ['unique'] = true,   ['useable'] = false,    ['description'] = 'An extremely versatile assault rifle for any combat situation'},
    ['weapon_bullpuprifle']          = {['name'] = 'weapon_bullpuprifle',         ['label'] = 'Bullpup Rifle',            ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_bullpuprifle.png',['unique'] = true,      ['useable'] = false,    ['description'] = 'A compact automatic assault rifle'},
    ['weapon_compactrifle']          = {['name'] = 'weapon_compactrifle',         ['label'] = 'Draco NAK9',         ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_compactrifle.png',['unique'] = true,      ['useable'] = false,    ['description'] = 'A compact version of an assault rifle'},
    ['weapon_specialcarbine_mk2']    = {['name'] = 'weapon_specialcarbine_mk2',   ['label'] = 'FN SCAR-L',    ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'np_scar.png', ['unique'] = true, ['useable'] = true,   ['description'] = 'Weapon Wpecialcarbine MK2'},
    ['weapon_bullpuprifle_mk2']      = {['name'] = 'weapon_bullpuprifle_mk2',       ['label'] = 'Bullpup Rifle Mk II',      ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_bullpuprifle_mk2.png', ['unique'] = true,   ['useable'] = true,   ['description'] = 'Bull Puprifle MK2'},
    ['weapon_militaryrifle']         = {['name'] = 'weapon_militaryrifle',          ['label'] = 'Military Rifle',         ['weight'] = 1000,      ['type'] = 'weapon',    ['ammotype'] = 'AMMO_RIFLE',            ['image'] = 'weapon_militaryrifle.png', ['unique'] = true,      ['useable'] = true,   ['description'] = 'Weapon Militaryrifle'},



ChatGPT 发表于 2024-8-19 14:52:22

```lua
['weapon_snspistol_mk2'] = {
    ['name'] = 'weapon_snspistol_mk2',-- 英文名
    ['label'] = 'SNS 手枪 Mk II',       -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_PISTOL',       -- 弹药类型
    ['image'] = 'weapon_snspistol_mk2.png',-- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = true,               -- 是否可使用
    ['description'] = 'SNS 手枪 MK2'    -- 描述
},

['weapon_raypistol'] = {
    ['name'] = 'weapon_raypistol',      -- 英文名
    ['label'] = 'Up-n-Atomizer',      -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_PISTOL',       -- 弹药类型
    ['image'] = 'weapon_raypistol.png', -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = true,               -- 是否可使用
    ['description'] = '武器 Raypistol'-- 描述
},

['weapon_ceramicpistol'] = {
    ['name'] = 'weapon_ceramicpistol',-- 英文名
    ['label'] = '陶瓷手枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_PISTOL',       -- 弹药类型
    ['image'] = 'weapon_ceramicpistol.png',   -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = true,               -- 是否可使用
    ['description'] = '武器陶瓷手枪'    -- 描述
},

['weapon_navyrevolver'] = {
    ['name'] = 'weapon_navyrevolver',   -- 英文名
    ['label'] = '海军左轮手枪',          -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_PISTOL',       -- 弹药类型
    ['image'] = 'weapon_navyrevolver.png',-- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = true,               -- 是否可使用
    ['description'] = '武器海军左轮手枪' -- 描述
},

['weapon_gadgetpistol'] = {
    ['name'] = 'weapon_gadgetpistol',   -- 英文名
    ['label'] = 'Perico 手枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_PISTOL',       -- 弹药类型
    ['image'] = 'weapon_gadgetpistol.png',-- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = true,               -- 是否可使用
    ['description'] = '武器 Gadget 手枪' -- 描述
},

-- 冲锋枪
['weapon_microsmg'] = {
    ['name'] = 'weapon_microsmg',       -- 英文名
    ['label'] = '微型冲锋枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SMG',          -- 弹药类型
    ['image'] = 'weapon_microsmg.png',-- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '一款便携式轻型机枪' -- 描述
},

['weapon_smg'] = {
    ['name'] = 'weapon_smg',            -- 英文名
    ['label'] = '冲锋枪',                -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SMG',          -- 弹药类型
    ['image'] = 'weapon_smg.png',       -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '一款便携式轻型机枪' -- 描述
},

['weapon_smg_mk2'] = {
    ['name'] = 'weapon_smg_mk2',      -- 英文名
    ['label'] = '冲锋枪 Mk II',          -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SMG',          -- 弹药类型
    ['image'] = 'weapon_smg_mk2.png',   -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = true,               -- 是否可使用
    ['description'] = 'SMG MK2'         -- 描述
},

['weapon_assaultsmg'] = {
    ['name'] = 'weapon_assaultsmg',   -- 英文名
    ['label'] = '突击冲锋枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SMG',          -- 弹药类型
    ['image'] = 'weapon_assaultsmg.png',    -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '便携式轻型机枪的突击版本' -- 描述
},

['weapon_combatpdw'] = {
    ['name'] = 'weapon_combatpdw',      -- 英文名
    ['label'] = '战斗PDW',               -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SMG',          -- 弹药类型
    ['image'] = 'weapon_combatpdw.png', -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '便携式轻型机枪的战斗版本' -- 描述
},

['weapon_machinepistol'] = {
    ['name'] = 'weapon_machinepistol',-- 英文名
    ['label'] = 'Tec-9',                -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_PISTOL',       -- 弹药类型
    ['image'] = 'weapon_machinepistol.png', -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '一款半自动手枪,可进行连发或全自动射击' -- 描述
},

['weapon_minismg'] = {
    ['name'] = 'weapon_minismg',      -- 英文名
    ['label'] = '迷你冲锋枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SMG',          -- 弹药类型
    ['image'] = 'weapon_minismg.png',   -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '迷你便携式轻型机枪' -- 描述
},

['weapon_raycarbine'] = {
    ['name'] = 'weapon_raycarbine',   -- 英文名
    ['label'] = 'Unholy Hellbringer',   -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SMG',          -- 弹药类型
    ['image'] = 'weapon_raycarbine.png',    -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = true,               -- 是否可使用
    ['description'] = '武器 Raycarbine' -- 描述
},

-- 霰弹枪
['weapon_pumpshotgun'] = {
    ['name'] = 'weapon_pumpshotgun',    -- 英文名
    ['label'] = '泵动霰弹枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_pumpshotgun.png',   -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '一种用于近距离射击的小口径泵动作滑膛枪' -- 描述
},

['weapon_sawnoffshotgun'] = {
    ['name'] = 'weapon_sawnoffshotgun', -- 英文名
    ['label'] = '锯短霰弹枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_sawnoffshotgun.png', -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '一种用于近距离射击的小口径锯短滑膛枪' -- 描述
},

['weapon_assaultshotgun'] = {
    ['name'] = 'weapon_assaultshotgun', -- 英文名
    ['label'] = '突击霰弹枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_assaultshotgun.png', -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '用于近距离射击的小口径突击版滑膛枪' -- 描述
},

['weapon_bullpupshotgun'] = {
    ['name'] = 'weapon_bullpupshotgun', -- 英文名
    ['label'] = '牛头霰弹枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_bullpupshotgun.png', -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '一种紧凑型滑膛枪,用于近距离射击' -- 描述
},

['weapon_musket'] = {
    ['name'] = 'weapon_musket',         -- 英文名
    ['label'] = '火枪',                  -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_musket.png',    -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '步兵用的轻型枪,通常是滑膛、装填口和从肩膀发射的' -- 描述
},

['weapon_heavyshotgun'] = {
    ['name'] = 'weapon_heavyshotgun',   -- 英文名
    ['label'] = '重型霰弹枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_heavyshotgun.png',   -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '一款用于近距离射击的大口径滑膛枪' -- 描述
},

['weapon_dbshotgun'] = {
    ['name'] = 'weapon_dbshotgun',      -- 英文名
    ['label'] = '双管霰弹枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_dbshotgun.png', -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '有两个平行枪管的霰弹枪,允许快速连续射击两次' -- 描述
},

['weapon_autoshotgun'] = {
    ['name'] = 'weapon_autoshotgun',    -- 英文名
    ['label'] = '自动霰弹枪',            -- 显示标签
    ['weight'] = 1000,                  -- 重量
    ['type'] = 'weapon',                -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',      -- 弹药类型
    ['image'] = 'weapon_autoshotgun.png',   -- 图片路径
    ['unique'] = true,                  -- 是否唯一
    ['useable'] = false,                -- 是否可使用
    ['description'] = '能够连续快速射击的霰弹枪' -- 描述
},

['weapon_pumpshotgun_mk2'] = {
    ['name'] = 'weapon_pumpshotgun_mk2',    -- 英文名
    ['label'] = '泵动霰弹枪 Mk II',         -- 显示标签
    ['weight'] = 1000,                      -- 重量
    ['type'] = 'weapon',                  -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',          -- 弹药类型
    ['image'] = 'weapon_pumpshotgun_mk2.png', -- 图片路径
    ['unique'] = true,                      -- 是否唯一
    ['useable'] = true,                     -- 是否可使用
    ['description'] = '泵动霰弹枪 MK2'   -- 描述
},

['weapon_combatshotgun'] = {
    ['name'] = 'weapon_combatshotgun',      -- 英文名
    ['label'] = '战斗霰弹枪',                -- 显示标签
    ['weight'] = 1000,                      -- 重量
    ['type'] = 'weapon',                  -- 类型
    ['ammotype'] = 'AMMO_SHOTGUN',          -- 弹药类型
    ['image'] = 'weapon_combatshotgun.png', -- 图片路径
    ['unique'] = true,                      -- 是否唯一
    ['useable'] = true,                     -- 是否可使用
    ['description'] = '武器 战斗霰弹枪'   -- 描述
},

-- 突击步枪
['weapon_assaultrifle'] = {
    ['name'] = 'weapon_assaultrifle',       -- 英文名
    ['label'] = '突击步枪',                  -- 显示标签
    ['weight'] = 1000,                      -- 重量
    ['type'] = 'weapon',                  -- 类型
    ['ammotype'] = 'AMMO_RIFLE',            -- 弹药类型
    ['image'] = 'weapon_assaultrifle.png',-- 图片路径
    ['unique'] = true,                      -- 是否唯一
    ['useable'] = false,                  -- 是否可使用
    ['description'] = '一种为步兵设计的快速射击、弹匣供弹的自动步枪' -- 描述
},

['weapon_assaultrifle_mk2'] = {
    ['name'] = 'weapon_assaultrifle_mk2',   -- 英文名
    ['label'] = '突击步枪 Mk II',            -- 显示标签
    ['weight'] = 1000,                      -- 重量
    ['type'] = 'weapon',                  -- 类型
    ['ammotype'] = 'AMMO_RIFLE',            -- 弹药类型
    ['image'] = 'weapon_assaultrifle_mk2.png', -- 图片路径
    ['unique'] = true,                      -- 是否唯一
    ['useable'] = true,                     -- 是否可使用
    ['description'] = '突击步枪 MK2'       -- 描述
},

['weapon_carbinerifle'] = {
    ['name'] = 'weapon_carbinerifle',       -- 英文名
    ['label'] = '卡宾枪',                  -- 显示标签
    ['weight'] = 1000,                      -- 重量
    ['type'] = 'weapon',                  -- 类型
页: [1]
查看完整版本: 翻译成中文,保留原有代码