« Module:Fiche de créature/Fallout: New Vegas » : différence entre les versions

aucun résumé des modifications
Kharmitch (discussion | contributions)
Aucun résumé des modifications
Kharmitch (discussion | contributions)
Aucun résumé des modifications
Ligne 15 : Ligne 15 :
function agressivite(localdata)
function agressivite(localdata)
agressivite_lookup = {
agressivite_lookup = {
['0'] = { tag = "Calme", label = "N'engage pas l'affrontement." },
['0'] = { tag = "Non agressif", label = "N'engage pas les affrontements." },
['1'] = { tag = "Agressif", label = "Attaque les ennemis à vue" },
['1'] = { tag = "Agressif", label = "Attaque les ennemis à vue." },
['2'] = { tag = "Très agressif", label = "Attaque les ennemis et les créatures neutres à vue." },
['2'] = { tag = "Très agressif", label = "Attaque les ennemis et les créatures neutres à vue." },
['3'] = { tag = "Frénétique", label = "Attaque n'importe qui à vue." }
['3'] = { tag = "Frénétique", label = "Attaque n'importe qui à vue." }
Ligne 31 : Ligne 31 :
['2'] = { tag = "Normal", label = "Fuit ou évite les menaces plus fortes que lui." },
['2'] = { tag = "Normal", label = "Fuit ou évite les menaces plus fortes que lui." },
['3'] = { tag = "Courageux", label = "Fuit ou évite les affrontements s'il est sévèrement dépassé." },
['3'] = { tag = "Courageux", label = "Fuit ou évite les affrontements s'il est sévèrement dépassé." },
['4'] = { tag = "Téméraire", label = "Ne fuis ou n'évite jamais les affrontements." }
['4'] = { tag = "Téméraire", label = "Ne fuit ou n'évite jamais les affrontements." }
}
}
local assurance = localdata["assurance"] or '0'
local assurance = localdata["assurance"] or '0'
Ligne 53 : Ligne 53 :
{ type = "table", rows = {
{ type = "table", rows = {
{ type = "row", label = "Nom", icon = "test", value = "nom" },
{ type = "row", label = "Nom", icon = "test", value = "nom" },
{ type = "row", label = "Base ID", icon = "test", value = "baseid" },
{ type = "row", label = "[[Form ID|Base ID]]", icon = "test", value = "baseid" },
{ type = "row", label = "Niveau", icon = "niveau", value = "niveau" },
{ type = "row", label = "[[Niveau]]", icon = "niveau", value = "niveau" },
{ type = "row", label = "Points d'expérience", icon = "xp", value = "xp" },
{ type = "row", label = "[[Points d'expérience]]", icon = "xp", value = "xp" },
{ type = "row", label = "Perception", icon = "oeil", value = "perception" },
{ type = "row", label = "[[Perception]]", icon = "oeil", value = "perception" },
{ type = "row", label = "Points de vie", icon = "pv", value = "pv" },
{ type = "row", label = "[[Points de vie]]", icon = "pv", value = "pv" },
{ type = "row", label = "Seuil de dégâts", icon = "sd", value = "sd" },
{ type = "row", label = "[[Seuil de dégâts]]", icon = "sd", value = "sd" },
{ type = "row", label = "Résistance aux dégâts", icon = "rd", value = function(localdata) return rd(localdata) end }
{ type = "row", label = "[[Résistance aux dégâts]]", icon = "rd", value = function(localdata) return rd(localdata) end }
}},
}},
{ type = "table", title = "Comportement", rows = {
{ type = "table", title = "[[Attributs de l'IA Gamebryo|Comportement]]", rows = {
{ type = "row", label = "Agressivité", icon = "poing", value = function(localdata) return agressivite(localdata) end },
{ type = "row", label = "Agressivité", icon = "poing", value = function(localdata) return agressivite(localdata) end },
{ type = "row", label = "Assurance", icon = "confiance", value = function(localdata) return assurance(localdata) end },
{ type = "row", label = "Assurance", icon = "confiance", value = function(localdata) return assurance(localdata) end },
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 734

modifications