From fd56da914b3a8f1cebc097f03cd3e0a7af24a988 Mon Sep 17 00:00:00 2001 From: FluffMedic <109300046+FluffMedic@users.noreply.github.com> Date: Mon, 13 Nov 2023 14:40:00 -0500 Subject: [PATCH] An Experiment (#7122) --- .../reactions/distilling/distilling.dm | 60 +++++++++++++++++ .../modules/reagents/reagents/medicalmods.dm | 66 +++++++++++++++++++ .../modules/reagents/reagents/modapply.dm | 49 ++++++++++++++ vorestation.dme | 3 + 4 files changed, 178 insertions(+) create mode 100644 modular_chomp/code/modules/reagents/reactions/distilling/distilling.dm create mode 100644 modular_chomp/code/modules/reagents/reagents/medicalmods.dm create mode 100644 modular_chomp/code/modules/reagents/reagents/modapply.dm diff --git a/modular_chomp/code/modules/reagents/reactions/distilling/distilling.dm b/modular_chomp/code/modules/reagents/reactions/distilling/distilling.dm new file mode 100644 index 0000000000..493fac3356 --- /dev/null +++ b/modular_chomp/code/modules/reagents/reactions/distilling/distilling.dm @@ -0,0 +1,60 @@ +//Grub +//Spider +//Carp +//Meteroid +//Deathclaw + +/decl/chemical_reaction/distilling/energybooster + name = "Distilling Energy Booster" + id = "distill_energybooster" + result = "energybooster" + required_reagents = list("hyperzine" = 1, "stimm" = 1, "shockchem" = 1) + result_amount = 2 + + reaction_rate = HALF_LIFE(10) + + temp_range = list(T0C + 180, T0C + 200) + +/decl/chemical_reaction/distilling/oceaniccure + name = "Distilling Oceanic Cure" + id = "distill_oceaniccure" + result = "oceaniccure" + required_reagents = list("curea" = 1, "souldew" = 1, "carpotoxin" = 1) + result_amount = 2 + + reaction_rate = HALF_LIFE(10) + + temp_range = list(T0C + 130, T0C + 150) + +/decl/chemical_reaction/distilling/deathclawmutagen + name = "Distilling Deathclaw Mutagen" + id = "distill_deathclawmutagen" + result = "deathclawmutagen" + required_reagents = list("arithrazine" = 1, "mutagen" = 1, "deathblood" = 1) + result_amount = 2 + + reaction_rate = HALF_LIFE(10) + + temp_range = list(T0C + 100, T0C + 120) + +/decl/chemical_reaction/distilling/senseenhancer + name = "Distilling Sense Enhancer" + id = "distill_senseenhancer" + result = "senseenhancer" + required_reagents = list("quadcord" = 1, "mindbreaker" = 1, "liquidlife" = 1) + result_amount = 2 + + reaction_rate = HALF_LIFE(10) + + temp_range = list(T0C + 50, T0C + 70) + +/decl/chemical_reaction/distilling/heatnullifer + name = "Distilling heatnullifer" + id = "distill_heatnullifer" + result = "heatnullifer" + required_reagents = list("tramadol" = 1, "leporazine" = 1, "spidertoxin" = 1) + result_amount = 2 + + reaction_rate = HALF_LIFE(10) + + temp_range = list(T0C + 230, T0C + 250) \ No newline at end of file diff --git a/modular_chomp/code/modules/reagents/reagents/medicalmods.dm b/modular_chomp/code/modules/reagents/reagents/medicalmods.dm new file mode 100644 index 0000000000..5fd64a14e6 --- /dev/null +++ b/modular_chomp/code/modules/reagents/reagents/medicalmods.dm @@ -0,0 +1,66 @@ +/datum/modifier/eletricalsurge //grub + name = "Eletrical Surge" + desc = "You are filled with an overwhelming energy." + + on_created_text = "You feel an overwhelimg energy surge through your body!" + on_expired_text = "The surge subsides." + stacks = MODIFIER_STACK_EXTEND + evasion = 20 + accuracy = -30 + attack_speed_percent = 0.75 + siemens_coefficient = 3 + +/datum/modifier/healingtide //carp + name = "Healing Tide" + desc = "You are filled with an overwhelming energy." + + on_created_text = "Your body begins to focus on recovering!" + on_expired_text = "The healing subsides." + stacks = MODIFIER_STACK_EXTEND + + metabolism_percent = 0.5 + incoming_healing_percent = 1.25 + +/datum/modifier/radiationhide //deathclaw + name = "Radiation Hide" + desc = "Your body defensivly warps." + + on_created_text = "Your body strangly mutates!" + on_expired_text = "Your body returns to normal." + stacks = MODIFIER_STACK_EXTEND + + icon_scale_x_percent = 1.2 + icon_scale_y_percent = 1.2 + incoming_clone_damage_percent = 0 + incoming_healing_percent = 0.5 + max_health_percent = 1.5 + incoming_damage_percent = 0.9 + +/datum/modifier/nervoushigh //meteroid + name = "Nervous High" + desc = "Your senses feel everything." + + client_color = "#808080" //Za worldo + + on_created_text = "The world arounds you slows down!" + on_expired_text = "The world returns to normal." + stacks = MODIFIER_STACK_EXTEND + + slowdown = -3 + attack_speed_percent = 0.25 + bleeding_rate_percent = 3.0 + metabolism_percent = 3.0 + max_health_percent = 0.25 + disable_duration_percent = 0.1 + +/datum/modifier/protectivenumbing //spider + name = "Protective Numbing" + desc = "Your senses feel everything." + + on_created_text = "Your body becomes numb!" + on_expired_text = "Sensation returns to your body." + stacks = MODIFIER_STACK_EXTEND + + heat_protection = 1 + cold_protection = 1 + attack_speed_percent = 1.25 \ No newline at end of file diff --git a/modular_chomp/code/modules/reagents/reagents/modapply.dm b/modular_chomp/code/modules/reagents/reagents/modapply.dm new file mode 100644 index 0000000000..4251325394 --- /dev/null +++ b/modular_chomp/code/modules/reagents/reagents/modapply.dm @@ -0,0 +1,49 @@ +/datum/reagent/modapplying/energybooster + name = "Energy Booster" + id = "energybooster" + description = "A strange forumla that increases the energy of a consumer." + taste_description = "high voltage" + color = "#FFFF66" + + modifier_to_add = /datum/modifier/eletricalsurge + modifier_duration = 3 SECONDS + +/datum/reagent/modapplying/oceaniccure + name = "Oceanic Cure" + id = "oceaniccure" + description = "A strange liquid, altering the proprties of other chemicals." + taste_description = "sea breeze" + color = "#C8A5DC" + + modifier_to_add = /datum/modifier/healingtide + modifier_duration = 3 SECONDS + +/datum/reagent/modapplying/deathclawmutagen + name = "Deathclaw Mutagen" + id = "deathclawmutagen" + description = "An incredibly strange liquid that temporally changes a person's physical form." + taste_description = "buzzing radiation" + color = "#00A000" + + modifier_to_add = /datum/modifier/radiationhide + modifier_duration = 3 SECONDS + +/datum/reagent/modapplying/senseenhancer + name = "Sense Enhancer" + id = "senseenhancer" + description = "An incredibly strange liquid that allows consumers to see the world in a new light." + taste_description = "blood" + color = "#808080" + + modifier_to_add = /datum/modifier/nervoushigh + modifier_duration = 3 SECONDS + +/datum/reagent/modapplying/heatnullifer + name = "Heat Nullifer" + id = "heatnullifer" + description = "An incredibly strange liquid that let's consumer's body ignore the effects of tempature." + taste_description = "nothing" + color = "#561EC3" + + modifier_to_add = /datum/modifier/protectivenumbing + modifier_duration = 3 SECONDS \ No newline at end of file diff --git a/vorestation.dme b/vorestation.dme index 6b08450d70..c0fa4efe2c 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -4822,10 +4822,13 @@ #include "modular_chomp\code\modules\projectiles\guns\projectile\revolver.dm" #include "modular_chomp\code\modules\projectiles\precursor\freezegun.dm" #include "modular_chomp\code\modules\reagents\machinery\dispenser\chem_synthesizer_ch.dm" +#include "modular_chomp\code\modules\reagents\reactions\distilling\distilling.dm" #include "modular_chomp\code\modules\reagents\reactions\instant\drinks.dm" #include "modular_chomp\code\modules\reagents\reactions\instant\instant.dm" #include "modular_chomp\code\modules\reagents\reagents\food_drinks.dm" +#include "modular_chomp\code\modules\reagents\reagents\medicalmods.dm" #include "modular_chomp\code\modules\reagents\reagents\medicine.dm" +#include "modular_chomp\code\modules\reagents\reagents\modapply.dm" #include "modular_chomp\code\modules\reagents\reagents\toxin.dm" #include "modular_chomp\code\modules\recycling\v_garbosystem.dm" #include "modular_chomp\code\modules\research\mechfab_designs.dm"