Merge pull request #14807 from Putnam3145/make-sleeper-pref-good
makes medihound sleeper toggle do something
This commit is contained in:
@@ -77,8 +77,11 @@
|
|||||||
return
|
return
|
||||||
if(!iscarbon(target))
|
if(!iscarbon(target))
|
||||||
return
|
return
|
||||||
|
if(!(target?.client?.prefs?.cit_toggles & MEDIHOUND_SLEEPER))
|
||||||
|
to_chat(user, "<span class='warning'>The user has opted out of the use of your [src].")
|
||||||
|
return
|
||||||
var/voracious = TRUE
|
var/voracious = TRUE
|
||||||
if(!target.client || !(target.client.prefs.cit_toggles & MEDIHOUND_SLEEPER) || !hound.client || !(hound.client.prefs.cit_toggles & MEDIHOUND_SLEEPER))
|
if(!hound.client || !(hound.client.prefs.cit_toggles & MEDIHOUND_SLEEPER))
|
||||||
voracious = FALSE
|
voracious = FALSE
|
||||||
if(target.buckled)
|
if(target.buckled)
|
||||||
to_chat(user, "<span class='warning'>The user is buckled and can not be put into your [src].</span>")
|
to_chat(user, "<span class='warning'>The user is buckled and can not be put into your [src].</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user