Skip to content

Commit

Permalink
Create EvilTwinRule.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 authored Nov 21, 2023
1 parent 30c136d commit c93f9e7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using Content.Server.GameTicking.Rules.Components;
using Content.Server.StationEvents.Events;
using Robust.Shared.Random;

namespace Content.Server.Backmen.EvilTwin.StationEvents;
public sealed partial class EvilTwinRule : StationEventSystem<EvilTwinRuleComponent>

Check failure on line 6 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 6 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)
{
protected override void Started(EntityUid uid, EvilTwinRuleComponent component, GameRuleComponent gameRule, GameRuleStartedEvent args)

Check failure on line 8 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 8 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 8 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 8 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The type or namespace name 'EvilTwinRuleComponent' could not be found (are you missing a using directive or an assembly reference?)
{
base.Started(uid, component, gameRule, args);

if(!_evilTwinSystem.MakeTwin(out _))
{
Sawmill.Warning("Map not have latejoin spawnpoints for creating evil twin spawner");
}
}

[Dependency] private readonly EvilTwinSystem _evilTwinSystem = default!;

Check failure on line 18 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The type or namespace name 'EvilTwinSystem' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 18 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'EvilTwinSystem' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 18 in Content.Server/ADT/EvilTwin/StationEvents /EvilTwinRule.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The type or namespace name 'EvilTwinSystem' could not be found (are you missing a using directive or an assembly reference?)
}

0 comments on commit c93f9e7

Please sign in to comment.