/* * *For housing procs and things related to the viewing of Station Directives. *Later iterations may get bound through other DMs * */ /* *Proc for fetching and displaying the Station Directives */ /client/proc/directiveslookup(var/screen = 1, var/queryid="") var/dat = "
Station Directives
NanoTrasen
NSS Aurora

" dat += "
OOC Information:
These directives mock the Standard Operating Procedure which would otherwise be in place aboard the station. They are not enforced out of character wise, however, you may find your character penalized in-game for not following them.

" establish_db_connection() if(!dbcon.IsConnected()) dat += text("
ERROR: Unable to contact external database.
") error("SQL database connection failed. Attempted to fetch form information.") switch(screen) if(1) var/DBQuery/query = dbcon.NewQuery("SELECT id, name FROM ss13_directives") query.Execute() dat += "
" dat += "" while(query.NextRow()) var/id = text2num(query.item[1]) var/name = query.item[2] var/bgcolor = "#e3e3e3" if(id%2 == 0) bgcolor = "white" dat += "" dat += "
Regarding Station Directives
Directive #[id][name]Review
" if(2) if(!queryid) return //this should never happen var/DBQuery/searchquery = dbcon.NewQuery("SELECT id, name, data FROM ss13_directives WHERE id=[queryid]") searchquery.Execute() while(searchquery.NextRow()) var/id = searchquery.item[1] var/name = searchquery.item[2] var/data = searchquery.item[3] dat += "
Directive #[id]
'[name]'

" dat += "
[data]
" dat += "
Return to Index
" if(3) dat += "
Regarding Station Directives

" dat += "
The Station Directives are a set of specific orders and directives issued and enforced aboard a specific NanoTrasen Corporation installation. This terminal provides access to orders and directives enforced aboard the NSS Aurora. Note that these are only enforced upon NanoTrasen Employees, and not civilians or visitors, unless ruled otherwise by sector specific Central Command.

" dat += "Overwriting power of general NanoTrasen Corporate Regulation is given to the Station Directives. Should a conflict emerge, the Station Directives active aboard the specific installation are to be adhered to, over Corporate Regulation.

" dat += "Punishment for a violation of Station Directives should be escalated in the following fashion:
" dat += "Dependant on the violation and actual crimes concerned, punishment may be escalated faster, with intent to ensure in the safety of station, equipment and crew.
" dat += "During non-standard operation, and highly abnormal circumstances, Station Directives may be overlooked, for the sake of a less costly solution to the given emergency. Note that should a follow-on review find this solution to have been more detrimental, and the breach of Directives and Regulation be unwarranted, then such an act will be punished.
" dat += "
Return to Index
" usr << browse("[dat]", "window=station_directives;size=400x400")