Breasts size fix

Fixed breast size not increasing beyond huge
This commit is contained in:
Alphas00
2025-01-21 18:29:30 +01:00
parent 26e7d5f911
commit cd5c83f3d6

View File

@@ -83,7 +83,7 @@
cached_size = new_value
update()
..()
//"massive" = 17, "giga" = 25, "impossible" = 30
/obj/item/organ/genital/breasts/update_size()//wah
var/rounded_cached = round(cached_size)
if(cached_size < 0)//I don't actually know what round() does to negative numbers, so to be safe!!fixed
@@ -98,10 +98,16 @@
size = breast_values[rounded_cached]
if(9 to 15) //massive
size = breast_values[rounded_cached]
if(16 to INFINITY) //rediculous
if(16) //rediculous
size = "huge"
if(17 to 24)
size = "massive"
if(25 to 29)
size = "giga"
if(30 to INFINITY)
size = "impossible"
if(rounded_cached < 16 && owner)//Because byond doesn't count from 0, I have to do this.
if(rounded_cached < 30 && owner)//Because byond doesn't count from 0, I have to do this.
var/mob/living/carbon/human/H = owner
var/r_prev_size = round(prev_size)
if (rounded_cached > r_prev_size)