Add initial system definition and basic data models

This commit is contained in:
Oliver-Akins 2023-11-19 22:18:52 -07:00
parent 0817522d67
commit 513805183d
4 changed files with 273 additions and 0 deletions

2
System-Notes Normal file
View file

@ -0,0 +1,2 @@
- "Resources" and "Supplies" are used interchangeably in the book
-

29
TODO Normal file
View file

@ -0,0 +1,29 @@
## MVP:
- Text-box PC Character sheet
- PC Data Structure
- Dice Rolling
## Full Release
- Data Models:
- Actors:
- NPC
- PC
- Mob
- Items:
- Weapons
- Armour
- Equipment
- Foil
- Pet
- Transportation
- Structure
- Service
- Legendary Items
- Spells
- Aspects
- Status
- Roles
- Character Sheet:
- PC
- NPC
- Mob

33
system.json Normal file
View file

@ -0,0 +1,33 @@
{
"id": "dotdungeon",
"title": ".dungeon",
"description": "",
"version": "0.0.0",
"compatibility": {
"minimum": 11,
"verified": 11,
"maximum": 11
},
"authors": [
{
"name": "Oliver Akins",
"url": "https://oliver.akins.me"
}
],
"url": "https://github.com/Oliver-Akins/foundry.dungeon",
"esmodules": [],
"styles": [],
"languages": [
{
"lang": "en",
"name": "English (Canadian)",
"path": "langs/en-ca.json"
}
],
"flags": {
"hotReload": {
"extensions": ["css", "hbs", "json", "mjs"],
"paths": ["templates", "langs", "styles", "module"]
}
}
}

209
template.json Normal file
View file

@ -0,0 +1,209 @@
{
"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": []
}
},
"Item": {
"types": [
"weapon",
"armour",
"equipment",
"foil",
"pet",
"transportation",
"structure",
"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"
]
}
}
}