/tg/ Station 13 - Modules - TypesVar Details - Proc Details

genital

Vars

arousedWhether the organ is aroused, matters for sprites, use AROUSAL_CANT, AROUSAL_NONE, AROUSAL_PARTIAL or AROUSAL_FULL
genital_locationWhere the genital is actually located, for clothing checks.
genital_sizeSize value of the genital, needs to be translated to proper lengths/diameters/cups
genital_typeType of the genital. For penises tapered/horse/human etc. for breasts quadruple/sixtuple etc...
inserted_itemThe currently inserted sex toy.
internal_fluid_countThe fluid count of the genital.
internal_fluid_datumThe datum to be used for the tracked fluid, should it need to be added to a fluid container.
internal_fluid_maximumThe maximum amount of fluid that can be stored in the genital.
max_sprite_size_affixThe maximum sprite affix for this type
sprite_suffixUsed for determining what sprite is being used, derives from size and type
uses_skin_colorWhether the organ is supposed to use the color of the holder's skin tone.
uses_skintonesWhether the organ is supposed to use a skintoned variant of the sprite
visibility_preferenceUsed for input from the user whether to show a genital through clothing or not, always or never etc.

Procs

adjust_internal_fluidAdds the given amount to the internal fluid count, clamping it between 0 and internal_fluid_maximum.
apply_arousal_labelApplies an arousal option by its menu label. Returns TRUE and refreshes the body on success.
apply_layering_labelApplies a layer_mode option option by its menu label. Returns TRUE and refreshes the body on success.
apply_visibility_labelApplies a visibility option by its menu label. Returns TRUE and refreshes the body on success.
build_from_accessoryfor specific build_from_dna behavior that also checks the genital accessory.
covered_by_clothingWhether the mob's worn clothing physically covers this genital's location.
get_layering_ui_entryThe per-genital config entry every configuring UI sends to tgui.
internal_fluid_fullHelper proc for checking if internal fluids are full or not.
transfer_internal_fluidTries to add the specified amount to the target reagent container, or removes it if none are available. Keeps in mind internal_fluid_count.

Var Details

aroused

Whether the organ is aroused, matters for sprites, use AROUSAL_CANT, AROUSAL_NONE, AROUSAL_PARTIAL or AROUSAL_FULL

genital_location

Where the genital is actually located, for clothing checks.

genital_size

Size value of the genital, needs to be translated to proper lengths/diameters/cups

genital_type

Type of the genital. For penises tapered/horse/human etc. for breasts quadruple/sixtuple etc...

inserted_item

The currently inserted sex toy.

internal_fluid_count

The fluid count of the genital.

internal_fluid_datum

The datum to be used for the tracked fluid, should it need to be added to a fluid container.

internal_fluid_maximum

The maximum amount of fluid that can be stored in the genital.

max_sprite_size_affix

The maximum sprite affix for this type

sprite_suffix

Used for determining what sprite is being used, derives from size and type

uses_skin_color

Whether the organ is supposed to use the color of the holder's skin tone.

uses_skintones

Whether the organ is supposed to use a skintoned variant of the sprite

visibility_preference

Used for input from the user whether to show a genital through clothing or not, always or never etc.

Proc Details

adjust_internal_fluid

Adds the given amount to the internal fluid count, clamping it between 0 and internal_fluid_maximum.

apply_arousal_label

Applies an arousal option by its menu label. Returns TRUE and refreshes the body on success.

apply_layering_label

Applies a layer_mode option option by its menu label. Returns TRUE and refreshes the body on success.

apply_visibility_label

Applies a visibility option by its menu label. Returns TRUE and refreshes the body on success.

build_from_accessory

for specific build_from_dna behavior that also checks the genital accessory.

covered_by_clothing

Whether the mob's worn clothing physically covers this genital's location.

get_layering_ui_entry

The per-genital config entry every configuring UI sends to tgui.

internal_fluid_full

Helper proc for checking if internal fluids are full or not.

transfer_internal_fluid

Tries to add the specified amount to the target reagent container, or removes it if none are available. Keeps in mind internal_fluid_count.