More Hydroponics Stuff:

* New blender icons that don't suck!
* New Plant: Corn. Hmmm... corm.

Thanks to Guest XXX on the forums for the corn and blender icons (and the poppy ones I'm not using yet).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@506 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
morikou@gmail.com
2010-11-30 18:26:54 +00:00
parent 417e659d6c
commit a107e9cc7b
8 changed files with 121 additions and 4 deletions
+61 -2
View File
@@ -1046,7 +1046,10 @@ datum
if(!M) M = holder.my_atom
if(!data) data = 1
switch(data)
if(1 to 50)
if(1)
M:confused += 2
M:drowsyness += 2
if(2 to 50)
M:sleeping += 1
if(51 to INFINITY)
M:sleeping += 1
@@ -1054,8 +1057,64 @@ datum
data++
..()
return
/*
addiction //Is a generic "addiction" reagent that is produced by any chemical that is addictive.
name = "Addiction" // It should never be seen by the player since it only exists inside the body.
id = "addiction"
description = "Raw addiction. Patented by the Robust Softdrinks Corporation."
reagent_state = SOLID
on_mob_life(var/mob/M)
if(!M) M = holder.my_atom
if(M.reagents.has_reagent("opium") || M.reagents.has_reagent("morphine")) //Addictive substances goes here.
M.reagents.add_reagent("addiction", 1) //If you if have the substance, it adds another to balance out metabolism
else //If you don't, you start stuffering withdrawls.
if(!M:stuttering)
M:stuttering = 1
M:stuttering += 2
M:confused += 2
if(!data) data = 1
switch(data)
if(10 to 30)
M:toxloss++
M.make_jittery(2)
if(31 to INFINITY)
M:toxloss++
M.make_jittery(10)
..() //It also starts working out of your system.
return
opium
name = "Opium"
id = "opium"
description = "A mildly addictive narcotic analgesic."
reagent_state = SOLID
on_mob_life(var/mob/M)
if(!M) M = holder.my_atom
if(prob(50)) M:fireloss -= 2
if(prob(50)) M:bruteloss -= 2
M.reagents.add_reagent("addiction", 1) //It's addictive? A shock!
..()
return
morphine
name = "Morphine"
id = "morphine"
description = "A refined form of opium. It is a powerful narcotic analgesic."
reagent_state = LIQUID
on_mob_life(var/mob/M)
if(!M) M = holder.my_atom
if(prob(50)) M:fireloss -= 5
if(prob(50)) M:bruteloss -= 5
M.reagents.add_reagent("addiction", 2) //2x addictive for 3x the effect.
var/overdose = 0
if(!data) data = 1
if(data > 100) overdose = 1 //Oh no! An overdose
if(overdose == 1)
M:toxloss += 50
data = 0
..()
return
*/
/////////////////////////Food Reagents////////////////////////////
// Part of the food code. Nutriment is used instead of the old "heal_amt" code. Also is where all the food
// condiments, additives, and such go.
@@ -1066,7 +1125,7 @@ datum
reagent_state = SOLID
on_mob_life(var/mob/M)
if(!M) M = holder.my_atom
M:bruteloss--
if(prob(50))M:bruteloss--
M:nutrition += 20 //This is the bit that makes you fat.
..()
return
+7
View File
@@ -311,6 +311,13 @@ datum
required_reagents = list("ethanol" = 1, "chlorine" = 3, "water" = 1)
result_amount = 1
morphine
name = "Morphine"
id = "morphine"
result = "morphine"
required_reagents = list("opium" = 10, "enzyme" = 2)
result_amount = 5
///////////////////////////////////////////////////////////////////////////////////
// foam and foam precursor