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

Paperwork [WIP] #56

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions code/modules/paperwork/carbonpaper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,7 @@
else
to_chat(usr, span_warning("There are no more carbon copies attached to this paper!"))

/* Dripstation edit
/obj/item/paper/carbon/proc/clearcolor(text) // Breaks all font color spans in the HTML text.
return replacetext(replacetext(text, "<font face=\"[CRAYON_FONT]\" color=", "<font face=\"[CRAYON_FONT]\" nocolor="), "<font face=\"[PEN_FONT]\" color=", "<font face=\"[PEN_FONT]\" nocolor=") //This basically just breaks the existing color tag, which we need to do because the innermost tag takes priority.
*/
6 changes: 6 additions & 0 deletions code/modules/paperwork/faxmachine.dm
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
/*
GLOBAL_LIST_EMPTY(allfaxes)
GLOBAL_LIST_EMPTY(admin_departments)
GLOBAL_LIST_EMPTY(alldepartments)
GLOBAL_LIST_EMPTY(adminfaxes)
*/

/obj/machinery/photocopier/faxmachine
name = "fax machine"
icon = 'icons/obj/library.dmi'
icon_state = "fax"
desc = "Old rusty machine. Used to send faxes." //dripstation edit
stat = BROKEN
/* Dripstation edit
insert_anim = "faxsend"
req_one_access = list(ACCESS_LAWYER, ACCESS_HEADS, ACCESS_ARMORY, ACCESS_FORENSICS_LOCKERS, ACCESS_QM)
use_power = 1
Expand Down Expand Up @@ -228,3 +233,4 @@ GLOBAL_LIST_EMPTY(adminfaxes)
/obj/machinery/photocopier/faxmachine/examine(mob/user)
if(IsAdminGhost(user))
.+= span_notice("You can send admin faxes via Alt-Click to this specific fax machine.")
*/
2 changes: 2 additions & 0 deletions code/modules/paperwork/photocopier.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* Photocopier
*/

/* Dripstation remove, see module
/obj/machinery/photocopier
name = "photocopier"
desc = "Used to copy important documents and anatomy studies."
Expand Down Expand Up @@ -383,3 +384,4 @@
p.pixel_y = rand(-8, 8)
p.pixel_x = rand(-9, 9)
return p
*/
Loading
Loading