| /hook/startup | Startup hook.
Called in world.dm when the server starts. |
|---|
| /hook/roundstart | Roundstart hook.
Called in gameticker.dm when a round starts. |
|---|
| /hook/roundend | Roundend hook.
Called in gameticker.dm when a round ends. |
|---|
| /hook/death | Death hook.
Called in death.dm when someone dies.
Parameters: var/mob/living/carbon/human, var/gibbed |
|---|
| /hook/clone | Cloning hook.
Called in cloning.dm when someone is brought back by the wonders of modern science.
Parameters: var/mob/living/carbon/human |
|---|
| /hook/debrain | Debrained hook.
Called in brain_item.dm when someone gets debrained.
Parameters: var/obj/item/organ/internal/vital/brain |
|---|
| /hook/borgify | Borged hook.
Called in robot_parts.dm when someone gets turned into a cyborg.
Parameters: var/mob/living/silicon/robot |
|---|
| /hook/revoke_payroll | Payroll revoked hook.
Called in Accounts_DB.dm when someone's payroll is stolen at the Accounts terminal.
Parameters: var/datum/money_account |
|---|
| /hook/change_account_status | Account suspension hook.
Called in Accounts_DB.dm when someone's account is suspended or unsuspended at the Accounts terminal.
Parameters: var/datum/money_account |
|---|
| /hook/reassign_employee | Employee reassignment hook.
Called in card.dm when someone's card is reassigned at the HoP's desk.
Parameters: var/obj/item/card/id |
|---|
| /hook/terminate_employee | Employee terminated hook.
Called in card.dm when someone's card is terminated at the HoP's desk.
Parameters: var/obj/item/card/id |
|---|
| /hook/sell_crate | Crate sold hook.
Called in supplyshuttle.dm when a crate is sold on the shuttle.
Parameters: var/obj/structure/closet/crate/sold, var/area/shuttle |
|---|