Minor tweaks for development

This commit is contained in:
Kayne Ruse
2013-09-04 19:12:56 +10:00
parent 8fa2e747e1
commit e7165a5a65
+15 -11
View File
@@ -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