mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Voluuuuuuuuuume (#23059)
This commit is contained in:
@@ -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].", "<span class='notice'>You use the analyzer on [target].</span>")
|
||||
var/pressure = air_contents.return_pressure()
|
||||
var/total_moles = air_contents.total_moles()
|
||||
var/volume = air_contents.return_volume()
|
||||
|
||||
user.show_message("<span class='notice'>Results of analysis of [bicon(icon)] [target].</span>", 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("<span class='danger'>Unknown: [round(unknown_concentration*100)] % ([round(unknown_concentration*total_moles,0.01)] moles)</span>", 1)
|
||||
user.show_message("<span class='notice'>Total: [round(total_moles,0.01)] moles</span>", 1)
|
||||
user.show_message("<span class='notice'>Temperature: [round(air_contents.temperature-T0C)] °C</span>", 1)
|
||||
user.show_message("<span class='notice'>Volume: [round(volume)] Liters</span>", 1)
|
||||
else
|
||||
user.show_message("<span class='notice'>[target] is empty!</span>", 1)
|
||||
user.show_message("<span class='notice'>Volume: [round(volume)] Liters</span>", 1)
|
||||
return
|
||||
|
||||
//Picks a string of symbols to display as the law number for hacked or ion laws
|
||||
|
||||
Reference in New Issue
Block a user