aboutsummaryrefslogtreecommitdiff
path: root/doc/for_developers/structs/player.md
blob: 130927d9139256161e00a19f755606d333c9efc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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