Gestion des entités

This commit is contained in:
2020-11-14 23:24:01 +01:00
parent 01fe858b8c
commit bb236ab012
9 changed files with 373 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
{
"Actor": {
"types": ["personnage", "humanoide", "creature"],
"types": ["personnage", "humanoide", "creature", "entite"],
"templates": {
"description": {
"description": "Description ..."
@@ -17,6 +17,54 @@
"beaute": 10,
"main": "droitier"
},
"entite": {
"carac": {
"taille": {
"type": "number",
"value": 10,
"label": "Taille",
"xp": 0,
"derivee": false
},
"reve": {
"type": "number",
"value": 10,
"label": "Rêve",
"xp": 0,
"derivee": false
},
"niveau": {
"type": "number",
"value": 0,
"label": "Niveau",
"xp": 0,
"derivee": false
}
},
"sante": {
"endurance": {
"type": "number",
"max": 10,
"value": 10,
"label": "Endurance",
"derivee": false
}
},
"attributs": {
"plusdom": {
"type": "number",
"value": 0,
"label": "+dom",
"derivee": true
},
"vitesse": {
"type": "string",
"value": 0,
"label": "Vitesse",
"derivee": true
}
}
},
"creature": {
"carac": {
"taille": {
@@ -448,6 +496,9 @@
},
"creature": {
"templates": [ "creature", "description" ]
},
"entite": {
"templates": [ "entite", "description" ]
}
},
"Item": {