Add a api command to get information about the current access datums (#4280)

Adds a new command to the API that provides information about the currently configured access levels.
This commit is contained in:
Werner
2018-02-24 15:50:02 +02:00
committed by Erki
parent e52bae09d7
commit 4a22ee2fd4
3 changed files with 53 additions and 2 deletions
+2
View File
@@ -318,6 +318,8 @@ var/datum/controller/subsystem/cargo/SScargo
/*
Getting items, categories, suppliers and shipments
*/
/datum/controller/subsystem/cargo/proc/get_order_count()
return all_orders.len
//Increments the orderid and returns it
/datum/controller/subsystem/cargo/proc/get_next_order_id()
. = ordernum