PDA notifications for fax arrival

Adds a proc which notifies all PDAs with a predefined list of cartridges
upon fax arrival.

Current cartridges affected:
* P.R.O.V.E. Cartridge
* Easy-Record DELUXE
* HumanResources9001
* R.O.B.U.S.T. DELUXE
* Power-On DELUXE
* Med-U DELUXE
* Signal Ace DELUXE
* Value-PAK Cartridge
This commit is contained in:
skull132
2015-05-29 23:57:01 +03:00
parent 2153e3e312
commit 9272ee7c83
2 changed files with 46 additions and 0 deletions
+3
View File
@@ -1527,6 +1527,9 @@
var/customname = input(src.owner, "Pick a title for the report", "Title") as text|null
//so that we alert people with certain cartidges with a PDA message.
alertFaxes()
for(var/obj/machinery/faxmachine/F in machines)
if(! (F.stat & (BROKEN|NOPOWER) ) )