Files
crystall-punk-14/Content.Client
Moony 36181334b5 StationSystem/jobs/partial spawning refactor (#7580)
* Partial work on StationSystem refactor.

* WIP station jobs API.

* forgor to fire off grid events.

* Partial implementation of StationSpawningSystem

* whoops infinite loop.

* Spawners should work now.

* it compiles.

* tfw

* Vestigial code cleanup.

* fix station deletion.

* attempt to make tests go brr

* add latejoin spawnpoints to test maps.

* make sure the station still exists while destructing spawners.

* forgot an exists check.

* destruction order check.

* hopefully fix final test.

* fail-safe radstorm.

* Deep-clean job code further. This is bugged!!!!!

* Fix job bug. (init order moment)

* whooo cleanup

* New job selection algorithm that tries to distribute fairly across stations.

* small nitpicks

* Give the heads their weights to replace the head field.

* make overflow assign take a station list.

* moment

* Fixes and test #1 of many.

* please fix nullspace

* AssignJobs should no longer even consider showing up on a trace.

* add comment.

* Introduce station configs, praying i didn't miss something.

* in one small change stations are now fully serializable.

* Further doc comments.

* whoops.

* Solve bug where assignjobs didn't account for roundstart.

* Fix spawning, improve the API.
Caught an oversight in stationsystem that should've broke everything but didn't, whoops.

* Goodbye JobController.

* minor fix..

* fix test fail, remove debug logs.

* quick serialization fixes.

* fixes..

* sus

* partialing

* Update Content.Server/Station/Systems/StationJobsSystem.Roundstart.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* Use dirtying to avoid rebuilding the list 2,100 times.

* add a bajillion more lines of docs (mostly in AssignJobs so i don't ever forget how it works)

* Update Content.IntegrationTests/Tests/Station/StationJobsTest.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* Add the Mysteriously Missing Captain Check.

* Put maprender back the way it belongs.

* I love addressing reviews.

* Update Content.Server/Station/Systems/StationJobsSystem.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* doc cleanup.

* Fix bureaucratic error, add job slot tests.

* zero cost abstractions when

* cri

* saner error.

* Fix spawning failing certain tests due to gameticker not handling falliability correctly.
Can't fix this until I refactor the rest of spawning code.

* submodule gaming

* Packedenger.

* Documentation consistency.

Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-05-10 13:43:30 -05:00
..
2022-04-15 14:15:25 -07:00
2022-04-16 15:31:12 +10:00
2022-02-02 14:35:40 +11:00
2022-03-13 21:11:03 +11:00
2022-04-23 18:05:02 -07:00
2022-05-05 10:07:42 +02:00
2022-05-08 01:54:56 -07:00
2022-01-21 10:38:35 +01:00
2022-04-10 14:48:11 +10:00
2022-04-28 20:23:43 +10:00
2022-03-13 20:02:55 -05:00
2021-10-25 16:21:56 +02:00
2022-02-20 20:42:16 -07:00
2022-03-17 11:42:25 -07:00
2022-02-26 16:59:20 +11:00
2022-03-17 18:13:31 +11:00
2022-03-13 20:02:55 -05:00
2022-03-17 18:13:31 +11:00
2022-03-17 18:13:31 +11:00
2022-04-09 11:52:45 +10:00
2022-05-09 14:39:13 -07:00
2022-03-13 19:33:19 -07:00
2022-04-14 06:17:34 +02:00
2022-02-02 14:35:40 +11:00
2021-12-20 12:42:42 +01:00
2021-12-29 15:57:20 +11:00
2022-05-10 01:08:52 -07:00
2022-04-21 14:26:59 +02:00
2022-02-19 17:42:11 -07:00
2022-05-04 09:55:21 -07:00
2022-05-04 10:59:40 -07:00
2022-03-07 18:04:26 +11:00
2022-03-23 12:47:48 +11:00
2021-12-05 18:09:01 +01:00
2022-01-06 23:45:02 +11:00
2022-04-14 15:00:50 -07:00
2022-04-28 17:57:51 +10:00
2022-05-06 12:35:06 +10:00
2022-02-05 11:39:36 -07:00