Commit Graph

12 Commits

Author SHA1 Message Date
Rainfey
b9d2f5a409 Refactor antag rule code (#23445)
* Initial Pass, Rev, Thief

* Zombie initial pass

* Rebase, Traitor

* Nukeops, More overloads

* Revert RevolutionaryRuleComponent

* Use TryRoundStartAttempt, Rewrite nukie spawning

* Comments, Add task scheduler to GameRuleSystem

* Zombie initial testing done

* Sort methods, rework GameRuleTask

* Add CCVar, Initial testing continues

* Might as well get rid of the obsolete logging

* Oops, i dont know how to log apparently

* Suggested formatting fixes

* Suggested changes

* Fix merge issues

* Minor optimisation

* Allowed thief to choose other antags

* Review changes

* Spawn items on floor first, then inserting

* minor tweaks

* Shift as much as possible to ProtoId<>

* Remove unneeded

* Add exclusive antag attribute

* Fix merge issues

* Minor formatting fix

* Convert to struct

* Cleanup

* Review cleanup (need to test a lot)

* Some fixes, (mostly) tested

* oop

* Pass tests (for real)

---------

Co-authored-by: Rainfall <rainfey0+git@gmail.com>
Co-authored-by: AJCM <AJCM@tutanota.com>

(cherry picked from commit 4e6c59cfe51211064d79a727cc2d37c2a2f55a2c)
2024-03-07 01:06:59 +01:00
LordCarve
ad35a2fda3 Obsolete refactor - ConnectedClient to Channel (#24409)
(cherry picked from commit 05a2e6b3a21e5fb3198432d885bbe28506d85b9c)
2024-01-27 23:44:02 +01:00
deltanedas
0c4fd5785d better deconversion (#23315)
* add deconverted window

* show deconverted window when deconverting + remove the role

* webedit ops

* antagonist -> revolutionary

* evil

* oh

* eui ops

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
(cherry picked from commit a558b112a1c4d71ffcd1b1b266d31ff45bd76460)
2024-01-26 22:37:15 +01:00
Mr. 27
6c8b2cbf32 head revolutionaries are now blue (#23432)
* inital2

* raemove break

(cherry picked from commit 0e18d54cf731f99b5341bbc78aed14252bd399e9)
2024-01-26 21:27:49 +01:00
deltanedas
10d32ea76b rev roundend shows converted count (#21854)
* add ConvertedCount field to role

* make objectives roundend title logic reusable

* change rev system + use GetTitle

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-12-02 20:21:19 +01:00
metalgearsloth
b1ee2d48ff Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-12-02 20:16:36 +01:00
Vasilis
d25d41e6f0 Getting turned to a rev makes the rev antag sound (#21316) 2023-11-12 20:29:30 +01:00
coolmankid12345
42b7c87a8b Yeah (#21112)
Co-authored-by: coolmankid12345 <coolmankid12345@users.noreply.github.com>
2023-10-20 15:31:14 +02:00
Vasilis
a81c933f75 Fixed players without headrevs ticked being picked anyway (#20895)
* Fixy fix fix uwu merge pwease

* admin message to inform them

* oop
2023-10-20 15:30:22 +02:00
deltanedas
5a99f7c8e9 give revs briefing (#20749)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-10-08 19:58:48 +02:00
DrSmugleaf
0b0f01d01a Fix printing $username at round end for head revs when it doesn't have a session (#20742) 2023-10-08 19:58:48 +02:00
coolmankid12345
5237ff67d5 Revolutionaries (#18477)
Co-authored-by: coolmankid12345 <coolmankid12345@users.noreply.github.com>
Co-authored-by: EmoGarbage404 <retron404@gmail.com>
2023-10-08 19:58:33 +02:00