Autowhisper

This commit is contained in:
Casey
2023-07-17 01:52:46 -04:00
committed by CHOMPStation2
parent 9611cd70fc
commit 41175bcb8e
14 changed files with 139 additions and 2 deletions

View File

@@ -257,6 +257,20 @@
healths.screen_loc = ui_health
hud_elements |= healths
autowhisper_display = new /obj/screen()
autowhisper_display.icon = 'icons/mob/screen/minimalist.dmi'
autowhisper_display.icon_state = "autowhisper"
autowhisper_display.name = "autowhisper"
autowhisper_display.screen_loc = "EAST-1:28,CENTER-2:13"
hud_elements |= autowhisper_display
var/obj/screen/aw = new /obj/screen()
aw.icon = 'icons/mob/screen/minimalist.dmi'
aw.icon_state = "aw-select"
aw.name = "autowhisper mode"
aw.screen_loc = "EAST-1:28,CENTER-2:13"
hud_elements |= aw
//VOREStation Addition begin
shadekin_display = new /obj/screen/shadekin()
shadekin_display.screen_loc = ui_shadekin_display

View File

@@ -11,7 +11,7 @@ var/obj/screen/robot_inventory
var/list/adding = list()
var/list/other = list()
HUD.adding = adding
HUD.other = other
@@ -90,6 +90,21 @@ var/obj/screen/robot_inventory
healths.screen_loc = ui_borg_health
other += healths
autowhisper_display = new /obj/screen()
autowhisper_display.icon = 'icons/mob/screen/minimalist.dmi'
autowhisper_display.icon_state = "autowhisper"
autowhisper_display.name = "autowhisper"
autowhisper_display.screen_loc = "EAST-1:31,CENTER-3:13"
other |= autowhisper_display
var/obj/screen/aw = new /obj/screen()
aw.icon = 'icons/mob/screen/minimalist.dmi'
aw.icon_state = "aw-select"
aw.name = "autowhisper mode"
aw.screen_loc = "EAST-1:31,CENTER-3:13"
other |= aw
//Installed Module
hands = new /obj/screen()
hands.icon = HUD.ui_style

View File

@@ -454,6 +454,14 @@
if("drop")
if(usr.client)
usr.client.drop_item()
if("autowhisper")
if(isliving(usr))
var/mob/living/u = usr
u.toggle_autowhisper()
if("autowhisper mode")
if(isliving(usr))
var/mob/living/u = usr
u.autowhisper_mode()
if("module")
if(isrobot(usr))