Adjusts diver visibility in shallow water (#8697)

This commit is contained in:
Verkister
2024-07-27 19:21:52 +03:00
committed by GitHub
parent dba6af8168
commit f07e693ed0
2 changed files with 5 additions and 1 deletions
@@ -77,6 +77,10 @@
var/turf/simulated/floor/water/water_floor = holder.loc
if(water_floor.depth < 1) //You're not in deep enough water anymore.
expire(silent = FALSE)
if(water_floor.depth > 1) //CHOMPAdd Start
holder.alpha = 50
else
holder.alpha = 65 //CHOMPAdd End
else
expire(silent = FALSE)