From 191ba416c8b611ea4901cead138789a357c56134 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 2 Apr 2017 20:05:56 -0400 Subject: I finally had some time to work on this... dependency added on bobbleheadbob's zone addon --- doc/for_developers/structs/player.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/for_developers/structs/player.md (limited to 'doc/for_developers/structs/player.md') 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 -- cgit v1.2.3-70-g09d2