-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
184 additions
and
76 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
30 changes: 0 additions & 30 deletions
30
Content.Client/Backmen/StationAI/Systems/StationAISystem.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
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
6 changes: 5 additions & 1 deletion
6
Content.Shared/Backmen/EntityHealthBar/ShowHealthBarsComponent.cs
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 |
---|---|---|
@@ -1,19 +1,23 @@ | ||
using Content.Shared.Damage.Prototypes; | ||
using Robust.Shared.GameStates; | ||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; | ||
|
||
namespace Content.Shared.Backmen.EntityHealthBar; | ||
|
||
/// <summary> | ||
/// This component allows you to see health bars above damageable mobs. | ||
/// </summary> | ||
[RegisterComponent] | ||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)] | ||
public sealed partial class ShowHealthBarsComponent : Component | ||
{ | ||
/// <summary> | ||
/// If null, displays all health bars. | ||
/// If not null, displays health bars of only that damage container. | ||
/// </summary> | ||
|
||
[AutoNetworkedField] | ||
[DataField("damageContainers", customTypeSerializer: typeof(PrototypeIdListSerializer<DamageContainerPrototype>))] | ||
public List<string> DamageContainers = new(); | ||
|
||
public override bool SendOnlyToOwner => true; | ||
} |
11 changes: 11 additions & 0 deletions
11
Content.Shared/Backmen/StationAI/Components/AIEyeComponent.cs
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 |
---|---|---|
@@ -1,12 +1,23 @@ | ||
using Content.Shared.Actions; | ||
using Robust.Shared.Prototypes; | ||
|
||
namespace Content.Shared.Backmen.StationAI; | ||
|
||
[RegisterComponent] | ||
public sealed partial class AIEyeComponent : Component | ||
{ | ||
public Entity<StationAIComponent>? AiCore; | ||
|
||
public EntProtoId ReturnAction = "AIEyeReturnAction"; | ||
|
||
public EntityUid? ReturnActionUid; | ||
} | ||
|
||
public sealed partial class AIEyePowerActionEvent : InstantActionEvent | ||
{ | ||
|
||
} | ||
|
||
public sealed partial class AIEyePowerReturnActionEvent : InstantActionEvent | ||
{ | ||
} |
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
Oops, something went wrong.