aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/magicwood.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem/items/magicwood.lua')
-rw-r--r--gamemode/itemsystem/items/magicwood.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/gamemode/itemsystem/items/magicwood.lua b/gamemode/itemsystem/items/magicwood.lua
index a871c72..660462a 100644
--- a/gamemode/itemsystem/items/magicwood.lua
+++ b/gamemode/itemsystem/items/magicwood.lua
@@ -1,3 +1,4 @@
+local ITEM = {}
ITEM.Name = "Magic Wood"
ITEM.Class = "weapon"
ITEM.Desc = "Some magically infused wood"
@@ -55,3 +56,4 @@ function ITEM:OnSecondary(pl, tr)
pl:RemoveItem(self.Name, 1)
pl:EmitSound(Sound("weapons/iceaxe/iceaxe_swing1.wav"), 100, math.random(40, 60))
end
+RegisterItem(ITEM)