Added more fantasy drugs to the game (#18628)

* Added more drugs

* Added Colorspace

* Fix errors

* Remove ToxLoss from Snowflake overdose. Quarter the power of Colorspace.

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
Cody Brittain
2024-03-19 16:35:47 +00:00
committed by GitHub
co-authored by Cody Brittain
parent b1288ddbbb
commit 586715d028
5 changed files with 115 additions and 2 deletions
@@ -118,6 +118,33 @@
M.add_chemical_effect(CE_HALLUCINATE, power)
M.confused = max(M.confused, power)
/singleton/reagent/drugs/snowflake
name = "Snowflake"
description = "A recreational stimulant refined from frost oil, found in certain plants."
taste_description = "metallic and bitter"
reagent_state = LIQUID
color = "#bbd7eb"
overdose = 15
fallback_specific_heat = 15
default_temperature = T0C - 40
initial_effect_message_list = list("You feel euphoric!", "You feel unstoppable.")
sober_message_list = list("You feel a bit more sluggish", "You feel terrible...", "You feel pretty dehydrated.")
/singleton/reagent/drugs/snowflake/affect_blood(mob/living/carbon/M, alien, removed, datum/reagents/holder)
..()
M.add_chemical_effect(CE_PAINKILLER, 3 * power)
M.bodytemperature = max(M.bodytemperature - 15 * TEMPERATURE_DAMAGE_COEFFICIENT * power, 0)
if(prob(12))
M.emote(pick("shiver", "sniff"))
if(prob(5))
to_chat(M, SPAN_WARNING(pick("You just can't seem to stop sniffling...", "You feel impatient...", "Your eyes feel a bit dry.")))
/singleton/reagent/drugs/snowflake/overdose(mob/living/carbon/M, alien, removed, datum/reagents/holder)
if(prob(35))
M.add_chemical_effect(CE_EMETIC, M.chem_doses[type])
M.add_chemical_effect(CE_NEUROTOXIC, 1)
..()
/singleton/reagent/drugs/impedrezene
name = "Impedrezene"
description = "Impedrezene is a narcotic that impedes one's ability by slowing down the higher brain cell functions."
@@ -259,6 +286,29 @@
else
M.seizure()
/singleton/reagent/drugs/colorspace
name = "Colorspace"
description = "A psychedelic drug that alters thought and perception."
taste_description = "flavorless paste"
color = "#a7a6a4"
initial_effect_message_list = list("Your skin tickles.", "You seem to leave this world behind...")
sober_message_list = list("The world grows still again.", "Colors seem duller.")
/singleton/reagent/drugs/colorspace/affect_blood(mob/living/carbon/M, alien, removed, datum/reagents/holder)
..()
var/drug_strength = 20 * power
if(alien == IS_SKRELL)
drug_strength *= 0.8
M.druggy = max(M.druggy, 15)
M.hallucination = max(M.hallucination, drug_strength)
if(prob(15))
to_chat(SPAN_GOOD(pick("The floor is melting...", "Everything is so much brighter! Wow!", "Everything is shifting around you.")))
/singleton/reagent/drugs/night_juice
name = "Nightlife"
description = "A liquid narcotic commonly used by the more wealthy drug-abusing citizens of the Eridani Federation. Works as a potent stimulant that causes extreme awakefulness. Lethal in high doses."
@@ -715,6 +715,12 @@
nicotine = REM * 0.1
taste_mult = 2
/singleton/reagent/toxin/tobacco/srendarrs_hand
name = "S'rendarr's Hand"
description = "S'rendarr's Hand, known as Alyad'al S'rendarr to the tajara, originates from Adhomai. The nicotine-containing leaves are often dried out and stuffed into pipes or rolled in paper for smoking."
taste_description = "honeyed tobacco"
nicotine = 0.3
/singleton/reagent/toxin/oracle
name = "Oracle"
description = "Oracle originates from Vysoka, where it is often chewed, or dried and smoked or snorted. This is a common variant."
@@ -236,6 +236,13 @@
required_reagents = list(/singleton/reagent/mercury = 1, /singleton/reagent/sugar = 1, /singleton/reagent/lithium = 1)
result_amount = 3
/datum/chemical_reaction/snowflake
name = "Snowflake"
id = "snowflake"
result = /singleton/reagent/drugs/snowflake
required_reagents = list(/singleton/reagent/frostoil = 1, /singleton/reagent/fuel = 1, /singleton/reagent/sulfur = 1)
result_amount = 1
/datum/chemical_reaction/cocaine
name = "Cocaine"
id = "cocaine"
@@ -898,6 +905,13 @@
required_temperature_min = T0C + 621 //Mix reactants with 10u salt, then pour 30u of solution in one go into 30u of pyrosilicate. Pyrosilicate will be consumed; salt must be separated.
result_amount = 3
/datum/chemical_reaction/colorspace
name = "Colorspace"
id = "colorspace"
result = /singleton/reagent/drugs/colorspace
required_reagents = list(/singleton/reagent/hydrazine = 1, /singleton/reagent/alcohol = 1, /singleton/reagent/silicon = 1)
result_amount = 1
/* Solidification */
/datum/chemical_reaction/phoronsolidification