mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* Basic improvements to sparks * Pull spark configuration out of SparkOnHit component * Add various sparks to tasers, batons, RCD * Add sparks back to electrocution * Adjust new projectiles * Tile fires on cable cuts * That's a terrible idea, actually * Add a custom PreventCollide system * Make the new prevent collide component prevent collisions
18 lines
590 B
C#
18 lines
590 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._ES.Physics.PreventCollide.Components;
|
|
|
|
/// <summary>
|
|
/// Component that causes collisions with target entities to be excluded.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(ESPreventCollideSystem), Other = AccessPermissions.None)]
|
|
public sealed partial class ESPreventCollideComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Entities that this object will not collide with.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public HashSet<EntityUid> Entities = new();
|
|
}
|