mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 04:08:55 +01:00
Adjusts diver visibility in shallow water (#8697)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user