diff --git a/code/game/machinery/oxygen_pump.dm b/code/game/machinery/oxygen_pump.dm index fd6a1048c7..2f781129b6 100644 --- a/code/game/machinery/oxygen_pump.dm +++ b/code/game/machinery/oxygen_pump.dm @@ -33,7 +33,7 @@ if(breather.internals) breather.internals.icon_state = "internal0" breather.remove_from_mob(contained) - visible_message("The mask rapidly retracts just before /the [src] is destroyed!") + visible_message("\The [contained] rapidly retracts just before /the [src] is destroyed!") breather = null QDEL_NULL(tank) @@ -45,11 +45,11 @@ if(istype(target) && CanMouseDrop(target)) if(!can_apply_to_target(target, usr)) // There is no point in attempting to apply a mask if it's impossible. return - usr.visible_message("\The [usr] begins placing the mask onto [target]..") + usr.visible_message("\The [usr] begins placing \the [contained] onto [target].") if(!do_mob(usr, target, 25) || !can_apply_to_target(target, usr)) return // place mask and add fingerprints - usr.visible_message("\The [usr] has placed \the mask on [target]'s mouth.") + usr.visible_message("\The [usr] has placed \the [contained] on [target]'s mouth.") attach_mask(target) src.add_fingerprint(usr) @@ -69,7 +69,7 @@ tank.forceMove(src) breather.remove_from_mob(contained) contained.forceMove(src) - src.visible_message("\The [user] makes \The [contained] rapidly retracts back into \the [src]!") + src.visible_message("\The [user] makes \the [contained] rapidly retract back into \the [src]!") if(breather.internals) breather.internals.icon_state = "internal0" breather = null @@ -112,7 +112,7 @@ to_chat(user, "There is no tank in \the [src].") return if(stat & MAINT) - to_chat(user, "Please close \the maintenance hatch first.") + to_chat(user, "Please close the maintenance hatch first.") return if(!Adjacent(target)) to_chat(user, "Please stay close to \the [src].") @@ -123,18 +123,15 @@ return //Checking if breather is still valid if(target == breather && target.wear_mask != contained) - to_chat(user, "\The [target] is not using the supplied mask.") + to_chat(user, "\The [target] is not using the supplied [contained].") return return 1 /obj/machinery/oxygen_pump/attackby(obj/item/weapon/W as obj, mob/user as mob) if(W.is_screwdriver()) stat ^= MAINT - user.visible_message("\The [user] [stat & MAINT ? "opens" : "closes"] \the [src].", "You [stat & MAINT ? "open" : "close"] \the [src].") - if(stat & MAINT) - icon_state = icon_state_open - if(!stat) - icon_state = icon_state_closed + user.visible_message("\The [user] [(stat & MAINT) ? "opens" : "closes"] \the [src].", "You [(stat & MAINT) ? "open" : "close"] \the [src].") + icon_state = (stat & MAINT) ? icon_state_open : icon_state_closed //TO-DO: Open icon if(istype(W, /obj/item/weapon/tank) && (stat & MAINT)) if(tank) @@ -151,7 +148,7 @@ /obj/machinery/oxygen_pump/examine(var/mob/user) . = ..() if(tank) - to_chat(user, "The meter shows [round(tank.air_contents.return_pressure())]") + to_chat(user, "The meter shows [round(tank.air_contents.return_pressure())] kPa.") else to_chat(user, "It is missing a tank!")