mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
- Added the machine loading floor tiles, changed loading sprites (which get deleted upon round start)
- Added a messaging server which will log all PDA and RC messages. Eventually I will make PDAs and RCs use this server, but since there are two major mapping things being done, I taught I'd get the map parts in early - Messaging server currently logs all PDA and RC traffic (Only admins can see it tho via the View Variables verb) - Included the missing file from a previous revision git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1252 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1190,18 +1190,22 @@ proc/move_mining_shuttle()
|
||||
/**********************Input and output plates**************************/
|
||||
|
||||
/obj/machinery/mineral/input
|
||||
icon = 'craft.dmi'
|
||||
icon_state = "core"
|
||||
icon = 'screen1.dmi'
|
||||
icon_state = "x2"
|
||||
name = "Input area"
|
||||
density = 0
|
||||
anchored = 1.0
|
||||
New()
|
||||
icon_state = "blank"
|
||||
|
||||
/obj/machinery/mineral/output
|
||||
icon = 'craft.dmi'
|
||||
icon_state = "core"
|
||||
icon = 'screen1.dmi'
|
||||
icon_state = "x"
|
||||
name = "Output area"
|
||||
density = 0
|
||||
anchored = 1.0
|
||||
New()
|
||||
icon_state = "blank"
|
||||
|
||||
|
||||
/**********************Mineral purifier (not used, replaced with mineral processing unit)**************************/
|
||||
|
||||
@@ -189,6 +189,7 @@ var/list/obj/machinery/requests_console/allConsoles = list()
|
||||
screen = 0
|
||||
priority = -1
|
||||
if(href_list["department"] && src.message)
|
||||
var/log_msg = src.message
|
||||
var/message = src.message;
|
||||
message += "<br>"
|
||||
if (src.msgVerified)
|
||||
@@ -199,6 +200,8 @@ var/list/obj/machinery/requests_console/allConsoles = list()
|
||||
message += "<br>"
|
||||
src.screen = 7 //if it's successful, this will get overrwritten (7 = unsufccessfull, 6 = successfull)
|
||||
if (message)
|
||||
for (var/obj/machinery/message_server/MS in world)
|
||||
MS.send_rc_message(href_list["department"],src.department,log_msg,msgStamped,msgVerified,priority)
|
||||
for (var/obj/machinery/requests_console/CONSOLE in allConsoles)
|
||||
if (ckey(CONSOLE.department) == ckey(href_list["department"]))
|
||||
if(src.priority == "2") //High priority
|
||||
|
||||
@@ -444,6 +444,9 @@
|
||||
|
||||
last_text = world.time
|
||||
|
||||
for (var/obj/machinery/message_server/MS in world)
|
||||
MS.send_pda_message("[P.owner]","[src.owner]","[t]")
|
||||
|
||||
src.tnote += "<i><b>→ To [P.owner]:</b></i><br>[t]<br>"
|
||||
P.tnote += "<i><b>← From <a href='byond://?src=\ref[P];editnote=\ref[src]'>[src.owner]</a>:</b></i><br>[t]<br>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user