mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 05:31:53 +00:00
* Starts work on the Medical Expansion. * Further Work * Save Everything! * Large volume of things. * Log of Change * I'm an idiot. * Kidney assisted sprites. They didn't exist, for some reason. * Fixfix * Fixfix * Update encased.dm * Update glass.dm * Update Chemistry-Reagents.dm I am once more an idiot. * Split augs. * Fixfix
24 lines
647 B
Plaintext
24 lines
647 B
Plaintext
/obj/item/organ/internal/intestine
|
|
name = "intestine"
|
|
icon_state = "intestine"
|
|
organ_tag = O_INTESTINE
|
|
parent_organ = BP_GROIN
|
|
|
|
/obj/item/organ/internal/intestine/handle_germ_effects()
|
|
. = ..() //Up should return an infection level as an integer
|
|
if(!.) return
|
|
|
|
//Viral Gastroenteritis
|
|
if (. >= 1)
|
|
if(prob(1))
|
|
owner.custom_pain("There's a twisting pain in your abdomen!",1)
|
|
owner.vomit()
|
|
if (. >= 2)
|
|
if(prob(1))
|
|
owner.custom_pain("Your abdomen feels like it's tearing itself apart!",1)
|
|
owner.m_intent = "walk"
|
|
owner.hud_used.move_intent.icon_state = "walking"
|
|
|
|
/obj/item/organ/internal/intestine/xeno
|
|
color = "#555555"
|