aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/runefeatherfall.lua
blob: ebecbed5166d5adce12d5d0e864f55f6e6ebe206 (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
local ITEM = {}
ITEM.Name 			= "Feather-fall Rune"
ITEM.Class 			= "resource"
ITEM.Desc 			= "A rune that's lighter than air.\nCancels fall dammage"
ITEM.Model 			= "models/props_junk/Rock001a.mdl"
ITEM.Icon 			= Material("wintersurvival2/hud/ws2_icons/icon_runefeatherfall.png")

ITEM.Structure = {
	{
		Bone = "ValveBiped.Bip01_R_Hand",
		Model = "models/props_junk/rock001a.mdl",
		Size = Vector(1,1,1),
		Pos = Vector(3,-1.6,0.5),
		Ang = Angle(0,0,0),
	},
}

ITEM.Recipe		= {
	Resources = {
		["Blank Rune"] = 1,
		["Feather"] = 1,
	},
	Tools = {},
}



ITEM.Damage 	= 1
ITEM.Range 		= 64
ITEM.CD 		= 1

function ITEM:OnCraft(ply)
	ply:AddFatigue(25)
end
RegisterItem(ITEM)