1
0

GoliathSummonTentacleAction.cs 812 B

12345678910111213141516171819202122232425262728293031
  1. using Content.Shared.Actions;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Abilities.Goliath;
  4. public sealed partial class GoliathSummonTentacleAction : EntityWorldTargetActionEvent
  5. {
  6. /// <summary>
  7. /// The ID of the entity that is spawned.
  8. /// </summary>
  9. [DataField]
  10. public EntProtoId EntityId = "EffectGoliathTentacleSpawn";
  11. /// <summary>
  12. /// Directions determining where the entities will spawn.
  13. /// </summary>
  14. [DataField]
  15. public List<Direction> OffsetDirections = new()
  16. {
  17. Direction.North,
  18. Direction.South,
  19. Direction.East,
  20. Direction.West,
  21. };
  22. /// <summary>
  23. /// How many entities will spawn beyond the original one at the target location?
  24. /// </summary>
  25. [DataField]
  26. public int ExtraSpawns = 3;
  27. };