Minor tweaks for development

This commit is contained in:
Kayne Ruse
2013-09-04 19:12:56 +10:00
parent 8fa2e747e1
commit e7165a5a65
+13 -9
View File
@@ -1,6 +1,6 @@
## Server
#### UserAccount
#### UserAccounts
* userAccountID primary key
* username unique
* password --stored in the database (hashed)?
@@ -19,7 +19,7 @@
* itemName unique
* itemImage
* type {mundane, consumable, equipment, etc.}
* stackable {1-max; -1 for false}
* maxStackSize {1-max; -1 for false}
* maxUniqueCopies {1-max; -1 for unlimited}
#### MundaneItems
@@ -44,13 +44,11 @@
#### Notes
* These change as the character progresses and grows
#### PlayerCharacter
#### PlayerCharacters
* characterID primary key
* name unique
* TODO: customizable sprite
#### Player Statistics
* characterID foreign key -> PlayerCharacter.characterID
* currentLevel
* currentExperience
* maxHealth
@@ -59,15 +57,21 @@
* currentMana
* attack
* defence
* TODO: etc.
* etc.
#### Player Equipment
* characterID foreign key -> PlayerCharacter.characterID
* head foreign key -> Equipment.equipmentID
* weapon foreign key -> Equipment.equipmentID
* helmet foreign key -> Equipment.equipmentID
* armour foreign key -> Equipment.equipmentID
* TODO: etc.
#### PlayerInventoryItem
#### PlayerInventoryItems
* characterID foreign key -> PlayerCharacter.characterID
* globalItemListID foreign key -> GlobalItemList.globalItemListID
-------------------------
#### TODO
* customizable sprite