mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Cold Reactions and Applejack
Adds the ability to make a chemical reaction only occur when at or below a specified temperature. Adds new reaction for freezing water into ice - Must be at or below 270K to turn water to ice Adds two new reagents/drinks: Applejack and Jack Rose cocktail -Applejack is obtained by freezing cider at or below 270K - Applejack is slightly more potent than cider, due to it's alcohol concentration being higher - Jack Rose is a new mixed drink that is 4 parts Applejack, 1 part Lemon Juice Only Ice and Applejack utilize the cold reactions at this time, but the functionality is in place for future reactions. - This should allow coders more flexibility with defining new reactions that may realistically occur at low temperatures. Renamed the existing "required_temp" variable for reactions to "min_temp" to better communicate it's purpose and differentiate it from the new "max_temp" variable for cold reactions.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
datum/reagent/ginsonic
|
||||
/datum/reagent/ginsonic
|
||||
name = "Gin and sonic"
|
||||
id = "ginsonic"
|
||||
description = "GOTTA GET CRUNK FAST BUT LIQUOR TOO SLOW"
|
||||
@@ -13,7 +13,7 @@ datum/reagent/ginsonic
|
||||
result_amount = 2
|
||||
mix_message = "The drink turns electric blue and starts quivering violently."
|
||||
|
||||
datum/reagent/ginsonic/on_mob_life(var/mob/living/M as mob)
|
||||
/datum/reagent/ginsonic/on_mob_life(var/mob/living/M as mob)
|
||||
if(!M) M = holder.my_atom
|
||||
if(prob(10))
|
||||
M.reagents.add_reagent("methamphetamine",1.2)
|
||||
@@ -30,3 +30,34 @@ datum/reagent/ginsonic/on_mob_life(var/mob/living/M as mob)
|
||||
M << "<span class='notice'>Way Past Cool!</span>"
|
||||
..()
|
||||
return
|
||||
|
||||
/datum/reagent/ethanol/applejack
|
||||
name = "Applejack"
|
||||
id = "applejack"
|
||||
description = "A highly concentrated alcoholic beverage made by repeatedly freezing cider and removing the ice."
|
||||
color = "#997A00"
|
||||
slur_start = 30
|
||||
brawl_start = 40
|
||||
confused_start = 100
|
||||
|
||||
/datum/chemical_reaction/applejack
|
||||
name = "applejack"
|
||||
id = "applejack"
|
||||
result = "applejack"
|
||||
required_reagents = list("cider" = 2)
|
||||
max_temp = 270
|
||||
result_amount = 1
|
||||
mix_message = "The drink darkens as the water freezes, leaving the concentrated cider behind."
|
||||
|
||||
/datum/reagent/ethanol/jackrose
|
||||
name = "Jack Rose"
|
||||
id = "jackrose"
|
||||
description = "A classic cocktail that had fallen out of fashion, but never out of taste,"
|
||||
color = "#664300"
|
||||
|
||||
/datum/chemical_reaction/jackrose
|
||||
name = "jackrose"
|
||||
id = "jackrose"
|
||||
result = "jackrose"
|
||||
required_reagents = list("applejack" = 4, "lemonjuice" = 1)
|
||||
result_amount = 5
|
||||
|
||||
Reference in New Issue
Block a user