jobs, access and radio to defines (#18297)

* jobs, access and radio to defines

* .

* .

* urg

* .

* .

* finish the radio freqs

* why

* .

* .

* ticker initial

* eh

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-08-31 01:32:36 +02:00
committed by GitHub
parent 1cb38c22ec
commit e956d13a6b
313 changed files with 193679 additions and 12007 deletions
@@ -3,4 +3,4 @@
filedesc = "Alarm Monitoring (Security)"
extended_desc = "This program provides visual interface for the security alarm system."
tguimodule_path = /datum/tgui_module/alarm_monitor/security/ntos
required_access = access_security
required_access = ACCESS_SECURITY
@@ -19,7 +19,7 @@ var/warrant_uid = 0
program_menu_icon = "star"
requires_ntnet = TRUE
available_on_ntnet = TRUE
required_access = access_security
required_access = ACCESS_SECURITY
usage_flags = PROGRAM_ALL
tgui_id = "NtosDigitalWarrant"
category = PROG_SEC
@@ -73,7 +73,7 @@ var/warrant_uid = 0
// which also use RFID scanning to allow or disallow access to some functions. Anyone can view warrants, editing requires ID. This also prevents situations where you show a tablet
// to someone who is to be arrested, which allows them to change the stuff there.
var/obj/item/card/id/I = ui.user.GetIdCard()
if(!istype(I) || !I.registered_name || !(access_security in I.GetAccess()))
if(!istype(I) || !I.registered_name || !(ACCESS_SECURITY in I.GetAccess()))
to_chat(ui.user, "Authentication error: Unable to locate ID with appropriate access to allow this operation.")
return
@@ -136,7 +136,7 @@ var/warrant_uid = 0
if("editwarrantauth")
. = TRUE
if(!(access_hos in I.GetAccess())) // VOREStation edit begin
if(!(ACCESS_HOS in I.GetAccess())) // VOREStation edit begin
to_chat(ui.user, span_warning("You don't have the access to do this!"))
return // VOREStation edit end
activewarrant.fields["auth"] = "[I.registered_name] - [I.assignment ? I.assignment : "(Unknown)"]"