add bone healing to calcium (with a 1 in 1000 chance)

Yes it can, Mlem
This commit is contained in:
Little-119
2021-03-10 19:52:04 -05:00
parent 0fb3dac02a
commit e0a6ec7284
@@ -16,6 +16,18 @@
reagent_state = SOLID
color = "#e9e6e4"
//VOREStation Edit
/datum/reagent/calcium/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
if(ishuman(M) && rand(1,1000) == 1) // Higher chance of occuring than with milk, since most people don't just eat straight calcium
var/mob/living/carbon/human/H = M
for(var/obj/item/organ/external/O in H.bad_external_organs)
if(O.status & ORGAN_BROKEN)
O.mend_fracture()
H.custom_pain("You feel the agonizing power of calcium mending your bones!",60)
H.AdjustWeakened(1)
break // Only mend one bone, whichever comes first in the list
//VOREStation Edit End
/datum/reagent/carbon
name = "Carbon"
id = "carbon"