aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/base.lua
blob: a3b6b3111c5ce8e81f28cc0733bd62e871c50569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
*/