mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
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 = I_WALK
|
|
owner.hud_used.move_intent.icon_state = "walking"
|
|
|
|
/obj/item/organ/internal/intestine/xeno
|
|
color = "#555555"
|