Skip to content

Commit

Permalink
TGS Test Merge (#7511)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Jan 8, 2025
2 parents e60426b + babe07f commit 9015c92
Show file tree
Hide file tree
Showing 15 changed files with 848 additions and 63 deletions.
2 changes: 2 additions & 0 deletions code/__DEFINES/ARES.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@

/// Time until someone can respawn as Working Joe
#define JOE_JOIN_DEAD_TIME (15 MINUTES)

GLOBAL_LIST_EMPTY_TYPED(gas_vents, /obj/structure/pipes/vents/pump/no_boom/gas)
1 change: 1 addition & 0 deletions code/__DEFINES/objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ GLOBAL_LIST_INIT(RESTRICTED_CAMERA_NETWORKS, list( //Those networks can only be
CAMERA_NET_COLONY,
CAMERA_NET_OVERWATCH,
CAMERA_NET_ARES,
CAMERA_NET_CONTAINMENT_HIDDEN,
))

#define STASIS_IN_BAG 1
Expand Down
16 changes: 16 additions & 0 deletions code/__DEFINES/wycomputer.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/// WY Corporate Director
#define WY_COMP_ACCESS_DIRECTOR 7
/// WY Corporate Leadership (Chief Exec and Div Manager)
#define WY_COMP_ACCESS_SENIOR_LEAD 6
/// WY Corporate Supervisors (Asst. Manager and Exec. Supervisor)
#define WY_COMP_ACCESS_SUPERVISOR 5
/// WY Senior Employees (Exec. Specialists and Senior Execs.)
#define WY_COMP_ACCESS_CORPORATE_SENIOR 4
/// WY Corporate Liaison
#define WY_COMP_ACCESS_LIAISON 3
/// WY Corporate Employees
#define WY_COMP_ACCESS_CORPORATE 2
/// Unauthenticated Personnel
#define WY_COMP_ACCESS_FORBIDDEN 1
/// Logged out...
#define WY_COMP_ACCESS_LOGGED_OUT 0
2 changes: 1 addition & 1 deletion code/game/machinery/ARES/ARES_interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@

if("trigger_vent")
playsound = FALSE
var/obj/structure/pipes/vents/pump/no_boom/gas/sec_vent = locate(params["vent"])
var/obj/structure/pipes/vents/pump/no_boom/gas/ares/sec_vent = locate(params["vent"])
if(!istype(sec_vent) || sec_vent.welded)
to_chat(user, SPAN_WARNING("ERROR: Gas release failure."))
playsound(src, 'sound/machines/buzz-two.ogg', 15, 1)
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/ARES/ARES_interface_admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
return TRUE

if("trigger_vent")
var/obj/structure/pipes/vents/pump/no_boom/gas/sec_vent = locate(params["vent"])
var/obj/structure/pipes/vents/pump/no_boom/gas/ares/sec_vent = locate(params["vent"])
if(!istype(sec_vent) || sec_vent.welded)
to_chat(user, SPAN_WARNING("ERROR: Gas release failure."))
playsound(src, 'sound/machines/buzz-two.ogg', 15, 1)
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/ARES/ARES_interface_apollo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@

if("trigger_vent")
playsound = FALSE
var/obj/structure/pipes/vents/pump/no_boom/gas/sec_vent = locate(params["vent"])
var/obj/structure/pipes/vents/pump/no_boom/gas/ares/sec_vent = locate(params["vent"])
if(!istype(sec_vent) || sec_vent.welded)
to_chat(user, SPAN_WARNING("ERROR: Gas release failure."))
playsound(src, 'sound/machines/buzz-two.ogg', 15, 1)
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/ARES/ARES_interface_data.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
data["records_discussions"] = logged_convos

var/list/security_vents = list()
for(var/obj/structure/pipes/vents/pump/no_boom/gas/vent in link.linked_vents)
for(var/obj/structure/pipes/vents/pump/no_boom/gas/ares/vent in link.linked_vents)
if(!vent.vent_tag)
vent.vent_tag = "Security Vent #[link.tag_num]"
link.tag_num++
Expand Down
1 change: 0 additions & 1 deletion code/game/machinery/ARES/ARES_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ GLOBAL_LIST_INIT(maintenance_categories, list(
alert.delink()
..()


/* BELOW ARE IN AdminAres.dm
/datum/ares_link/tgui_interact(mob/user, datum/tgui/ui)
/datum/ares_link/ui_data(mob/user)
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/ARES/apollo_pda.dm
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@

if("trigger_vent")
playsound = FALSE
var/obj/structure/pipes/vents/pump/no_boom/gas/sec_vent = locate(params["vent"])
var/obj/structure/pipes/vents/pump/no_boom/gas/ares/sec_vent = locate(params["vent"])
if(!istype(sec_vent) || sec_vent.welded)
to_chat(user, SPAN_WARNING("ERROR: Gas release failure."))
playsound(src, 'sound/machines/buzz-two.ogg', 15, 1)
Expand Down
Loading

0 comments on commit 9015c92

Please sign in to comment.