Minor tweaks for development
This commit is contained in:
+15
-11
@@ -1,6 +1,6 @@
|
|||||||
## Server
|
## Server
|
||||||
|
|
||||||
#### UserAccount
|
#### UserAccounts
|
||||||
* userAccountID primary key
|
* userAccountID primary key
|
||||||
* username unique
|
* username unique
|
||||||
* password --stored in the database (hashed)?
|
* password --stored in the database (hashed)?
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
* itemName unique
|
* itemName unique
|
||||||
* itemImage
|
* itemImage
|
||||||
* type {mundane, consumable, equipment, etc.}
|
* type {mundane, consumable, equipment, etc.}
|
||||||
* stackable {1-max; -1 for false}
|
* maxStackSize {1-max; -1 for false}
|
||||||
* maxUniqueCopies {1-max; -1 for unlimited}
|
* maxUniqueCopies {1-max; -1 for unlimited}
|
||||||
|
|
||||||
#### MundaneItems
|
#### MundaneItems
|
||||||
@@ -44,13 +44,11 @@
|
|||||||
#### Notes
|
#### Notes
|
||||||
* These change as the character progresses and grows
|
* These change as the character progresses and grows
|
||||||
|
|
||||||
#### PlayerCharacter
|
#### PlayerCharacters
|
||||||
* characterID primary key
|
* characterID primary key
|
||||||
* name unique
|
* name unique
|
||||||
* TODO: customizable sprite
|
|
||||||
|
|
||||||
#### PlayerStatistics
|
#### Player Statistics
|
||||||
* characterID foreign key -> PlayerCharacter.characterID
|
|
||||||
* currentLevel
|
* currentLevel
|
||||||
* currentExperience
|
* currentExperience
|
||||||
* maxHealth
|
* maxHealth
|
||||||
@@ -59,15 +57,21 @@
|
|||||||
* currentMana
|
* currentMana
|
||||||
* attack
|
* attack
|
||||||
* defence
|
* defence
|
||||||
* TODO: etc.
|
* etc.
|
||||||
|
|
||||||
#### PlayerEquipment
|
#### Player Equipment
|
||||||
* characterID foreign key -> PlayerCharacter.characterID
|
|
||||||
* head foreign key -> Equipment.equipmentID
|
|
||||||
* weapon foreign key -> Equipment.equipmentID
|
* weapon foreign key -> Equipment.equipmentID
|
||||||
|
* helmet foreign key -> Equipment.equipmentID
|
||||||
* armour foreign key -> Equipment.equipmentID
|
* armour foreign key -> Equipment.equipmentID
|
||||||
* TODO: etc.
|
* TODO: etc.
|
||||||
|
|
||||||
#### PlayerInventoryItem
|
#### PlayerInventoryItems
|
||||||
* characterID foreign key -> PlayerCharacter.characterID
|
* characterID foreign key -> PlayerCharacter.characterID
|
||||||
* globalItemListID foreign key -> GlobalItemList.globalItemListID
|
* globalItemListID foreign key -> GlobalItemList.globalItemListID
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
#### TODO
|
||||||
|
|
||||||
|
* customizable sprite
|
||||||
|
|||||||
Reference in New Issue
Block a user