mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-20 11:46:50 +01:00
Distillery Upkeep, Chemistry Tweakening (#7573)
* Distillery For Chemistry * Synthplasma, Synthblood but not horrifically strong. * Rectify, I said, damnit! * Distillery for Chem. Now with STRONG DMM. * changeling
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
remove_self(volume)
|
||||
|
||||
/datum/reagent/blood/synthblood
|
||||
name = "Synthetic blood"
|
||||
name = "synthetic blood"
|
||||
id = "synthblood"
|
||||
color = "#999966"
|
||||
volume_mod = 2
|
||||
@@ -119,8 +119,16 @@
|
||||
..()
|
||||
if(data && !data["blood_type"])
|
||||
data["blood_type"] = "O-"
|
||||
if(data && data["species"])
|
||||
data["species"] = null
|
||||
return
|
||||
|
||||
/datum/reagent/blood/synthblood/dilute
|
||||
name = "synthetic plasma"
|
||||
id = "synthblood_dilute"
|
||||
color = "#cacaaf"
|
||||
volume_mod = 1.2
|
||||
|
||||
// pure concentrated antibodies
|
||||
/datum/reagent/antibodies
|
||||
data = list("antibodies"=list())
|
||||
|
||||
@@ -128,6 +128,17 @@
|
||||
|
||||
temp_range = list(T0C + 100, T0C + 120)
|
||||
|
||||
/datum/chemical_reaction/distilling/synthplas
|
||||
name = "Distilling Synthplas"
|
||||
id = "distill_synthplas"
|
||||
result = "synthblood_dilute"
|
||||
required_reagents = list("protein" = 2, "antibodies" = 1, "bicaridine" = 1)
|
||||
result_amount = 3
|
||||
|
||||
reaction_rate = HALF_LIFE(15)
|
||||
|
||||
temp_range = list(T0C + 110, T0C + 130)
|
||||
|
||||
// Alcohol
|
||||
/datum/chemical_reaction/distilling/beer
|
||||
name = "Distilling Beer"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
var/target_temp = T20C
|
||||
|
||||
var/max_temp = T20C + 300
|
||||
var/max_temp = T0C + 300
|
||||
var/min_temp = T0C - 10
|
||||
|
||||
var/current_temp = T20C
|
||||
@@ -86,6 +86,16 @@
|
||||
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/portable_atmospherics/powered/reagent_distillery/RefreshParts()
|
||||
var/total_laser_rating = 0
|
||||
for(var/obj/item/weapon/stock_parts/micro_laser/ML in component_parts)
|
||||
total_laser_rating += ML.rating
|
||||
|
||||
max_temp = initial(max_temp) + (50 * (total_laser_rating - 1))
|
||||
min_temp = max(1, initial(min_temp) - (30 * (total_laser_rating - 1)))
|
||||
|
||||
return
|
||||
|
||||
/obj/machinery/portable_atmospherics/powered/reagent_distillery/proc/setup_overlay_vars()
|
||||
overlay_output_beaker = image(icon = src.icon, icon_state = "[base_state]-output")
|
||||
overlay_input_beaker = image(icon = src.icon, icon_state = "[base_state]-input")
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
var/label_text = ""
|
||||
|
||||
var/blood_type = null
|
||||
var/reag_id = "blood"
|
||||
|
||||
/obj/item/weapon/reagent_containers/blood/Initialize()
|
||||
. = ..()
|
||||
@@ -35,7 +36,7 @@
|
||||
if(blood_type != null)
|
||||
label_text = "[blood_type]"
|
||||
update_iv_label()
|
||||
reagents.add_reagent("blood", 200, list("donor"=null,"viruses"=null,"blood_DNA"=null,"blood_type"=blood_type,"resistances"=null,"trace_chem"=null))
|
||||
reagents.add_reagent(reag_id, 200, list("donor"=null,"viruses"=null,"blood_DNA"=null,"blood_type"=blood_type,"resistances"=null,"trace_chem"=null))
|
||||
update_icon()
|
||||
|
||||
/obj/item/weapon/reagent_containers/blood/on_reagent_change()
|
||||
@@ -95,6 +96,14 @@
|
||||
/obj/item/weapon/reagent_containers/blood/OMinus
|
||||
blood_type = "O-"
|
||||
|
||||
/obj/item/weapon/reagent_containers/blood/synthplas
|
||||
blood_type = "O-"
|
||||
reag_id = "synthblood_dilute"
|
||||
|
||||
/obj/item/weapon/reagent_containers/blood/synthblood
|
||||
blood_type = "O-"
|
||||
reag_id = "synthblood"
|
||||
|
||||
/obj/item/weapon/reagent_containers/blood/empty
|
||||
name = "Empty BloodPack"
|
||||
desc = "Seems pretty useless... Maybe if there were a way to fill it?"
|
||||
|
||||
Reference in New Issue
Block a user