From ea1622aa8614a745f75b06f48c9edd441253f34e Mon Sep 17 00:00:00 2001 From: ariaworld <143797359+ariaworld@users.noreply.github.com> Date: Mon, 27 Nov 2023 22:41:16 +0100 Subject: [PATCH] Potency climax limit bypass (#1) * Potency climax limit bypass * Fix comment spacing --- code/modules/client/preferences.dm | 4 ++-- modular_citadel/code/modules/client/preferences_savefile.dm | 2 +- modular_sand/code/datums/interactions/lewd_definitions.dm | 2 +- modular_splurt/code/datums/interactions/lewd/_lewd.dm | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 60aa3bc3b80f..239346174547 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -2870,9 +2870,9 @@ GLOBAL_LIST_EMPTY(preferences_datums) if(lust_tol) lust_tolerance = clamp(lust_tol, 75, 200) if("sexual_potency") - var/sexual_pot = input(user, "Set your sexual potency. \n(10 = minimum, 25 = maximum.)", "Character Preference", sexual_potency) as num|null + var/sexual_pot = input(user, "Set your sexual potency. \n(-1 = minimum, 25 = maximum.) This determines the number of times your character can orgasm before becoming impotent, use -1 for no impotency.", "Character Preference", sexual_potency) as num|null if(sexual_pot) - sexual_potency = clamp(sexual_pot, 10, 25) + sexual_potency = clamp(sexual_pot, -1, 25) // Splurt EDIT: New minimum = -1 if("cock_color") var/new_cockcolor = input(user, "Penis color:", "Character Preference","#"+features["cock_color"]) as color|null diff --git a/modular_citadel/code/modules/client/preferences_savefile.dm b/modular_citadel/code/modules/client/preferences_savefile.dm index d4131383dfeb..afdf28b583e0 100644 --- a/modular_citadel/code/modules/client/preferences_savefile.dm +++ b/modular_citadel/code/modules/client/preferences_savefile.dm @@ -39,7 +39,7 @@ enable_personal_chat_color = sanitize_integer(enable_personal_chat_color, 0, 1, initial(enable_personal_chat_color)) personal_chat_color = sanitize_hexcolor(personal_chat_color, 6, 1, "#FFFFFF") lust_tolerance = sanitize_integer(lust_tolerance, 75, 200, initial(lust_tolerance)) - sexual_potency = sanitize_integer(sexual_potency, 10, 25, initial(sexual_potency)) + sexual_potency = sanitize_integer(sexual_potency, -1, 25, initial(sexual_potency)) S["silicon_lawset"] >> silicon_lawset diff --git a/modular_sand/code/datums/interactions/lewd_definitions.dm b/modular_sand/code/datums/interactions/lewd_definitions.dm index bb5b0903d901..d7a66de3edb7 100644 --- a/modular_sand/code/datums/interactions/lewd_definitions.dm +++ b/modular_sand/code/datums/interactions/lewd_definitions.dm @@ -805,7 +805,7 @@ multiorgasms += 1 COOLDOWN_START(src, refractory_period, (rand(300, 900) - get_sexual_potency()))//sex cooldown - if(multiorgasms < get_sexual_potency()) + if(get_sexual_potency() == -1 || (get_sexual_potency() != -1 && multiorgasms < get_sexual_potency())) //Splurt EDIT: Ignore multi-orgasms check if sexual potency is -1 if(ishuman(src)) var/mob/living/carbon/human/H = src if(!partner) diff --git a/modular_splurt/code/datums/interactions/lewd/_lewd.dm b/modular_splurt/code/datums/interactions/lewd/_lewd.dm index 3e4948ff856e..584d790ff694 100644 --- a/modular_splurt/code/datums/interactions/lewd/_lewd.dm +++ b/modular_splurt/code/datums/interactions/lewd/_lewd.dm @@ -231,13 +231,13 @@ visible_message(message = span_userlove("\The [src] [message]"), ignored_mobs = get_unconsenting()) multiorgasms += 1 - if(multiorgasms > (get_sexual_potency() * 0.34)) //AAAAA, WE DONT WANT NEGATIVES HERE, RE - refractory_period = world.time + rand(300, 900) - get_sexual_potency()//sex cooldown + if(get_sexual_potency() == -1 || multiorgasms > (get_sexual_potency() * 0.34)) //AAAAA, WE DONT WANT NEGATIVES HERE, RE + refractory_period = world.time + rand(300, 900) //sex cooldown // set_drugginess(rand(20, 30)) else refractory_period = world.time + rand(300, 900) - get_sexual_potency() // set_drugginess(rand(5, 10)) - if(multiorgasms < get_sexual_potency()) + if(get_sexual_potency() == -1 || multiorgasms < get_sexual_potency()) // Climax limit | SPLURT EDIT: -1 sexual potency = no limit if(ishuman(src)) var/mob/living/carbon/human/H = src if(!partner)