mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Only notify if mob is SSD
This commit is contained in:
@@ -100,7 +100,10 @@
|
||||
if(drownee.losebreath > 20) //You've probably got bigger problems than drowning at this point, so we won't add to it until you get that under control.
|
||||
return
|
||||
|
||||
add_logs(src, drownee, "drowned", null, null, 0, 0) //log it to their VV, but don't spam the admins' chats with the logs
|
||||
if (isLivingSSD(drownee))
|
||||
add_logs(src, drownee, "drowned", null, null, 0, 1) // Notify admins, since the person is SSD
|
||||
else
|
||||
add_logs(src, drownee, "drowned", null, null, 0, 0) // Do not notify admins.
|
||||
if(drownee.stat) //Mob is in critical.
|
||||
drownee.AdjustLoseBreath(3, bound_lower = 0, bound_upper = 20)
|
||||
drownee.visible_message("<span class='danger'>\The [drownee] appears to be drowning!</span>","<span class='userdanger'>You're quickly drowning!</span>") //inform them that they are fucked.
|
||||
|
||||
Reference in New Issue
Block a user