mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
coding standards are my passion
This commit is contained in:
@@ -25,7 +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
|
||||
var/harvest_sound = null //Vorestation edit - sound the plant makes when harvested
|
||||
|
||||
// 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.
|
||||
@@ -770,7 +770,7 @@
|
||||
var/turf/T = get_turf(user)
|
||||
create_spores(T)
|
||||
|
||||
if(harvest_sound)
|
||||
if(harvest_sound)//Vorestation edit
|
||||
var/turf/M = get_turf(user)
|
||||
playsound(M, harvest_sound, 50, 1, -1)
|
||||
|
||||
|
||||
@@ -1503,7 +1503,6 @@
|
||||
display_name = "gnomes"
|
||||
force_layer = 3
|
||||
chems = list("magicdust" = list(5,20))
|
||||
harvest_sound = 'sound/items/hooh.ogg'
|
||||
|
||||
/datum/seed/gnomes/New()
|
||||
..()
|
||||
|
||||
@@ -39,3 +39,6 @@
|
||||
set_trait(TRAIT_PRODUCT_ICON,"mushroom6")
|
||||
set_trait(TRAIT_PLANT_ICON,"tree")
|
||||
set_trait(TRAIT_PRODUCT_COLOUR,"#DADA00")
|
||||
|
||||
/datum/seed/gnomes
|
||||
harvest_sound = 'sound/items/hooh.ogg'
|
||||
@@ -3536,10 +3536,3 @@
|
||||
reagent_state = LIQUID
|
||||
nutriment_factor = 40 //very filling
|
||||
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...")
|
||||
@@ -101,4 +101,12 @@
|
||||
M.adjustToxLoss(removed) //Equivalent to half as much protein, since it's half protein.
|
||||
if(M.species.gets_food_nutrition)
|
||||
if(alien == IS_SLIME || alien == IS_CHIMERA) //slimes and chimera can get nutrition from injected nutriment and protein
|
||||
M.nutrition += (alt_nutriment_factor * removed)
|
||||
M.nutrition += (alt_nutriment_factor * removed)
|
||||
|
||||
|
||||
|
||||
/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)
|
||||
if(prob(5))
|
||||
to_chat(M, "<span class='warning'>You feel like you've been gnomed...</span>")
|
||||
Reference in New Issue
Block a user