From c24995f5b3124ad4e18e13f6e3b03b35e8948760 Mon Sep 17 00:00:00 2001
From: Bjamcham <107899953+Bjamcham@users.noreply.github.com>
Date: Sun, 29 Oct 2023 12:24:28 -0400
Subject: [PATCH] Voluuuuuuuuuume (#23059)
---
code/__HELPERS/unsorted.dm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm
index 2bb8c5ab2f7..fdbfe06905f 100644
--- a/code/__HELPERS/unsorted.dm
+++ b/code/__HELPERS/unsorted.dm
@@ -260,6 +260,7 @@ Turf and target are seperate in case you want to teleport some distance from a t
user.visible_message("[user] has used the analyzer on [target].", "You use the analyzer on [target].")
var/pressure = air_contents.return_pressure()
var/total_moles = air_contents.total_moles()
+ var/volume = air_contents.return_volume()
user.show_message("Results of analysis of [bicon(icon)] [target].", 1)
if(total_moles>0)
@@ -281,8 +282,10 @@ Turf and target are seperate in case you want to teleport some distance from a t
user.show_message("Unknown: [round(unknown_concentration*100)] % ([round(unknown_concentration*total_moles,0.01)] moles)", 1)
user.show_message("Total: [round(total_moles,0.01)] moles", 1)
user.show_message("Temperature: [round(air_contents.temperature-T0C)] °C", 1)
+ user.show_message("Volume: [round(volume)] Liters", 1)
else
user.show_message("[target] is empty!", 1)
+ user.show_message("Volume: [round(volume)] Liters", 1)
return
//Picks a string of symbols to display as the law number for hacked or ion laws