Commit Graph

61 Commits

Author SHA1 Message Date
Leon Friedrich
e685cb626b Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
metalgearsloth
a2bbda43cc Revert "Update submodule to 172.0.0 (#21222)" (#21225) 2023-10-24 21:55:20 +11:00
Leon Friedrich
7ba0ea2926 IPlayerManager refactor (#21215) 2023-10-24 20:19:08 +11:00
metalgearsloth
5a0fc68be2 Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
DrSmugleaf
3f3ba6ac62 Move minds, roles, jobs and objectives to shared (#19679) 2023-08-30 21:46:11 -07:00
Leon Friedrich
1dde5f39ab Fix ghost respawn bug (#17511) 2023-06-21 11:04:07 +10:00
Leon Friedrich
9fc4fc6ac2 Fix some Mind ECS bugs (#17480) 2023-06-20 14:29:26 +10:00
Nemanja
ccf81a6be9 Add autocomplete to setgamepreset command (#15399)
* Add autocomplete to setgamepreset

* better ordering
2023-04-13 18:06:06 -07:00
Mervill
40b556d206 Refactor GameMapManager a bit (nukes mapforced) (#11513)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Closes https://github.com/space-wizards/space-station-14/issues/7192
Closes https://github.com/space-wizards/space-station-14/issues/6537
Closes https://github.com/space-wizards/space-station-14/issues/9579
2022-11-08 13:18:21 +11:00
Kara
42d146effa Mapping autosaves (#10966) 2022-09-03 06:39:28 -07:00
wrexbe
c4d135e253 Refactor lobby status (#10550) 2022-08-14 12:54:49 -07:00
Duddino
fd4ca91d6f Fix a bug where toggleready returns an exception when provided with the wrong number of arguments (#9631) 2022-07-12 12:14:24 +10:00
Morber
7a14c6f331 Localize jobs (#8968)
* Localize job supervisors

* Rename supervisors file

* Localize job names

* Remove localization for fallback job name

* Use LocalizedName for Job

* Fix job names case
2022-06-28 22:55:05 +10:00
Leon Friedrich
1e5da87262 Add loc strings and completions to mapping command (#8726) 2022-06-09 12:38:31 +10:00
Pieter-Jan Briers
a557dd26ec Add completions for ForceMap and ForcePreset 2022-05-25 00:26:57 +02:00
metalgearsloth
090c3b948e Setgamepreset tweaks (#8260) 2022-05-19 08:25:45 +10:00
Leon Friedrich
9255cc97a9 Revert "Revert "Make mapping use consistent Entity Uids (#7625)" (#7650)" (#8186)
This reverts commit 0957606792.
2022-05-15 13:29:01 +10:00
wrexbe
bc68ac96dd Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
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
20kdc
5299cbbb6e Stop mapping command from unsetting it's own settings if used repeatedly (#7875) 2022-05-03 20:19:15 -07:00
Leon Friedrich
0957606792 Revert "Make mapping use consistent Entity Uids (#7625)" (#7650)
This reverts commit b99b14b143.
2022-04-20 02:36:26 +10:00
Leon Friedrich
b99b14b143 Make mapping use consistent Entity Uids (#7625) 2022-04-18 15:46:32 -07:00
Radosvik
353a7aa210 Refresh Lobby Info Box (#7521) 2022-04-15 11:55:38 -07:00
Leon Friedrich
36fcca8337 Mapping Actions (#6877) 2022-03-02 10:12:34 +11:00
metalgearsloth
85736bfd6b Adjust mapping command order (#6929) 2022-03-01 21:11:22 +11:00
moonheart08
e320ae80ee oops. 2022-02-28 10:46:47 -06:00
moonheart08
a3bc28476d Quick fix join bug. 2022-02-28 10:38:36 -06:00
metalgearsloth
eaee0a8a4c Don't mapinit when mapping creates a blank map (#6928) 2022-02-28 16:38:33 +11:00
Leon Friedrich
9a54ea67c4 update mapping command (#6925) 2022-02-28 12:21:15 +11:00
metalgearsloth
b87806f7ed Fix some build warnings (#6832)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-02-21 14:41:50 +11:00
mirrorcult
ec4d4688c7 Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
metalgearsloth
db8c6e4bc8 Replace loadbp usages with loadmap (#6085) 2022-01-11 17:51:52 +11:00
wrexbe
76c6ee08e7 Refactored RoundEndSystem (2) (#6115)
* No RestartRound if round id changed

* Refactored RoundEndSystem

* Fix round end + add test
2022-01-10 13:24:41 -06:00
Moony
083f2d8acd Revert "Refactored RoundEndSystem (#5990)" (#6112)
This reverts commit 03c56bf23e.
2022-01-10 10:06:19 -06:00
wrexbe
03c56bf23e Refactored RoundEndSystem (#5990)
* No RestartRound if round id changed

* Refactored RoundEndSystem
2022-01-09 22:07:40 -06:00
Vera Aguilera Puerto
f4d8ec1b35 Refactor Game Modes (#5857) 2021-12-21 21:23:29 +01:00
Paul Ritter
75721c214c Revert "Refactor Game Modes" oh god oh fuck go back it was too good to be true (#5855) 2021-12-21 19:25:52 +01:00
Vera Aguilera Puerto
8831d08229 Refactor Game Modes (#5819) 2021-12-21 18:56:47 +01:00
metalgearsloth
f110e28021 Fix openahelp and quit command perms (#5763)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2021-12-12 22:45:49 -07:00
DrSmugleaf
ab9d0cc6d8 Fix errors 2021-12-05 21:02:04 +01:00
DrSmugleaf
2a3b7d809d Fix 3000 errors 2021-12-05 18:09:01 +01:00
Vera Aguilera Puerto
5cd42c9ad6 Inline UID 2021-12-03 15:53:09 +01:00
Vera Aguilera Puerto
70bbd8c502 Inline Prototype 2021-12-03 11:18:05 +01:00
wrexbe
c4c139041c Mapping: Check if map already exists (#5666) 2021-12-03 15:25:50 +11:00
Moony
cc1741f0a9 Shuffle around command perms for trial admin (#5606) 2021-11-29 21:40:10 +01:00
Moony
78b5cca638 Observing outside the lobby is no longer a thing you can do. (#5587) 2021-11-28 02:28:32 +01:00
20kdc
f5c3b1935b Disable station events while mapping (#5581) 2021-11-28 03:22:20 +11:00
Moony
7792c0b5f1 Station management commands (#5553) 2021-11-26 23:43:43 -07:00
Moony
85ea135ad4 Oh god (#5534)
* Fixes the funny station issue and prevents free respawns

* not in the sudoers file
2021-11-26 11:03:29 +01:00
Moony
ec68226e99 Refactor how jobs are handed out (#5422)
* Completely refactor how job spawning works

* Remove remains of old system.

* Squash the final bug, cleanup.

* Attempt to fix tests

* Adjusts packed's round-start crew roster, re-enables a bunch of old roles.
Also adds the Central Command Official as a proper role.

* pretty up ui

* refactor StationSystem into the correct folder & namespace.

* remove a log, make sure the lobby gets updated if a new map is spontaneously added.

* re-add accidentally removed log

* We do a little logging

* we do a little resolving

* we do a little documenting

* Renamed OverflowJob to FallbackOverflowJob
Allows stations to configure their own roundstart overflow job list.

* narrator: it did not compile

* oops

* support having no overflow jobs

* filescope for consistency

* small fixes

* Bumps a few role counts for Packed, namely engis

* log moment

* E

* Update Resources/Prototypes/Entities/Objects/Misc/identification_cards.yml

Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>

* Update Content.Server/Maps/GameMapPrototype.cs

Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>

* factored job logic, cleanup.

* e

* Address reviews

* Remove the concept of a "default" grid.
It has no future in our new multi-station world

* why was clickable using that in the first place

* fix bad evil bug that almost slipped through
also adds chemist

* rms obsolete things from chemist

* Adds a sanity fallback

* address reviews

* adds ability to set name

* fuck

* cleanup joingame
2021-11-26 20:02:46 +11:00