/datum/ailment/disability/clumsy
name = "Dyspraxia"
max_stages = 1
cure = "Unknown"
affected_species = list("Human")
/datum/ailment/disability/clumsy/stage_act(var/mob/living/affected_mob,var/datum/ailment_data/D)
if (..())
return
var/mob/living/M = D.affected_mob
if (prob(6))
boutput(M, "Your hands twitch.")
var/h = M.hand
M.hand = 0
M.drop_item()
M.hand = 1
M.drop_item()
M.hand = h
if (prob(3))
M.visible_message("[M.name] stumbles and falls!")
M.stunned = max(10, M.stunned)
M.weakened = max(10, M.weakened)
if (istype(M,/mob/living/carbon/human/) && prob(25))
var/mob/living/carbon/human/H = M
if(!istype(H.head, /obj/item/clothing/head/helmet))
boutput(H, "You bash your head on the ground.")
random_brute_damage(H, 5)
H.take_brain_damage(2)
H.paralysis = max(10, H.paralysis)
H.make_jittery(1000)
H.updatehealth()
else
boutput(H, "You bash your head on the ground - good thing you were wearing a helmet!")
if (prob(1))
boutput(M, "You forget to breathe.")
M.take_oxygen_deprivation(33)