Reduced message spam

There is now only a 10% chance of a message appearing. This feels about a good amount to keep the character splashing without getting too spammy. Lower numbers made it rare to send out a message at all.
This commit is contained in:
SatinIsle
2024-01-19 15:20:12 +00:00
parent 28ad56cd97
commit e2fc7fea62
+2 -1
View File
@@ -74,7 +74,8 @@
water_breath.temperature = above_air.temperature
return water_breath
if(L && L.is_bad_swimmer() && depth >= 2 && !L.buckled())
L.visible_message("<span class='notice'>[L] splashes wildly.</span>","<span class='warning'>You struggle to keep your head above the water!</span>")
if(prob(10))
L.visible_message("<span class='notice'>[L] splashes wildly.</span>","<span class='warning'>You struggle to keep your head above the water!</span>")
if(L.can_breathe_water())
var/datum/gas_mixture/water_breath = new()
var/datum/gas_mixture/above_air = return_air()