mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 14:51:27 +00:00
* CI now bans files with the same name * Part 1 * Warriorstar python tweaks * Part Deux * Fix unticked * fix
29 lines
1.0 KiB
Plaintext
29 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/can_call_shuttle(mob/user, action)
|
|
if(action == "move")
|
|
var/authorized_roles = list(SPECIAL_ROLE_ERT, SPECIAL_ROLE_DEATHSQUAD)
|
|
if(!((user.mind?.assigned_role in authorized_roles) || is_admin(user)))
|
|
message_admins("Potential ERT shuttle hijack, ERT shuttle moved by unauthorized user: [key_name_admin(user)]")
|
|
return TRUE
|
|
|
|
/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_mining = FALSE
|