summaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/medicine.lua
blob: 7b178f872608225f469244782dac9c17d5fcff76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ITEM = {}

ITEM.Name = "Medicine"
ITEM.Description = "Heals you!"
ITEM.Icon = "items/medicine.png"
ITEM.UniqueData = false

local use_medicine = function(ln, player)

	LocalPlayer():ConCommand( "gms_takemedicine" )

end

ITEM.Actions = {}
genericMakeDroppable(ITEM)
ITEM.Actions["Use"] = use_medicine

GMS.RegisterResource(ITEM)