Revert "Revert "Merge pull request #1605 from Arctaisia/bellies""

This reverts commit 044e80fcb3.
This commit is contained in:
quotefox
2022-05-03 08:54:26 +01:00
parent 044e80fcb3
commit c43b466f10
3 changed files with 11 additions and 4 deletions
+2 -2
View File
@@ -2430,9 +2430,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
to_chat(user,"<span class='danger'>Invalid color. Your color is not bright enough.</span>")
if("belly_size")
var/new_bellysize = input(user, "Belly size :\n(1-3)", "Character Preference") as num|null
var/new_bellysize = input(user, "Belly size :\n(1-8)", "Character Preference") as num|null
if(new_bellysize)
features["belly_size"] = clamp(new_bellysize, 1, 3)
features["belly_size"] = clamp(new_bellysize, 1, 8)
if("butt_size")
var/new_buttsize = input(user, "Butt size :\n(0-5)", "Character Preference") as num|null
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

@@ -478,11 +478,18 @@
genital_overlay.icon_state = "[G.slot]_[S.icon_state]_[size]_[aroused_state]_[layertext]"
colourcode = S.color_src
if(G.slot == "belly") //we have a different size system
//sizecheck added to prevent rendering blank icons
if(G.slot == "belly" && G.size > 0) //we have a different size system
genital_overlay.icon = 'hyperstation/icons/obj/genitals/belly.dmi'
genital_overlay.icon_state = "belly_[size]"
genital_overlay.icon_state = "belly_[round(size)]_OTHER"
colourcode = "belly_color"
//creates directional layering by rendering twice.
genital_overlay_directional.icon = 'hyperstation/icons/obj/genitals/belly.dmi' //Added directionals for larger bellies!
genital_overlay_directional.icon_state = "belly_[round(size)]_NORTH"
genital_overlay_directional.layer = -GENITALS_BEHIND_LAYER
//sizecheck added to prevent rendering blank icons
if(G.slot == "anus" && G.size > 0) //we have a different size system