Lathe taxes now checks departmental flags (#66896)

Lathes and designs now use departmental flags rather than some random misc define that wasn't used anywhere else (which this PR is deleting), this allows us to cross-reference it with job bitflags to check whether or not a job should pay lathe taxes. Nothing else is effected by this change. Important changes are in code/modules/research/machinery/_production.dm if you want to get straight to the point.
This commit is contained in:
John Willard
2022-05-12 09:22:46 -07:00
committed by GitHub
parent 3639378585
commit 9ae3ef56a9
27 changed files with 519 additions and 527 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
/datum/design/unique_modkit
category = list("Mining Designs", "Cyborg Upgrade Modules") //can't be normally obtained
build_type = PROTOLATHE | AWAY_LATHE | MECHFAB
departmental_flags = DEPARTMENTAL_FLAG_CARGO
departmental_flags = DEPARTMENT_BITFLAG_CARGO
/datum/design/unique_modkit/offensive_turf_aoe
name = "Kinetic Accelerator Offensive Mining Explosion Mod"