fix: some fixes to structure

This commit is contained in:
Kazhnuz 2024-08-06 20:59:46 +02:00
parent c71703227e
commit 8a9e2d7d66

View file

@ -1,29 +1,29 @@
return { return {
name={contentType = "string", preParse = true}, name={contentType = "string", preParse = true, to="name"},
nomType={contentType = "string"}, nomType={contentType = "string", to="type"},
categorie={contentType = "string"}, categorie={contentType = "string", to="categorie"},
faiblesses={contentType = "string"}, faiblesse={contentType = "list", args=1},
resistences={contentType = "string"}, resistence={contentType = "list", args=1},
immunites={contentType = "string"}, immunite={contentType = "list", args=1},
level={contentType = "number", default = 0, preParse = true}, level={contentType = "number", default = 0, preParse = true},
atk= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, pression={contentType = "number", default = 5},
con= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, atk= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.for"},
hab= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, con= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.con"},
int= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, hab= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.hab"},
sag= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, int= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.int"},
vol= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, sag= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.sag"},
cha= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, vol= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.vol"},
dis= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, cha= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.cha"},
rel= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, dis= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.dis"},
per= {dataType= "stat", modulo= 5, default= 50, max=255, min=10}, rel= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.rel"},
pv= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1}, per= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.per"},
pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1}, pv= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pv"},
eclat= {dataType= "stat", modulo= 1, default= 10, max=200, min=1}, pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pe"},
armurephy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0}, eclat= {dataType= "stat", modulo= 1, default= 10, max=200, min=1, to="vita.eclat"},
armurepsy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0}, armurephy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.phy"},
armurespe= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0}, armurepsy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.psy"},
armurespe= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.spe"},
armes= {dataType= "list", args=2}, armes= {dataType= "list", args=2},
competence= {dataType= "comp", args=3}, -- on va le gérer différemment comme du code lol sinon c'est trop relou competence= {dataType= "comp", args=3}, -- on va le gérer différemment comme du code lol sinon c'est trop relou
skill= {dataType= "list", args=2}, -- on va le gérer différemment comme du code lol sinon c'est trop relou skill= {dataType= "list", args=2},
armes= {dataType= "list", args=1},
} }