boobencocken

- ported over HS13 cock and boob sprites
- made bigger cock / boob sizes available
This commit is contained in:
evilew
2024-11-22 20:45:45 +01:00
parent 6e2e4fe4d0
commit d120128125
5 changed files with 39 additions and 23 deletions
@@ -9,7 +9,7 @@
//DICKS,COCKS,PENISES,WHATEVER YOU WANT TO CALL THEM
/datum/sprite_accessory/penis
icon = 'icons/obj/genitals/penis_onmob.dmi'
icon = 'GainStation13/icons/obj/genitals/penis_onmob.dmi' //GS13 - Hyperstation cocks
name = "penis" //the preview name of the accessory
color_src = "cock_color"
alt_aroused = TRUE
@@ -22,13 +22,13 @@
/datum/sprite_accessory/penis/knotted
icon_state = "knotted"
name = "Knotted"
taur_icon = 'icons/obj/genitals/taur_penis_onmob.dmi'
taur_icon = 'GainStation13/icons/obj/genitals/taur_penis_onmob.dmi' //GS13 - Hyperstation cocks
taur_dimension_x = 64
/datum/sprite_accessory/penis/flared
icon_state = "flared"
name = "Flared"
taur_icon = 'icons/obj/genitals/taur_penis_onmob.dmi'
taur_icon = 'GainStation13/icons/obj/genitals/taur_penis_onmob.dmi' //GS13 - Hyperstation cocks
taur_dimension_x = 64
/datum/sprite_accessory/penis/barbknot
@@ -38,7 +38,7 @@
/datum/sprite_accessory/penis/tapered
icon_state = "tapered"
name = "Tapered"
taur_icon = 'icons/obj/genitals/taur_penis_onmob.dmi'
taur_icon = 'GainStation13/icons/obj/genitals/taur_penis_onmob.dmi' //GS13 - Hyperstation cocks
taur_dimension_x = 64
/datum/sprite_accessory/penis/tentacle
@@ -55,7 +55,7 @@
//Testicles
/datum/sprite_accessory/testicles
icon = 'icons/obj/genitals/testicles_onmob.dmi'
icon = 'GainStation13/icons/obj/genitals/testicles_onmob.dmi' //GS13 - Hyperstation cocks
icon_state = "testicle"
name = "testicle" //the preview name of the accessory
color_src = "balls_color"
@@ -70,7 +70,7 @@
//Vaginas
/datum/sprite_accessory/vagina
icon = 'icons/obj/genitals/vagina_onmob.dmi'
icon = 'GainStation13/icons/obj/genitals/vagina_onmob.dmi' //GS13 - Hyperstation cocks
name = "vagina"
color_src = "vag_color"
alt_aroused = TRUE
@@ -108,7 +108,7 @@
//BREASTS BE HERE
/datum/sprite_accessory/breasts
icon = 'icons/obj/genitals/breasts_onmob.dmi'
icon = 'GainStation13/icons/obj/genitals/breasts_onmob.dmi' //GS13 - Hyperstation cocks
name = "breasts"
color_src = "breasts_color"
+3 -3
View File
@@ -1,11 +1,11 @@
#define BREASTS_ICON_MIN_SIZE 1
#define BREASTS_ICON_MAX_SIZE 6
#define BREASTS_ICON_MAX_SIZE 30
/obj/item/organ/genital/breasts
name = "breasts"
desc = "Female milk producing organs."
icon_state = "breasts"
icon = 'icons/obj/genitals/breasts.dmi'
icon = 'GainStation13/icons/obj/genitals/breasts.dmi' //GS13 - hyperstation boobers
zone = BODY_ZONE_CHEST
slot = ORGAN_SLOT_BREASTS
size = BREASTS_SIZE_DEF // "c". Refer to the breast_values static list below for the cups associated number values
@@ -20,7 +20,7 @@
unarousal_verb = "Your breasts no longer feel sensitive"
orgasm_verb = "leaking"
fluid_transfer_factor = 0.5
var/static/list/breast_values = list("a" = 1, "b" = 2, "c" = 3, "d" = 4, "e" = 5, "f" = 6, "g" = 7, "h" = 8, "i" = 9, "j" = 10, "k" = 11, "l" = 12, "m" = 13, "n" = 14, "o" = 15, "huge" = 16, "flat" = 0)
var/static/list/breast_values = list("a" = 1, "b" = 2, "c" = 3, "d" = 4, "e" = 5, "f" = 6, "g" = 7, "h" = 8, "i" = 9, "j" = 10, "k" = 11, "l" = 12, "m" = 13, "n" = 14, "o" = 15, "huge" = 16, "massive" = 17, "giga" = 25, "impossible" = 30, "flat" = 0)
var/cached_size //these two vars pertain size modifications and so should be expressed in NUMBERS.
var/prev_size //former cached_size value, to allow update_size() to early return should be there no significant changes.
+11 -8
View File
@@ -2,11 +2,11 @@
name = "penis"
desc = "A male reproductive organ."
icon_state = "penis"
icon = 'icons/obj/genitals/penis.dmi'
icon = 'GainStation13/icons/obj/genitals/penis.dmi'
zone = BODY_ZONE_PRECISE_GROIN
slot = ORGAN_SLOT_PENIS
masturbation_verb = "stroke"
can_climax = TRUE
can_climax = TRUE
arousal_verb = "You pop a boner"
unarousal_verb = "Your boner goes down"
genital_flags = CAN_MASTURBATE_WITH|CAN_CLIMAX_WITH|GENITAL_CAN_AROUSE|UPDATE_OWNER_APPEARANCE|GENITAL_UNDIES_HIDDEN|GENITAL_CAN_TAUR
@@ -16,7 +16,6 @@
size = 2 //arbitrary value derived from length and diameter for sprites.
layer_index = PENIS_LAYER_INDEX
var/length = 6 //inches
var/prev_length = 6 //really should be renamed to prev_length
var/diameter = 4.38
var/diameter_ratio = COCK_DIAMETER_RATIO_DEF //0.25; check citadel_defines.dm
@@ -41,14 +40,18 @@
var/rounded_length = round(length)
var/new_size
switch(rounded_length)
if(0 to 6) //If modest size
if(0 to 4) //If modest size
new_size = 1
if(7 to 11) //If large
if(5 to 10) //If large
new_size = 2
if(12 to 36) //If massive
if(11 to 18) //If massive
new_size = 3
if(37 to INFINITY) //If comical
new_size = 4 //no new sprites for anything larger yet
if(18 to 26) //If massive
new_size = 3
if(26 to 34) //If massive
new_size = 4
if(34 to INFINITY) //If comical
new_size = 5 //no new sprites for anything larger yet
if(linked_organ)
linked_organ.size = clamp(size + new_size, BALLS_SIZE_MIN, BALLS_SIZE_MAX)