Aller au contenu

« Module:Infobox/Compétence » : différence entre les versions

Couleurs plus fidèles à la réalité du jeu
mAucun résumé des modifications
Couleurs plus fidèles à la réalité du jeu
 
(6 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 11 : Ligne 11 :
end
end
local FAMILIES = {
local FAMILIES = {
physique = {"Physique", "#3f5e40"},
physique = {"PHYSIQUE", "#450E40"},
social  = {"Social", "#b08c42"},
social  = {"SOCIAL",   "#B08B42"},
combat  = {"Combat", "#a7302e"},
combat  = {"COMBAT",   "#A7312D"},
science  = {"Science", "#24698e"},
science  = {"SCIENCE", "#236A8D"},
tech    = {"Tech", "#7f7194"},
tech    = {"TECH",     "#6F558A"},
}
}
local family_config = FAMILIES[family:lower()]
local family_config = FAMILIES[family:lower()]
Ligne 44 : Ligne 44 :
                 {type = "row", label = "Famille", value = family},
                 {type = "row", label = "Famille", value = family},
                 {type = "row", label = "Effets", value = "effets"},
                 {type = "row", label = "Effets", value = "effets"},
                {type = "row", label = "Rang", value = "rang"},
             },
             },
         },
         },