aboutsummaryrefslogtreecommitdiff
path: root/doc/for_developers
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-11-18 16:00:29 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-11-18 16:00:29 -0500
commit25e4d04a331a6a0b9d897d4f721757730771ff97 (patch)
tree4f410e968ea6e377c53e55e92a495f47a9e504a7 /doc/for_developers
parent8ed7aec95941c0752a0ae21d10594579c39677fb (diff)
downloadartery-25e4d04a331a6a0b9d897d4f721757730771ff97.tar.gz
artery-25e4d04a331a6a0b9d897d4f721757730771ff97.tar.bz2
artery-25e4d04a331a6a0b9d897d4f721757730771ff97.zip
More documentation
* Documented the item table * Documented the inventory table * Started writing tutorials
Diffstat (limited to 'doc/for_developers')
-rw-r--r--doc/for_developers/structs/dropped_item.md14
-rw-r--r--doc/for_developers/structs/inventories.md5
-rw-r--r--doc/for_developers/structs/player.md17
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