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
corentt
4159638300
Disable gamemode vote if only one available ( #11915 )
...
* disable vote on condition
* move to new method
* still allow vote if current mode is different from available
2022-10-14 23:10:10 -05:00
Moony
efdc3bc7e0
Gimps the restart vote. ( #9327 )
...
* Disables the restart vote when admins are online.
* Gimps the restart vote so it requires 85% agreement.
* address rebiew
2022-07-01 02:52:20 -05:00
Pieter-Jan Briers
5142df1d87
Vote commands completions. ( #8758 )
2022-06-12 16:52:23 -07:00
Pancake
ab860c04b6
Update VoteCommands.cs ( #8729 )
2022-06-12 12:57:47 +10:00
Putnam3145
29bc6bf552
Allow game presets to have min/max players ( #8327 )
...
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com >
2022-05-21 20:55:19 -07:00
metalgearsloth
bb09d0ddc4
Restart vote is now actually passable ( #8194 )
2022-05-16 13:33:14 +10:00
wrexbe
bc68ac96dd
Cleanup the namespaces ( #8132 )
2022-05-13 17:59:03 +10:00
Pieter-Jan Briers
b3e7c7af1f
Remove usage of CreateNetMessage. ( #7563 )
2022-04-15 11:55:49 -07:00
Radosvik
353a7aa210
Refresh Lobby Info Box ( #7521 )
2022-04-15 11:55:38 -07:00
Pancake
35eb6f8576
Add CVars for vote timers. ( #6519 )
...
* Update VoteManager.DefaultVotes.cs
Quick fix to lower map vote time to 90sec.
* Change to CVars
2022-02-06 23:26:19 -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
20kdc
a2b7982c37
Add variables to prevent voting of various kinds ( #5361 )
...
* Add a way to disable voting for maximum authoritarianism
* Allow disabling specific vote types via cvars
* Migrate standard-vote-to-cvar dictionary to being static
2021-11-23 10:03:04 -07:00
Acruid
6e54e740c7
Removed Old PlayerSession Functions ( #5404 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2021-11-23 18:11:48 +11:00
Moony
eb6d24abd0
Makes map vote and roundstart smart about player count. ( #5418 )
...
* Makes map vote and roundstart smart about player count.
No more Saltern with 30 players, or Knight Ship with 50.
* a typo
* Address reviews.
* Localized.
2021-11-20 11:32:07 -07:00
mirrorcult
03f766577a
Map vote & forcemap command ( #5278 )
2021-11-11 23:25:57 -07:00
moonheart08
9f0c3daa65
Restart round vote now correctly shows round end screen. ( #4817 )
2021-10-09 20:18:20 +02:00
metalgearsloth
c298a8dc8e
Move remqueue to engine ( #4700 )
2021-09-27 14:38:53 +10:00
Pieter-Jan Briers
992b03a5c2
Restart vote does not vote no for AFK players.
2021-07-22 23:20:57 +02:00
Pieter-Jan Briers
e9af56c7c3
Vote type delay, code comments.
...
Added doc comments to server side voting API.
There is now a 4 minute delay between creating votes of the same type.
Shuffled some code around.
Made a StandardVoteType enum instead of string IDs.
2021-07-21 19:03:10 +02:00
Pieter-Jan Briers
3a6ad88b39
Restart votes now default to no.
2021-07-21 15:24:43 +02:00
Pieter-Jan Briers
4259bc6806
Remove IoC resolve in vote manager
2021-07-21 15:15:12 +02:00
Visne
b7dc3c81ae
Remove redundant #nullable enable ( #4275 )
2021-07-16 17:37:09 -07:00
mirrorcult
2ea5aec101
Remove NetMessage deprecated boilerplate ( #4196 )
2021-06-21 07:43:54 +02:00
Galactic Chimp
392b820796
Removed old Loc.GetString() use instances ( #4155 )
...
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2021-06-21 02:13:54 +02:00
Vera Aguilera Puerto
d3a611164b
Turns GameTicker into an EntitySystem. ( #4197 )
...
* GameTicker turned into an EntitySystem
* Turns ClientGameTicker into an EntitySystem, turn NetMessages into events
* Change event names to be more consistent with the rest.
* YAML linter uses the dummy gameticker CVar override.
* Fix game ticker initialization order
* Dummy ticker won't spawn players.
* Fix character creation test
2021-06-20 10:09:24 +02:00
DrSmugleaf
f878f353e4
Move some files out of Content.Shared root because I forgot ( #4182 )
2021-06-13 22:52:40 +10:00
DrSmugleaf
ff1a2d97ea
Re-organize all projects ( #4166 )
2021-06-09 22:19:39 +02:00
Pieter-Jan Briers
245f276f35
Restart vote improvements, voting localization.
...
Restart votes now need 80% majority to succeed.
Restart votes now have a 3 minute cooldown on the caller.
Voting stuff has been localized.
2021-02-28 22:11:53 +01:00
Pieter-Jan Briers
cea87d6985
Voting ( #3185 )
...
* Basic voting
* Rewrite lobby in XAML.
Working lobby voting.
* Escape menu is now XAML.
* Vote menu works, custom votes, gamemode votes.
* Vote timeouts & administration.
Basically done now.
* I will now pretend I was never planning to code voting hotkeys.
* Make vote call UI a bit... funny.
* Fix exception on round restart.
* Fix some vote command definitions.
2021-02-17 01:07:17 +11:00