Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARES Change Holder #4224

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
02b9ae8
Code quality
realforest2001 Jun 28, 2023
14276e8
Started work on reports
realforest2001 Jun 28, 2023
455ec58
ID and ARES size
realforest2001 Jul 1, 2023
271d2c5
12.8.3
realforest2001 Jul 2, 2023
263e889
Merge branch 'master' into project/apollo_controller
realforest2001 Jul 2, 2023
506254e
ARES punctuation & Fixes
realforest2001 Jul 2, 2023
0713611
ui icons
realforest2001 Jul 3, 2023
708a9df
Apollo Follow
realforest2001 Jul 4, 2023
1896c2d
admin attempt
realforest2001 Jul 4, 2023
8c2868f
x
realforest2001 Jul 4, 2023
2c2e567
red
realforest2001 Jul 4, 2023
ff25d01
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Jul 12, 2023
156625c
Functional Access Tickets
realforest2001 Aug 5, 2023
b23f4e2
Map Element
realforest2001 Aug 5, 2023
2cb42dc
easier to file access ticket for self
Ben10083 Aug 7, 2023
cef0633
changes to view status
Ben10083 Aug 7, 2023
7a91fde
Now can see recipient for access request in access request tab
Ben10083 Aug 7, 2023
038c520
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 13, 2023
a5d6274
Working Admin Console
realforest2001 Aug 13, 2023
a155d37
logging
realforest2001 Aug 13, 2023
a2adfbd
Fix
realforest2001 Aug 13, 2023
e6e9e36
fixes
realforest2001 Aug 14, 2023
27bf422
Merge pull request #11 from Ben10083/project/ares/access_tickets
realforest2001 Aug 14, 2023
e0d7378
accurate fix
realforest2001 Aug 14, 2023
c2e3595
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 18, 2023
87bd994
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 18, 2023
d992f96
attempted conflict resolution
realforest2001 Aug 18, 2023
cb4d971
attempted conflict resolution
realforest2001 Aug 18, 2023
da5106e
partial revert
realforest2001 Aug 18, 2023
6a77df6
Adds more APOLLO consoles
realforest2001 Aug 19, 2023
316c98d
Merge branch 'project/ares/access_tickets' into project/ares/tm_holder
realforest2001 Aug 21, 2023
1cc2b12
Merge branch 'project/ares/admin_console' into project/ares/tm_holder
realforest2001 Aug 21, 2023
59a9bbe
Merge branch 'project/ares/more_consoles' into project/ares/tm_holder
realforest2001 Aug 21, 2023
57e404c
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/t…
realforest2001 Aug 21, 2023
9eafb52
Merge AA and Sec logs. Also fixes Sec logs.
realforest2001 Aug 21, 2023
dee12ef
Flight records & user fix
realforest2001 Aug 21, 2023
c404aff
Updates the delete buttons
realforest2001 Aug 21, 2023
da3d3f4
flight records
realforest2001 Aug 21, 2023
d792166
undo delete tweak
realforest2001 Aug 21, 2023
d193222
re-orders buttons
realforest2001 Aug 21, 2023
2bcb065
sec fix
realforest2001 Aug 21, 2023
45c71c1
fixes
realforest2001 Aug 21, 2023
0d8c2c3
Merge branch 'project/ares/admin_console' into project/ares/tm_holder
realforest2001 Aug 21, 2023
097b3d6
Merge branch 'project/ares/logging_changes' into project/ares/tm_holder
realforest2001 Aug 21, 2023
bb8ba8c
Update code/game/machinery/ARES/ARES_records.dm
realforest2001 Aug 21, 2023
d630f96
admin flight log
realforest2001 Aug 22, 2023
baaa305
admin flight log
realforest2001 Aug 22, 2023
63195e8
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 22, 2023
4df1507
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 22, 2023
d264e65
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/l…
realforest2001 Aug 22, 2023
91807c5
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/m…
realforest2001 Aug 22, 2023
06e5019
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/t…
realforest2001 Aug 22, 2023
0305203
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 24, 2023
003cbe4
Surrender button and procedure cleanup
realforest2001 Aug 24, 2023
50e761f
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 24, 2023
9a5fa2a
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/l…
realforest2001 Aug 24, 2023
b5f7ba2
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/m…
realforest2001 Aug 24, 2023
6d6b93f
reception offset
realforest2001 Aug 24, 2023
67e0a63
Merge branch 'project/ares/access_tickets' into project/ares/tm_holder
realforest2001 Aug 24, 2023
442a99d
Merge branch 'project/ares/admin_console' into project/ares/tm_holder
realforest2001 Aug 24, 2023
1101f7d
Merge branch 'project/ares/logging_changes' into project/ares/tm_holder
realforest2001 Aug 24, 2023
c7db9b4
Merge branch 'project/ares/more_consoles' into project/ares/tm_holder
realforest2001 Aug 24, 2023
2ad7eea
Remote Access Updates
realforest2001 Aug 28, 2023
b14d11d
surrender tweak
realforest2001 Aug 28, 2023
a40f023
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 28, 2023
95169af
Merge branch 'project/ares/access_tickets' into project/ares/tm_holder
realforest2001 Aug 28, 2023
3e16335
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/l…
realforest2001 Aug 28, 2023
d5275c5
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Aug 28, 2023
c803742
forgot to remove behalf requests
realforest2001 Aug 28, 2023
eeb44eb
Merge branch 'project/ares/access_tickets' into project/ares/tm_holder
realforest2001 Aug 28, 2023
2b13e65
fixes missing level defines
realforest2001 Aug 28, 2023
71d86d6
Fixes 4289
realforest2001 Aug 30, 2023
91f2c69
Merge branch 'project/ares/access_tickets' into project/ares/tm_holder
realforest2001 Aug 30, 2023
473132c
removes mobs from ares logs (didn't I do this already?)
realforest2001 Aug 31, 2023
097333b
10% chance to read blackmarket item name
realforest2001 Aug 31, 2023
33682bd
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/l…
realforest2001 Aug 31, 2023
e6c2207
Merge branch 'project/ares/logging_changes' into project/ares/tm_holder
realforest2001 Aug 31, 2023
91ebfd9
proc var rename for easy read
realforest2001 Aug 31, 2023
0e41a1a
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Sep 4, 2023
f178c4f
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/a…
realforest2001 Sep 4, 2023
0205c4e
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/t…
realforest2001 Sep 4, 2023
653e643
Access Ticket Management
realforest2001 Sep 4, 2023
eb8f181
ticket log
realforest2001 Sep 4, 2023
2ba9163
span fix
realforest2001 Sep 4, 2023
ec59276
Merge branch 'project/ares/access_tickets' into project/ares/tm_holder
realforest2001 Sep 4, 2023
6513e74
Merge branch 'project/ares/admin_console' into project/ares/tm_holder
realforest2001 Sep 4, 2023
ea7d269
button size
realforest2001 Sep 4, 2023
9f23d87
button size
realforest2001 Sep 4, 2023
f35b700
fixes the claim button
realforest2001 Sep 4, 2023
e572062
Merge branch 'project/ares/admin_console' into project/ares/tm_holder
realforest2001 Sep 4, 2023
3594385
fixes the claim button
realforest2001 Sep 4, 2023
714e7e7
Merge branch 'project/ares/admin_console' into project/ares/tm_holder
realforest2001 Sep 4, 2023
0edf9a8
auto-revoke ticket fix
realforest2001 Sep 4, 2023
087ab2a
Merge branch 'project/ares/access_tickets' into project/ares/tm_holder
realforest2001 Sep 4, 2023
f87a482
Gas Update
realforest2001 Sep 7, 2023
e78b760
Gas Update
realforest2001 Sep 7, 2023
9e78d2c
blind fix
realforest2001 Sep 7, 2023
cb40a49
blind fix
realforest2001 Sep 7, 2023
13949f1
Core vent
realforest2001 Sep 7, 2023
1a51892
Merge branch 'project/ares/gas_update' into project/ares/tm_holder
realforest2001 Sep 7, 2023
da8fdc0
logging
realforest2001 Sep 9, 2023
1821da9
gas log
realforest2001 Sep 9, 2023
d67adb8
Merge remote-tracking branch 'cmss13-devs/master' into project/ares/t…
realforest2001 Sep 9, 2023
a2abda2
gas grenades
realforest2001 Sep 9, 2023
e1e38bd
Merge branch 'project/ares/gas_update' into project/ares/tm_holder
realforest2001 Sep 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 28 additions & 18 deletions code/__DEFINES/ARES.dm
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
#define ARES_ACCESS_LOGOUT 0
/// Generic access for 1:1 conversations with ARES and unrestricted commands.
#define ARES_ACCESS_BASIC 0
#define ARES_ACCESS_BASIC 1
/// Secure Access, can read ARES Announcements and Bioscans.
#define ARES_ACCESS_COMMAND 1
#define ARES_ACCESS_JOE 2
#define ARES_ACCESS_COMMAND 2
#define ARES_ACCESS_JOE 3
/// CL, can read Apollo Log and also Delete Announcements.
#define ARES_ACCESS_CORPORATE 3
#define ARES_ACCESS_CORPORATE 4
/// Senior Command, can Delete Bioscans.
#define ARES_ACCESS_SENIOR 4
#define ARES_ACCESS_SENIOR 5
/// Synth, CE & Commanding Officer, can read the access log.
#define ARES_ACCESS_CE 5
#define ARES_ACCESS_SYNTH 6
#define ARES_ACCESS_CO 7
#define ARES_ACCESS_CE 6
#define ARES_ACCESS_SYNTH 7
#define ARES_ACCESS_CO 8
/// High Command, can read the deletion log.
#define ARES_ACCESS_HIGH 8
#define ARES_ACCESS_WY_COMMAND 9
#define ARES_ACCESS_HIGH 9
#define ARES_ACCESS_WY_COMMAND 10
/// Debugging. Allows me to view everything without using a high command rank. Unlikely to stay in a full merge.
#define ARES_ACCESS_DEBUG 10
#define ARES_ACCESS_DEBUG 11

#define ARES_RECORD_ANNOUNCE "Announcement Record"
#define ARES_RECORD_ANTIAIR "AntiAir Control Log"
Expand All @@ -26,6 +27,7 @@
#define ARES_RECORD_SECURITY "Security Update"
#define ARES_RECORD_MAINTENANCE "Maintenance Ticket"
#define ARES_RECORD_ACCESS "Access Ticket"
#define ARES_RECORD_FLIGHT "Flight Record"

/// Not by ARES logged through marine_announcement()
#define ARES_LOG_NONE 0
Expand All @@ -34,13 +36,14 @@
/// Logged in the security updates
#define ARES_LOG_SECURITY 2

/// Access levels specifically for Working Joe management console
#define APOLLO_ACCESS_REQUEST 0
#define APOLLO_ACCESS_REPORTER 1
#define APOLLO_ACCESS_TEMP 2
#define APOLLO_ACCESS_AUTHED 3
#define APOLLO_ACCESS_JOE 4
#define APOLLO_ACCESS_DEBUG 5
// Access levels specifically for Working Joe management console
#define APOLLO_ACCESS_LOGOUT 0
#define APOLLO_ACCESS_REQUEST 1
#define APOLLO_ACCESS_REPORTER 2
#define APOLLO_ACCESS_TEMP 3
#define APOLLO_ACCESS_AUTHED 4
#define APOLLO_ACCESS_JOE 5
#define APOLLO_ACCESS_DEBUG 6

/// Ticket statuses, both for Access and Maintenance
/// Pending assignment/rejection
Expand All @@ -54,6 +57,13 @@
/// Completed by WJs
#define TICKET_COMPLETED "completed"

/// Granted Access Ticket
#define TICKET_GRANTED "granted"
/// Revoked Access Ticket
#define TICKET_REVOKED "revoked"
/// Self-Returned Access Ticket
#define TICKET_RETURNED "returned"

/// Checks for if buttons can be used, these may yet be removed and internalised to the UI programming
#define TICKET_OPEN "OPEN"
#define TICKET_CLOSED "CLOSED"
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/atmospherics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ var/MAX_EXPLOSION_RANGE = 14
/// Used in /obj/structure/pipes/vents/proc/create_gas
#define VENT_GAS_SMOKE "Smoke"
#define VENT_GAS_CN20 "CN20 Nerve Gas"
#define VENT_GAS_CN20_XENO "CN20-X Nerve Gas"
3 changes: 3 additions & 0 deletions code/__DEFINES/vv.dm
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,6 @@
#define VV_HK_TOGGLEPOWER "togglepower"

#define VV_HK_ADD_ITEMS_TO_VENDOR "add_items_to_vendor"

// /obj/structure/pipes/vents
#define VV_HK_GAS "release_gas"
18 changes: 7 additions & 11 deletions code/game/machinery/ARES/ARES.dm
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@
var/current_menu = "login"
var/last_menu = ""

var/authentication = ARES_ACCESS_BASIC
var/authentication = ARES_ACCESS_LOGOUT

/// The last person to login.
var/last_login
var/last_login = "No User"
/// The person pretending to be last_login
var/sudo_holder
/// A record of who logged in and when.
Expand All @@ -149,8 +149,10 @@
var/list/records_talking = list()
/// Holds all (/datum/ares_record/requisition_log)s
var/list/records_asrs = list()
/// Holds all (/datum/ares_record/security)s and (/datum/ares_record/antiair)s
/// Holds all (/datum/ares_record/security)s (including AA)
var/list/records_security = list()
/// Holds all (/datum/ares_record/flight)s
var/list/records_flight = list()
/// Is nuke request usable or not?
var/nuke_available = TRUE

Expand Down Expand Up @@ -199,19 +201,13 @@
var/current_menu = "login"
var/last_menu = ""

var/authentication = ARES_ACCESS_BASIC
var/authentication = APOLLO_ACCESS_LOGOUT
/// The last person to login.
var/last_login
var/last_login = "No User"
/// A record of who logged in and when.
var/list/login_list = list()


/// If this is used to create AI Core access tickets
var/ticket_console = FALSE
var/obj/item/card/id/authenticator_id
var/ticket_authenticated = FALSE
var/obj/item/card/id/target_id

/obj/structure/machinery/computer/working_joe/proc/link_systems(datum/ares_link/new_link = GLOB.ares_link, override)
if(link && !override)
return FALSE
Expand Down
Loading