Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit aafec0f

Browse files
committed
Added HUD hiding script for Ronin Stone
1 parent 6e0498b commit aafec0f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Ronin.rte/Devices/Misc/Stone/Stone.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AddDevice = ThrownDevice
1010
RestThreshold = -500
1111
HitsMOs = 1
1212
GetsHitByMOs = 1
13-
ScriptPath = Base.rte/Scripts/Shared/RandomFrame.lua
13+
ScriptPath = Ronin.rte/Devices/Misc/Stone/Stone.lua
1414
SpriteFile = ContentFile
1515
FilePath = Ronin.rte/Devices/Misc/Stone/Stone.bmp
1616
FrameCount = 10
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dofile ("Base.rte/Scripts/Shared/RandomFrame.lua")
2+
3+
function Update(self)
4+
if self.Vel.Magnitude > 2 then
5+
self.HUDVisible = false;
6+
else
7+
self.HUDVisible = true;
8+
end
9+
end

0 commit comments

Comments
 (0)