From 52d328623a46dbcb844a502a29881f9b8e4d666e Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Tue, 3 Dec 2013 23:01:42 -0600 Subject: [PATCH] Tanks will also keep up with who manipulated them last. Tanks placed in canisters, scanned with PDA or other analysis tool will set the manipulated_by variable to whoever did so. The idea is that this person is aware what's in the tank and will act accordingly when you press the internals HUD icon. If the user was the last person to manipulate the tank (or it's not been manipulated) then the user is smart about selecting the proper tank. If the user was not the last person to manipulate the tank then he is only checking the pressure gauge to see what tank is fullest that matches his species breath_type If that tank has nasties in it, welp he is going to get a breathful of nasties. --- code/_onclick/hud/screen_objects.dm | 9 +++++++-- code/game/machinery/atmoalter/canister.dm | 2 ++ code/game/objects/items/devices/PDA/PDA.dm | 3 +++ code/game/objects/items/weapons/tanks/tanks.dm | 7 ++++--- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/code/_onclick/hud/screen_objects.dm b/code/_onclick/hud/screen_objects.dm index 47f19fd7123..ed054ae6c8a 100644 --- a/code/_onclick/hud/screen_objects.dm +++ b/code/_onclick/hud/screen_objects.dm @@ -295,8 +295,13 @@ for(var/i=1, i-