diff options
Diffstat (limited to 'doc/for_developers')
| -rw-r--r-- | doc/for_developers/structs/dropped_item.md | 14 | ||||
| -rw-r--r-- | doc/for_developers/structs/inventories.md | 5 | ||||
| -rw-r--r-- | doc/for_developers/structs/player.md | 17 |
3 files changed, 0 insertions, 36 deletions
diff --git a/doc/for_developers/structs/dropped_item.md b/doc/for_developers/structs/dropped_item.md deleted file mode 100644 index ffabfbd..0000000 --- a/doc/for_developers/structs/dropped_item.md +++ /dev/null @@ -1,14 +0,0 @@ -# Dropped item - -Droped items are represented as a name-data combo - - local i = <table_item> - local e = ents.Create("art_droppeditem") - e.Item = { - Name = i.Name - Data = i:Serialize() - } - -This structure is used in: -* gamemode/core/inventory/sv_invtracker.lua -* entities/entities/art_droppeditem/init.lua diff --git a/doc/for_developers/structs/inventories.md b/doc/for_developers/structs/inventories.md deleted file mode 100644 index d965597..0000000 --- a/doc/for_developers/structs/inventories.md +++ /dev/null @@ -1,5 +0,0 @@ -# Inventories - -A player starts off with 2 inventories, a equipment inventory, and a shaped inventory (5x5) - -the equipment inventory is in the first slot, the shaped inventory in the second. diff --git a/doc/for_developers/structs/player.md b/doc/for_developers/structs/player.md deleted file mode 100644 index 130927d..0000000 --- a/doc/for_developers/structs/player.md +++ /dev/null @@ -1,17 +0,0 @@ -# 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 |
