Multi-language support

This commit is contained in:
nearbyplayer
2017-08-16 18:16:10 -04:00
parent 2214ff975b
commit 0df0ee8273
5 changed files with 180 additions and 67 deletions
+5 -1
View File
@@ -3,5 +3,9 @@ resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
description 'SkinChanger'
client_scripts {
'@es_extended/locale.lua',
'locales/en.lua',
'locales/fr.lua',
'config.lua',
'client/main.lua'
}
}
+66 -66
View File
@@ -1,54 +1,54 @@
local Components = {
{label = 'Sexe', name = 'sex', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Visage', name = 'face', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Peau', name = 'skin', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Rides', name = 'age_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Epaisseur rides', name = 'age_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Type Barbe', name = 'beard_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Taille barbe', name = 'beard_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur barbe 1', name = 'beard_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur barbe 2', name = 'beard_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Cheveux 1', name = 'hair_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Cheveux 2', name = 'hair_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Couleur cheveux 1', name = 'hair_color_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Couleur cheveux 2', name = 'hair_color_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Type Sourcils', name = 'eyebrows_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Taille Sourcils', name = 'eyebrows_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur Sourcils 1', name = 'eyebrows_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur Sourcils 2', name = 'eyebrows_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Type Maquillage', name = 'makeup_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Epaisseur Maquillage', name = 'makeup_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur Maquillage 1', name = 'makeup_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur Maquillage 2', name = 'makeup_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Type Lipstick', name = 'lipstick_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Epaisseur Lipstick', name = 'lipstick_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur Lipstick 1', name = 'lipstick_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur Lipstick 2', name = 'lipstick_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Accessoire Oreilles',name = 'ears_1', value = -1, min = -1, zoomOffset = 0.4, camOffset = 0.65}, --
{label = 'Couleur Accessoire', name = 'ears_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65, textureof = 'ears_1'}, --
{label = 'T-Shirt 1', name = 'tshirt_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = 'T-Shirt 2', name = 'tshirt_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'tshirt_1'}, --
{label = 'Torse 1', name = 'torso_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = 'Torse 2', name = 'torso_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'torso_1'}, --
{label = 'Calques 1', name = 'decals_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = 'Calques 2', name = 'decals_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'decals_1'}, --
{label = 'Bras', name = 'arms', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = 'Jambes 1', name = 'pants_1', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.5}, --
{label = 'Jambes 2', name = 'pants_2', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.5, textureof = 'pants_1'}, --
{label = 'Chaussures 1', name = 'shoes_1', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.8},
{label = 'Chaussures 2', name = 'shoes_2', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.8, textureof = 'shoes_1'},
{label = 'Masque 1', name = 'mask_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Masque 2', name = 'mask_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'mask_1'}, --
{label = 'Gilet pare-balle 1', name = 'bproof_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = 'Gilet pare-balle 2', name = 'bproof_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'bproof_1'}, --
{label = 'Chaine 1', name = 'chain_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Chaine 2', name = 'chain_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'chain_1'}, --
{label = 'Casque 1', name = 'helmet_1', value = -1, min = -1, componentId = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Casque 2', name = 'helmet_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'helmet_1'}, --
{label = 'Lunettes 1', name = 'glasses_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = 'Lunettes 2', name = 'glasses_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'glasses_1'}, --
{label = 'Sac', name = 'bags_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15},
{label = 'Couleur Sac', name = 'bags_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'bags_1'}
{label = _U('sex'), name = 'sex', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('face'), name = 'face', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('skin'), name = 'skin', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('wrinkles'), name = 'age_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('wrinkle_thickness'), name = 'age_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('beard_type'), name = 'beard_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('beard_size'), name = 'beard_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('beard_color_1'), name = 'beard_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('beard_color_2'), name = 'beard_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('hair_1'), name = 'hair_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('hair_2'), name = 'hair_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('hair_color_1'), name = 'hair_color_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('hair_color_2'), name = 'hair_color_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('eyebrow_type'), name = 'eyebrows_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('eyebrow_size'), name = 'eyebrows_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('eyebrow_color_1'), name = 'eyebrows_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('eyebrow_color_2'), name = 'eyebrows_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('makeup_type'), name = 'makeup_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('makeup_thickness'), name = 'makeup_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('makeup_color_1'), name = 'makeup_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('makeup_color_2'), name = 'makeup_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('lipstick_type'), name = 'lipstick_1', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('lipstick_thickness'), name = 'lipstick_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('lipstick_color_1'), name = 'lipstick_3', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('lipstick_color_2'), name = 'lipstick_4', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('ear_accessories'), name = 'ears_1', value = -1, min = -1, zoomOffset = 0.4, camOffset = 0.65}, --
{label = _U('ear_accessories_color'), name = 'ears_2', value = 0, min = 0, zoomOffset = 0.4, camOffset = 0.65, textureof = 'ears_1'}, --
{label = _U('tshirt_1'), name = 'tshirt_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = _U('tshirt_2'), name = 'tshirt_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'tshirt_1'}, --
{label = _U('torso_1'), name = 'torso_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = _U('torso_2'), name = 'torso_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'torso_1'}, --
{label = _U('decals_1'), name = 'decals_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = _U('decals_2'), name = 'decals_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'decals_1'}, --
{label = _('arms'), name = 'arms', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = _U('pants_1'), name = 'pants_1', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.5}, --
{label = _U('pants_2'), name = 'pants_2', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.5, textureof = 'pants_1'}, --
{label = _U('shoes_1'), name = 'shoes_1', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.8},
{label = _U('shoes_2'), name = 'shoes_2', value = 0, min = 0, zoomOffset = 0.8, camOffset = -0.8, textureof = 'shoes_1'},
{label = _U('mask_1'), name = 'mask_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('mask_2'), name = 'mask_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'mask_1'}, --
{label = _U('bproof_1'), name = 'bproof_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15}, --
{label = _U('bproof_2'), name = 'bproof_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'bproof_1'}, --
{label = U('chain_1'), name = 'chain_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('chain_2'), name = 'chain_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'chain_1'}, --
{label = _U('helmet_1'), name = 'helmet_1', value = -1, min = -1, componentId = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('helmet_2'), name = 'helmet_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'helmet_1'}, --
{label = _U('glasses_1'), name = 'glasses_1', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65}, --
{label = _U('glasses_2'), name = 'glasses_2', value = 0, min = 0, zoomOffset = 0.6, camOffset = 0.65, textureof = 'glasses_1'}, --
{label = _U('bag'), name = 'bags_1', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15},
{label = _U('bag_color'), name = 'bags_2', value = 0, min = 0, zoomOffset = 0.75, camOffset = 0.15, textureof = 'bags_1'}
}
local LastSex = 0
@@ -122,7 +122,7 @@ function GetMaxVals()
lipstick_1 = GetNumHeadOverlayValues(8)-1,
lipstick_2 = 10,
lipstick_3 = 9,
lipstick_4 = 9,
lipstick_4 = 9,
ears_1 = GetNumberOfPedPropDrawableVariations(playerPed, 1) - 1,
ears_2 = GetNumberOfPedPropTextureVariations(playerPed, 1, Character['ears_1'] - 1),
tshirt_1 = GetNumberOfPedDrawableVariations(playerPed, 8) - 1,
@@ -155,13 +155,13 @@ function GetMaxVals()
end
function ApplySkin(skin, clothes)
local playerPed = GetPlayerPed(-1)
for k,v in pairs(skin) do
Character[k] = v
end
if clothes ~= nil then
for k,v in pairs(clothes) do
@@ -199,10 +199,10 @@ function ApplySkin(skin, clothes)
end
SetPedHeadBlendData(playerPed, Character['face'], Character['face'], Character['face'], Character['skin'], Character['skin'], Character['skin'], 1.0, 1.0, 1.0, true)
SetPedHeadOverlay(playerPed, 3, Character['age_1'], (Character['age_2'] / 10) + 0.0) -- Age + opacity
SetPedHeadOverlay(playerPed, 1, Character['beard_1'], (Character['beard_2'] / 10) + 0.0) -- Beard + opacity
SetPedHeadOverlayColor(playerPed, 1, 1, Character['beard_3'], Character['beard_4']) -- Beard Color
SetPedHeadOverlayColor(playerPed, 1, 1, Character['beard_3'], Character['beard_4']) -- Beard Color
SetPedHeadOverlay(playerPed, 2, Character['eyebrows_1'], (Character['eyebrows_2'] / 10) + 0.0) -- Eyebrows + opacity
SetPedHeadOverlayColor(playerPed, 1, 1, Character['eyebrows_3'], Character['eyebrows_4']) -- Eyebrows Color
SetPedHeadOverlay(playerPed, 4, Character['makeup_1'], (Character['makeup_2'] / 10) + 0.0) -- Makeup + opacity
@@ -211,13 +211,13 @@ function ApplySkin(skin, clothes)
SetPedHeadOverlayColor(playerPed, 2, 1, Character['lipstick_3'], Character['lipstick_4']) -- Lipstick Color
SetPedComponentVariation(playerPed, 2, Character['hair_1'], Character['hair_2'], 2) -- Hair
SetPedHairColor(playerPed, Character['hair_color_1'], Character['hair_color_2']) -- Hair Color
if Character['ears_1'] == -1 then
ClearPedProp(playerPed, 2)
else
SetPedPropIndex(playerPed, 2, Character['ears_1'], Character['ears_2'], 2) -- Ears Accessories
end
SetPedComponentVariation(playerPed, 8, Character['tshirt_1'],Character['tshirt_2'], 2) -- Tshirt
SetPedComponentVariation(playerPed, 11, Character['torso_1'], Character['torso_2'], 2) -- torso parts
SetPedComponentVariation(playerPed, 3, Character['arms'], 0, 2) -- torso
@@ -228,13 +228,13 @@ function ApplySkin(skin, clothes)
SetPedComponentVariation(playerPed, 9, Character['bproof_1'], Character['bproof_2'], 2) -- bulletproof
SetPedComponentVariation(playerPed, 7, Character['chain_1'], Character['chain_2'], 2) -- chain
SetPedComponentVariation(playerPed, 5, Character['bags_1'], Character['bags_2'], 2) -- Bag
if Character['helmet_1'] == -1 then
ClearPedProp(playerPed, 0)
else
SetPedPropIndex(playerPed, 0, Character['helmet_1'], Character['helmet_2'], 2) -- Helmet
end
SetPedPropIndex(playerPed, 1, Character['glasses_1'], Character['glasses_2'], 2) -- Glasses
end
@@ -244,7 +244,7 @@ AddEventHandler('skinchanger:loadDefaultModel', function(loadMale)
end)
AddEventHandler('skinchanger:getData', function(cb)
local components = json.decode(json.encode(Components))
for k,v in pairs(Character) do
@@ -284,11 +284,11 @@ AddEventHandler('skinchanger:modelLoaded', function()
ApplySkin(LoadSkin)
LoadSkin = nil
end
if LoadClothes ~= nil then
ApplySkin(LoadClothes.playerSkin, LoadClothes.clothesSkin)
LoadClothes = nil
@@ -298,7 +298,7 @@ end)
RegisterNetEvent('skinchanger:loadSkin')
AddEventHandler('skinchanger:loadSkin', function(skin)
LoadSkin = skin
if skin['sex'] == 0 then
@@ -306,14 +306,14 @@ AddEventHandler('skinchanger:loadSkin', function(skin)
else
TriggerEvent('skinchanger:loadDefaultModel', false)
end
LastSex = skin['sex']
end)
RegisterNetEvent('skinchanger:loadClothes')
AddEventHandler('skinchanger:loadClothes', function(playerSkin, clothesSkin)
LoadClothes = {
playerSkin = playerSkin,
clothesSkin = clothesSkin
@@ -327,4 +327,4 @@ AddEventHandler('skinchanger:loadClothes', function(playerSkin, clothesSkin)
LastSex = playerSkin['sex']
end)
end)
+2
View File
@@ -0,0 +1,2 @@
Config = {}
Config.Locale = 'fr'
+53
View File
@@ -0,0 +1,53 @@
Locales['en'] = {
['sex'] = 'sex',
['face'] = 'face',
['skin'] = 'skin',
['wrinkles'] = 'wrinkles',
['wrinkle_thickness'] = 'wrinkle thickness',
['beard_type'] = 'beard type',
['beard_size'] = 'beard size',
['beard_color_1'] = 'beard color 1',
['beard_color_2'] = 'beard color 2',
['hair_1'] = 'hair 1',
['hair_2'] = 'hair 2',
['hair_color_1'] = 'hair color 1',
['hair_color_2'] = 'hair color 2',
['eyebrow_type'] = 'eyebrow type',
['eyebrow_size'] = 'eyebrow size',
['eyebrow_color_1'] = 'eyebrow color 1',
['eyebrow_color_2'] = 'eyebrow color 2',
['makeup_type'] = 'makeup type',
['makeup_thickness'] = 'makeup thickness',
['makeup_color_1'] = 'makeup color 1',
['makeup_color_2'] = 'makeup color 2',
['lipstick_type'] = 'lipstick type',
['lipstick_thickness'] = 'lipstick thickness',
['lipstick_color_1'] = 'lipstick color 1',
['lipstick_color_2'] = 'lipstick color 2',
['ear_accessories'] = 'ear accessories',
['ear_accessories_color'] = 'ear accessories color',
['tshirt_1'] = 't-Shirt 1',
['tshirt_2'] = 't-Shirt 2',
['torso_1'] = 'torso 1',
['torso_2'] = 'torso 2',
['decals_1'] = 'decals 1',
['decals_2'] = 'decals 2',
['arms'] = 'arms',
['pants_1'] = 'pants 1',
['pants_2'] = 'pants 2',
['shoes_1'] = 'shoes 1',
['shoes_2'] = 'shoes 2',
['mask_1'] = 'mask 1',
['mask_2'] = 'mask 2',
['bproof_1'] = 'bulletproof vest 1',
['bproof_2'] = 'bulletproof vest 2',
['chain_1'] = 'chain 1',
['chain_2'] = 'chain 2',
['helmet_1'] = 'helmet 1',
['helmet_2'] = 'helmet 2',
['glasses_1'] = 'glasses 1',
['glasses_2'] = 'glasses 2',
['bag'] = 'bag',
['bag_color'] = 'bag color',
}
+54
View File
@@ -0,0 +1,54 @@
Locales['fr'] = {
['sex'] = 'sexe',
['face'] = 'visage',
['skin'] = 'peau',
['wrinkles'] = 'rides',
['wrinkle_thickness'] = 'épaisseur rides',
['beard_type'] = 'type barbe',
['beard_size'] = 'taille barbe',
['beard_color_1'] = 'couleur barbe 1',
['beard_color_2'] = 'couleur barbe 2',
['hair_1'] = 'cheveux 1',
['hair_2'] = 'cheveux 2',
['hair_color_1'] = 'couleur cheveux 1',
['hair_color_2'] = 'couleur cheveux 2',
['eyebrow_type'] = 'type sourcils',
['eyebrow_size'] = 'taille sourcils',
['eyebrow_color_1'] = 'couleur sourcils 1',
['eyebrow_color_2'] = 'couleur sourcils 2',
['makeup_type'] = 'type maquillage',
['makeup_thickness'] = 'épaisseur maquillage',
['makeup_color_1'] = 'couleur maquillage 1',
['makeup_color_2'] = 'couleur maquillage 2',
['lipstick_type'] = 'type lipstick',
['lipstick_thickness'] = 'épaisseur lipstick',
['lipstick_color_1'] = 'couleur lipstick 1',
['lipstick_color_2'] = 'couleur lipstick 2',
['ear_accessories'] = 'accessoire oreilles',
['ear_accessories_color'] = 'couleur accessoire',
['tshirt_1'] = 't-Shirt 1',
['tshirt_2'] = 't-Shirt 2',
['torso_1'] = 'torse 1',
['torso_2'] = 'torse 2',
['decals_1'] = 'calques 1',
['decals_2'] = 'calques 2',
['arms'] = 'bras',
['pants_1'] = 'jambes 1',
['pants_2'] = 'jambes 2',
['shoes_1'] = 'chaussures 1',
['shoes_2'] = 'chaussures 2',
['mask_1'] = 'masque 1',
['mask_2'] = 'masque 2',
['bproof_1'] = 'gilet pare-balle 1',
['bproof_2'] = 'gilet pare-balle 2',
['chain_1'] = 'chaine 1',
['chain_2'] = 'chaine 2',
['helmet_1'] = 'casque 1',
['helmet_2'] = 'casque 2',
['glasses_1'] = 'lunettes 1',
['glasses_2'] = 'lunettes 2',
['bag'] = 'sac',
['bag_color'] = 'couleur sac',
}