small tweaks

- removed wombs and most mentions of pregnancy
- fixed kilo disposals, added some hoverchairs
This commit is contained in:
evilew
2024-07-30 00:07:53 +02:00
parent 6a3de2e7c0
commit a959cef9d3
9 changed files with 89 additions and 93 deletions
+37 -37
View File
@@ -1,43 +1,43 @@
/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
// 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/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/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)
// /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)
// 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)