blob: de04739fe75cbeff561388105c39e9d0e3c482a3 (
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
38
39
40
|
local ITEM = {}
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/developers 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
*/
RegisterItem(ITEM)
|