From 40e474efdba3caa162b3fea4b40e5d48796dd1bd Mon Sep 17 00:00:00 2001 From: WoolyAypa Date: Wed, 18 Jan 2023 18:47:29 -0300 Subject: [PATCH] belt now checks ERP prefs --- .../lewd_items/genital_equipment/chastity/chastity_belt.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modular_splurt/code/game/objects/items/lewd_items/genital_equipment/chastity/chastity_belt.dm b/modular_splurt/code/game/objects/items/lewd_items/genital_equipment/chastity/chastity_belt.dm index 23da5b90c2..f4f0e4b240 100644 --- a/modular_splurt/code/game/objects/items/lewd_items/genital_equipment/chastity/chastity_belt.dm +++ b/modular_splurt/code/game/objects/items/lewd_items/genital_equipment/chastity/chastity_belt.dm @@ -18,6 +18,10 @@ if(!CHECK_BITFIELD(slot, ITEM_SLOT_UNDERWEAR) || !ishuman(user) || !ishuman(usr)) return + if(!(user.client?.prefs?.erppref == "Yes")) + to_chat(user, span_warning("They don't want you to do that!")) + return + var/mob/holder = usr owner = user