Breasts size fix
Fixed breast size not increasing beyond huge
This commit is contained in:
@@ -83,7 +83,7 @@
|
|||||||
cached_size = new_value
|
cached_size = new_value
|
||||||
update()
|
update()
|
||||||
..()
|
..()
|
||||||
|
//"massive" = 17, "giga" = 25, "impossible" = 30
|
||||||
/obj/item/organ/genital/breasts/update_size()//wah
|
/obj/item/organ/genital/breasts/update_size()//wah
|
||||||
var/rounded_cached = round(cached_size)
|
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
|
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]
|
size = breast_values[rounded_cached]
|
||||||
if(9 to 15) //massive
|
if(9 to 15) //massive
|
||||||
size = breast_values[rounded_cached]
|
size = breast_values[rounded_cached]
|
||||||
if(16 to INFINITY) //rediculous
|
if(16) //rediculous
|
||||||
size = "huge"
|
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/mob/living/carbon/human/H = owner
|
||||||
var/r_prev_size = round(prev_size)
|
var/r_prev_size = round(prev_size)
|
||||||
if (rounded_cached > r_prev_size)
|
if (rounded_cached > r_prev_size)
|
||||||
|
|||||||
Reference in New Issue
Block a user