department_order
Vars | |
department_cooldowns | Stores the time when we can next place an order for each department. |
---|---|
department_order | Reference to the order we've made UNTIL it gets sent on the supply shuttle. this is so heads can cancel it |
dept_to_radio | Maps what department gets what encryption key I could've put this on the job department datum but it felt unnecessary |
linked_department | The department we are linked to, typepath. |
radio | Our radio object we use to talk to our department. |
radio_channel | The radio channel we will speak into by default. |
use_access | Filled via set_linked_department. Serves as "who can place orders". |
Procs | |
can_see_pack | Checks if we can "see" the passed supply pack |
check_cooldown | Checks if the cooldown is up and resets it if so. |
finalize_department_order | signal when the supply shuttle begins to spawn orders. we forget the current order preventing it from being overridden (since it's already past the point of no return on undoing the order) |
find_department_to_link | Looks through all possible departments and finds one this ID card "corresponds" to. |
set_linked_department | Sets the passed department type as the active department for this computer file. |
Var Details
department_cooldowns
Stores the time when we can next place an order for each department.
department_order
Reference to the order we've made UNTIL it gets sent on the supply shuttle. this is so heads can cancel it
dept_to_radio
Maps what department gets what encryption key I could've put this on the job department datum but it felt unnecessary
linked_department
The department we are linked to, typepath.
radio
Our radio object we use to talk to our department.
radio_channel
The radio channel we will speak into by default.
use_access
Filled via set_linked_department. Serves as "who can place orders".
Proc Details
can_see_pack
Checks if we can "see" the passed supply pack
check_cooldown
Checks if the cooldown is up and resets it if so.
finalize_department_order
signal when the supply shuttle begins to spawn orders. we forget the current order preventing it from being overridden (since it's already past the point of no return on undoing the order)
find_department_to_link
Looks through all possible departments and finds one this ID card "corresponds" to.
set_linked_department
Sets the passed department type as the active department for this computer file.