mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-08-29 07:36:16 +01:00
Buttons to change Z level as a ghost
This commit is contained in:
@@ -154,8 +154,10 @@
|
||||
|
||||
//Ghosts
|
||||
|
||||
#define ui_ghost_jumptomob "SOUTH:6,CENTER-2:24"
|
||||
#define ui_ghost_orbit "SOUTH:6,CENTER-1:24"
|
||||
#define ui_ghost_reenter_corpse "SOUTH:6,CENTER:24"
|
||||
#define ui_ghost_teleport "SOUTH:6,CENTER+1:24"
|
||||
#define ui_ghost_pai "SOUTH: 6, CENTER+2:24"
|
||||
#define ui_ghost_jumptomob "SOUTH:6,CENTER-3:24"
|
||||
#define ui_ghost_orbit "SOUTH:6,CENTER-2:24"
|
||||
#define ui_ghost_reenter_corpse "SOUTH:6,CENTER-1:24"
|
||||
#define ui_ghost_teleport "SOUTH:6,CENTER:24"
|
||||
#define ui_ghost_pai "SOUTH: 6, CENTER+1:24"
|
||||
#define ui_ghost_up "SOUTH: 6, CENTER+2:24"
|
||||
#define ui_ghost_down "SOUTH: 6, CENTER+3:24"
|
||||
|
||||
@@ -4,6 +4,21 @@
|
||||
/obj/screen/ghost/MouseEntered()
|
||||
flick(icon_state + "_anim", src)
|
||||
|
||||
|
||||
/obj/screen/ghost/moveup
|
||||
name = "Ascend"
|
||||
icon_state = "up"
|
||||
|
||||
/obj/screen/ghost/moveup/Click()
|
||||
usr.zMove(UP, TRUE)
|
||||
|
||||
/obj/screen/ghost/movedown
|
||||
name = "Descend"
|
||||
icon_state = "down"
|
||||
|
||||
/obj/screen/ghost/movedown/Click()
|
||||
usr.zMove(DOWN, TRUE)
|
||||
|
||||
/obj/screen/ghost/jumptomob
|
||||
name = "Jump to mob"
|
||||
icon_state = "jumptomob"
|
||||
@@ -73,6 +88,16 @@
|
||||
using.hud = src
|
||||
static_inventory += using
|
||||
|
||||
using = new /obj/screen/ghost/moveup
|
||||
using.screen_loc = ui_ghost_up
|
||||
using.hud = src
|
||||
static_inventory += using
|
||||
|
||||
using = new /obj/screen/ghost/movedown
|
||||
using.screen_loc = ui_ghost_down
|
||||
using.hud = src
|
||||
static_inventory += using
|
||||
|
||||
using = new /obj/screen/language_menu
|
||||
using.icon = ui_style
|
||||
using.hud = src
|
||||
|
||||
Reference in New Issue
Block a user