Moar buttan
Adds more buttons
@@ -114,8 +114,10 @@
|
||||
#define ui_temp "EAST-1:28,CENTER-2:13"
|
||||
#define ui_health "EAST-1:28,CENTER-1:15"
|
||||
#define ui_internal "EAST-1:28,CENTER:17"
|
||||
#define ui_under_health "EAST-1:28,CENTER-2:13"
|
||||
//borgs
|
||||
#define ui_borg_health "EAST-1:28,CENTER-2:13" //borgs have the health display where humans have the pressure damage indicator.
|
||||
#define ui_borg_under_health "EAST-1:31,CENTER-3:13"
|
||||
#define ui_alien_health "EAST-1:28,CENTER-2:13" //aliens have the health display where humans have the pressure damage indicator.
|
||||
|
||||
#define ui_ling_chemical_display "EAST-1:28,CENTER-3:15"
|
||||
|
||||
@@ -160,6 +160,15 @@
|
||||
using.alpha = HUD.ui_alpha
|
||||
adding += using
|
||||
|
||||
using = new /obj/screen()
|
||||
using.icon = HUD.ui_style
|
||||
using.icon_state = "use"
|
||||
using.name = "use held item on self"
|
||||
using.screen_loc = ui_swaphand2
|
||||
using.color = HUD.ui_color
|
||||
using.alpha = HUD.ui_alpha
|
||||
adding |= using
|
||||
|
||||
inv_box = new /obj/screen/inventory/hand()
|
||||
inv_box.hud = HUD
|
||||
inv_box.name = "r_hand"
|
||||
@@ -261,16 +270,53 @@
|
||||
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"
|
||||
autowhisper_display.screen_loc = ui_under_health
|
||||
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"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "lang"
|
||||
aw.name = "check known languages"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "pose"
|
||||
aw.name = "set pose"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "up"
|
||||
aw.name = "move upwards"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "down"
|
||||
aw.name = "move downwards"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = HUD.ui_style
|
||||
aw.icon_state = "use"
|
||||
aw.name = "use held item on self"
|
||||
aw.screen_loc = ui_swaphand2
|
||||
using.color = HUD.ui_color
|
||||
using.alpha = HUD.ui_alpha
|
||||
adding |= using
|
||||
|
||||
//VOREStation Addition begin
|
||||
shadekin_display = new /obj/screen/shadekin()
|
||||
shadekin_display.screen_loc = ui_shadekin_display
|
||||
|
||||
@@ -94,16 +94,43 @@ var/obj/screen/robot_inventory
|
||||
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"
|
||||
autowhisper_display.screen_loc = ui_borg_under_health
|
||||
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"
|
||||
aw.screen_loc = ui_borg_under_health
|
||||
other |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "lang"
|
||||
aw.name = "check known languages"
|
||||
aw.screen_loc = ui_borg_under_health
|
||||
other |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "pose"
|
||||
aw.name = "set pose"
|
||||
aw.screen_loc = ui_borg_under_health
|
||||
other |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "up"
|
||||
aw.name = "move upwards"
|
||||
aw.screen_loc = ui_borg_under_health
|
||||
other |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "down"
|
||||
aw.name = "move downwards"
|
||||
aw.screen_loc = ui_borg_under_health
|
||||
other |= aw
|
||||
|
||||
//Installed Module
|
||||
hands = new /obj/screen()
|
||||
|
||||
@@ -462,6 +462,28 @@
|
||||
if(isliving(usr))
|
||||
var/mob/living/u = usr
|
||||
u.autowhisper_mode()
|
||||
if("check known languages")
|
||||
usr.check_languages()
|
||||
if("set pose")
|
||||
if(ishuman(usr))
|
||||
var/mob/living/carbon/human/u = usr
|
||||
u.pose()
|
||||
else if (issilicon(usr))
|
||||
var/mob/living/silicon/u = usr
|
||||
u.pose()
|
||||
if("move upwards")
|
||||
usr.up()
|
||||
if("move downwards")
|
||||
usr.down()
|
||||
|
||||
if("use held item on self")
|
||||
if(ishuman(usr))
|
||||
var/mob/living/carbon/human/u = usr
|
||||
var/obj/item/i = u.get_active_hand()
|
||||
if(i)
|
||||
i.attack(usr, usr)
|
||||
else
|
||||
to_chat(usr, "<span class='notice'>You're not holding anything to use.</span>")
|
||||
|
||||
if("module")
|
||||
if(isrobot(usr))
|
||||
|
||||
@@ -339,6 +339,33 @@
|
||||
aw.screen_loc = "EAST-1:28,CENTER-2:13"
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "lang"
|
||||
aw.name = "check known languages"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "pose"
|
||||
aw.name = "set pose"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "up"
|
||||
aw.name = "move upwards"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "down"
|
||||
aw.name = "move downwards"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
if(client)
|
||||
client.screen = list()
|
||||
|
||||
@@ -172,6 +172,26 @@
|
||||
aw.screen_loc = "EAST-1:28,CENTER-2:13"
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "lang"
|
||||
aw.name = "check known languages"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "up"
|
||||
aw.name = "move upwards"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
aw = new /obj/screen()
|
||||
aw.icon = 'icons/mob/screen/minimalist.dmi'
|
||||
aw.icon_state = "down"
|
||||
aw.name = "move downwards"
|
||||
aw.screen_loc = ui_under_health
|
||||
hud_elements |= aw
|
||||
|
||||
pain = new /obj/screen( null )
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |