From e352012768e62dbb6568b1ad7bad13723ba20060 Mon Sep 17 00:00:00 2001 From: ManeaterMildred Date: Sun, 12 Jan 2014 15:50:48 +0100 Subject: [PATCH 1/2] Add a feedback upon using F12, in case people get confused their HUD is gone when pressing F12 by accident --- code/_onclick/hud/hud.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/_onclick/hud/hud.dm b/code/_onclick/hud/hud.dm index b7ad49ff4bd..9ca8633ff4f 100644 --- a/code/_onclick/hud/hud.dm +++ b/code/_onclick/hud/hud.dm @@ -297,7 +297,8 @@ datum/hud/New(mob/owner) if(hud_used && client) if(ishuman(src)) - hud_used.show_hud() //Shows the next hud preset + hud_used.show_hud() //Shows the next hud preset + usr << "\blue Switched HUD mode." else usr << "\red Inventory hiding is currently only supported for human mobs, sorry." else From 3f485d4fb1371b36f9c91929394cf85ec5837fd6 Mon Sep 17 00:00:00 2001 From: ManeaterMildred Date: Sun, 12 Jan 2014 16:19:13 +0100 Subject: [PATCH 2/2] Added span class for the feedback, and the two warnings if you try to use F12 when you shouldn't be able to. --- code/_onclick/hud/hud.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/_onclick/hud/hud.dm b/code/_onclick/hud/hud.dm index 9ca8633ff4f..39c720feb89 100644 --- a/code/_onclick/hud/hud.dm +++ b/code/_onclick/hud/hud.dm @@ -298,8 +298,8 @@ datum/hud/New(mob/owner) if(hud_used && client) if(ishuman(src)) hud_used.show_hud() //Shows the next hud preset - usr << "\blue Switched HUD mode." + usr << "Switched HUD mode." else - usr << "\red Inventory hiding is currently only supported for human mobs, sorry." + usr << "Inventory hiding is currently only supported for human mobs, sorry." else - usr << "\red This mob type does not use a HUD." + usr << "This mob type does not use a HUD."