mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
hooh
This commit is contained in:
@@ -243,7 +243,8 @@
|
|||||||
prob(1);/obj/item/weapon/material/knife/tacknife,
|
prob(1);/obj/item/weapon/material/knife/tacknife,
|
||||||
prob(1);/obj/item/weapon/storage/box/survival/space,
|
prob(1);/obj/item/weapon/storage/box/survival/space,
|
||||||
prob(1);/obj/item/weapon/storage/secure/briefcase/trashmoney,
|
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()
|
var/obj/item/I = new path()
|
||||||
return I
|
return I
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
var/apply_color_to_mob = TRUE // Do we color the mob to match the plant?
|
var/apply_color_to_mob = TRUE // Do we color the mob to match the plant?
|
||||||
var/has_item_product // Item products. (Eggy)
|
var/has_item_product // Item products. (Eggy)
|
||||||
var/force_layer
|
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.
|
// 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.
|
var/list/beneficial_reagents // Reagents considered uniquely 'beneficial' by a plant.
|
||||||
@@ -769,6 +770,10 @@
|
|||||||
var/turf/T = get_turf(user)
|
var/turf/T = get_turf(user)
|
||||||
create_spores(T)
|
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(!force_amount && get_trait(TRAIT_YIELD) == 0 && !harvest_sample)
|
||||||
if(istype(user)) user << "<span class='danger'>You fail to harvest anything useful.</span>"
|
if(istype(user)) user << "<span class='danger'>You fail to harvest anything useful.</span>"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -1503,6 +1503,7 @@
|
|||||||
display_name = "gnomes"
|
display_name = "gnomes"
|
||||||
force_layer = 3
|
force_layer = 3
|
||||||
chems = list("magicdust" = list(5,20))
|
chems = list("magicdust" = list(5,20))
|
||||||
|
harvest_sound = 'sound/items/hooh.ogg'
|
||||||
|
|
||||||
/datum/seed/gnomes/New()
|
/datum/seed/gnomes/New()
|
||||||
..()
|
..()
|
||||||
|
|||||||
@@ -3535,4 +3535,11 @@
|
|||||||
taste_mult = 2
|
taste_mult = 2
|
||||||
reagent_state = LIQUID
|
reagent_state = LIQUID
|
||||||
nutriment_factor = 40 //very filling
|
nutriment_factor = 40 //very filling
|
||||||
color = "#d169b2"
|
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, "<span class='warning'>You feel like you've been gnomed...")
|
||||||
BIN
sound/items/hooh.ogg
Normal file
BIN
sound/items/hooh.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user