mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[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:
committed by
GitHub
parent
b3b7b5d2e6
commit
306edc0a37
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user