Refactors objective code to account for there being multiple owners (team objectives) (#19289)

* refactors objectives to account for multiple owners

* sean review

* fixes all steal objectives becoming free objectives

* another one

* fix escape objective order of operations

* charlie review
This commit is contained in:
SteelSlayer
2022-11-25 18:11:53 +00:00
committed by GitHub
parent f27fdd9dcd
commit cde6fd1520
5 changed files with 200 additions and 231 deletions
-6
View File
@@ -706,12 +706,6 @@
return
switch(new_obj_type)
if("download")
new_objective = new /datum/objective/download
new_objective.explanation_text = "Download [target_number] research levels."
if("capture")
new_objective = new /datum/objective/capture
new_objective.explanation_text = "Accumulate [target_number] capture points."
if("absorb")
new_objective = new /datum/objective/absorb
new_objective.explanation_text = "Absorb [target_number] compatible genomes."