From 975eec750370b1dd911559811a0161ca27f8c079 Mon Sep 17 00:00:00 2001 From: sarcoph <83266791+sarcoph@users.noreply.github.com> Date: Thu, 5 May 2022 03:02:43 -0800 Subject: [PATCH] makes selectable butt size a variable --- code/__DEFINES/hyper_arousal.dm | 1 + code/modules/client/preferences.dm | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/__DEFINES/hyper_arousal.dm b/code/__DEFINES/hyper_arousal.dm index d3f9d6ceb..6b16fba9b 100644 --- a/code/__DEFINES/hyper_arousal.dm +++ b/code/__DEFINES/hyper_arousal.dm @@ -5,4 +5,5 @@ #define BELLY_STRETCH_SIZE 6 // for flavor text #define BUTT_MIN_SIZE 0 +#define BUTT_MAX_SIZE_SELECTABLE 5 #define BUTT_MAX_SIZE 8 \ No newline at end of file diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index fb1a9fa74..d0abb7d46 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -2435,9 +2435,10 @@ GLOBAL_LIST_EMPTY(preferences_datums) features["belly_size"] = clamp(new_bellysize, BELLY_MIN_SIZE, BELLY_MAX_SIZE) if("butt_size") - var/new_buttsize = input(user, "Butt size :\n([BUTT_MIN_SIZE]-5)", "Character Preference") as num|null + var/new_buttsize = input(user, "Butt size :\n([BUTT_MIN_SIZE]-[BUTT_MAX_SIZE_SELECTABLE])", "Character Preference") as num|null if(new_buttsize != null) - features["butt_size"] = clamp(new_buttsize, BUTT_MIN_SIZE, 5) //Restricted to 5 in menu, because we have chems to make them big IC, like with breasts and what not. + features["butt_size"] = clamp(new_buttsize, BUTT_MIN_SIZE, BUTT_MAX_SIZE_SELECTABLE) + //Restricted to 5 in menu, because we have chems to make them big IC, like with breasts and what not. if("vag_shape") var/new_shape