summaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/anexample.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-01 11:42:43 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-01 11:42:43 -0400
commit489fca6e8e514e5061e82a3b4d299410ea978f34 (patch)
tree36a225a0ebb805dc7f0db947e46aaac0d71286a2 /gamemode/itemsystem/items/anexample.lua
parenta1a02f08a06e8d150099a483a2a4e1844364ac5a (diff)
downloadgmstranded-489fca6e8e514e5061e82a3b4d299410ea978f34.tar.gz
gmstranded-489fca6e8e514e5061e82a3b4d299410ea978f34.tar.bz2
gmstranded-489fca6e8e514e5061e82a3b4d299410ea978f34.zip
Fixed recepies for platinum furnace, added elm, platinum, and pure mithril resources
Diffstat (limited to 'gamemode/itemsystem/items/anexample.lua')
-rw-r--r--gamemode/itemsystem/items/anexample.lua36
1 files changed, 0 insertions, 36 deletions
diff --git a/gamemode/itemsystem/items/anexample.lua b/gamemode/itemsystem/items/anexample.lua
deleted file mode 100644
index 100096f..0000000
--- a/gamemode/itemsystem/items/anexample.lua
+++ /dev/null
@@ -1,36 +0,0 @@
---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
-
---A table of strings to functions that show up when the player clicks the item in their inventory.
---The you may also use strings to tables of strings to functions (and so on) to make drop-down menus.
---Example:
---[[
-ITEM.Actions = {
- "Click me!" = functions(player) print("I was clicked!") end
- "Or me!" = functions(player) print("I was clicked by " .. player:Name()) end
- "Drop down" = {
- "This is an item in a drop down" = function(player) print("Drop1") end
- "Drop downs can have more drop downs!" = {
- "Drop2" = function(player) print("Drop2") end
- "Drop3" = function(player) print("Drop3") end
- }
- }
-}
---]]
-ITEM.Actions = {}
-
---Be sure to register when everything is said and done!
-GMS.RegisterResource(ITEM)