Merge pull request #9908 from Little-119/calcium

add c a l c i u m
This commit is contained in:
Novacat
2021-03-11 20:52:46 -05:00
committed by GitHub
2 changed files with 22 additions and 0 deletions
@@ -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,10000) == 1)
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"
@@ -1140,6 +1140,16 @@
return
M.heal_organ_damage(0.5 * removed, 0)
holder.remove_reagent("capsaicin", 10 * removed)
//VOREStation Edit
if(ishuman(M) && rand(1,10000) == 1)
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/drink/milk/cream
name = "Cream"