Merge pull request #12577 from Citadel-Station-13/silicons-patch-1
removes snore spam
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
/datum/status_effect/incapacitating/on_creation(mob/living/new_owner, set_duration, updating_canmove)
|
||||
if(isnum(set_duration))
|
||||
duration = set_duration
|
||||
tick_interval = max(world.tick_lag, round(tick_interval, world.tick_lag))
|
||||
. = ..()
|
||||
if(.)
|
||||
if(updating_canmove)
|
||||
@@ -84,8 +85,9 @@
|
||||
if(prob(20))
|
||||
if(carbon_owner)
|
||||
carbon_owner.handle_dreams()
|
||||
if(prob(10) && owner.health > owner.crit_threshold)
|
||||
owner.emote("snore")
|
||||
// 2% per second, tick interval is in deciseconds
|
||||
if(prob(tick_interval * 0.2) && owner.health > owner.crit_threshold)
|
||||
owner.emote("snore")
|
||||
|
||||
/datum/status_effect/staggered
|
||||
id = "staggered"
|
||||
|
||||
Reference in New Issue
Block a user