TG: - When an admin uses 'adminwho', they will now also get information on whether

the connected admins are observing (they're a ghost), playing (they're a living
mob) or if they have not even entered the game (they're a new_player mob type)
- In addition when an admin uses 'adminwho' they will see if the admin in the
list is AFK or not. You are deemed as AFK if you have been inactive for 300
seconds = 5 minutes.
- A little code standardization for port gens.
Revision: r3730
Author: 	 baloh.matevz
This commit is contained in:
Erthilo
2012-06-07 01:21:26 +01:00
parent ddfdeb339e
commit be0b86bed9
2 changed files with 16 additions and 9 deletions
+7 -8
View File
@@ -1,4 +1,4 @@
//This file was auto-corrected by findeclaration.exe on 29/05/2012 15:03:05
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
/* new portable generator - work in progress
@@ -57,15 +57,14 @@ display round(lastgen) and plasmatank amount
var/recent_fault = 0
var/power_output = 1
proc
HasFuel() //Placeholder for fuel check.
return 1
proc/HasFuel() //Placeholder for fuel check.
return 1
UseFuel() //Placeholder for fuel use.
return
proc/UseFuel() //Placeholder for fuel use.
return
handleInactive()
return
proc/handleInactive()
return
process()
if(active && HasFuel() && !crit_fail && anchored)