From 6f6cce0561c19e7af14bcc6e6b1c7de2d5efc530 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 29 Apr 2016 20:30:52 -0400 Subject: a halfway commit to show scott --- gamemode/itemsystem/items/anexample.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gamemode/itemsystem/items/anexample.lua (limited to 'gamemode/itemsystem/items/anexample.lua') diff --git a/gamemode/itemsystem/items/anexample.lua b/gamemode/itemsystem/items/anexample.lua new file mode 100644 index 0000000..19cdbd7 --- /dev/null +++ b/gamemode/itemsystem/items/anexample.lua @@ -0,0 +1,18 @@ +--This file is to help developers add new items to the game + +ITEM = {} + +--The name of this item +ITEM.Name = "An Example" + +--A description that shows up when hovering over the item in the inventory +ITEM.Description = "Why did I even write this? No one will ever read it!" + +--The icon that this item users, relative to the gmsurvival/content/materials directory +ITEM.Icon = "test.png" + +--If this item has "unique data", for example batteries that run out of charge +ITEM.UniqueData = false + +--Be sure to register when everything is said and done! +GMS.RegisterResource(ITEM) -- cgit v1.2.3-70-g09d2