aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/base.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem/items/base.lua')
-rw-r--r--gamemode/itemsystem/items/base.lua37
1 files changed, 37 insertions, 0 deletions
diff --git a/gamemode/itemsystem/items/base.lua b/gamemode/itemsystem/items/base.lua
new file mode 100644
index 0000000..a3b6b31
--- /dev/null
+++ b/gamemode/itemsystem/items/base.lua
@@ -0,0 +1,37 @@
+ITEM.Name = "Winter Survival 2 Base Item"
+ITEM.Desc = "Why the hell did I write this? No one will read it anyways!!"
+ITEM.Class = "Other"
+ITEM.Model = "models/props_combine/breenlight.mdl"
+ITEM.Icon = Material("wintersurvival2/hud/ws1_icons/icon_rock")
+ITEM.Burnable = false
+ITEM.CD = 0.3
+ITEM.Range = 120
+ITEM.HoldType = "melee"
+
+ITEM.Structure = {}
+ITEM.Recipe = nil
+ITEM.Tools = nil
+ITEM.CookCD = 1
+ITEM.CookProduct = nil
+ITEM.Ghost = nil
+
+--These are just here to tell the editors/develoeprs what functions are available.. dont un-comment them out, as this could affect all the items.
+/*
+function ITEM:OnPrimary(user,tr)
+end
+
+function ITEM:OnSecondary(user,tr)
+end
+
+function ITEM:OnUse(user)
+end
+
+function ITEM:OnCooked(campfire)
+end
+
+function ITEM:OnEnchanted(enchanttalbe, nearbyrunes)
+end
+
+function ITEM:OnCraft(player)
+end
+*/