Refactors objectives, expands team functionality, and custom teams (#22374)

* step 1

* renaming 1

* how could I forget this

* renaming 2

* renaming 3

* add matching proc, even if unused can remove later

* rename team obj to match

* oops

* okay more stuff

* okay more stuff

* fix this stuff

* okay more stuff

* needs_target = FALSE

* OKAY MORE STUFF

* OOPS AGAIN.

* self-review

* more round_end stuff

* stuff 119

* yeah fix that too

* EVEN MORE CHANGES

* grammar

* fix

* s34n review

* fixes custom teams with no antags not showing objs

* makes objectives work properly with teams

* a
This commit is contained in:
Contrabang
2023-10-01 14:14:10 +01:00
committed by GitHub
parent 4ce0b08f9c
commit 7e0aa47311
42 changed files with 630 additions and 477 deletions
@@ -21,8 +21,7 @@ GLOBAL_LIST_EMPTY(empty_playable_ai_cores)
SSjobs.FreeRole(job)
if(mind.objectives.len)
mind.objectives.Cut()
if(mind.objective_holder.clear())
mind.special_role = null
else
if(SSticker.mode.name == "AutoTraitor")