Add Lavaland reagents, fix mine lamp luminosity

This commit is contained in:
Markolie
2017-01-20 23:35:56 +01:00
parent edf86ec978
commit 915ff13bfb
3 changed files with 52 additions and 9 deletions
@@ -831,4 +831,51 @@
/datum/reagent/greenvomit/reaction_turf(turf/T, volume)
if(volume >= 5 && !istype(T, /turf/space))
new /obj/effect/decal/cleanable/vomit/green(T)
playsound(T, 'sound/effects/splat.ogg', 50, 1, -3)
playsound(T, 'sound/effects/splat.ogg', 50, 1, -3)
////Lavaland Flora Reagents////
/datum/reagent/consumable/entpoly
name = "Entropic Polypnium"
id = "entpoly"
description = "An ichor, derived from a certain mushroom, makes for a bad time."
color = "#1d043d"
/datum/reagent/consumable/entpoly/on_mob_life(mob/living/M)
if(current_cycle >= 10)
M.Paralyse(2, 0)
. = 1
if(prob(20))
M.LoseBreath(4)
M.adjustBrainLoss(2 * REAGENTS_EFFECT_MULTIPLIER)
M.adjustToxLoss(3 * REAGENTS_EFFECT_MULTIPLIER, 0)
M.adjustStaminaLoss(10 * REAGENTS_EFFECT_MULTIPLIER, 0)
M.EyeBlurry(5)
. = TRUE
..()
/datum/reagent/consumable/tinlux
name = "Tinea Luxor"
id = "tinlux"
description = "A stimulating ichor which causes luminescent fungi to grow on the skin. "
color = "#b5a213"
/datum/reagent/consumable/tinlux/reaction_mob(mob/living/M)
M.set_light(2)
/datum/reagent/consumable/tinlux/on_mob_delete(mob/living/M)
M.set_light(0)
/datum/reagent/consumable/vitfro
name = "Vitrium Froth"
id = "vitfro"
description = "A bubbly paste that heals wounds of the skin."
color = "#d3a308"
nutriment_factor = 3 * REAGENTS_METABOLISM
/datum/reagent/consumable/vitfro/on_mob_life(mob/living/M)
if(prob(80))
M.adjustBruteLoss(-1 * REAGENTS_EFFECT_MULTIPLIER, 0)
M.adjustFireLoss(-1 * REAGENTS_EFFECT_MULTIPLIER, 0)
. = TRUE
..()