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/structs/dropped_item.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/structs/dropped_item.md (limited to 'doc/structs') diff --git a/doc/structs/dropped_item.md b/doc/structs/dropped_item.md new file mode 100644 index 0000000..ffabfbd --- /dev/null +++ b/doc/structs/dropped_item.md @@ -0,0 +1,14 @@ +# Dropped item + +Droped items are represented as a name-data combo + + local i = + 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 -- cgit v1.2.3-70-g09d2