limiter flavor text (now tells them the new size)

This commit is contained in:
quotefox
2022-07-13 21:39:28 +01:00
parent 61270cbcdc
commit 0337fab3cd
3 changed files with 10 additions and 6 deletions
@@ -130,11 +130,10 @@
if(LAZYLEN(internal_organs) && user.client?.prefs.cit_toggles)
for(var/obj/item/organ/genital/dicc in internal_organs)
if(istype(dicc) && dicc.is_exposed())
if(!dicc.limited)
if(!dicc.equipment)
. += "[dicc.desc]"
else
. += "[dicc.desc] <span class='love'>Equipt with a [dicc.equipment.name]</span>"
if(!dicc.equipment)
. += "[dicc.desc]"
else
. += "[dicc.desc] <span class='love'>Equipt with a [dicc.equipment.name]</span>"
if(user.client?.prefs.cit_toggles & VORE_EXAMINE)
+2
View File
@@ -68,6 +68,7 @@
var/mob/living/carbon/human/H = usr
var/obj/item/organ/genital/penis/P = H.getorganslot("penis")
P.limited = TRUE
P.update_appearance()
H.update_genitals()
/obj/item/equipment/penis/ring/limiter/proc/detach(mob/living/user)
@@ -75,4 +76,5 @@
var/mob/living/carbon/human/H = usr
var/obj/item/organ/genital/penis/P = H.getorganslot("penis")
P.limited = FALSE
P.update_appearance()
H.update_genitals()
@@ -86,7 +86,10 @@
if(owner)
var/length_new = length*owner.size_multiplier
var/girth_new = girth*owner.size_multiplier
desc = "You see [aroused_state ? "an erect" : "a flaccid"] [lowershape] penis. You estimate it's about [round(length_new, 0.25)] inch[round(length_new, 0.25) != 1 ? "es" : ""] long and [round(girth_new, 0.25)] inch[round(girth_new, 0.25) != 1 ? "es" : ""] in girth."
if(!limited)
desc = "You see [aroused_state ? "an erect" : "a flaccid"] [lowershape] penis. You estimate it's about [round(length_new, 0.25)] inch[round(length_new, 0.25) != 1 ? "es" : ""] long and [round(girth_new, 0.25)] inch[round(girth_new, 0.25) != 1 ? "es" : ""] in girth."
else
desc = "You see [aroused_state ? "an erect" : "a flaccid"] [lowershape] penis. You estimate it's about [round(length_new/3, 0.25)] inch[round(length_new/3, 0.25) != 1 ? "es" : ""] long and [round(girth_new/3, 0.25)] inch[round(girth_new/3, 0.25) != 1 ? "es" : ""] in girth."
if(owner.dna.species.use_skintones && owner.dna.features["genitals_use_skintone"])
if(ishuman(owner)) // Check before recasting type, although someone fucked up if you're not human AND have use_skintones somehow...
var/mob/living/carbon/human/H = owner // only human mobs have skin_tone, which we need.