doone, opt-out pref

This commit is contained in:
WoolyAypa
2023-01-19 00:43:16 -03:00
parent aa0e5d0e02
commit f04f9ce559
7 changed files with 30 additions and 3 deletions
@@ -18,10 +18,10 @@
if(!CHECK_BITFIELD(slot, ITEM_SLOT_UNDERWEAR) || !ishuman(user) || !ishuman(usr))
return
if(!(user.client?.prefs?.erppref == "Yes"))
if(!user.client?.prefs?.chastitypref)
to_chat(user, span_warning("They don't want you to do that!"))
return
var/mob/holder = usr
owner = user
@@ -51,7 +51,7 @@
if(!istype(target_organ, /obj/item/organ/genital/penis))
return ..()
if(!(target.client?.prefs?.erppref == "Yes"))
if(!target.client?.prefs?.chastitypref)
to_chat(user, span_warning("They don't want you to do that!"))
return