-
Notifications
You must be signed in to change notification settings - Fork 69
Admin fax changes #279
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
base: master
Are you sure you want to change the base?
Admin fax changes #279
Changes from all commits
50c664f
9411eb9
1ab1874
02b2341
4de7248
75263f5
03ed68f
2c740ea
6dd45a3
995a265
8fe84f2
561948c
be90396
f6122c5
f8ef805
1c98691
fe1b2f1
930cb92
3e28f84
93a7ae7
7cc475d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use modular files instead of editing the TG ones for this. |
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Admins can already follow faxes via the fax menu. |
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The castor fax machines do not need their own special network. Surely there's a better way to do this? |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /obj/machinery/fax/Initialize(mapload) | ||
| special_networks += list( | ||
| castor_psych = list(fax_name = "Castor Psychologist's Office", fax_id = "castor_psych", color = "green", emag_needed = FALSE), | ||
| castor_intern = list(fax_name = "Castor Intern's Office", fax_id = "castor_intern", color = "green", emag_needed = FALSE), | ||
| castor_SC = list(fax_name = "Sectorial Commander's Office", fax_id = "castor_SC", color = "green", emag_needed = FALSE), | ||
| castor_SPA = list(fax_name = "Sectorial Personnel Administrator's Office", fax_id = "castor_SPA", color = "green", emag_needed = FALSE), | ||
| castor_SSA = list(fax_name = "Sectorial Security Administrator's Office", fax_id = "castor_SSA", color = "green", emag_needed = FALSE), | ||
| castor_SRA = list(fax_name = "Sectorial Research Administrator's Office", fax_id = "castor_SRA", color = "green", emag_needed = FALSE), | ||
| castor_SMA = list(fax_name = "Sectorial Medical Administrator's Office", fax_id = "castor_SMA", color = "green", emag_needed = FALSE), | ||
| castor_SLA = list(fax_name = "Sectorial Logistics Administrator's Office", fax_id = "castor_SLA", color = "green", emag_needed = FALSE), | ||
| castor_SEA = list(fax_name = "Sectorial Engineering Administrator's Office", fax_id = "castor_SEA", color = "green", emag_needed = FALSE), | ||
| castor_SIAA = list(fax_name = "Sectorial Internal Affairs Administrator's Office", fax_id = "castor_SIAA", color = "green", emag_needed = FALSE), | ||
| ) | ||
| return ..() | ||
|
|
||
| // Separate from the /admin type, to not collide with the conficting init. Requires a fax_id specified when mapping! | ||
|
Shroopy marked this conversation as resolved.
|
||
| /obj/machinery/fax/admin/castor | ||
| name = "Castor Fax Machine" | ||
|
|
||
| /obj/machinery/fax/admin/castor/Initialize(mapload) | ||
| . = ..() | ||
| if(!special_networks[fax_id]) | ||
| return | ||
| fax_name = special_networks[fax_id]["fax_name"] | ||
| name = "[fax_name]'s Fax Machine" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo this change.