Get the PlayerSheet working and actually saving data, using the data models instead of the template.json
This commit is contained in:
parent
6e3510ddd4
commit
58facf1490
11 changed files with 339 additions and 234 deletions
194
template.json
194
template.json
|
|
@ -1,136 +1,8 @@
|
|||
{
|
||||
"Actor": {
|
||||
"types": [
|
||||
"NPC",
|
||||
"PC",
|
||||
"Mob"
|
||||
],
|
||||
"templates": {
|
||||
"common": {
|
||||
"bytes": {
|
||||
"value": 0,
|
||||
"min": 0
|
||||
}
|
||||
},
|
||||
"sync":{
|
||||
"value": 100,
|
||||
"max": 100,
|
||||
"min": 0
|
||||
}
|
||||
},
|
||||
"NPC": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"PC": {
|
||||
"templates": [
|
||||
"common",
|
||||
"sync"
|
||||
],
|
||||
"stats": {
|
||||
"build": "",
|
||||
"meta": "",
|
||||
"presence": "",
|
||||
"hands": "",
|
||||
"tilt": "",
|
||||
"rng": ""
|
||||
},
|
||||
"skills": {
|
||||
"build": {
|
||||
"defense": "untrained",
|
||||
"magic": "untrained",
|
||||
"melee": "untrained",
|
||||
"platforming": "untrained",
|
||||
"strength": "untrained"
|
||||
},
|
||||
"meta": {
|
||||
"alchemy": "untrained",
|
||||
"arcanum": "untrained",
|
||||
"dreams": "untrained",
|
||||
"lore": "untrained",
|
||||
"navigation": "untrained"
|
||||
},
|
||||
"presence": {
|
||||
"animalHandling": "untrained",
|
||||
"perception": "untrained",
|
||||
"sneak": "untrained",
|
||||
"speech": "untrained",
|
||||
"vibes": "untrained"
|
||||
},
|
||||
"hands": {
|
||||
"accuracy": "untrained",
|
||||
"crafting": "untrained",
|
||||
"engineering": "untrained",
|
||||
"explosives": "untrained",
|
||||
"piloting": "untrained"
|
||||
}
|
||||
},
|
||||
"aspect": {
|
||||
"name": "",
|
||||
"description": ""
|
||||
},
|
||||
"roles": [
|
||||
{
|
||||
"name": "",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"description": ""
|
||||
}
|
||||
],
|
||||
"weapon": {
|
||||
"name": "",
|
||||
"damage": "",
|
||||
"quivers": {
|
||||
"value": 0,
|
||||
"min": 0,
|
||||
"max": 5
|
||||
},
|
||||
"mags": {
|
||||
"value": 0,
|
||||
"min": 0,
|
||||
"max": 5
|
||||
},
|
||||
"cells": {
|
||||
"value": 0,
|
||||
"min": 0,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"inventory": {
|
||||
"backpack": [],
|
||||
"bytes": {
|
||||
"value": 0,
|
||||
"min": 0
|
||||
},
|
||||
"supplies": {
|
||||
"value": 0,
|
||||
"min": 0,
|
||||
"max": 5
|
||||
},
|
||||
"materials": {
|
||||
"value": 0,
|
||||
"min": 0,
|
||||
"max": 5
|
||||
},
|
||||
"pet": {},
|
||||
"transport": {},
|
||||
"spells": {}
|
||||
}
|
||||
},
|
||||
"Mob": {
|
||||
"templates": []
|
||||
}
|
||||
"player"
|
||||
]
|
||||
},
|
||||
"Item": {
|
||||
"types": [
|
||||
|
|
@ -144,66 +16,6 @@
|
|||
"service",
|
||||
"legendaryItem",
|
||||
"spell"
|
||||
],
|
||||
"templates": {
|
||||
"common": {
|
||||
"name": "",
|
||||
"rarity": "simple",
|
||||
"cost": {
|
||||
"min": 0,
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"weapon": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"Armor": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"Equipment": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"foil": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"pet": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"transportation": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"structure": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"service": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"legendaryItem": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
"spell": {
|
||||
"templates": [
|
||||
"common"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue