mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 23:01:35 +00:00
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
/obj/machinery/computer/shuttle/ert
|
|
name = "specops shuttle console"
|
|
req_access = list(ACCESS_CENT_GENERAL)
|
|
shuttleId = "specops"
|
|
possible_destinations = "specops_home;specops_away;specops_custom"
|
|
resistance_flags = INDESTRUCTIBLE
|
|
flags = NODECONSTRUCT
|
|
|
|
/obj/machinery/computer/shuttle/ert/Topic(href, href_list)
|
|
if(href_list["move"])
|
|
var/authorized_roles = list(SPECIAL_ROLE_ERT, SPECIAL_ROLE_DEATHSQUAD)
|
|
if(!((usr.mind?.assigned_role in authorized_roles) || is_admin(usr)))
|
|
message_admins("Potential ERT shuttle hijack, ERT shuttle moved by unauthorized user: [key_name_admin(usr)]")
|
|
..()
|
|
|
|
|
|
/obj/machinery/computer/camera_advanced/shuttle_docker/ert
|
|
name = "specops navigation computer"
|
|
desc = "Used to designate a precise transit location for the specops shuttle."
|
|
icon_screen = "navigation"
|
|
icon_keyboard = "med_key"
|
|
shuttleId = "specops"
|
|
shuttlePortId = "specops_custom"
|
|
view_range = 13
|
|
x_offset = 0
|
|
y_offset = 0
|
|
resistance_flags = INDESTRUCTIBLE
|
|
flags = NODECONSTRUCT
|
|
access_tcomms = FALSE
|
|
access_construction = FALSE
|
|
access_mining = FALSE
|