aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/charcoal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem/items/charcoal.lua')
-rw-r--r--gamemode/itemsystem/items/charcoal.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/gamemode/itemsystem/items/charcoal.lua b/gamemode/itemsystem/items/charcoal.lua
index ed5e900..c716e06 100644
--- a/gamemode/itemsystem/items/charcoal.lua
+++ b/gamemode/itemsystem/items/charcoal.lua
@@ -1,3 +1,4 @@
+local ITEM = {}
ITEM.Name = "Charcoal"
ITEM.Class = "resource"
ITEM.Desc = "A hunk of carbon"
@@ -8,3 +9,4 @@ ITEM.Icon = Material("wintersurvival2/hud/ws2_icons/icon_coal.png")
function ITEM:OnCooked(campfire)
campfire:Ignite(1000)
end
+RegisterItem(ITEM)