72 lines
2.5 KiB
Plaintext
72 lines
2.5 KiB
Plaintext
/obj/item/organ/genital/vagina
|
|
name = "vagina"
|
|
desc = "A female reproductive organ."
|
|
icon = 'modular_citadel/icons/obj/genitals/vagina.dmi'
|
|
icon_state = ORGAN_SLOT_VAGINA
|
|
zone = BODY_ZONE_PRECISE_GROIN
|
|
slot = "vagina"
|
|
size = 1 //There is only 1 size right now
|
|
genital_flags = CAN_MASTURBATE_WITH|CAN_CLIMAX_WITH
|
|
masturbation_verb = "finger"
|
|
fluid_transfer_factor = 0.1 //Yes, some amount is exposed to you, go get your AIDS
|
|
layer_index = VAGINA_LAYER_INDEX
|
|
var/cap_length = 8//D E P T H (cap = capacity)
|
|
var/cap_girth = 12
|
|
var/cap_girth_ratio = 1.5
|
|
var/clits = 1
|
|
var/clit_diam = 0.25
|
|
var/clit_len = 0.25
|
|
var/list/vag_types = list("tentacle", "dentata", "hairy", "spade", "furred")
|
|
|
|
/obj/item/organ/genital/vagina/update_appearance()
|
|
. = ..()
|
|
var/string //Keeping this code here, so making multiple sprites for the different kinds is easier.
|
|
var/lowershape = lowertext(shape)
|
|
var/details
|
|
|
|
switch(lowershape)
|
|
if("tentacle")
|
|
details = "Its opening is lined with several tentacles and "
|
|
if("dentata")
|
|
details = "There's teeth inside it and it "
|
|
if("hairy")
|
|
details = "It has quite a bit of hair growing on it and "
|
|
if("human")
|
|
details = "It is taut with smooth skin, though without much hair and "
|
|
if("gaping")
|
|
details = "It is gaping slightly open, though without much hair and "
|
|
if("spade")
|
|
details = "It is a plush canine spade, it "
|
|
if("furred")
|
|
details = "It has neatly groomed fur around the outer folds, it "
|
|
else
|
|
details = "It has an exotic shape and "
|
|
if(aroused_state)
|
|
details += "is slick with female arousal."
|
|
else
|
|
details += "seems to be dry."
|
|
|
|
desc = "You see a vagina. [details]"
|
|
|
|
if(owner)
|
|
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.
|
|
color = "#[skintone2hex(H.skin_tone)]"
|
|
string = "vagina-s"
|
|
else
|
|
color = "#[owner.dna.features["vag_color"]]"
|
|
string = "vagina"
|
|
if(ishuman(owner))
|
|
var/mob/living/carbon/human/H = owner
|
|
icon_state = sanitize_text(string)
|
|
H.update_genitals()
|
|
|
|
/obj/item/organ/genital/vagina/get_features(mob/living/carbon/human/H)
|
|
var/datum/dna/D = H.dna
|
|
if(D.species.use_skintones && D.features["genitals_use_skintone"])
|
|
color = "#[skintone2hex(H.skin_tone)]"
|
|
else
|
|
color = "[D.features["vag_color"]]"
|
|
shape = "[D.features["vag_shape"]]"
|