summaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/grainseeds.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-04-29 22:17:10 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-04-29 22:17:10 -0400
commitc90d4ae74d9a51249009ebac34d3627bc3812fa3 (patch)
treef3e50280481e56bc87093490ea091bdd7a956223 /gamemode/itemsystem/items/grainseeds.lua
parent6f6cce0561c19e7af14bcc6e6b1c7de2d5efc530 (diff)
downloadgmstranded-c90d4ae74d9a51249009ebac34d3627bc3812fa3.tar.gz
gmstranded-c90d4ae74d9a51249009ebac34d3627bc3812fa3.tar.bz2
gmstranded-c90d4ae74d9a51249009ebac34d3627bc3812fa3.zip
Fixed up inventory
Diffstat (limited to 'gamemode/itemsystem/items/grainseeds.lua')
-rw-r--r--gamemode/itemsystem/items/grainseeds.lua18
1 files changed, 1 insertions, 17 deletions
diff --git a/gamemode/itemsystem/items/grainseeds.lua b/gamemode/itemsystem/items/grainseeds.lua
index 9b22a0b..be81e5f 100644
--- a/gamemode/itemsystem/items/grainseeds.lua
+++ b/gamemode/itemsystem/items/grainseeds.lua
@@ -5,22 +5,6 @@ ITEM.Description = "Something you can plant, or mash up into flour"
ITEM.Icon = "test.png"
ITEM.UniqueData = false
-local drop1 = function(player)
- print("Drop 1 called")
-end
-
-local dropall = function(player)
- print("Drop all called")
-end
-
-local dropx = function(player)
- print("Drop x called")
-end
-
-ITEM.Actions = {}
-ITEM.Actions["Drop"] = {}
-ITEM.Actions["Drop"]["Drop 1"] = drop1
-ITEM.Actions["Drop"]["Drop all"] = dropall
-ITEM.Actions["Drop"]["Drop X"] = dropx
+genericMakeDroppable(ITEM)
GMS.RegisterResource(ITEM)