summaryrefslogtreecommitdiff
path: root/ftp_gmstranded/entities/effects/gms_loot_effect.lua
diff options
context:
space:
mode:
authorScott <scotth0828@gmail.com>2016-05-21 17:43:47 -0400
committerScott <scotth0828@gmail.com>2016-05-21 17:43:47 -0400
commit10ed1a54523fdd5bcddfbccf44dd9c0a15ab8357 (patch)
treedc40b8a399afea729a78fef6e3a92e7a41873b3d /ftp_gmstranded/entities/effects/gms_loot_effect.lua
parentd73e78d8d98da223410f51f390549336554eb54d (diff)
downloadgmstranded-10ed1a54523fdd5bcddfbccf44dd9c0a15ab8357.tar.gz
gmstranded-10ed1a54523fdd5bcddfbccf44dd9c0a15ab8357.tar.bz2
gmstranded-10ed1a54523fdd5bcddfbccf44dd9c0a15ab8357.zip
Fixed removing plants bug
Diffstat (limited to 'ftp_gmstranded/entities/effects/gms_loot_effect.lua')
-rw-r--r--ftp_gmstranded/entities/effects/gms_loot_effect.lua41
1 files changed, 0 insertions, 41 deletions
diff --git a/ftp_gmstranded/entities/effects/gms_loot_effect.lua b/ftp_gmstranded/entities/effects/gms_loot_effect.lua
deleted file mode 100644
index 0b8d1ef..0000000
--- a/ftp_gmstranded/entities/effects/gms_loot_effect.lua
+++ /dev/null
@@ -1,41 +0,0 @@
-
-AddCSLuaFile()
-
-function EFFECT:Init( data )
- local pos = data:GetOrigin()
- local NumParticles = 8
- local emitter = ParticleEmitter( pos, true )
- local color = Color( 255, 255, 100, 255 )
-
- for i = 0, NumParticles do
- local offset = Vector( math.random( -16, 16 ), math.random( -16, 16 ), 0 )
- local particle = emitter:Add( "particle/fire", pos + offset )
- if ( particle ) then
- particle:SetLifeTime( 0 )
- particle:SetDieTime( 3 )
-
- particle:SetGravity( Vector( 0, 0, 32 ) )
- particle:SetVelocity( Vector( math.random( -16, 16 ), math.random( -16, 16 ), 0 ) )
-
- particle:SetStartSize( math.Rand( 3, 6 ) )
- particle:SetEndSize( 0 )
-
- particle:SetRoll( math.Rand( 0, 360 ) )
- particle:SetRollDelta( math.Rand( -4, 4 ) )
-
- local RandDarkness = math.Rand( 0, 0.5 )
- particle:SetColor( color.r * RandDarkness, color.g * RandDarkness, color.b * RandDarkness )
- particle:SetAngleVelocity( Angle( math.Rand( -180, 180 ), math.Rand( -180, 180 ), math.Rand( -180, 180 ) ) )
- //particle:SetLighting( true )
- end
- end
-
- emitter:Finish()
-end
-
-function EFFECT:Think()
- return false
-end
-
-function EFFECT:Render()
-end