Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create EvilTwinRule.cs #148

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 / 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?)

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 / 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 / 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?)

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?)
}
Loading