Die Dokumentation für dieses Modul kann unter Modul:WeaponAttachment/Data/doc erstellt werden
local data = {}
--- Translate an attachment type to german text
local attachmentTypeTranslations = {
['Magazine'] = {
de_DE = 'Magazin',
en_EN = 'Magazine',
},
['Ballistic Compensator'] = {
de_DE = 'Ballistischer Kompensator',
en_EN = 'Ballistic Compensator',
},
['Flash Hider'] = {
de_DE = 'Mündungsfeuerdämpfer',
en_EN = 'Flash Hider',
},
['Energy Stabilizer'] = {
de_DE = 'Energie-Stabilisator',
en_EN = 'Energy Stabilizer',
},
['Barrel'] = {
de_DE = 'Schalldämpfer',
en_EN = 'Suppressor',
},
['IronSight'] = {
de_DE = 'Zielfernrohr',
en_EN = 'Scope',
},
['MedGel Refill'] = {
de_DE = 'MedGel-Nachfüllpackung',
en_EN = 'MedGel Refill',
},
['Multi-Tool Attachment'] = {
de_DE = 'Multi-Tool-Aufsatz',
en_EN = 'Multi-Tool Attachment',
},
['Battery'] = {
de_DE = 'Batterie',
en_EN = 'Battery',
},
['Flashlight'] = {
de_DE = 'Taschenlampe',
en_EN = 'Flashlight',
},
['Laser Pointer'] = {
de_DE = 'Laserpointer',
en_EN = 'Laser Pointer',
},
}
--- Translate an attachment type to german text
local attachmentOpticTypeTranslations = {
['Projection'] = {
de_DE = 'Projektion',
en_EN = 'Projection',
},
['Reflex'] = {
de_DE = 'Reflex',
en_EN = 'Reflex',
},
['Telescopic'] = {
de_DE = 'Teleskopisch',
en_EN = 'Telescopic',
},
['IronSight'] = {
de_DE = 'Offene Visierung',
en_EN = 'Iron Sight',
},
['Monitor'] = {
de_DE = 'Bildschirm',
en_EN = 'Monitor',
},
}
--- Translate raw item positions to german text
local attachmentPositionTranslations = {
['Magazine Well'] = {
de_DE = 'Magazinschacht',
en_EN = 'Magazine Well',
},
['Barrel'] = {
de_DE = 'Lauf',
en_EN = 'Barrel',
},
['Optic'] = {
de_DE = 'Optik',
en_EN = 'Optic',
},
['Utility'] = {
de_DE = 'Zubehör',
en_EN = 'Utility',
},
['Underbarrel'] = {
de_DE = 'Lauf',
en_EN = 'Underbarrel',
},
}
data.attachmentTypeTranslations = attachmentTypeTranslations
data.attachmentOpticTypeTranslations = attachmentOpticTypeTranslations
data.attachmentPositionTranslations = attachmentPositionTranslations
return data