mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] Fix gas overlays (#10944)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
1cd6e9fb41
commit
49f8cf7b8b
@@ -21,7 +21,7 @@
|
||||
var/total_moles = mixture.total_moles
|
||||
results += span_notice("Pressure: [round(pressure,0.1)] kPa")
|
||||
for(var/mix in mixture.gas)
|
||||
results += span_notice("[gas_data.name[mix]]: [round((mixture.gas[mix] / total_moles) * 100)]% ([round(mixture.gas[mix], 0.01)] moles)")
|
||||
results += span_notice("[GLOB.gas_data.name[mix]]: [round((mixture.gas[mix] / total_moles) * 100)]% ([round(mixture.gas[mix], 0.01)] moles)")
|
||||
results += span_notice("Temperature: [round(mixture.temperature-T0C)]°C")
|
||||
results += span_notice("Heat Capacity: [round(mixture.heat_capacity(),0.1)]")
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user