diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-18 18:22:54 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-18 18:22:54 -0400 |
| commit | c938d041633104340f866a5906f6dbaffaf1f459 (patch) | |
| tree | cfeb3ffbb7fcf14d0cbe3a1b88d45455bdc456c6 /gamemode/itemsystem/items/runenature.lua | |
| parent | 3c71b9a8d266a2f1b1a826556a6c28158e11a6d6 (diff) | |
| download | wintersurvival2-c938d041633104340f866a5906f6dbaffaf1f459.tar.gz wintersurvival2-c938d041633104340f866a5906f6dbaffaf1f459.tar.bz2 wintersurvival2-c938d041633104340f866a5906f6dbaffaf1f459.zip | |
Bugfixes in spells and misc linting
Diffstat (limited to 'gamemode/itemsystem/items/runenature.lua')
| -rw-r--r-- | gamemode/itemsystem/items/runenature.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gamemode/itemsystem/items/runenature.lua b/gamemode/itemsystem/items/runenature.lua index 2ebbff6..c528fc0 100644 --- a/gamemode/itemsystem/items/runenature.lua +++ b/gamemode/itemsystem/items/runenature.lua @@ -2,7 +2,7 @@ ITEM.Name = "Nature Rune"
ITEM.Class = "resource"
ITEM.Desc = "A blank peice of stone"
-ITEM.Model = "models/props_combine/breenlight.mdl"
+ITEM.Model = "models/props_junk/Rock001a.mdl"
ITEM.Icon = Material("wintersurvival2/hud/ws2_icons/icon_runenature.png")
ITEM.Structure = {
@@ -32,9 +32,9 @@ ITEM.Range = 64 ITEM.CD = 1
function ITEM:OnUse(user)
- if(CLIENT) then return end
+ if CLIENT then return end
if not user then return end
- user:SetHealth(math.min(100,user:Health()+25))
+ user:SetHealth(math.min(100,user:Health() + 25))
user:AddFatigue(10)
user:RemoveItem(self.Name,1)
end
|
