I DID STUFF, GOD A PROC MACRO AND SHIT

This commit is contained in:
Rusty Striker 2024-09-22 23:46:51 +03:00
commit 22319e84a1
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
28 changed files with 3101 additions and 0 deletions

31
db.md Normal file
View file

@ -0,0 +1,31 @@
# DATA base of operations
**Users**:
- Username - Unique
- Hashed password
- max managed tables (how many tables can the user create and make)
- table invites (pending)
**Tables**:
- UID (text)
- Table desc/name (text)
- Which users are in it (text)
- Who are the GMs (text)
- Owning user (text)
- Game type (name of the game) (text)
# Directories and Files
**Games**: Directories with the name of the game, with contents that define the game
// TODO figure out how to implement the game type itself
**Table**: game table
- **Game Settigns**: Game specific settings (might not be needed)
- **Entities** (dir?): Contains data about entities (such as players and NPCs)
- **Custom images** (dir): custom images for maps, tokens, entity portrait, cards and whatever else
- **Image Data**: What each image is used for, is it visible to all and location (custom or shared - server generic) and extra stuff like map constant data
- **Map data** (dir): "dynamic" data about maps, such as entities position and which entities are there