Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added positive blink and stamina indicators. Also added more negative… #204

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Main.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4765,9 +4765,12 @@ Function DrawGUI()
Color 0, 0, 0
Rect(x - 50, y, 30, 30)

If EyeIrritation > 0 Then
If BlurTimer > 600 Or BlinkEffect > 1 Or LightFlash > 0 Or LightBlink > 0 Or EyeIrritation > 0 Then
Color 200, 0, 0
Rect(x - 50 - 3, y - 3, 30 + 6, 30 + 6)
ElseIf BlinkEffect < 1
Color 0, 200, 0
Rect(x - 50 - 3, y - 3, 30 + 6, 30 + 6)
End If

Color 255, 255, 255
Expand All @@ -4785,6 +4788,14 @@ Function DrawGUI()
Color 0, 0, 0
Rect(x - 50, y, 30, 30)

If PlayerRoom\RoomTemplate\Name = "pocketdimension" Or Wearing714 = True Or Injuries >= 1.5 Or StaminaEffect > 1 Or WearingHazmat = 1 Or WearingVest = 2 Then
Color 200, 0, 0
Rect(x - 50 - 3, y - 3, 30 + 6, 30 + 6)
ElseIf InfiniteStamina Or StaminaEffect < 1 Or WearingGasMask = 2 Or Wearing1499 = 2 Or WearingHazmat = 2
Color 0, 200, 0
Rect(x - 50 - 3, y - 3, 30 + 6, 30 + 6)
End If

Color 255, 255, 255
Rect(x - 50 - 1, y - 1, 30 + 2, 30 + 2, False)
If Crouch Then
Expand Down