mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Autowhisper
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user