Skip to content

Commit

Permalink
Completely remove every last reference to underplating. (#16559)
Browse files Browse the repository at this point in the history
  • Loading branch information
20kdc authored May 19, 2023
1 parent 3b32531 commit af1d77e
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Content.IntegrationTests/Tests/EntityTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ await server.WaitPost(() =>

grid = mapManager.CreateGrid(mapId);

var tileDefinition = tileDefinitionManager["UnderPlating"];
var tileDefinition = tileDefinitionManager["Plating"];
var tile = new Tile(tileDefinition.TileId);
var coordinates = grid.ToCoordinates();

Expand Down Expand Up @@ -325,7 +325,7 @@ await server.WaitPost(() =>

grid = mapManager.CreateGrid(mapId);

var tileDefinition = tileDefinitionManager["UnderPlating"];
var tileDefinition = tileDefinitionManager["Plating"];
var tile = new Tile(tileDefinition.TileId);

grid.SetTile(Vector2i.Zero, tile);
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Interaction/TilePryCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public void Execute(IConsoleShell shell, string argStr, string[] args)

if (!tileDef.CanCrowbar) continue;

var underplating = tileDefinitionManager["UnderPlating"];
mapGrid.SetTile(coordinates, new Tile(underplating.TileId));
var plating = tileDefinitionManager["Plating"];
mapGrid.SetTile(coordinates, new Tile(plating.TileId));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Content.Tools/test/0A.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tilemap:
23: FloorWood
24: Lattice
25: Plating
26: UnderPlating
26: Plating
grids:
- settings:
chunksize: 16
Expand Down
2 changes: 1 addition & 1 deletion Content.Tools/test/0B.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tilemap:
23: FloorWood
24: Lattice
25: Plating
26: UnderPlating
26: Plating
grids:
- settings:
chunksize: 16
Expand Down
2 changes: 1 addition & 1 deletion Content.Tools/test/0C.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tilemap:
23: FloorWood
24: Lattice
25: Plating
26: UnderPlating
26: Plating
grids:
- settings:
chunksize: 16
Expand Down
2 changes: 0 additions & 2 deletions Resources/Prototypes/Recipes/Construction/structures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@
targets:
- Lattice
- Plating
- UnderPlating
icon:
sprite: Structures/catwalk.rsi
state: catwalk_preview
Expand All @@ -534,7 +533,6 @@
- !type:TileType
targets:
- Plating
- UnderPlating
icon:
sprite: Tiles/Misc/bananium.rsi
state: bananium
Expand Down
1 change: 0 additions & 1 deletion Resources/Prototypes/Recipes/Construction/utilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
targets:
- Lattice
- Plating
- UnderPlating

- type: construction
name: cable terminal
Expand Down
4 changes: 0 additions & 4 deletions Resources/Prototypes/Tiles/plating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,3 @@
itemDrop: PartRodMetal1
heatCapacity: 10000

# The final step in underplating's deprecation before it gets completely wiped from the codebase.
- type: tileAlias
id: UnderPlating
target: Plating

0 comments on commit af1d77e

Please sign in to comment.