forked from Simple-Station/Einstein-Engines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'EE-Master/master'
- Loading branch information
Showing
60 changed files
with
1,155 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
Content.Server/DeltaV/StationEvents/Components/GlimmerMobRuleComponent.cs
This file was deleted.
Oops, something went wrong.
88 changes: 0 additions & 88 deletions
88
Content.Server/DeltaV/StationEvents/Events/GlimmerMobSpawnRule.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
using Content.Shared.Damage; | ||
using Content.Shared.DoAfter; | ||
using Content.Shared.Whitelist; | ||
using Robust.Shared.Audio; | ||
|
||
namespace Content.Server.LifeDrainer; | ||
|
||
/// <summary> | ||
/// Adds a verb to drain life from a crit mob that matches a whitelist. | ||
/// Successfully draining a mob rejuvenates you completely. | ||
/// </summary> | ||
[RegisterComponent, Access(typeof(LifeDrainerSystem))] | ||
public sealed partial class LifeDrainerComponent : Component | ||
{ | ||
/// <summary> | ||
/// Damage to give to the target when draining is complete | ||
/// </summary> | ||
[DataField(required: true)] | ||
public DamageSpecifier Damage = new(); | ||
|
||
/// <summary> | ||
/// Mobs have to match this whitelist to be drained. | ||
/// </summary> | ||
[DataField] | ||
public EntityWhitelist? Whitelist; | ||
|
||
/// <summary> | ||
/// The time that it takes to drain an entity. | ||
/// </summary> | ||
[DataField] | ||
public TimeSpan Delay = TimeSpan.FromSeconds(8.35f); | ||
|
||
/// <summary> | ||
/// Sound played while draining a mob. | ||
/// </summary> | ||
[DataField] | ||
public SoundSpecifier DrainSound = new SoundPathSpecifier("/Audio/DeltaV/Effects/clang2.ogg"); | ||
|
||
/// <summary> | ||
/// Sound played after draining is complete. | ||
/// </summary> | ||
[DataField] | ||
public SoundSpecifier FinishSound = new SoundPathSpecifier("/Audio/Effects/guardian_inject.ogg"); | ||
|
||
[DataField] | ||
public EntityUid? DrainStream; | ||
|
||
/// <summary> | ||
/// A current drain doafter in progress. | ||
/// </summary> | ||
[DataField] | ||
public DoAfterId? DoAfter; | ||
|
||
/// <summary> | ||
/// What mob is being targeted for draining. | ||
/// When draining stops the AI will try to drain this target again until successful. | ||
/// </summary> | ||
[DataField] | ||
public EntityUid? Target; | ||
} |
Oops, something went wrong.