mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
MedicalHUD QoL changes, more readable and less head blocking top bar, smaller icons to not interfere with speech bubbles, no bar when at full health, faster flashing state at -50 to -99 health. http://i.imgur.com/gwdXDYo.png
This commit is contained in:
@@ -117,8 +117,10 @@ proc/RoundHealth(health)
|
||||
return "health10"
|
||||
if(1 to 5)
|
||||
return "health1"
|
||||
if(-99 to 0)
|
||||
if(-49 to 0)
|
||||
return "health0"
|
||||
if(-99 to 50)
|
||||
return "health-50"
|
||||
else
|
||||
return "health-100"
|
||||
return "0"
|
||||
|
||||
@@ -105,14 +105,16 @@
|
||||
return "health60"
|
||||
if(30 to 50)
|
||||
return "health40"
|
||||
if(20 to 30)
|
||||
if(18 to 30)
|
||||
return "health25"
|
||||
if(5 to 15)
|
||||
if(5 to 18)
|
||||
return "health10"
|
||||
if(1 to 5)
|
||||
return "health1"
|
||||
if(-99 to 0)
|
||||
if(-49 to 0)
|
||||
return "health0"
|
||||
if(-99 to 50)
|
||||
return "health-50"
|
||||
else
|
||||
return "health-100"
|
||||
return "0"
|
||||
|
||||
@@ -196,8 +196,10 @@ Works together with spawning an observer, noted above.
|
||||
return "health10"
|
||||
if(1 to 5)
|
||||
return "health1"
|
||||
if(-99 to 0)
|
||||
if(-49 to 0)
|
||||
return "health0"
|
||||
if(-99 to 50)
|
||||
return "health-50"
|
||||
else
|
||||
return "health-100"
|
||||
return "0"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Reference in New Issue
Block a user