erect up the config instead in case this situation comes up again.

This commit is contained in:
Blue Wildrose
2021-01-02 00:18:49 -07:00
parent 843b1494b3
commit 642c4a5806
2 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -40,17 +40,18 @@
var/rounded_length = round(length)
var/new_size
var/enlargement = FALSE
var/max_D = CONFIG_GET(number/penis_max_inches_prefs)
switch(rounded_length)
if(0 to 6) //If modest size
new_size = 1
if(7 to 11) //If large
new_size = 2
if(12 to 24) //If massive
if(12 to max_D) //If massive
new_size = 3
if(25 to 34) //If massive and due for large effects
if(max_D + 1 to max_D+13) //If massive and due for large effects, modified in case some server owner running recent citcode decides to be insane with dick sizes in the config
new_size = 3
enlargement = TRUE
if(35 to INFINITY) //If comical
if(max_D+14 to INFINITY) //If comical
new_size = 4 //no new sprites for anything larger yet
enlargement = TRUE
if(owner)
@@ -232,7 +232,8 @@
P.Insert(H)
P.modify_size(0.1)
if (ISINRANGE_EX(P.length, 24.5, 25) && (H.w_uniform || H.wear_suit))
var/max_D = CONFIG_GET(number/penis_max_inches_prefs)
if (ISINRANGE_EX(P.length, max_D + 0.5, max_D + 1) && (H.w_uniform || H.wear_suit))
var/target = H.get_bodypart(BODY_ZONE_CHEST)
if(!message_spam)
to_chat(H, "<span class='danger'>Your cock begin to strain against your clothes tightly!</b></span>")