diff options
Diffstat (limited to 'doc/for_developers/structs/player.md')
| -rw-r--r-- | doc/for_developers/structs/player.md | 17 |
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 |
