Changing the names

This commit is contained in:
Kayne Ruse
2013-09-04 17:56:43 +10:00
parent 920f8b18c0
commit 8fa2e747e1
+24 -17
View File
@@ -7,43 +7,50 @@
* blacklisted {false, true} * blacklisted {false, true}
* whitelisted {true, false} * whitelisted {true, false}
-------------------------
## Items ## Items
#### Notes #### Notes
* These are static; they're immutable during runtime * These are static; they're immutable during runtime
#### ItemList #### GlobalItemList
* itemListID primary key * globalItemListID primary key
* itemName unique * itemName unique
* itemImage * itemImage
* type {mundane, consumable, equipment, etc.} * type {mundane, consumable, equipment, etc.}
* stackable {1-max; -1 for false} * stackable {1-max; -1 for false}
* maxUniqueCopies {1-max; -1 for unlimited} * maxUniqueCopies {1-max; -1 for unlimited}
#### MundaneItemList #### MundaneItems
* itemListID foreign key -> ItemList.itemListID * mundaneItemID primary key
* globalItemListID foreign key -> GlobalItemList.globalItemListID
* TODO: attributes * TODO: attributes
#### ConsumableItemList #### Consumables
* itemListID foreign key -> ItemList.itemListID * consumableID primary key
* globalItemListID foreign key -> GlobalItemList.globalItemListID
* TODO: attributes * TODO: attributes
#### EquipmentItemList #### Equipment
* itemListID foreign key -> ItemList.itemListID * equipmentID primary key
* globalItemListID foreign key -> GlobalItemList.globalItemListID
* TODO: attributes * TODO: attributes
-------------------------
## Player ## Player
#### Notes #### Notes
* These change as the character progresses and grows * These change as the character progresses and grows
#### PlayerCharacter #### PlayerCharacter
* playerCharacterID primary key * characterID primary key
* characterName unique * name unique
* TODO: customizable sprite * TODO: customizable sprite
#### PlayerStatistics #### PlayerStatistics
* playerCharacterID foreign key -> PlayerCharacter.playerCharacterID * characterID foreign key -> PlayerCharacter.characterID
* currentLevel * currentLevel
* currentExperience * currentExperience
* maxHealth * maxHealth
@@ -55,12 +62,12 @@
* TODO: etc. * TODO: etc.
#### PlayerEquipment #### PlayerEquipment
* playerCharacterID foreign key -> PlayerCharacter.playerCharacterID * characterID foreign key -> PlayerCharacter.characterID
* head foreign key -> ItemList.itemListID * head foreign key -> Equipment.equipmentID
* weapon foreign key -> ItemList.itemListID * weapon foreign key -> Equipment.equipmentID
* armour foreign key -> ItemList.itemListID * armour foreign key -> Equipment.equipmentID
* TODO: etc. * TODO: etc.
#### PlayerInventoryItem #### PlayerInventoryItem
* playerCharacterID foreign key -> PlayerCharacter.playerCharacterID * characterID foreign key -> PlayerCharacter.characterID
* itemListID foreign key -> ItemList.itemListID * globalItemListID foreign key -> GlobalItemList.globalItemListID