Skip to content

Commit

Permalink
Fallen Amurdad Crops Changes (#2319)
Browse files Browse the repository at this point in the history
Amurdad PR
  • Loading branch information
tile4 authored Aug 5, 2024
1 parent 2ceb7d1 commit 9fb6298
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 32 deletions.
2 changes: 1 addition & 1 deletion code/modules/hydroponics/grown/ambrosia.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
plantname = "Ambrosia Gaia"
product = /obj/item/food/grown/ambrosia/gaia
mutatelist = list(/obj/item/seeds/ambrosia/deus)
reagents_add = list(/datum/reagent/consumable/nutriment = 0.06, /datum/reagent/consumable/nutriment/vitamin = 0.05)
reagents_add = list(/datum/reagent/consumable/nutriment = 0.06, /datum/reagent/consumable/nutriment/vitamin = 0.05, /datum/reagent/medicine/earthsblood = 0.05)
rarity = 30 //These are some pretty good plants right here
genes = list()
weed_rate = 4
Expand Down
2 changes: 1 addition & 1 deletion code/modules/hydroponics/hydroponics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@
to_chat(user, "<span class='warning'>You fail to harvest anything useful!</span>")
else
to_chat(user, "<span class='notice'>You harvest [myseed.getYield()] items from the [myseed.plantname].</span>")
if(!myseed.get_gene(/datum/plant_gene/trait/repeated_harvest))
if(!myseed.get_gene(/datum/plant_gene/trait/repeated_harvest) || istype(src, /obj/machinery/hydroponics/soil/amurdad))
qdel(myseed)
myseed = null
dead = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
observation_fail_message = "The man clearly needs help, you rush to find a medic."

var/seed_list = list(
/obj/item/seeds/grass/fairy/amurdad,
/obj/item/seeds/apple/gold/amurdad,
/obj/item/seeds/ambrosia/gaia/amurdad,
/obj/item/seeds/grass/fairy,
/obj/item/seeds/apple/gold,
/obj/item/seeds/ambrosia/gaia,
/obj/item/seeds/wheat/meat,
/obj/item/seeds/cherry/bulb/amurdad,
/obj/item/seeds/cherry/bulb,
/obj/item/seeds/corn/snapcorn,
/obj/item/seeds/cocoapod/bungotree/amurdad,
/obj/item/seeds/cocoapod/vanillapod/amurdad,
/obj/item/seeds/cocoapod/bungotree,
/obj/item/seeds/cocoapod/vanillapod,
/obj/item/seeds/tobacco/space,
/obj/item/seeds/berry/glow/amurdad,
/obj/item/seeds/cannabis/white/amurdad,
Expand Down Expand Up @@ -149,7 +149,7 @@
return
..()

/obj/effect/amurdad_grass
/obj/effect/amurdad_grass //Doesn't allow repeatable harvest plants to be repeatable.
name = "grass"
desc = "A thick layer of foilage that never seems to die down."
icon = 'icons/turf/floors.dmi'
Expand All @@ -161,25 +161,6 @@
. = ..()
icon_state = "grass[rand(0,3)]"

//Special seeds, no repeat harvest
/obj/item/seeds/grass/fairy/amurdad
genes = list(/datum/plant_gene/trait/glow/blue)

/obj/item/seeds/apple/gold/amurdad
genes = list(/datum/plant_gene/trait/glow/yellow)

/obj/item/seeds/ambrosia/gaia/amurdad
genes = list()

/obj/item/seeds/cherry/bulb/amurdad
genes = list()

/obj/item/seeds/cocoapod/bungotree/amurdad
genes = list()

/obj/item/seeds/cocoapod/vanillapod/amurdad
genes = list()

// Non-toxic varieties of normal plants
/obj/item/seeds/berry/glow/amurdad
genes = list(/datum/plant_gene/trait/glow/white)
Expand All @@ -193,20 +174,25 @@
genes = list()
reagents_add = list(
/datum/reagent/drug/space_drugs = 0.15,
/datum/reagent/consumable/nutriment/vitamin = 0.04,
/datum/reagent/consumable/nutriment = 0.1,
/datum/reagent/medicine/omnizine = 0.35,
)

/obj/item/seeds/amanita/amurdad
reagents_add = list(
/datum/reagent/drug/space_drugs = 0.15,
/datum/reagent/consumable/nutriment = 0.04,
/datum/reagent/growthserum = 0.1,
)

// Modified Weeds
/obj/item/seeds/starthistle/amurdad
genes = list(/datum/plant_gene/trait/plant_type/weed_hardy)
product = /obj/item/food/grown/starthistle
reagents_add = list(
/datum/reagent/consumable/nutriment = 0.05,
/datum/reagent/medicine/silibinin = 0.1,
)


/obj/item/food/grown/starthistle
seed = /obj/item/seeds/starthistle/amurdad
Expand Down Expand Up @@ -277,7 +263,7 @@
growing_icon = 'icons/obj/hydroponics/growing_flowers.dmi'
reagents_add = list(
/datum/reagent/consumable/nutriment = 0.07,
/datum/reagent/abnormality/quiet_day = 0.07,
/datum/reagent/drug/amurdad = 0.07,
)
rarity = 30
graft_gene = /datum/plant_gene/trait/plant_type/weed_hardy
Expand Down Expand Up @@ -311,7 +297,7 @@
reagents_add = list(
/datum/reagent/consumable/nutriment = 0.07,
/datum/reagent/consumable/sugar = 0.07,
/datum/reagent/abnormality/we_can_change_anything = 0.07,
/datum/reagent/consumable/wellcheers_red = 0.07,
)
rarity = 30
graft_gene = /datum/plant_gene/trait/plant_type/fungal_metabolism
Expand Down
15 changes: 15 additions & 0 deletions code/modules/reagents/chemistry/reagents/drug_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -416,3 +416,18 @@

M.adjustToxLoss(5)
M.adjustOrganLoss(ORGAN_SLOT_LIVER,3)

/datum/reagent/drug/amurdad
name = "Amurdad-Tainted Protein"
description = "Protein from a corpse tainted by Fallen Amurdad. Seems to make you desnsitized to your surroundings but messes with your mind in other ways."
reagent_state = LIQUID
color = "#410f0f"
trippy = FALSE
taste_description = list("flesh", "rotten meat")

/datum/reagent/drug/amurdad/on_mob_life(mob/living/M)
. = ..()
M.hallucination += 20
if(ishuman(M))
var/mob/living/carbon/human/H = M
H.adjustSanityLoss(-2)

0 comments on commit 9fb6298

Please sign in to comment.