Commit Graph

70 Commits

Author SHA1 Message Date
nikthechampiongr
9a63144636 Allow for respawn and erase verb to be used on offline players. Also minor rewrite on respawn command and new erase command (#30433)
* Localize respawn command, allow for it to use userids, and make it use [Dependency] attributes

* Make respawn verb available for offline players

* Make erase available for offline players

A thousand admins rejoice

* Reorder verbs in code

* Add erase command

* Fix localisation for erase command

* Address reviews and add completion to respawn command

* Complete reviews which I forgor
2024-08-31 21:38:03 +10:00
Brandon Hu
31c5d3555e fix(Commands): Improve Localization of commands. Standardize some behaviors. (#30362)
* I should be studying for school but that is sofucking boring, I will pass my class no matter, however getting an A might be a challenge. My gpa is important but is the tourture for 1 point of GPA worth it? The american government says yes but they are responsible for the majority of all genocides that have ever been conducted since the dawn of man

* ugh

* ugh
2024-08-11 19:46:57 +10:00
metalgearsloth
0b2fa941a7 Revert "setgamepreset command rework" (#30807)
Revert "setgamepreset command rework (#30756)"

This reverts commit de86fdb373.
2024-08-09 17:39:45 +10:00
Errant
de86fdb373 setgamepreset command rework (#30756)
* gameticker.gamepreset namespace

* setgamepreset now has a finite duration

* comments, cleanup
2024-08-09 17:04:19 +10:00
Tayrtahn
1a67ab8c95 Forcemap can be cleared with empty string again (#29472) 2024-06-26 16:41:31 +10:00
Tayrtahn
8aea47a7ee Fix forcemap not bypassing requirements (#29426)
* Fix forcemap not bypassing requirements

* Add integration test for forcemap
2024-06-24 18:29:44 -04:00
ArkiveDev
d9506ce3a6 Force map confirmation (#29391)
* Add map check to forcemap command

* remove debug line

* remove accidental newline
2024-06-24 13:56:21 +03:00
Repo
eb3f27526b Fix late join & observe to de-admin admins. (#28319) 2024-05-28 14:00:42 -04:00
Kara
993eef1e7c Resolve 'EntitySystem.Get<T>()' is obsolete in content (#27936)
* PROJECT 0 WARNINGS: Resolve `'EntitySystem.Get<T>()' is obsolete` in content

* pass entman

* dog ass test

* webeditor
2024-05-12 20:34:52 -04:00
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