-Added a new mushroom, the space shroom! (Original Title Do Not Steal) It has relaxing properties with a small amount of space drugs and sleeping toxin. I added this to allow the cutlery jobs (Chef & Bartender) a secondary access to anaesthetics; instead of having to ask Chemistry all the god damn time.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4183 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-07-26 13:34:50 +00:00
parent c930622bea
commit ec8a7d7bcb
8 changed files with 50 additions and 3 deletions

View File

@@ -419,6 +419,24 @@
plant_type = 0
growthstages = 3
/obj/item/seeds/spaceshroommycelium
name = "pack of space shroom mycelium"
desc = "This mycelium grows into something relaxing."
icon_state = "mycelium-spaceshroom"
mypath = "/obj/item/seeds/spaceshroom"
species = "spaceshroom"
plantname = "Space Shroom"
productname = "/obj/item/weapon/reagent_containers/food/snacks/grown/mushroom/spaceshroom"
lifespan = 35
endurance = 35
maturation = 10
production = 5
yield = 4
potency = 10 // Sleeping based on potency?
oneharvest = 1
growthstages = 3
plant_type = 2
/obj/item/seeds/amanitamycelium
name = "pack of fly amanita mycelium"
desc = "This mycelium grows into something horrible."
@@ -1540,6 +1558,25 @@
reagents.add_reagent("imidazoline", 3+round(potency / 5, 1))
bitesize = 1+round(reagents.total_volume / 2, 1)
/obj/item/weapon/reagent_containers/food/snacks/grown/mushroom/spaceshroom
seed = "/obj/item/seeds/spaceshroommycelium"
name = "space shroom"
desc = "<I>Space Shroom</I>: A special fungus found growing on the walls of station."
icon_state = "spaceshroom"
potency = 10
New()
..()
reagents.add_reagent("nutriment", 1)
reagents.add_reagent("stoxin", 3+round(potency / 3, 1))
reagents.add_reagent("space_drugs", 1+round(potency / 25, 1))
bitesize = 1+round(reagents.total_volume / 2, 1)
/obj/item/weapon/reagent_containers/food/snacks/grown/mushroom/spaceshroom/attackby(var/obj/item/O as obj, var/mob/user as mob)
. = ..()
if (istype(O, /obj/item/device/analyzer/plant_analyzer))
user << "<span class='info'>- Sleep Toxin: <i>[reagents.get_reagent_amount("stoxin")]%</i></span>"
user << "<span class='info'>- Space Drugs: <i>[reagents.get_reagent_amount("space_drugs")]%</i></span>"
/obj/item/weapon/reagent_containers/food/snacks/grown/mushroom/amanita
seed = "/obj/item/seeds/amanitamycelium"
name = "fly amanita"
@@ -1557,7 +1594,6 @@
. = ..()
if (istype(O, /obj/item/device/analyzer/plant_analyzer))
user << "<span class='info'>- Amatoxins: <i>[reagents.get_reagent_amount("amatoxin")]%</i></span>"
user << "<span class='info'>- Psilocybin: <i>[reagents.get_reagent_amount("psilocybin")]%</i></span>"
/obj/item/weapon/reagent_containers/food/snacks/grown/mushroom/angel
seed = "/obj/item/seeds/angelmycelium"

View File

@@ -227,6 +227,7 @@
"/obj/item/seeds/plumpmycelium",
"/obj/item/seeds/libertymycelium",
"/obj/item/seeds/amanitamycelium",
"/obj/item/seeds/spaceshroommycelium",
"/obj/item/seeds/bananaseed",
"/obj/item/seeds/eggyseed")
cost = 15

View File

@@ -203,7 +203,7 @@
product_paths = "/obj/item/seeds/bananaseed;/obj/item/seeds/berryseed;/obj/item/seeds/carrotseed;/obj/item/seeds/chantermycelium;/obj/item/seeds/chiliseed;/obj/item/seeds/cornseed;/obj/item/seeds/eggplantseed;/obj/item/seeds/potatoseed;/obj/item/seeds/replicapod;/obj/item/seeds/soyaseed;/obj/item/seeds/sunflowerseed;/obj/item/seeds/tomatoseed;/obj/item/seeds/towermycelium;/obj/item/seeds/wheatseed;/obj/item/seeds/appleseed;/obj/item/seeds/poppyseed;/obj/item/seeds/ambrosiavulgarisseed;/obj/item/seeds/whitebeetseed;/obj/item/seeds/watermelonseed;/obj/item/seeds/limeseed;/obj/item/seeds/lemonseed;/obj/item/seeds/orangeseed;/obj/item/seeds/grassseed;/obj/item/seeds/cocoapodseed;/obj/item/seeds/cabbageseed;/obj/item/seeds/grapeseed;/obj/item/seeds/pumpkinseed"
product_amounts = "3;2;2;2;2;2;2;2;3;2;2;2;2;2;3;5;4;3;3;3;3;3;3;3;3;3;3"
product_slogans = "THIS'S WHERE TH' SEEDS LIVE! GIT YOU SOME!;Hands down the best seed selection on the station!;Also certain mushroom varieties available, more for experts! Get certified today!"
product_hidden = "/obj/item/seeds/amanitamycelium;/obj/item/seeds/glowshroom;/obj/item/seeds/libertymycelium;/obj/item/seeds/nettleseed;/obj/item/seeds/plumpmycelium"
product_hidden = "/obj/item/seeds/amanitamycelium;/obj/item/seeds/glowshroom;/obj/item/seeds/libertymycelium;/obj/item/seeds/nettleseed;/obj/item/seeds/plumpmycelium;/obj/item/seeds/spaceshroommycelium"
product_hideamt = "2;2;2;2;2"
product_coin = "/obj/item/toy/waterflower"
product_coin_amt = "1"

View File

@@ -194,7 +194,9 @@ obj/machinery/hydroponics/proc/weedinvasion() // If a weed growth is sufficient,
src.dead = 0
if(src.myseed) // In case there's nothing in the tray beforehand
del(src.myseed)
switch(rand(1,15)) // randomly pick predominative weed
switch(rand(1,18)) // randomly pick predominative weed
if(16 to 18)
src.myseed = new /obj/item/seeds/spaceshroommycelium
if(14 to 15)
src.myseed = new /obj/item/seeds/nettleseed
if(12 to 13)