Skip to content
Open
Show file tree
Hide file tree
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

This file was deleted.

54 changes: 0 additions & 54 deletions Content.Client/_RPSX/DarkForces/Vampire/VampireAbilitiesEUI.cs

This file was deleted.

This file was deleted.

204 changes: 0 additions & 204 deletions Content.Client/_RPSX/DarkForces/Vampire/VampireAbilitiesWindow.xaml.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,6 @@ private void AddDarkStationAntags(GetVerbsEvent<Verb> args, ICommonSession playe
};
args.Verbs.Add(narsiCultLeader);

Verb vampire = new()
{
Text = "Сделать вампиром",
Category = VerbCategory.Antag,
Icon = new SpriteSpecifier.Rsi(new ResPath("/Textures/DarkStation/MainGame/DarkForces/Vampire/icons.rsi"), "vampire"),
Act = () => _antagBridge.ForceMakeVampire(player),
Impact = LogImpact.High,
Message = "Делает цель вампиром"
};
args.Verbs.Add(vampire);

Verb ratvar = new()
{
Text = "Сделать праведником Ратвара",
Expand Down
10 changes: 0 additions & 10 deletions Content.Server/_RPSX/Bridges/IAntagBridge.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Content.Server.RPSX.GameTicking.Rules.Narsi;
using Content.Server.RPSX.GameTicking.Rules.Ratvar;
using Content.Server.RPSX.GameTicking.Rules.Vampire;
using Content.Server.Antag;
using Content.Server.RPSX.DarkForces.Narsi.Progress;
using Content.Shared.RPSX.DarkForces.Narsi.Roles;
Expand All @@ -18,8 +17,6 @@ public interface IAntagBridge
void ForceMakeRatvarRighteous(ICommonSession session);

void ForceMakeRatvarRighteous(EntityUid uid);

void ForceMakeVampire(ICommonSession session);
}

public sealed class StubAntagBridge : IAntagBridge
Expand All @@ -32,8 +29,6 @@ public sealed class StubAntagBridge : IAntagBridge
[ValidatePrototypeId<EntityPrototype>]
private const string DefaultRatvarRule = "Ratvar";

[ValidatePrototypeId<EntityPrototype>]
private const string DefaultVampireRule = "Vampire";

public void ForceMakeCultist(ICommonSession session)
{
Expand Down Expand Up @@ -70,9 +65,4 @@ public void ForceMakeRatvarRighteous(EntityUid uid)
ForceMakeRatvarRighteous(actor.PlayerSession);
}

public void ForceMakeVampire(ICommonSession session)
{
var antag = _entityManager.System<AntagSelectionSystem>();
antag.ForceMakeAntag<VampireRuleComponent>(session, DefaultVampireRule);
}
}
Loading
Loading