coding standards are my passion

This commit is contained in:
drexample
2020-01-11 06:59:33 +03:00
parent 1be4fe8b3c
commit 5e01ad45a5
5 changed files with 14 additions and 11 deletions

View File

@@ -3536,10 +3536,3 @@
reagent_state = LIQUID
nutriment_factor = 40 //very filling
color = "#d169b2"
/datum/reagent/nutriment/magicdust/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
..()
playsound(M.loc, 'sound/items/hooh.ogg', 50, 1, -1)
prob(1)
to_chat(M, "<span class='warning'>You feel like you've been gnomed...")

View File

@@ -101,4 +101,12 @@
M.adjustToxLoss(removed) //Equivalent to half as much protein, since it's half protein.
if(M.species.gets_food_nutrition)
if(alien == IS_SLIME || alien == IS_CHIMERA) //slimes and chimera can get nutrition from injected nutriment and protein
M.nutrition += (alt_nutriment_factor * removed)
M.nutrition += (alt_nutriment_factor * removed)
/datum/reagent/nutriment/magicdust/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
..()
playsound(M.loc, 'sound/items/hooh.ogg', 50, 1, -1)
if(prob(5))
to_chat(M, "<span class='warning'>You feel like you've been gnomed...</span>")