diff --git a/code/game/objects/structures/trash_pile.dm b/code/game/objects/structures/trash_pile.dm index 1c118a18fd..37fe77ef2d 100644 --- a/code/game/objects/structures/trash_pile.dm +++ b/code/game/objects/structures/trash_pile.dm @@ -243,7 +243,8 @@ prob(1);/obj/item/weapon/material/knife/tacknife, prob(1);/obj/item/weapon/storage/box/survival/space, prob(1);/obj/item/weapon/storage/secure/briefcase/trashmoney, - prob(1);/obj/item/weapon/reagent_containers/syringe/steroid) + prob(1);/obj/item/weapon/reagent_containers/syringe/steroid, + prob(1);/obj/item/seeds/gnomes) var/obj/item/I = new path() return I diff --git a/code/modules/hydroponics/seed.dm b/code/modules/hydroponics/seed.dm index f0f186e949..35aae8ebe2 100644 --- a/code/modules/hydroponics/seed.dm +++ b/code/modules/hydroponics/seed.dm @@ -25,6 +25,7 @@ var/apply_color_to_mob = TRUE // Do we color the mob to match the plant? var/has_item_product // Item products. (Eggy) var/force_layer + var/harvest_sound = null // Making the assumption anything in HYDRO-ponics is capable of processing water, and nutrients commonly associated with it, leaving us with the below to be tweaked. var/list/beneficial_reagents // Reagents considered uniquely 'beneficial' by a plant. @@ -769,6 +770,10 @@ var/turf/T = get_turf(user) create_spores(T) + if(harvest_sound) + var/turf/M = get_turf(user) + playsound(M, harvest_sound, 50, 1, -1) + if(!force_amount && get_trait(TRAIT_YIELD) == 0 && !harvest_sample) if(istype(user)) user << "You fail to harvest anything useful." else diff --git a/code/modules/hydroponics/seed_datums.dm b/code/modules/hydroponics/seed_datums.dm index d13a3f7687..9331dc60ae 100644 --- a/code/modules/hydroponics/seed_datums.dm +++ b/code/modules/hydroponics/seed_datums.dm @@ -1503,6 +1503,7 @@ display_name = "gnomes" force_layer = 3 chems = list("magicdust" = list(5,20)) + harvest_sound = 'sound/items/hooh.ogg' /datum/seed/gnomes/New() ..() diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm index d0d19369fc..22c42dc2cc 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm @@ -3535,4 +3535,11 @@ taste_mult = 2 reagent_state = LIQUID nutriment_factor = 40 //very filling - color = "#d169b2" \ No newline at end of file + color = "#d169b2" + + +/datum/reagent/nutriment/magicdust/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) + ..() + playsound(M.loc, 'sound/items/hooh.ogg', 50, 1, -1) + prob(1) + to_chat(M, "You feel like you've been gnomed...") \ No newline at end of file diff --git a/sound/items/hooh.ogg b/sound/items/hooh.ogg new file mode 100644 index 0000000000..aa707eeb5c Binary files /dev/null and b/sound/items/hooh.ogg differ