From 94f0f5d64e3224282a0642cc4fc2b5a611563f4d Mon Sep 17 00:00:00 2001 From: 13spacemen <46101244+13spacemen@users.noreply.github.com> Date: Wed, 8 Jun 2022 19:45:15 +0500 Subject: [PATCH] Examine Hints For Reagent Tanks (#67601) adds examine hints to reagent tanks for leaking and rigging --- code/modules/reagents/reagent_dispenser.dm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/code/modules/reagents/reagent_dispenser.dm b/code/modules/reagents/reagent_dispenser.dm index 374106cf878..35a6356e057 100644 --- a/code/modules/reagents/reagent_dispenser.dm +++ b/code/modules/reagents/reagent_dispenser.dm @@ -30,8 +30,11 @@ . = ..() if(can_be_tanked) . += span_notice("Use a sheet of iron to convert this into a plumbing-compatible tank.") - if(leaking) - . += span_warning("Its tap is wrenched open!") + if(openable) + if(!leaking) + . += span_notice("Its tap looks like it could be wrenched open.") + else + . += span_warning("Its tap is wrenched open!") /obj/structure/reagent_dispensers/take_damage(damage_amount, damage_type = BRUTE, damage_flag = 0, sound_effect = 1, attack_dir) . = ..() @@ -143,8 +146,11 @@ /obj/structure/reagent_dispensers/fueltank/examine(mob/user) . = ..() - if(get_dist(user, src) <= 2 && rig) - . += span_notice("There is some kind of device rigged to the tank.") + if(get_dist(user, src) <= 2) + if(rig) + . += span_warning("There is some kind of device rigged to the tank!") + else + . += span_notice("It looks like you could rig a device to the tank.") /obj/structure/reagent_dispensers/fueltank/attack_hand(mob/user, list/modifiers) . = ..()