size fixed (mostly)

This commit is contained in:
Metis
2024-09-15 22:31:19 -04:00
parent 5f79483be8
commit ecf23a205e
11 changed files with 239 additions and 48 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ GLOBAL_LIST_INIT(uncapped_resize_areas, list(/area/command/bridge, /area/mainten
if(client?.prefs?.weight_gain_extreme && !normalized)
var/xwg_size = sqrt(fatness/FATNESS_LEVEL_BLOB)
xwg_size = min(xwg_size, RESIZE_MACRO)
xwg_size = max(xwg_size, custom_body_size*0.01)
xwg_size = max(xwg_size, custom_body_size)
if(xwg_size > RESIZE_BIG) //check if the size needs capping otherwise don't bother searching the list
if(!is_type_in_list(get_area(src), GLOB.uncapped_resize_areas)) //if the area is not int the uncapped whitelist and new size is over the cap
xwg_size = RESIZE_BIG
@@ -64,6 +64,7 @@
///What is the max weight that the person wishes to be? If set to FALSE, there will be no max weight
var/max_weight = FALSE
var/body_size = 1 //Body Size in percent
var/starting_weight = 0 //how thicc you wanna be at start
var/permanent_fat = 0 //If it isn't the consequences of your own actions
var/wg_rate = 0.5