bdd-creature/struct.lua

31 lines
2.1 KiB
Lua
Raw Permalink Normal View History

2024-08-01 23:14:47 +02:00
return {
2024-08-06 20:59:46 +02:00
name={contentType = "string", preParse = true, to="name"},
mode={contentType = "string", preParse = true, to="mode", default = "creature"},
2024-08-06 20:59:46 +02:00
nomType={contentType = "string", to="type"},
categorie={contentType = "string", to="categorie"},
faiblesse={contentType = "list", args=1},
resistence={contentType = "list", args=1},
immunite={contentType = "list", args=1},
2024-08-02 08:34:54 +02:00
level={contentType = "number", default = 0, preParse = true},
2024-08-06 20:59:46 +02:00
pression={contentType = "number", default = 5},
2024-08-13 19:50:20 +02:00
boost={dataType = "boost", args=2},
2024-08-06 20:59:46 +02:00
atk= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.for"},
con= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.con"},
hab= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.hab"},
int= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.int"},
sag= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.sag"},
vol= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.vol"},
cha= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.cha"},
dis= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.dis"},
rel= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.rel"},
per= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.per"},
2024-08-13 19:50:20 +02:00
pv= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pv", lvl=1},
pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pe", lvl=1},
2024-08-06 20:59:46 +02:00
eclat= {dataType= "stat", modulo= 1, default= 10, max=200, min=1, to="vita.eclat"},
armurephy= {dataType= "armure", modulo= 1, default= 0, max=9999999, min=0, to="armure.phy"},
armurepsy= {dataType= "armure", modulo= 1, default= 0, max=9999999, min=0, to="armure.psy"},
armurespe= {dataType= "armure", modulo= 1, default= 0, max=9999999, min=0, to="armure.spe"},
armes= {dataType= "armes", args=2},
2024-08-02 08:53:17 +02:00
competence= {dataType= "comp", args=3}, -- on va le gérer différemment comme du code lol sinon c'est trop relou
2024-08-06 20:59:46 +02:00
skill= {dataType= "list", args=2},
2024-08-01 23:14:47 +02:00
}