翻译成中文,保留原有代码
-- PISTOL ATTACHMENTS
['pistol_defaultclip'] = {['name'] = 'pistol_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Pistol Default Clip'},
['pistol_extendedclip'] = {['name'] = 'pistol_extendedclip', ['label'] = 'Pistol EXT Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Pistol Extended Clip'},
['pistol_flashlight'] = {['name'] = 'pistol_flashlight', ['label'] = 'Pistol Flashlight', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'smg_flashlight.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Pistol Flashlight Attachment'},
['pistol_suppressor'] = {['name'] = 'pistol_suppressor', ['label'] = 'Pistol Suppressor', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Pistol Suppressor Attachment'},
['pistol_luxuryfinish'] = {['name'] = 'pistol_luxuryfinish', ['label'] = 'Pistol Finish', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Pistol Luxury Finish'},
['combatpistol_defaultclip'] = {['name'] = 'combatpistol_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Combat Pistol Default Clip'},
['combatpistol_extendedclip'] = {['name'] = 'combatpistol_extendedclip', ['label'] = 'Pistol EXT Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Combat Pistol Extended Clip'},
['combatpistol_luxuryfinish'] = {['name'] = 'combatpistol_luxuryfinish', ['label'] = 'Pistol Finish', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Combat Pistol Luxury Finish'},
['appistol_defaultclip'] = {['name'] = 'appistol_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'APPistol Default Clip'},
['appistol_extendedclip'] = {['name'] = 'appistol_extendedclip', ['label'] = 'Pistol EXT Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'APPistol Extended Clip'},
['appistol_luxuryfinish'] = {['name'] = 'appistol_luxuryfinish', ['label'] = 'Pistol Finish', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'APPistol Luxury Finish'},
['pistol50_defaultclip'] = {['name'] = 'pistol50_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '.50 Pistol Default Clip'},
['pistol50_extendedclip'] = {['name'] = 'pistol50_extendedclip', ['label'] = 'Pistol EXT Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '.50 Pistol Extended Clip'},
['pistol50_luxuryfinish'] = {['name'] = 'pistol50_luxuryfinish', ['label'] = 'Pistol Finish', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '.50 Pistol Luxury Finish'},
['revolver_defaultclip'] = {['name'] = 'revolver_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Revovler Default Clip'},
['revolver_vipvariant'] = {['name'] = 'revolver_vipvariant', ['label'] = 'Pistol Variant', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Revovler Variant'},
['revolver_bodyguardvariant'] = {['name'] = 'revolver_bodyguardvariant', ['label'] = 'Pistol Variant', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Revovler Variant'},
['snspistol_defaultclip'] = {['name'] = 'snspistol_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'SNS Pistol Default Clip'},
['snspistol_extendedclip'] = {['name'] = 'snspistol_extendedclip', ['label'] = 'Pistol EXT Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'SNS Pistol Extended Clip'},
['snspistol_grip'] = {['name'] = 'snspistol_grip', ['label'] = 'Pistol Grip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'SNS Pistol Grip Attachment'},
['heavypistol_defaultclip'] = {['name'] = 'heavypistol_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Heavy Pistol Default Clip'},
['heavypistol_extendedclip'] = {['name'] = 'heavypistol_extendedclip', ['label'] = 'Pistol EXT Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Heavy Pistol Extended Clip'},
['heavypistol_grip'] = {['name'] = 'heavypistol_grip', ['label'] = 'Pistol Grip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Heavy Pistol Grip Attachment'},
['vintagepistol_defaultclip'] = {['name'] = 'vintagepistol_defaultclip', ['label'] = 'Pistol Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Vintage Pistol Default Clip'},
['vintagepistol_extendedclip'] = {['name'] = 'vintagepistol_extendedclip', ['label'] = 'Pistol EXT Clip', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Vintage Pistol Default Clip'},
-- 手枪配件
['pistol_defaultclip'] = {['name'] = 'pistol_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '手枪默认弹匣'},
['pistol_extendedclip'] = {['name'] = 'pistol_extendedclip', ['label'] = '手枪扩展弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '手枪扩展弹匣'},
['pistol_flashlight'] = {['name'] = 'pistol_flashlight', ['label'] = '手枪手电筒', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'smg_flashlight.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '手枪手电筒附件'},
['pistol_suppressor'] = {['name'] = 'pistol_suppressor', ['label'] = '手枪消音器', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '手枪消音器附件'},
['pistol_luxuryfinish'] = {['name'] = 'pistol_luxuryfinish', ['label'] = '手枪豪华涂装', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '手枪豪华涂装'},
['combatpistol_defaultclip'] = {['name'] = 'combatpistol_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '战斗手枪默认弹匣'},
['combatpistol_extendedclip'] = {['name'] = 'combatpistol_extendedclip', ['label'] = '手枪扩展弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '战斗手枪扩展弹匣'},
['combatpistol_luxuryfinish'] = {['name'] = 'combatpistol_luxuryfinish', ['label'] = '手枪豪华涂装', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '战斗手枪豪华涂装'},
['appistol_defaultclip'] = {['name'] = 'appistol_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'AP手枪默认弹匣'},
['appistol_extendedclip'] = {['name'] = 'appistol_extendedclip', ['label'] = '手枪扩展弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'AP手枪扩展弹匣'},
['appistol_luxuryfinish'] = {['name'] = 'appistol_luxuryfinish', ['label'] = '手枪豪华涂装', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'AP手枪豪华涂装'},
['pistol50_defaultclip'] = {['name'] = 'pistol50_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '.50手枪默认弹匣'},
['pistol50_extendedclip'] = {['name'] = 'pistol50_extendedclip', ['label'] = '手枪扩展弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '.50手枪扩展弹匣'},
['pistol50_luxuryfinish'] = {['name'] = 'pistol50_luxuryfinish', ['label'] = '手枪豪华涂装', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '.50手枪豪华涂装'},
['revolver_defaultclip'] = {['name'] = 'revolver_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '左轮手枪默认弹匣'},
['revolver_vipvariant'] = {['name'] = 'revolver_vipvariant', ['label'] = '手枪变体', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '左轮手枪贵宾版'},
['revolver_bodyguardvariant'] = {['name'] = 'revolver_bodyguardvariant', ['label'] = '手枪变体', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '左轮手枪保镖版'},
['snspistol_defaultclip'] = {['name'] = 'snspistol_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'SNS手枪默认弹匣'},
['snspistol_extendedclip'] = {['name'] = 'snspistol_extendedclip', ['label'] = '手枪扩展弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'SNS手枪扩展弹匣'},
['snspistol_grip'] = {['name'] = 'snspistol_grip', ['label'] = '手枪握把', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'SNS手枪握把附件'},
['heavypistol_defaultclip'] = {['name'] = 'heavypistol_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '重型手枪默认弹匣'},
['heavypistol_extendedclip'] = {['name'] = 'heavypistol_extendedclip', ['label'] = '手枪扩展弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '重型手枪扩展弹匣'},
['heavypistol_grip'] = {['name'] = 'heavypistol_grip', ['label'] = '手枪握把', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_suppressor.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '重型手枪握把附件'},
['vintagepistol_defaultclip'] = {['name'] = 'vintagepistol_defaultclip', ['label'] = '手枪弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '复古手枪默认弹匣'},
['vintagepistol_extendedclip'] = {['name'] = 'vintagepistol_extendedclip', ['label'] = '手枪扩展弹匣', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'pistol_extendedclip.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '复古手枪扩展弹匣'},
以上是对代码中每个项目属性的翻译。除了保留原始代码之外,我还添加了中文注释和标签。希望这些能帮助你理解代码的结构和用途。如果有任何进一步的问题,请告诉我!
页:
[1]