mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
Shredder Movement & Law Controller (#1700)
Paper shredders can now be detached from the floor with a wrench and moved about. Refactored the law process to not be a process - it didn't tick anyways.
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
/var/global/datum/controller/process/law/corp_regs
|
||||
|
||||
/datum/controller/process/law
|
||||
var/list/laws = list() // All laws
|
||||
|
||||
var/list/low_severity = list()
|
||||
var/list/med_severity = list()
|
||||
var/list/high_severity = list()
|
||||
|
||||
disabled = 1
|
||||
|
||||
/datum/controller/process/law/New()
|
||||
corp_regs = src
|
||||
|
||||
..()
|
||||
|
||||
/datum/controller/process/law/setup()
|
||||
name = "Law"
|
||||
schedule_interval = 100
|
||||
|
||||
for( var/L in subtypesof( /datum/law/low_severity ))
|
||||
low_severity += new L
|
||||
|
||||
for( var/L in subtypesof( /datum/law/med_severity ))
|
||||
med_severity += new L
|
||||
|
||||
for( var/L in subtypesof( /datum/law/high_severity ))
|
||||
high_severity += new L
|
||||
|
||||
laws = low_severity + med_severity + high_severity
|
||||
Reference in New Issue
Block a user