aboutsummaryrefslogtreecommitdiff
path: root/doc/for_developers/structs/player.md
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-04-02 20:05:56 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-04-02 20:05:56 -0400
commit191ba416c8b611ea4901cead138789a357c56134 (patch)
treeb30ae3473c16028a14d3ed0c80633f360cc1c914 /doc/for_developers/structs/player.md
parenta22cbeddc5f8fb61e87a30aa14ba354de5cf4431 (diff)
downloadartery-191ba416c8b611ea4901cead138789a357c56134.tar.gz
artery-191ba416c8b611ea4901cead138789a357c56134.tar.bz2
artery-191ba416c8b611ea4901cead138789a357c56134.zip
I finally had some time to work on this... dependency added on bobbleheadbob's zone addon
Diffstat (limited to 'doc/for_developers/structs/player.md')
-rw-r--r--doc/for_developers/structs/player.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/for_developers/structs/player.md b/doc/for_developers/structs/player.md
new file mode 100644
index 0000000..130927d
--- /dev/null
+++ b/doc/for_developers/structs/player.md
@@ -0,0 +1,17 @@
+# Player
+
+A player has the following fields
+
+`ply.data` - stores all data needed to save & create a player
+
+# Data
+
+A players data consists of the following
+
+`data.inventories :: array` the inventories a player posesses, remember that all inventories must have a :serialize() method
+
+`data.skills :: table` the skills a player has picked up
+
+`data.quests :: table` the quests a player knows about
+
+`data.prayers :: tabe` the prayers that a player can do