Files
GS13/hyperstation/code/obj/pregnancytester.dm
SaintHusky 59c3a1dfb8 Buncha milky corrections
Buffed maximum milk capacity. Leaky breasts is spammed way less at hyper sizes, also fixed check that prevented milk from not producing anymore. Makes sure larger sizes get encumbered by their size too.

Nerfed femcum production slowdown when it reaches higher values, Pent up orgasms will be messier :^).

Balls can now store more semen. Only makes sense given the addition of new hyper sizes.

Fixed typos in the pregnancy tester.
2020-06-15 20:45:04 +02:00

43 lines
1.2 KiB
Plaintext

/obj/item/pregnancytest
name = "pregnancy test"
desc = "A one time use small device, used to determine whether someone is pregnant or not."
icon = 'hyperstation/icons/obj/pregnancytest.dmi'
throwforce = 0
icon_state = "ptest"
var/status = 0
var/results = "null"
w_class = WEIGHT_CLASS_TINY
/obj/item/pregnancytest/attack_self(mob/user)
if(QDELETED(src))
return
if(!isliving(user))
return
if(isAI(user))
return
if(user.stat > 0)//unconscious or dead
return
if(status == 1)
return //Already been used once, pregnancy tests only work once.
test(user)
/obj/item/pregnancytest/proc/force(mob/living/user)
//Force it negative
icon_state = "negative"
name = "[results] pregnancy test"
status = 1
to_chat(user, "<span class='notice'>You use the pregnancy test, the display reads negative!</span>")
/obj/item/pregnancytest/proc/test(mob/living/user)
var/obj/item/organ/genital/womb/W = user.getorganslot("womb")
if(W.pregnant == 1)
results = "positive"
icon_state = "positive"
name = "[results] pregnancy test"
status = 1
to_chat(user, "<span class='notice'>You use the pregnancy test, the display reads positive!</span>")
else
force(user)