File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Data/Ronin.rte/Devices/Tools/Shovel Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,9 @@ function Update(self)
41
41
local fireVec = Vector (40 * self .FlipFactor , 0 ):RadRotate (aimAngle * self .FlipFactor + (0.3 - self .InheritedRotAngleOffset * 0.3 ) * self .FlipFactor );
42
42
-- Digging particles
43
43
for i = 1 , self .particleCount do
44
- local part = CreateMOPixel (" Particle Ronin Shovel" );
45
- part .Pos = self .MuzzlePos + Vector (math.sqrt (self .particleCount - i ), 0 ):RadRotate (i * 2.39996 );
44
+ local part = CreateMOPixel (" Particle Ronin Shovel" . " Ronin.rte" );
45
+ local goldenAngleSmallerPart = 2.39996 ;
46
+ part .Pos = self .MuzzlePos + Vector (math.sqrt (self .particleCount - i ), 0 ):RadRotate (i * goldenAngleSmallerPart );
46
47
part .Vel = fireVec ;
47
48
part .Sharpness = part .Sharpness * (0.5 + (i / self .particleCount ) * 0.5 );
48
49
MovableMan :AddParticle (part );
You can’t perform that action at this time.
0 commit comments