mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-18 06:01:56 +00:00
24 lines
681 B
Plaintext
24 lines
681 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)
|
|
if(!IS_WALKING(owner))
|
|
owner.set_move_intent(owner.get_movement_intent_with_flag(MOVEMENT_INTENT_WALKING))
|
|
|
|
/obj/item/organ/internal/intestine/xeno
|
|
color = "#555555"
|