Delta-v/Content.Server
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
..
AI StationSystem/jobs/partial spawning refactor (#7580) 2022-05-10 13:43:30 -05:00
AME Elimate most IInteractUsing (#7481) 2022-04-15 14:20:20 -07:00
Abilities/Mime Mime Powers (Vow + Invisible Wall) (#7653) 2022-04-28 20:41:03 -07:00
Access Wires refactor (#7699) 2022-05-06 12:35:06 +10:00
Act Patched Actions Rework (#6899) 2022-02-25 23:24:08 -06:00
Actions You can no longer disarm wielded weapons (#7983) 2022-05-08 00:54:13 -07:00
Administration StationSystem/jobs/partial spawning refactor (#7580) 2022-05-10 13:43:30 -05:00
Advertise ChatManager murder (#7337) 2022-03-31 16:21:58 +11:00
Advertisements Serv3 rework content changes (#7145) 2022-04-03 02:01:22 +02:00
Afk Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
AirlockPainter Airlock visuals (#7261) 2022-04-16 15:31:12 +10:00
Alert Mime Powers (Vow + Invisible Wall) (#7653) 2022-04-28 20:41:03 -07:00
Animals Adjust some frametiming stuff (#6496) 2022-03-01 01:11:25 +11:00
Announcements Round start audio announcement (#8047) 2022-05-09 17:44:38 -07:00
Arcade Wires refactor (#7699) 2022-05-06 12:35:06 +10:00
Armor Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Atmos Adds last pressure direction to atmos debug overlay. (#8083) 2022-05-10 17:03:00 +02:00
Audio Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
BarSign More localize (#7869) 2022-05-03 18:32:06 +10:00
Bed Beds, Medical Beds, Stasis Beds (#6695) 2022-04-15 15:53:52 -07:00
Bible Familiars respawn (#7640) 2022-04-23 19:27:19 -07:00
Body Zombies!!! (#7509) 2022-04-18 17:30:22 -05:00
Botany Fix plant holder messages (#7834) 2022-04-28 16:24:59 +02:00
Bql Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Buckle Remove IDestroyAct, IBreakAct (#7876) 2022-05-02 15:43:25 -07:00
CPUJob/JobQueues Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Cabinet Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Cargo Remove GalacticMarket component (#7914) 2022-05-03 19:51:25 -07:00
CharacterAppearance Random humanoid appearance (#7895) 2022-05-02 13:50:56 -07:00
CharacterInfo Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Chat SpeechBubble occlusion (#8018) 2022-05-08 01:54:56 -07:00
Chemistry Allow do_afters to be spammed (#8074) 2022-05-10 19:48:59 +10:00
Cleanable Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Climbing Rework climbing (#7706) 2022-05-10 01:08:52 -07:00
Cloning Convert almost all IActivate instances that open UIs to ActivatableUI (#7028) 2022-03-12 11:26:06 -07:00
Clothing Fix magboots atmos wind protection (#7663) 2022-04-23 13:47:30 +10:00
CombatMode You can no longer disarm wielded weapons (#7983) 2022-05-08 00:54:13 -07:00
Commands Remove many resolves on Content.Server 2021-12-08 17:04:21 +01:00
Communications hands ECS (#7081) 2022-03-17 18:13:31 +11:00
Configurable Move Anchorable to shared. (#7361) 2022-04-02 14:52:44 +11:00
Connection Revert "Revert "Log ban hits in DB. ( (#6361) 2022-02-02 22:57:11 +01:00
Construction Wires refactor (#7699) 2022-05-06 12:35:06 +10:00
Containers Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Conveyor Machine Linking Overhaul (#7160) 2022-04-04 16:13:03 +10:00
Cooldown Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Coordinates/Helpers Nuke gridtilelookup (#6030) 2022-01-09 23:47:01 +11:00
Crayon make crayoncode use the colortype (#7975) 2022-05-09 15:16:43 +10:00
Cuffs Allow self-cuffing and appropriate text changes (#7829) 2022-04-28 15:04:41 -07:00
Damage Move Anchorable to shared. (#7361) 2022-04-02 14:52:44 +11:00
Database Another quick fix for markings (#7966) 2022-05-06 15:25:59 +10:00
Decals Fix decals (for realsies) (#7887) 2022-05-03 15:04:58 +10:00
Destructible Remove IDestroyAct, IBreakAct (#7876) 2022-05-02 15:43:25 -07:00
DeviceNetwork Rejig Device networks (#7380) 2022-04-08 22:27:10 +10:00
Dice Remove IUse (#7074) 2022-03-12 23:33:23 +11:00
Disease Familiars respawn (#7640) 2022-04-23 19:27:19 -07:00
Disposal Dumpable component to use a doafter to empty storage into a disposal unit, placeable surface, or the ground (#7792) 2022-05-03 20:00:22 -07:00
DoAfter Adds a damage threshold property for DoAfters (#7712) 2022-04-23 17:41:48 -07:00
Doors Universal weldable component (#7955) 2022-05-09 15:51:52 +10:00
Drone Drone blocker ignores dead ghost roles (#7782) 2022-05-03 19:41:15 -07:00
EUI Remove usage of CreateNetMessage. (#7563) 2022-04-15 11:55:49 -07:00
Electrocution Electrocution noises (#8061) 2022-05-10 11:40:15 +10:00
Emag Emag nerf (#7689) 2022-04-23 17:37:49 -07:00
Engineering hands ECS (#7081) 2022-03-17 18:13:31 +11:00
EntityList Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Entry Parallax refactors (#7654) 2022-05-04 09:55:21 -07:00
Examine Examine fixes (#6831) 2022-02-20 20:42:16 -07:00
Explosion Make sure explosions reset on round restart (#7801) 2022-04-27 00:37:31 +10:00
Extinguisher Remove IDropped (#7075) 2022-03-13 19:47:28 +11:00
Flash Add flash immunity to welding masks (#7561) 2022-04-15 15:51:56 -07:00
Fluids Slip Nerfs (#7733) 2022-05-06 14:36:03 +10:00
Foldable Replace VerbTypes with verb classes (#6525) 2022-02-10 13:30:59 +11:00
Friction Changes required for VirtualController EntitySystems (#6161) 2022-01-16 18:48:11 +11:00
GameTicking StationSystem/jobs/partial spawning refactor (#7580) 2022-05-10 13:43:30 -05:00
Ghost Add roles to Ghost Warp Menu (#7546) 2022-04-15 14:41:27 -07:00
Gravity Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Guardian Re-add action prototypes (#7508) 2022-04-14 06:17:34 +02:00
GuideGenerator Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Hands Remove double pickup log (#7972) 2022-05-06 18:52:34 +10:00
Headset Remove usage of CreateNetMessage. (#7563) 2022-04-15 11:55:49 -07:00
HealthExaminable Blood stuff in health examine (#6788) 2022-02-19 00:03:15 -06:00
Holiday More localize (#7869) 2022-05-03 18:32:06 +10:00
IP DB QOL stuff, but not breaking the migrations now (#5086) 2021-10-31 15:18:01 +01:00
Info Remove usage of CreateNetMessage. (#7563) 2022-04-15 11:55:49 -07:00
Instruments Fix instruments for engine changes, fixes program change bug. (#7365) 2022-04-08 16:22:05 +02:00
Interaction Storage Component ECS (#7530) 2022-04-28 22:11:15 +10:00
Inventory Storage Component ECS (#7530) 2022-04-28 22:11:15 +10:00
IoC Admin notes (#7259) 2022-04-16 20:57:50 +02:00
Items Add multi-layer in-hand and clothing support (#6740) 2022-03-02 10:29:42 +11:00
Jittering Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Jobs hands ECS (#7081) 2022-03-17 18:13:31 +11:00
Kitchen Remove IDestroyAct, IBreakAct (#7876) 2022-05-02 15:43:25 -07:00
Kudzu Serv3 rework content changes (#7145) 2022-04-03 02:01:22 +02:00
Labels/Label Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Lathe Fix lathe queue bug (#7883) 2022-05-03 19:43:25 -07:00
Light Remove IDestroyAct, IBreakAct (#7876) 2022-05-02 15:43:25 -07:00
Lock Changed the sound that plays when you lock a locker (#7223) 2022-03-22 19:34:09 -07:00
MachineLinking Add use-delay to signal transmitters (#7703) 2022-04-23 16:45:37 -07:00
Maps StationSystem/jobs/partial spawning refactor (#7580) 2022-05-10 13:43:30 -05:00
Materials Salvage mining, ore processing, and material clean-up (#7406) 2022-04-28 20:41:04 +10:00
Medical Allow do_afters to be spammed (#8074) 2022-05-10 19:48:59 +10:00
Mind Extra checks in MindSystem entity deletion ghost spawning. 2022-03-07 12:56:19 +01:00
Mining Salvage mining, ore processing, and material clean-up (#7406) 2022-04-28 20:41:04 +10:00
MoMMI Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
MobState/States Fix health state to be 1, 19, 20, 20, 20, 20 thresholds (#7921) 2022-05-04 09:11:18 +10:00
Module Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Morgue Literally Murder IExamine (#7352) 2022-04-08 14:17:25 -07:00
Movement Predicted footstep sounds (#7107) 2022-03-14 02:42:39 +11:00
NameIdentifier Unique name identifiers (#6697) 2022-02-15 13:41:08 +11:00
NodeContainer Content changes for grid splitting (#7645) (#7746) 2022-04-24 13:54:25 +10:00
Nuke Make nuke remainingtime VVable (#7913) 2022-05-03 14:53:09 +02:00
Nutrition Allow do_afters to be spammed (#8074) 2022-05-10 19:48:59 +10:00
Objectives Serv3 rework content changes (#7145) 2022-04-03 02:01:22 +02:00
PAI Cache CanMove (#7480) 2022-04-10 14:48:11 +10:00
PDA Optimize ringer (#7423) 2022-04-05 15:06:31 +10:00
Paper Minor paper ECS and stamps (#7394) 2022-04-08 16:37:22 -07:00
ParticleAccelerator Wires refactor (#7699) 2022-05-06 12:35:06 +10:00
Payload/EntitySystems Add Modular grenades (chemnades). (#7138) 2022-03-25 15:17:29 +11:00
Physics/Controllers Vehicles (#7336) 2022-04-23 18:05:02 -07:00
Pinpointer Optimise pinpointer activation significantly (#7169) 2022-03-19 19:27:26 +01:00
Plants Fix some build warnings (#6832) 2022-02-21 14:41:50 +11:00
Players Ghost roles create new minds, better tracking of roles at round end screen (#5175) 2021-11-15 11:14:34 -07:00
PneumaticCannon Fix pneumatic cannon (#7902) 2022-05-02 19:53:03 -07:00
Pointing Fix pointing in mapping mode (#7624) 2022-04-18 19:51:24 +10:00
Popups Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Power Wires refactor (#7699) 2022-05-06 12:35:06 +10:00
PowerCell Explosion refactor (#5230) 2022-03-31 21:39:26 -05:00
Preferences/Managers Remove usage of CreateNetMessage. (#7563) 2022-04-15 11:55:49 -07:00
Projectiles Serv3 rework content changes (#7145) 2022-04-03 02:01:22 +02:00
Pulling Revert "ctrl-rclick tweaks" (#7171) 2022-03-18 15:40:02 +11:00
RCD RCD logs (#7208) 2022-03-23 13:02:49 +11:00
Radar Fix the mass scanner ui (#7012) 2022-03-07 18:04:26 +11:00
Radiation Remove IRadiationAct (#7757) 2022-04-28 22:36:25 +10:00
Radio Literally Murder IExamine (#7352) 2022-04-08 14:17:25 -07:00
RandomAppearance Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
RandomMetadata Random metadata component (#7894) 2022-05-02 13:51:03 -07:00
Recycling Make recyclers great again (#6653) 2022-02-21 14:39:24 +11:00
Remotes Remove IUse (#7074) 2022-03-12 23:33:23 +11:00
Repairable Makes repairable component able to heal a set amount of damage (#6852) 2022-02-23 17:00:39 -07:00
Research All computers play the keyboard sound + small research client cleanup (#7312) 2022-04-08 14:17:05 -07:00
Resist Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Roles Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Rotatable Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
RoundEnd Quickfix: Give color to some announcements (#7488) 2022-04-10 13:54:07 -07:00
Salvage Fix a really lame bug with salvage and multiple magnets. (#7710) 2022-04-22 20:28:22 -05:00
Sandbox hands ECS (#7081) 2022-03-17 18:13:31 +11:00
Security Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Shuttles Add a garbage collection component for grid movement (#7776) 2022-04-26 18:25:57 +10:00
Singularity Improve singularity shader (#7647) 2022-04-28 22:43:16 +10:00
Slippery removed TryGetSound + made some SoundSpecifier datafields required 2021-07-31 19:52:33 +02:00
Solar Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Sound All computers play the keyboard sound + small research client cleanup (#7312) 2022-04-08 14:17:05 -07:00
Spawners StationSystem/jobs/partial spawning refactor (#7580) 2022-05-10 13:43:30 -05:00
Speech Speech Noises 2: Quality of Life, New Sounds (#8044) 2022-05-09 14:55:23 +10:00
Sprite Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Stack Improve stack merging and crafting (#7105) 2022-03-27 21:03:14 -07:00
Standing Vehicles (#7336) 2022-04-23 18:05:02 -07:00
Station StationSystem/jobs/partial spawning refactor (#7580) 2022-05-10 13:43:30 -05:00
StationEvents StationSystem/jobs/partial spawning refactor (#7580) 2022-05-10 13:43:30 -05:00
Sticky Fixed C4 unstick verb checks (#7870) 2022-05-02 15:50:11 -07:00
Storage Universal weldable component (#7955) 2022-05-09 15:51:52 +10:00
Strip Increase the time it takes to strip something off of someone (#7866) 2022-05-02 15:47:18 -07:00
Stunnable Stun baton nerf (#7452) 2022-04-08 14:07:30 -07:00
SubFloor Move Anchorable to shared. (#7361) 2022-04-02 14:52:44 +11:00
Suspicion Suspicion rework (#7723) 2022-04-27 00:57:24 +10:00
Tabletop Fix tabletop error (#7830) 2022-04-28 17:57:51 +10:00
Temperature Serv3 rework content changes (#7145) 2022-04-03 02:01:22 +02:00
Throwing Throw out throw helpers (#7195) 2022-03-24 00:33:01 +11:00
Tiles Tile variants content (#6956) 2022-03-09 20:59:44 +01:00
Toilet Move Anchorable to shared. (#7361) 2022-04-02 14:52:44 +11:00
Tools Allow do_afters to be spammed (#8074) 2022-05-10 19:48:59 +10:00
Traitor Syndicate surplus crates (#7992) 2022-05-08 00:52:00 -07:00
TraitorDeathMatch/Components Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
UserInterface Re-add action prototypes (#7508) 2022-04-14 06:17:34 +02:00
Utility/Commands Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Vehicle Vehicle camera lurching fix + drawdepth fix (#7783) 2022-05-04 20:21:39 +02:00
VendingMachines Vending machine changes (#8060) 2022-05-10 12:22:58 +10:00
Verbs hands ECS (#7081) 2022-03-17 18:13:31 +11:00
Visible Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Voting Remove usage of CreateNetMessage. (#7563) 2022-04-15 11:55:49 -07:00
Warps Removed extra comp name attributes (#6449) 2022-02-08 19:42:49 +11:00
Weapon Zombie Bugfix (#7641) 2022-04-19 18:54:10 -07:00
Whitelist Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Wieldable You can no longer disarm wielded weapons (#7983) 2022-05-08 00:54:13 -07:00
Wires Wires patches (#7993) 2022-05-09 14:51:06 +10:00
Xenoarchaeology/XenoArtifacts Artifact container (#7822) 2022-04-28 15:03:39 -07:00
AssemblyInfo.cs Fix exception in ReagentPrototype caused by IMetabolizable (#451) 2019-11-23 21:55:31 +01:00
Content.Server.csproj Update nuget dependencies (#6975) 2022-03-13 23:03:55 -07:00
Content.Server.csproj.DotSettings Electrocution. (#4958) 2021-10-25 16:21:56 +02:00
GlobalUsings.cs Global usings (#6472) 2022-02-05 11:39:36 -07:00
Program.cs Content.{Client,Server} are now Exes that can be ran. 2020-01-22 20:17:32 +01:00