aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/barrel.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem/items/barrel.lua')
-rw-r--r--gamemode/itemsystem/items/barrel.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/gamemode/itemsystem/items/barrel.lua b/gamemode/itemsystem/items/barrel.lua
index 6f99d7e..939ea06 100644
--- a/gamemode/itemsystem/items/barrel.lua
+++ b/gamemode/itemsystem/items/barrel.lua
@@ -1,4 +1,4 @@
-
+local ITEM = {}
ITEM.Name = "Barrel"
ITEM.Class = "structure"
ITEM.Desc = "Barrel for storage of items."
@@ -56,3 +56,4 @@ function ITEM:OnPrimary(pl,tr)
pl:EmitSound(Sound("weapons/iceaxe/iceaxe_swing1.wav"),100,math.random(90,110))
end
end
+RegisterItem(ITEM)