diff --git a/code/game/objects/items/circuitboards/machines/machine_circuitboards.dm b/code/game/objects/items/circuitboards/machines/machine_circuitboards.dm index 9fb7633daf4a..3c504ac60c7d 100644 --- a/code/game/objects/items/circuitboards/machines/machine_circuitboards.dm +++ b/code/game/objects/items/circuitboards/machines/machine_circuitboards.dm @@ -1325,6 +1325,11 @@ /obj/item/stack/sheet/glass = 1 ) +// DARKPACK EDIT ADD START +/obj/item/circuitboard/machine/hydroponics/tainted + build_path = /obj/machinery/hydroponics/constructable/tainted +// DARKPACK EDIT ADD END + /obj/item/circuitboard/machine/microwave name = "Microwave" greyscale_colors = CIRCUIT_COLOR_SERVICE diff --git a/code/modules/cargo/packs/organic.dm b/code/modules/cargo/packs/organic.dm index 0967f66f030d..dce618895d9b 100644 --- a/code/modules/cargo/packs/organic.dm +++ b/code/modules/cargo/packs/organic.dm @@ -88,6 +88,7 @@ /obj/item/food/grown/cucumber, ) +/* // DARKPACK EDIT REMOVAL /datum/supply_pack/organic/exoticseeds name = "Exotic Seeds Crate" desc = "Any entrepreneuring botanist's dream. Contains twelve different seeds, \ @@ -110,6 +111,7 @@ ) crate_name = "exotic seeds crate" crate_type = /obj/structure/closet/crate/hydroponics +*/ /datum/supply_pack/organic/food name = "Food Crate" diff --git a/code/modules/hydroponics/hydroponics.dm b/code/modules/hydroponics/hydroponics.dm index d3d672174b26..fa840574122b 100644 --- a/code/modules/hydroponics/hydroponics.dm +++ b/code/modules/hydroponics/hydroponics.dm @@ -65,7 +65,7 @@ var/tray_flags = HYDROPONIC ///How many extra px to offset the plant sprite on the y axis, gets passed to the seed and added to the seeds offset var/plant_offset_y = 0 - + var/mutating_tray = FALSE // DARKPACK EDIT ADD /obj/machinery/hydroponics/Initialize(mapload) //ALRIGHT YOU DEGENERATES. YOU HAD REAGENT HOLDERS FOR AT LEAST 4 YEARS AND NONE OF YOU MADE HYDROPONICS TRAYS HOLD NUTRIENT CHEMS INSTEAD OF USING "Points". @@ -172,6 +172,14 @@ desc = "A basin used to grown plants in, packed full of cutting-edge technology." circuit = /obj/item/circuitboard/machine/hydroponics/fullupgrade +// DARKPACK EDIT ADD START +/obj/machinery/hydroponics/constructable/tainted + name = "strange hydroponics tray" + desc = "A strange modified basic used to grow plants. It has many nozzles and tanks full of bubbling liquid you cant understand." + circuit = /obj/item/circuitboard/machine/hydroponics/tainted + mutating_tray = TRUE +// DARKPACK EDIT ADD END + /obj/machinery/hydroponics/constructable/Initialize(mapload) . = ..() AddElement(/datum/element/simple_rotation) @@ -391,17 +399,20 @@ pollinate() //This is where stability mutations exist now. - if(myseed.instability >= 80) - traitmutate(myseed.instability - 75) //Scaling odds of a random trait or chemical - if(myseed.instability >= 60) - if(prob((myseed.instability)/2) && !self_sustaining && LAZYLEN(myseed.mutatelist) && !myseed.get_gene(/datum/plant_gene/trait/never_mutate)) //Minimum 30%, Maximum 50% chance of mutating every age tick when not on autogrow or having Prosophobic Inclination trait. - mutatespecie() - myseed.set_instability(myseed.instability/2) - if(myseed.instability >= 20 && prob(myseed.instability) && !myseed.get_gene(/datum/plant_gene/trait/stable_stats)) //No hardmutation if Symbiotic Resilience trait is present. - if(myseed.instability >= 40) - hardmutate(stabmut = myseed.instability >= 80 ? 5 : 0) - else - mutate(stabmut = 0) + // DARKPACK EDIT CHANGE START - (Locks mutating through process to a specifc type of tray) + if(mutating_tray) + if(myseed.instability >= 80) + traitmutate(myseed.instability - 75) //Scaling odds of a random trait or chemical + if(myseed.instability >= 60) + if(prob((myseed.instability)/2) && !self_sustaining && LAZYLEN(myseed.mutatelist) && !myseed.get_gene(/datum/plant_gene/trait/never_mutate)) //Minimum 30%, Maximum 50% chance of mutating every age tick when not on autogrow or having Prosophobic Inclination trait. + mutatespecie() + myseed.set_instability(myseed.instability/2) + if(myseed.instability >= 20 && prob(myseed.instability) && !myseed.get_gene(/datum/plant_gene/trait/stable_stats)) //No hardmutation if Symbiotic Resilience trait is present. + if(myseed.instability >= 40) + hardmutate(stabmut = myseed.instability >= 80 ? 5 : 0) + else + mutate(stabmut = 0) + // DARKPACK EDIT CHANGE END //Health & Age///////////////////////////////////////////////////////////