diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-30 20:15:02 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-30 20:15:02 -0400 |
| commit | adcec79b09baa5b6804795077caae8ad7e6c0394 (patch) | |
| tree | 005db3dde02b7082fa8c6611d2911da9c1b6e88b /gamemode/processes.lua | |
| parent | 603b64b1a93b36f04d25018ec3f53b16dcd84019 (diff) | |
| download | gmstranded-adcec79b09baa5b6804795077caae8ad7e6c0394.tar.gz gmstranded-adcec79b09baa5b6804795077caae8ad7e6c0394.tar.bz2 gmstranded-adcec79b09baa5b6804795077caae8ad7e6c0394.zip | |
Added mineing resources
Diffstat (limited to 'gamemode/processes.lua')
| -rw-r--r-- | gamemode/processes.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gamemode/processes.lua b/gamemode/processes.lua index 333f404..45e544d 100644 --- a/gamemode/processes.lua +++ b/gamemode/processes.lua @@ -615,34 +615,34 @@ function PROCESS:OnStop() self.Owner:IncResource( "Stone", num3 ) self.Owner:SendMessage( "Stone ( " .. num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 2 ) then - self.Owner:IncResource( "Copper_Ore", num3 ) + self.Owner:IncResource( "Copper Ore", num3 ) self.Owner:SendMessage( "Copper Ore ( "..num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 3 ) then - self.Owner:IncResource( "Iron_Ore", num3 ) + self.Owner:IncResource( "Iron Ore", num3 ) self.Owner:SendMessage( "Iron Ore ( " .. num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 4 ) then - self.Owner:IncResource( "Tech_Ore", num3 ) + self.Owner:IncResource( "Tech Ore", num3 ) self.Owner:SendMessage( "Tech Ore ( " .. num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 5 ) then - self.Owner:IncResource( "Silver_Ore", num3 ) + self.Owner:IncResource( "Silver Ore", num3 ) self.Owner:SendMessage( "Silver Ore ( " .. num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 6 ) then - self.Owner:IncResource( "Gold_Ore", num3 ) + self.Owner:IncResource( "Gold Ore", num3 ) self.Owner:SendMessage( "Gold Ore ( " .. num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 7 ) then - self.Owner:IncResource( "Steel_Ore", num3 ) + self.Owner:IncResource( "Steel Ore", num3 ) self.Owner:SendMessage( "Steel Ore ( " .. num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 8 ) then - self.Owner:IncResource( "Platinum_Ore", num3 ) + self.Owner:IncResource( "Platinum Ore", num3 ) self.Owner:SendMessage( "Platinum Ore ( " .. num3 .. "x )", 3, Color( 10, 200, 10, 255 ) ) elseif ( num2 == 85 ) then - self.Owner:IncResource( "Strange_Stone", num3 ) + self.Owner:IncResource( "Strange Stone", num3 ) self.Owner:SendMessage( "Strange Stone ( " .. num3 .. "x ) ", 3, Color( 0, 247, 255, 255) ) elseif ( num2 == 9 ) then - self.Owner:IncResource( "Mithril_Ore", num3 ) + self.Owner:IncResource( "Mithril Ore", num3 ) self.Owner:SendMessage( "Mithril Ore ( " .. num3 .. "x ) ", 3, Color(10, 200, 10, 255) ) elseif ( num2 == 10) then - self.Owner:IncResource( "Adamantine_Ore", num3 ) + self.Owner:IncResource( "Adamantine Ore", num3 ) self.Owner:SendMessage( "Adamantine Ore( " .. num3 .. "x ) ", 3, Color(255,0, 111, 255) ) end |
