Commit Graph

15 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
Pieter-Jan Briers
ccea85136b Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
(cherry picked from commit 68ce53ae17985876d6d112b764b2144964a9f42e)
2024-02-18 23:02:29 +01:00
metalgearsloth
2cd742f750 Split cargo shuttle to its own component (#23926)
* Split cargo shuttle to its own component

If mappers want 1 morbillion of them this is easier to manage.

* balls

(cherry picked from commit 55a60b0fcad227e82511cf0d8a8a2cdf5ec9846a)
2024-01-26 22:27:13 +01:00
metalgearsloth
ef62280bf8 Only hide ruins labels (#23925)
(cherry picked from commit 801f141c6a3eb73bd87349b2aa32e4118cf04e53)
2024-01-26 22:27:09 +01:00
metalgearsloth
73a7c2affc Fix ruins being added to station grid (#23865)
(cherry picked from commit a46f6f3f85b60b7b8e8a9e6aae327c9c1a0dd2bf)
2024-01-26 22:25:34 +01:00
metalgearsloth
2cb342bb80 Hide ruins spawns (#23857)
* Hide ruins spawns

* Update count

* Add naming

(cherry picked from commit b30afb357c51142fc5cc51b23a6a54fb8ef1c0d1)
2024-01-26 22:23:23 +01:00
Emisse
d245390612 ruins (#23767)
* ruins

* code-side

* round-robin instead

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 59e989a8104b355ed2963f3c1dd7d9f3a0925dd5)
2024-01-26 22:21:42 +01:00
Leon Friedrich
b87fcdb622 Remove uses of TransformComponent.ChildEntities (#22442)
* Make output of ChildEnumerator non-nullable

* Remove uses of ChildEntities

* poke tests

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-12-16 20:38:06 +01:00
metalgearsloth
ca3347e6c6 Add map names to stuff (#21760)
- Station map
- FTL map
2023-12-02 19:00:04 +01:00
metalgearsloth
4cfc578011 Revert "Remove most usages of obsolete TransformComponent methods (#1… (#19714) 2023-09-01 12:30:29 +10:00
Visne
1416942bea Remove most usages of obsolete TransformComponent methods (#19571) 2023-08-30 12:05:19 +10:00
metalgearsloth
57858f802f Shuttle drone improvements (#16931) 2023-05-31 11:13:02 +10:00
metalgearsloth
af5eaec932 Fix Centcomm (#16772) 2023-05-24 21:28:44 +10:00
Leon Friedrich
110060678f Disable GridFillComponent on some tests (#15757) 2023-04-25 09:48:29 +10:00
metalgearsloth
448165ffda Escape pods (#14809)
* Namespace adjustments for days

* pod

* thanks rider

* Fix the oop launch

* Fixes

* Fix stuff

* eeeeeeeee

* Fix

* access

* map

* forgor

* thing

* Genericise escape pod fill
2023-03-23 19:54:41 -06:00