mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-19 03:50:32 +01:00
Cum code part 1
Fixes production and capacity, and adds a new trait
This commit is contained in:
@@ -251,6 +251,7 @@
|
||||
return
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/genital/penis/P = M.getorganslot("penis")
|
||||
var/obj/item/organ/genital/testicles/T = M.getorganslot("testicles") //Hyper Change
|
||||
if(!P)//They do have a preponderance for escapism, or so I've heard.
|
||||
|
||||
//If they have Acute hepatic pharmacokinesis, then route processing though liver.
|
||||
@@ -273,8 +274,33 @@
|
||||
nP.prev_length = 1
|
||||
M.reagents.remove_reagent(id, 5)
|
||||
P = nP
|
||||
|
||||
if(!T)//Hyper change// Adds testicles if there are none.
|
||||
|
||||
//If they have Acute hepatic pharmacokinesis, then route processing though liver.
|
||||
if(HAS_TRAIT(M, TRAIT_PHARMA))
|
||||
var/obj/item/organ/liver/L = M.getorganslot("liver")
|
||||
if(L)
|
||||
L.swelling+= 0.05
|
||||
return..()
|
||||
else
|
||||
M.adjustToxLoss(1)
|
||||
return..()
|
||||
|
||||
//otherwise proceed as normal
|
||||
var/obj/item/organ/genital/testicles/nT = new
|
||||
nT.Insert(M)
|
||||
if(nT)
|
||||
nT.size = BALLS_SIZE_MIN
|
||||
to_chat(M, "<span class='warning'>Your groin feels warm, as you feel two sensitive orbs taking shape below.</b></span>")
|
||||
nT.cached_size = 1
|
||||
nT.sack_size = BALLS_SACK_SIZE_DEF
|
||||
T = nT
|
||||
|
||||
P.cached_length = P.cached_length + 0.1
|
||||
//Hyper change// Increase ball size too
|
||||
T.size = T.size + 0.1
|
||||
|
||||
if (P.cached_length >= 20.5 && P.cached_length < 21)
|
||||
if(H.w_uniform || H.wear_suit|| H.arousalloss > 33)
|
||||
//Hyper change// Check for a flag before we remove clothes.
|
||||
@@ -286,6 +312,7 @@
|
||||
to_chat(M, "<span class='warning'>Your cock begins to strain against your clothes tightly!</b></span>")
|
||||
M.apply_damage(1, BRUTE, target)
|
||||
|
||||
T.update() //Hyper change - Make the ball size update
|
||||
P.update()
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user