diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 44522f89e8e..6de17fc35b5 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -248,7 +248,7 @@ Turf and target are seperate in case you want to teleport some distance from a t var/pressure = air_contents.return_pressure() var/total_moles = air_contents.total_moles() - to_chat(user, "Results of analysis of [bicon(icon)] [target].") + user.show_message("Results of analysis of [bicon(icon)] [target].", 1) if(total_moles>0) var/o2_concentration = air_contents.oxygen/total_moles var/n2_concentration = air_contents.nitrogen/total_moles @@ -257,16 +257,17 @@ Turf and target are seperate in case you want to teleport some distance from a t var/unknown_concentration = 1-(o2_concentration+n2_concentration+co2_concentration+plasma_concentration) - to_chat(user, "Pressure: [round(pressure,0.1)] kPa") - to_chat(user, "Nitrogen: [round(n2_concentration*100)] %") - to_chat(user, "Oxygen: [round(o2_concentration*100)] %") - to_chat(user, "CO2: [round(co2_concentration*100)] %") - to_chat(user, "Plasma: [round(plasma_concentration*100)] %") + user.show_message("Pressure: [round(pressure,0.1)] kPa", 1) + user.show_message("Nitrogen: [round(n2_concentration*100)] % ([round(air_contents.nitrogen,0.01)] moles)", 1) + user.show_message("Oxygen: [round(o2_concentration*100)] % ([round(air_contents.oxygen,0.01)] moles)", 1) + user.show_message("CO2: [round(co2_concentration*100)] % ([round(air_contents.carbon_dioxide,0.01)] moles)", 1) + user.show_message("Plasma: [round(plasma_concentration*100)] % ([round(air_contents.toxins,0.01)] moles)", 1) if(unknown_concentration>0.01) - to_chat(user, "Unknown: [round(unknown_concentration*100)] %") - to_chat(user, "Temperature: [round(air_contents.temperature-T0C)] °C") + 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) else - to_chat(user, "[target] is empty!") + user.show_message("[target] is empty!", 1) return //Picks a string of symbols to display as the law number for hacked or ion laws