Spreaders travels across connected grids and SpreaderIgnore tag (#15419)
This commit is contained in:
@@ -10,9 +10,7 @@ namespace Content.Server.Spreader;
|
||||
[ByRefEvent]
|
||||
public record struct SpreadNeighborsEvent
|
||||
{
|
||||
public MapGridComponent? Grid;
|
||||
public ValueList<Vector2i> NeighborFreeTiles;
|
||||
public ValueList<Vector2i> NeighborOccupiedTiles;
|
||||
public ValueList<(MapGridComponent Grid, Vector2i Tile)> NeighborFreeTiles;
|
||||
public ValueList<EntityUid> Neighbors;
|
||||
|
||||
/// <summary>
|
||||
@@ -20,4 +18,4 @@ public record struct SpreadNeighborsEvent
|
||||
/// Subscribers can handle as they wish.
|
||||
/// </summary>
|
||||
public int Updates;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user