botany and more reagents

This commit is contained in:
Fox-McCloud
2016-05-06 03:43:31 -04:00
parent 38278e2f58
commit 52bc145c17
5 changed files with 112 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
seed_name = "ghost pepper"
display_name = "ghost pepper plants"
mutants = null
chems = list("capsaicin" = list(8,2), "condensedcapsaicin" = list(4,4), "plantmatter" = list(1,50))
chems = list("capsaicin" = list(8,2), "condensedcapsaicin" = list(4,4), "ghostchilijuice" = list(4,4), "plantmatter" = list(1,50))
kitchen_tag = "ghostchili"
preset_icon = "ghostchilipepper"
+18
View File
@@ -113,6 +113,24 @@
M.ForceContractDisease(new /datum/disease/vampire(0))
..()
/datum/reagent/heartworms
name = "Space heartworms"
id = "heartworms"
description = "Aww, gross! These things can't be good for your heart. They're gunna eat it!"
reagent_state = SOLID
color = "#925D6C"
/datum/reagent/heartworms/on_mob_life(var/mob/living/carbon/M as mob)
if(!M) M = holder.my_atom
if(volume > 4.5)
if(ishuman(M))
var/mob/living/carbon/human/H = M
var/obj/item/organ/internal/heart/ate_heart = H.get_int_organ(/obj/item/organ/internal/heart)
if(ate_heart)
ate_heart.remove(H)
qdel(ate_heart)
..()
/datum/reagent/spore
name = "Blob Spores"
id = "spore"
+50
View File
@@ -67,6 +67,56 @@
mix_sound = 'sound/goonstation/misc/drinkfizz.ogg'
/datum/reagent/ethanol/dragons_breath
name = "Dragon's Breath"
id = "dragonsbreath"
description = "Possessing this stuff probably breaks the Geneva convention."
reagent_state = LIQUID
color = "#DC0000"
alcohol_perc = 1
/datum/reagent/ethanol/dragons_breath/reaction_mob(var/mob/living/M, var/method=TOUCH, var/volume)
if(method == INGEST && prob(20))
if(M.on_fire)
M.adjust_fire_stacks(3)
/datum/reagent/ethanol/dragons_breath/on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
if(M.reagents.has_reagent("milk"))
to_chat(M, "<span class='notice'>The milk stops the burning. Ahhh.</span>")
M.reagents.del_reagent("milk")
M.reagents.del_reagent("dragonsbreath")
return
if(prob(8))
to_chat(M, "<span class='userdanger'>Oh god! Oh GODD!!</span>")
if(prob(50))
to_chat(M, "<span class='danger'>Your throat burns terribly!</span>")
M.emote(pick("scream","cry","choke","gasp"))
M.Stun(1)
if(prob(8))
to_chat(M, "<span class='danger'>Why!? WHY!?</span>")
if(prob(8))
to_chat(M, "<span class='danger'>ARGHHHH!</span>")
if(prob(2 * volume))
to_chat(M, "<span class='userdanger'>OH GOD OH GOD PLEASE NO!!</b></span>")
if(M.on_fire)
M.adjust_fire_stacks(5)
if(prob(50))
to_chat(M, "<span class='userdanger'>IT BURNS!!!!</span>")
M.visible_message("<span class='danger'>[M] is consumed in flames!</span>")
M.dust()
return
..()
/datum/chemical_reaction/dragons_breath
name = "Dragon's Breath"
id = "dragonsbreath"
result = "dragonsbreath"
required_reagents = list("whiskey" = 1, "phlogiston" = 1, "pyrosium" = 1, "fuel" = 1, "ghostchilijuice"= 1)
result_amount = 1
mix_message = "A tiny mushroom cloud erupts from the container. That's not worrying at all!"
mix_sound = 'sound/effects/meteorimpact.ogg'
// ROBOT ALCOHOL PAST THIS POINT
// WOOO!
+41
View File
@@ -601,3 +601,44 @@ datum/reagent/pepperoni/reaction_mob(var/mob/living/M, var/method=TOUCH, var/vol
if(!H.heart_attack)
H.heart_attack = 1
..()
/datum/reagent/ghost_chili_juice
name = "Ghost chili juice"
id = "ghostchilijuice"
description = "Juice from the universe's hottest chilli. Do not consume."
reagent_state = LIQUID
color = "#FF7F32"
/datum/reagent/ghost_chili_juice/on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
if(M.reagents.has_reagent("milk"))
to_chat(M, "<span class='notice'>The milk stops the burning. Ahhh.</span>")
M.reagents.del_reagent("milk")
M.reagents.del_reagent("ghostchilijuice")
return
if(prob(8))
to_chat(M, "<span class='userdanger'>Oh god! Oh GODD!!</span>")
if(prob(50))
to_chat(M, "<span class='danger'>Your throat burns furiously!</span>")
M.emote(pick("scream","cry","choke","gasp"))
M.Stun(1)
if(prob(8))
to_chat(M, "<span class='danger'>Why!? WHY!?</span>")
if(prob(8))
to_chat(M, "<span class='danger'>ARGHHHH!</span>")
if(prob(33))
M.visible_message("<span class='danger'>[M] suddenly and violently vomits!</span>")
M.fakevomit(no_text = 1)
to_chat(M, "<span class='notice'>Thank goodness. You're not sure how long you could have held out with heat that intense!</span>")
M.reagents.del_reagent("ghostchilijuice")
return
if(prob(10))
to_chat(M, "<span class='userdanger'>OH GOD OH GOD PLEASE NO!!</span>")
if(M.on_fire)
M.adjust_fire_stacks(5)
if(prob(50))
to_chat(M, "<span class='userdanger'>IT BURNS!!!!</span>")
M.visible_message("<span class='danger'>[M] is consumed in flames!</span>")
M.dust()
return
..()