summaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-08 19:50:07 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-08 19:50:07 -0400
commitf529fc47c87ce254aad2c0506259b9d7521d3512 (patch)
treeba832069036110de65e4a69a95241a299a6da9a2 /gamemode/itemsystem/items
parent232ee552f30a37d1b0080f4aa4de43d7639971a5 (diff)
parent5a7639b486aa9f672813fec32510e57a554d750b (diff)
downloadgmstranded-f529fc47c87ce254aad2c0506259b9d7521d3512.tar.gz
gmstranded-f529fc47c87ce254aad2c0506259b9d7521d3512.tar.bz2
gmstranded-f529fc47c87ce254aad2c0506259b9d7521d3512.zip
Merge branch 'master' of ssh://cogarr.net:43/home/git/gmstranded
Diffstat (limited to 'gamemode/itemsystem/items')
-rw-r--r--gamemode/itemsystem/items/deaddroppable.lua3
-rw-r--r--gamemode/itemsystem/items/medicine.lua8
2 files changed, 6 insertions, 5 deletions
diff --git a/gamemode/itemsystem/items/deaddroppable.lua b/gamemode/itemsystem/items/deaddroppable.lua
index 9278e96..c820f20 100644
--- a/gamemode/itemsystem/items/deaddroppable.lua
+++ b/gamemode/itemsystem/items/deaddroppable.lua
@@ -42,6 +42,7 @@ local tbl = {
{"Resin","Something you can craft with!","items/resin.png"},
{"Rope","Something you can craft with!","items/rope.png"},
{"Salmon","Something you can craft with!","items/salmon.png"},
+ {"Saltpetre","Something you can craft with!","items/saltpetre.png"},
{"Sand","How in the world are you holding this stuff?","items/sand.png"},
{"Shark","Something you can craft with!","items/shark.png"},
{"Silver","Something you can craft with!","items/ingot_silver.png"},
@@ -51,7 +52,7 @@ local tbl = {
{"Steel Ore","Something you can craft with!","items/ore_steel.png"},
{"Stone","Something you can craft with!","items/stone.png"},
{"Strange Stone","Something you can craft with!","items/sulpher.png"},
- {"Sulpher","Watch out, it's explosive!","items/sulpher.png"},
+ {"Sulphur","Watch out, it's explosive!","items/sulphur.png"},
{"Teak","You've got wood.","items/wood_teak.png"},
{"Tech","You're blinded by SCIENCE!","items/ingot_tech.png"},
{"Tech Ore","Something you can craft with!","items/ore_tech.png"},
diff --git a/gamemode/itemsystem/items/medicine.lua b/gamemode/itemsystem/items/medicine.lua
index 1281883..405188d 100644
--- a/gamemode/itemsystem/items/medicine.lua
+++ b/gamemode/itemsystem/items/medicine.lua
@@ -11,14 +11,14 @@ if(SERVER) then
end
local client_use = function()
- net.Start("gms_eatberry")
+ net.Start("gms_usemedicine")
net.SendToServer()
end
local finisheduseing = function(player)
- self.Owner:DecResource( "Medicine", 1 )
- self.Owner:SendMessage( "You're feeling a bit better now.", 3, Color( 10, 200, 10, 255 ) )
- self.Owner:Heal( 10 )
+ player:DecResource( "Medicine", 1 )
+ player:SendMessage( "You're feeling a bit better now.", 3, Color( 10, 200, 10, 255 ) )
+ player:Heal( 10 )
end
local use_medicine = function(ln, player)