Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions code/datums/chemistry/Chemistry-Recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,31 @@ datum
mix_phrase = "Slightly dizzying fumes drift from the solution."
mix_sound = 'sound/misc/drinkfizz.ogg'

mdma //MDMA and space drugs are already super similar. It's not very close to real life recipes but fuck it, I want this to be a botany friendly space drugs method.
name = "MDMA"
id = "mdma"
result = "space_drugs"
required_reagents = list("safrole" = 1, "salbutamol" = 1, "nitrogen"=1, "water" = 1)
mix_phrase = "A white particulate settles from the solution."
mix_sound = 'sound/misc/drinkfizz.ogg'
result_amount = 1
on_reaction(var/datum/reagents/holder, created_volume)
//CHECK FOR RECURSIVE REACTIONS AND RESOLVE
var/safrole = holder.get_reagent_amount("safrole")
var/nitrogen = holder.get_reagent_amount("nitrogen")
var/temp = 0
while(safrole && nitrogen)
temp = min(safrole,nitrogen,created_volume)
holder.add_reagent("space_drugs",temp)
safrole -= temp
holder.remove_reagent("safrole", temp)
nitrogen -= temp
holder.remove_reagent("nitrogen", temp)

holder.add_reagent("salbutamol",created_volume)
holder.add_reagent("water",created_volume)
return

lube
name = "Space Lube"
id = "lube"
Expand Down
22 changes: 22 additions & 0 deletions code/datums/chemistry/Reagents-FoodDrink.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,28 @@ datum
..(M)
return

fooddrink/sarsaparilla // traditionally non-caffeinated
name = "sarsaparilla"
id = "sarsaparilla"
description = "A refreshing beverage that only like, four people on station like."
reagent_state = LIQUID
fluid_r = 86
fluid_g = 43
fluid_b = 43
transparency = 190
taste = "sugary"
thirst_value = 0.75
hygiene_value = -0.5

on_mob_life(var/mob/M)
if (ishuman(M))
var/mob/living/carbon/human/H = M
if (H.sims)
H.sims.affectMotive("bladder", -1.25)
M.bodytemperature = max(M.base_body_temp, M.bodytemperature-5)
..(M)
return

fooddrink/cheese
name = "cheese"
id = "cheese"
Expand Down
9 changes: 9 additions & 0 deletions code/datums/chemistry/Reagents-Misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1991,6 +1991,15 @@ datum
P.HYPdamageplant("poison",2)
P.growth -= 3

safrole
name = "safrole"
id = "safrole"
description = "A common food additive with a distinctive 'candy shop' aroma."
fluid_r = 100
fluid_g = 100
fluid_b = 0
transparency = 200

ash
name = "ash"
id = "ash"
Expand Down
7 changes: 7 additions & 0 deletions code/datums/hydroponics/plant_mutations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,11 @@
name = "Money Tree"
iconmod = "Cash"
crop = /obj/item/spacecash
chance = 20

/datum/plantmutation/tree/sassafras
name = "Sassafras Tree"
iconmod = "Sassafras"
assoc_reagents = list("safrole")
crop = /obj/item/plant/herb/sassafras
chance = 20
7 changes: 4 additions & 3 deletions code/datums/hydroponics/plants_crop.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,17 @@
name = "Bean"
category = "Miscellaneous"
seedcolor = "#AA7777"
crop = /obj/item/reagent_containers/food/snacks/ingredient/bean
crop = /obj/item/reagent_containers/food/snacks/plant/bean
starthealth = 40
growtime = 50
harvtime = 130
cropsize = 4
harvests = 5
endurance = 0
genome = 6
vending = 0
vending = 1
commuts = list(/datum/plant_gene_strain/immunity_toxin,/datum/plant_gene_strain/metabolism_slow)
assoc_reagents = list("nitrogen")

/datum/plant/corn
name = "Corn"
Expand Down Expand Up @@ -175,5 +176,5 @@
genome = 20
force_seed_on_harvest = 1
vending = 1
mutations = list(/datum/plantmutation/tree/money)
mutations = list(/datum/plantmutation/tree/money,/datum/plantmutation/tree/sassafras)
commuts = list(/datum/plant_gene_strain/metabolism_fast,/datum/plant_gene_strain/metabolism_slow,/datum/plant_gene_strain/resistance_drought)
7 changes: 0 additions & 7 deletions code/obj/item/food/ingredients.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,6 @@
amount = 1
food_color = "#FFFFAA"

/obj/item/reagent_containers/food/snacks/ingredient/bean
name = "bean pod"
desc = "This bean pod contains an inordinately large amount of beans due to genetic engineering. How convenient."
icon_state = "beanpod"
amount = 1
food_color = "#CCFFCC"

/obj/item/reagent_containers/food/snacks/ingredient/sugar
name = "sugar"
desc = "How sweet."
Expand Down
12 changes: 12 additions & 0 deletions code/obj/item/food/plants.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,18 @@
food_color = "#4A7402"
plant_reagent = "grease"

/obj/item/reagent_containers/food/snacks/plant/bean
name = "bean pod"
desc = "This bean pod contains an inordinately large amount of beans due to genetic engineering. How convenient."
planttype = /datum/plant/beans
icon_state = "beanpod"
amount = 1
heal_amt = 1
throwforce = 0
force = 0
plant_reagent = "nitrogen"
food_color = "#CCFFCC"

/obj/item/reagent_containers/food/snacks/plant/soylent
name = "soylent chartreuse"
desc = "Contains high-energy plankton!"
Expand Down
6 changes: 6 additions & 0 deletions code/obj/item/plants.dm
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@
desc = "Fibers from the stem of a Venne vine. Though tasting foul, it has remarkable anti-toxic properties."
icon_state = "venne"

/obj/item/plant/herb/sassafras
name = "sassafras root"
desc = "Roots from a Sassafras tree. Can be fermented into delicious sarsaparilla."
icon_state = "sassafras"
brew_result = "sarsaparilla"

/obj/item/plant/herb/venne/toxic
name = "black venne fibers"
desc = "It's black and greasy. Kinda gross."
Expand Down
Binary file modified icons/obj/foodNdrink/food_ingredient.dmi
Binary file not shown.
Binary file modified icons/obj/foodNdrink/food_produce.dmi
Binary file not shown.
Binary file modified icons/obj/hydroponics/hydro_mutants.dmi
Binary file not shown.
Binary file modified icons/obj/hydroponics/hydromisc.dmi
Binary file not shown.