]> git.smokeofanarchy.ru Git - space-station-14.git/commit
move gamerule components to shared (#28572)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Tue, 4 Jun 2024 11:53:24 +0000 (11:53 +0000)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2024 11:53:24 +0000 (21:53 +1000)
commita3a1538d32c4e0c7d9aeab9790e0c522a211fc79
treef21de73d73f11632d0cba072b87e56025017c135
parent9d2b4ed3b22e548f02aeee7caa855b65b37dda24
move gamerule components to shared (#28572)

* move MinMax to shared

* cleanup MinMax

* move other ticking components to shared just because

* remove unused prototype file

* update everything to use shared components

* test

* test 2

* test 3

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
61 files changed:
Content.IntegrationTests/Tests/Destructible/DestructibleDestructionTest.cs
Content.IntegrationTests/Tests/GameRules/FailAndStartPresetTest.cs
Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs
Content.Server/Administration/ServerApi.cs
Content.Server/Antag/AntagSelectionSystem.cs
Content.Server/Antag/Components/AntagSelectionComponent.cs
Content.Server/Antag/MobReplacementRuleSystem.cs
Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs
Content.Server/Destructible/Thresholds/MinMax.cs [deleted file]
Content.Server/GameTicking/GameTicker.GameRule.cs
Content.Server/GameTicking/Rules/DeathMatchRuleSystem.cs
Content.Server/GameTicking/Rules/GameRulePrototype.cs [deleted file]
Content.Server/GameTicking/Rules/GameRuleSystem.Utility.cs
Content.Server/GameTicking/Rules/GameRuleSystem.cs
Content.Server/GameTicking/Rules/InactivityTimeRestartRuleSystem.cs
Content.Server/GameTicking/Rules/KillCalloutRuleSystem.cs
Content.Server/GameTicking/Rules/LoadMapRuleSystem.cs
Content.Server/GameTicking/Rules/MaxTimeRestartRuleSystem.cs
Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs
Content.Server/GameTicking/Rules/RespawnRuleSystem.cs
Content.Server/GameTicking/Rules/RevolutionaryRuleSystem.cs
Content.Server/GameTicking/Rules/RoundstartStationVariationRuleSystem.cs
Content.Server/GameTicking/Rules/SandboxRuleSystem.cs
Content.Server/GameTicking/Rules/SecretRuleSystem.cs
Content.Server/GameTicking/Rules/SubGamemodesSystem.cs
Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Content.Server/GameTicking/Rules/ZombieRuleSystem.cs
Content.Server/Objectives/ObjectivesSystem.cs
Content.Server/Power/EntitySystems/PowerMonitoringConsoleSystem.cs
Content.Server/Spawners/EntitySystems/ConditionalSpawnerSystem.cs
Content.Server/StationEvents/BasicStationEventSchedulerSystem.cs
Content.Server/StationEvents/Events/AlertLevelInterceptionRule.cs
Content.Server/StationEvents/Events/AnomalySpawnRule.cs
Content.Server/StationEvents/Events/BluespaceArtifactRule.cs
Content.Server/StationEvents/Events/BluespaceLockerRule.cs
Content.Server/StationEvents/Events/BreakerFlipRule.cs
Content.Server/StationEvents/Events/BureaucraticErrorRule.cs
Content.Server/StationEvents/Events/CargoGiftsRule.cs
Content.Server/StationEvents/Events/ClericalErrorRule.cs
Content.Server/StationEvents/Events/FalseAlarmRule.cs
Content.Server/StationEvents/Events/GasLeakRule.cs
Content.Server/StationEvents/Events/ImmovableRodRule.cs
Content.Server/StationEvents/Events/IonStormRule.cs
Content.Server/StationEvents/Events/KudzuGrowthRule.cs
Content.Server/StationEvents/Events/MassHallucinationsRule.cs
Content.Server/StationEvents/Events/MeteorSwarmRule.cs
Content.Server/StationEvents/Events/NinjaSpawnRule.cs
Content.Server/StationEvents/Events/PowerGridCheckRule.cs
Content.Server/StationEvents/Events/RandomEntityStorageSpawnRule.cs
Content.Server/StationEvents/Events/RandomSentienceRule.cs
Content.Server/StationEvents/Events/RandomSpawnRule.cs
Content.Server/StationEvents/Events/SolarFlareRule.cs
Content.Server/StationEvents/Events/StationEventSystem.cs
Content.Server/StationEvents/Events/VentClogRule.cs
Content.Server/StationEvents/Events/VentCrittersRule.cs
Content.Server/StationEvents/RampingStationEventSchedulerSystem.cs
Content.Shared/Destructible/Thresholds/MinMax.cs [new file with mode: 0644]
Content.Shared/GameTicking/Components/ActiveGameRuleComponent.cs [moved from Content.Server/GameTicking/Components/ActiveGameRuleComponent.cs with 67% similarity]
Content.Shared/GameTicking/Components/DelayedStartRuleComponent.cs [moved from Content.Server/GameTicking/Components/DelayedStartRuleComponent.cs with 91% similarity]
Content.Shared/GameTicking/Components/EndedGameRuleComponent.cs [moved from Content.Server/GameTicking/Components/EndedGameRuleComponent.cs with 61% similarity]
Content.Shared/GameTicking/Components/GameRuleComponent.cs [moved from Content.Server/GameTicking/Components/GameRuleComponent.cs with 94% similarity]