[MIRROR] Reagent cooled atmo machines (#11335)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-07 01:50:40 -07:00
committed by GitHub
parent b3b7b5d2e6
commit 306edc0a37
18 changed files with 146 additions and 27 deletions

View File

@@ -1157,6 +1157,7 @@ SUBSYSTEM_DEF(internal_wiki)
data["addictive"] = TRUE
data["industrial_use"] = R.industrial_use
data["supply_points"] = R.supply_conversion_value ? R.supply_conversion_value : 0
data["cooling_mod"] = R.coolant_modifier
var/value = R.supply_conversion_value * REAGENTS_PER_SHEET * SSsupply.points_per_money
value = FLOOR(value * 100,1) / 100 // Truncate decimals
data["market_price"] = value
@@ -1191,6 +1192,7 @@ SUBSYSTEM_DEF(internal_wiki)
var/datum/material/C = get_material_by_name(data["sintering"])
if(C)
body += "<b>Sintering Results: [C.display_name] [C.sheet_plural_name]</b><br>"
body += "<b>Coolant Factor: </b>[data["cooling_mod"]]x<br>"
if(data["overdose"] > 0)
body += "<b>Overdose: </b>[data["overdose"]]u<br>"
body += "<b>Flavor: </b>[data["flavor"]]<br>"