From e7165a5a655baee37ae3ba78a96df908145e6d98 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 4 Sep 2013 19:12:56 +1000 Subject: [PATCH] Minor tweaks for development --- database template.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/database template.md b/database template.md index 1d33fb2..3062cd7 100644 --- a/database template.md +++ b/database template.md @@ -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 -#### PlayerStatistics -* characterID foreign key -> PlayerCharacter.characterID +#### Player Statistics * currentLevel * currentExperience * maxHealth @@ -59,15 +57,21 @@ * currentMana * attack * defence -* TODO: etc. +* etc. -#### PlayerEquipment -* characterID foreign key -> PlayerCharacter.characterID -* head foreign key -> Equipment.equipmentID +#### Player Equipment * 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