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.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/gamemode/itemsystem/items/charcoal.lua b/gamemode/itemsystem/items/charcoal.lua
new file mode 100644
index 0000000..ed5e900
--- /dev/null
+++ b/gamemode/itemsystem/items/charcoal.lua
@@ -0,0 +1,10 @@
+ITEM.Name = "Charcoal"
+ITEM.Class = "resource"
+ITEM.Desc = "A hunk of carbon"
+ITEM.Model = "models/props_junk/Rock001a.mdl"
+ITEM.Icon = Material("wintersurvival2/hud/ws2_icons/icon_coal.png")
+
+
+function ITEM:OnCooked(campfire)
+ campfire:Ignite(1000)
+end