Skip to content

Commit

Permalink
Potency climax limit bypass (#1)
Browse files Browse the repository at this point in the history
* Potency climax limit bypass

* Fix comment spacing
  • Loading branch information
ariaworld authored Nov 27, 2023
1 parent 73700f9 commit ea1622a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion modular_sand/code/datums/interactions/lewd_definitions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions modular_splurt/code/datums/interactions/lewd/_lewd.dm
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,13 @@
visible_message(message = span_userlove("<b>\The [src]</b> [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)
Expand Down

0 comments on commit ea1622a

Please sign in to comment.