Ajout du modèle de données pour les rencontres.

This commit is contained in:
ZigmundKreud
2022-01-05 22:46:26 +01:00
parent e9eb9e2cff
commit 2f19ba1948
16 changed files with 414 additions and 138 deletions

View File

@@ -1,36 +1,27 @@
{
"Actor": {
"types": ["character"],
"types": [
"character",
"encounter"
],
"templates": {
"base": {
"details" : {
"details": {
"biography": "",
"notes": "",
"languages": [],
"creation": {
"key" : "creation",
"label" : "BOL.resources.creation",
"value": 0,
"max": 0
},
"xp": {
"key" : "xp",
"label" : "BOL.traits.xp",
"total": 0,
"spent": 0
},
"prot": {
"key" : "prot",
"label" : "BOL.aptitudes.prot",
"base": 0,
"value": 0,
"bonus": 0
}
"languages": []
},
"prot": {
"key": "prot",
"label": "BOL.aptitudes.prot",
"base": 0,
"value": 0,
"bonus": 0
},
"attributes": {
"vigor": {
"key" : "vigor",
"label" : "BOL.attributes.vigor",
"key": "vigor",
"label": "BOL.attributes.vigor",
"base": 0,
"value": 0,
"min": -1,
@@ -38,8 +29,8 @@
"bonus": 0
},
"agility": {
"key" : "agility",
"label" : "BOL.attributes.agility",
"key": "agility",
"label": "BOL.attributes.agility",
"base": 0,
"value": 0,
"min": -1,
@@ -47,8 +38,8 @@
"bonus": 0
},
"mind": {
"key" : "mind",
"label" : "BOL.attributes.mind",
"key": "mind",
"label": "BOL.attributes.mind",
"base": 0,
"value": 0,
"min": -1,
@@ -56,8 +47,8 @@
"bonus": 0
},
"appeal": {
"key" : "appeal",
"label" : "BOL.attributes.appeal",
"key": "appeal",
"label": "BOL.attributes.appeal",
"base": 0,
"value": 0,
"bonus": 0
@@ -65,29 +56,29 @@
},
"aptitudes": {
"init": {
"key" : "init",
"label" : "BOL.aptitudes.init",
"key": "init",
"label": "BOL.aptitudes.init",
"base": 0,
"value": 0,
"bonus": 0
},
"melee": {
"key" : "melee",
"label" : "BOL.aptitudes.melee",
"key": "melee",
"label": "BOL.aptitudes.melee",
"base": 0,
"value": 0,
"bonus": 0
},
"ranged": {
"key" : "ranged",
"label" : "BOL.aptitudes.ranged",
"key": "ranged",
"label": "BOL.aptitudes.ranged",
"base": 0,
"value": 0,
"bonus": 0
},
"def": {
"key" : "def",
"label" : "BOL.aptitudes.def",
"key": "def",
"label": "BOL.aptitudes.def",
"base": 0,
"value": 0,
"bonus": 0
@@ -95,30 +86,28 @@
},
"resources": {
"hp": {
"key" : "hp",
"label" : "BOL.resources.hp",
"key": "hp",
"label": "BOL.resources.hp",
"base": 0,
"value": 0,
"bonus": 0,
"max": 0
},
"hero": {
"key" : "hero",
"label" : "BOL.resources.hero",
"key": "hero",
"label": "BOL.resources.hero",
"value": 5,
"max": 5
},
"faith": {
"key" : "faith",
"label" : "BOL.resources.faith",
"bonus": 0,
"key": "faith",
"label": "BOL.resources.faith",
"value": 0,
"max": 0
},
"power": {
"key" : "power",
"label" : "BOL.resources.power",
"bonus": 0,
"key": "power",
"label": "BOL.resources.power",
"value": 0,
"max": 0
}
@@ -126,50 +115,78 @@
}
},
"character": {
"templates": ["base"]
"templates": [ "base" ],
"type": "npc",
"villainy": false,
"xp": {
"key": "xp",
"label": "BOL.traits.xp",
"total": 0,
"spent": 0
},
"creation": {
"key": "creation",
"label": "BOL.resources.creation",
"value": 0,
"max": 0
}
},
"encounter": {
"templates": [ "base" ],
"type": "tough",
"size": "",
"environment": ""
}
},
"Item": {
"types": ["item", "feature"],
"types": [
"item",
"feature"
],
"templates": {
"base": {
"category" : null,
"subtype" : "default",
"category": null,
"subtype": "default",
"description": "",
"properties" : {}
"properties": {}
},
"equipment" : {
"equipment": {
"quantity": 1,
"weight": 0,
"price": 0,
"worn": false,
"properties" : {
"properties": {
"ranged": false,
"melee": false,
"spell" : false,
"protection" : false,
"weapon" : false,
"armor" : false,
"helm" : false,
"shield" : false,
"spell": false,
"protection": false,
"weapon": false,
"armor": false,
"helm": false,
"shield": false,
"equipable": false,
"consumable" : false,
"magical" : false,
"2H" : false,
"reloadable" : false,
"bow" : false,
"crossbow" : false,
"throwing" : false
"consumable": false,
"magical": false,
"2H": false,
"reloadable": false,
"bow": false,
"crossbow": false,
"throwing": false
}
}
},
"item": {
"templates": ["base", "equipment"]
"templates": [
"base",
"equipment"
]
},
"feature": {
"rank": 0,
"templates": ["base"],
"properties" : {}
"templates": [
"base"
],
"properties": {}
}
}
}