Remove plural BaseTurfs as a thing in favour of BaseTurf (#16560)

This commit is contained in:
20kdc
2023-05-19 08:10:56 +01:00
committed by GitHub
parent 4efb41aa58
commit ea64b86331
8 changed files with 105 additions and 193 deletions

View File

@@ -467,10 +467,10 @@ public sealed partial class ExplosionSystem : EntitySystem
effectiveIntensity -= type.TileBreakRerollReduction; effectiveIntensity -= type.TileBreakRerollReduction;
// does this have a base-turf that we can break it down to? // does this have a base-turf that we can break it down to?
if (tileDef.BaseTurfs.Count == 0) if (string.IsNullOrEmpty(tileDef.BaseTurf))
break; break;
if (_tileDefinitionManager[tileDef.BaseTurfs[^1]] is not ContentTileDefinition newDef) if (_tileDefinitionManager[tileDef.BaseTurf] is not ContentTileDefinition newDef)
break; break;
if (newDef.IsSpace && !canCreateVacuum) if (newDef.IsSpace && !canCreateVacuum)

View File

@@ -79,13 +79,19 @@ public sealed class TileSystem : EntitySystem
private bool DeconstructTile(TileRef tileRef) private bool DeconstructTile(TileRef tileRef)
{ {
var indices = tileRef.GridIndices; if (tileRef.Tile.IsEmpty)
return false;
var tileDef = (ContentTileDefinition) _tileDefinitionManager[tileRef.Tile.TypeId]; var tileDef = (ContentTileDefinition) _tileDefinitionManager[tileRef.Tile.TypeId];
if (string.IsNullOrEmpty(tileDef.BaseTurf))
return false;
var mapGrid = _mapManager.GetGrid(tileRef.GridUid); var mapGrid = _mapManager.GetGrid(tileRef.GridUid);
const float margin = 0.1f; const float margin = 0.1f;
var bounds = mapGrid.TileSize - margin * 2; var bounds = mapGrid.TileSize - margin * 2;
var indices = tileRef.GridIndices;
var coordinates = mapGrid.GridTileToLocal(indices) var coordinates = mapGrid.GridTileToLocal(indices)
.Offset(new Vector2( .Offset(new Vector2(
(_robustRandom.NextFloat() - 0.5f) * bounds, (_robustRandom.NextFloat() - 0.5f) * bounds,
@@ -102,7 +108,7 @@ public sealed class TileSystem : EntitySystem
_decal.RemoveDecal(tileRef.GridUid, id); _decal.RemoveDecal(tileRef.GridUid, id);
} }
var plating = _tileDefinitionManager[tileDef.BaseTurfs[^1]]; var plating = _tileDefinitionManager[tileDef.BaseTurf];
mapGrid.SetTile(tileRef.GridIndices, new Tile(plating.TileId)); mapGrid.SetTile(tileRef.GridIndices, new Tile(plating.TileId));

View File

@@ -34,7 +34,7 @@ public sealed partial class ToolSystem
if (_tileDefinitionManager[tile.Tile.TypeId] is not ContentTileDefinition tileDef if (_tileDefinitionManager[tile.Tile.TypeId] is not ContentTileDefinition tileDef
|| !tileDef.CanWirecutter || !tileDef.CanWirecutter
|| tileDef.BaseTurfs.Count == 0 || string.IsNullOrEmpty(tileDef.BaseTurf)
|| tile.IsBlockedTurf(true)) || tile.IsBlockedTurf(true))
return; return;
@@ -66,8 +66,8 @@ public sealed partial class ToolSystem
if (_tileDefinitionManager[tile.Tile.TypeId] is not ContentTileDefinition tileDef if (_tileDefinitionManager[tile.Tile.TypeId] is not ContentTileDefinition tileDef
|| !tileDef.CanWirecutter || !tileDef.CanWirecutter
|| tileDef.BaseTurfs.Count == 0 || string.IsNullOrEmpty(tileDef.BaseTurf)
|| _tileDefinitionManager[tileDef.BaseTurfs[^1]] is not ContentTileDefinition newDef || _tileDefinitionManager[tileDef.BaseTurf] is not ContentTileDefinition newDef
|| tile.IsBlockedTurf(true)) || tile.IsBlockedTurf(true))
return false; return false;

View File

@@ -33,7 +33,8 @@ namespace Content.Shared.Maps
[DataField("isSubfloor")] public bool IsSubFloor { get; private set; } [DataField("isSubfloor")] public bool IsSubFloor { get; private set; }
[DataField("baseTurfs")] public List<string> BaseTurfs { get; } = new(); [DataField("baseTurf")]
public string BaseTurf { get; } = string.Empty;
[DataField("canCrowbar")] public bool CanCrowbar { get; private set; } [DataField("canCrowbar")] public bool CanCrowbar { get; private set; }

View File

@@ -136,13 +136,7 @@ public sealed class FloorTileSystem : EntitySystem
public bool HasBaseTurf(ContentTileDefinition tileDef, string baseTurf) public bool HasBaseTurf(ContentTileDefinition tileDef, string baseTurf)
{ {
foreach (var tileBaseTurf in tileDef.BaseTurfs) return tileDef.BaseTurf == baseTurf;
{
if (baseTurf == tileBaseTurf)
return true;
}
return false;
} }
private void PlaceAt(EntityUid user, MapGridComponent mapGrid, EntityCoordinates location, ushort tileId, SoundSpecifier placeSound, float offset = 0) private void PlaceAt(EntityUid user, MapGridComponent mapGrid, EntityCoordinates location, ushort tileId, SoundSpecifier placeSound, float offset = 0)

View File

@@ -4,8 +4,7 @@
sprite: /Textures/Tiles/steel.png sprite: /Textures/Tiles/steel.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -19,8 +18,7 @@
sprite: /Textures/Tiles/steel_mini.png sprite: /Textures/Tiles/steel_mini.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -34,8 +32,7 @@
sprite: /Textures/Tiles/steel_pavement.png sprite: /Textures/Tiles/steel_pavement.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -49,8 +46,7 @@
sprite: /Textures/Tiles/steel_diagonal.png sprite: /Textures/Tiles/steel_diagonal.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -64,8 +60,7 @@
sprite: /Textures/Tiles/steel_offset.png sprite: /Textures/Tiles/steel_offset.png
variants: 1 variants: 1
placementVariants: [0] placementVariants: [0]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -79,8 +74,7 @@
sprite: /Textures/Tiles/steel_mono.png sprite: /Textures/Tiles/steel_mono.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -95,8 +89,7 @@
sprite: /Textures/Tiles/steel_pavement_vertical.png sprite: /Textures/Tiles/steel_pavement_vertical.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -111,8 +104,7 @@
sprite: /Textures/Tiles/steel_herringbone.png sprite: /Textures/Tiles/steel_herringbone.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -127,8 +119,7 @@
sprite: /Textures/Tiles/steel_diagonal_mini.png sprite: /Textures/Tiles/steel_diagonal_mini.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -143,8 +134,7 @@
sprite: /Textures/Tiles/plastic.png sprite: /Textures/Tiles/plastic.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -158,8 +148,7 @@
sprite: /Textures/Tiles/wood.png sprite: /Textures/Tiles/wood.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -175,8 +164,7 @@
sprite: /Textures/Tiles/white.png sprite: /Textures/Tiles/white.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -191,8 +179,7 @@
sprite: /Textures/Tiles/white_mini.png sprite: /Textures/Tiles/white_mini.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -207,8 +194,7 @@
sprite: /Textures/Tiles/white_pavement.png sprite: /Textures/Tiles/white_pavement.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -223,8 +209,7 @@
sprite: /Textures/Tiles/white_diagonal.png sprite: /Textures/Tiles/white_diagonal.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -239,8 +224,7 @@
sprite: /Textures/Tiles/white_offset.png sprite: /Textures/Tiles/white_offset.png
variants: 1 variants: 1
placementVariants: [0] placementVariants: [0]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -255,8 +239,7 @@
sprite: /Textures/Tiles/white_mono.png sprite: /Textures/Tiles/white_mono.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -271,8 +254,7 @@
sprite: /Textures/Tiles/white_pavement_vertical.png sprite: /Textures/Tiles/white_pavement_vertical.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -287,8 +269,7 @@
sprite: /Textures/Tiles/white_herringbone.png sprite: /Textures/Tiles/white_herringbone.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -303,8 +284,7 @@
sprite: /Textures/Tiles/white_diagonal_mini.png sprite: /Textures/Tiles/white_diagonal_mini.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -319,8 +299,7 @@
sprite: /Textures/Tiles/white_plastic.png sprite: /Textures/Tiles/white_plastic.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -335,8 +314,7 @@
sprite: /Textures/Tiles/dark.png sprite: /Textures/Tiles/dark.png
variants: 4 variants: 4
placementVariants: [ 0, 1, 2, 3 ] placementVariants: [ 0, 1, 2, 3 ]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -350,8 +328,7 @@
sprite: /Textures/Tiles/dark_mini.png sprite: /Textures/Tiles/dark_mini.png
variants: 4 variants: 4
placementVariants: [ 0, 1, 2, 3 ] placementVariants: [ 0, 1, 2, 3 ]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -365,8 +342,7 @@
sprite: /Textures/Tiles/dark_pavement.png sprite: /Textures/Tiles/dark_pavement.png
variants: 4 variants: 4
placementVariants: [ 0, 1, 2, 3 ] placementVariants: [ 0, 1, 2, 3 ]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -380,8 +356,7 @@
sprite: /Textures/Tiles/dark_diagonal.png sprite: /Textures/Tiles/dark_diagonal.png
variants: 4 variants: 4
placementVariants: [ 0, 1, 2, 3 ] placementVariants: [ 0, 1, 2, 3 ]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -395,8 +370,7 @@
sprite: /Textures/Tiles/dark_offset.png sprite: /Textures/Tiles/dark_offset.png
variants: 1 variants: 1
placementVariants: [0] placementVariants: [0]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -411,8 +385,7 @@
sprite: /Textures/Tiles/dark_mono.png sprite: /Textures/Tiles/dark_mono.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -427,8 +400,7 @@
sprite: /Textures/Tiles/dark_pavement_vertical.png sprite: /Textures/Tiles/dark_pavement_vertical.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -443,8 +415,7 @@
sprite: /Textures/Tiles/dark_herringbone.png sprite: /Textures/Tiles/dark_herringbone.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -459,8 +430,7 @@
sprite: /Textures/Tiles/dark_diagonal_mini.png sprite: /Textures/Tiles/dark_diagonal_mini.png
variants: 4 variants: 4
placementVariants: [0,1,2,3] placementVariants: [0,1,2,3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -475,8 +445,7 @@
sprite: /Textures/Tiles/dark_plastic.png sprite: /Textures/Tiles/dark_plastic.png
variants: 4 variants: 4
placementVariants: [ 0, 1, 2, 3 ] placementVariants: [ 0, 1, 2, 3 ]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -488,8 +457,7 @@
id: FloorTechMaint id: FloorTechMaint
name: tiles-techmaint-floor name: tiles-techmaint-floor
sprite: /Textures/Tiles/tech_maint.png sprite: /Textures/Tiles/tech_maint.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -501,8 +469,7 @@
id: FloorReinforced id: FloorReinforced
name: tiles-reinforced-floor name: tiles-reinforced-floor
sprite: /Textures/Tiles/reinforced.png sprite: /Textures/Tiles/reinforced.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -514,8 +481,7 @@
id: FloorMono id: FloorMono
name: tiles-mono-floor name: tiles-mono-floor
sprite: /Textures/Tiles/mono.png sprite: /Textures/Tiles/mono.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -527,8 +493,7 @@
id: FloorLino id: FloorLino
name: tiles-linoleum-floor name: tiles-linoleum-floor
sprite: /Textures/Tiles/lino.png sprite: /Textures/Tiles/lino.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -540,8 +505,7 @@
id: FloorSteelDirty id: FloorSteelDirty
name: tiles-dirty-steel-floor name: tiles-dirty-steel-floor
sprite: /Textures/Tiles/steel_dirty.png sprite: /Textures/Tiles/steel_dirty.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -553,8 +517,7 @@
id: FloorElevatorShaft id: FloorElevatorShaft
name: tiles-elevator-shaft name: tiles-elevator-shaft
sprite: /Textures/Tiles/elevator_shaft.png sprite: /Textures/Tiles/elevator_shaft.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -566,8 +529,7 @@
id: FloorMetalDiamond id: FloorMetalDiamond
name: tiles-diamond-plate-floor name: tiles-diamond-plate-floor
sprite: /Textures/Tiles/metaldiamond.png sprite: /Textures/Tiles/metaldiamond.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -579,8 +541,7 @@
id: FloorRockVault id: FloorRockVault
name: tiles-rock-floor name: tiles-rock-floor
sprite: /Textures/Tiles/rock_vault.png sprite: /Textures/Tiles/rock_vault.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -592,8 +553,7 @@
id: FloorBlue id: FloorBlue
name: tiles-blue-tile name: tiles-blue-tile
sprite: /Textures/Tiles/blue.png sprite: /Textures/Tiles/blue.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -606,8 +566,7 @@
id: FloorFreezer id: FloorFreezer
name: tiles-freezer name: tiles-freezer
sprite: /Textures/Tiles/freezer.png sprite: /Textures/Tiles/freezer.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -619,8 +578,7 @@
id: FloorShowroom id: FloorShowroom
name: tiles-showroom-floor name: tiles-showroom-floor
sprite: /Textures/Tiles/showroom.png sprite: /Textures/Tiles/showroom.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -632,8 +590,7 @@
id: FloorHydro id: FloorHydro
name: tiles-hydro-floor name: tiles-hydro-floor
sprite: /Textures/Tiles/hydro.png sprite: /Textures/Tiles/hydro.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -647,8 +604,7 @@
sprite: /Textures/Tiles/bar.png sprite: /Textures/Tiles/bar.png
variants: 4 variants: 4
placementVariants: [ 0, 1, 2, 3 ] placementVariants: [ 0, 1, 2, 3 ]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -660,8 +616,7 @@
id: FloorClown id: FloorClown
name: tiles-clown-floor name: tiles-clown-floor
sprite: /Textures/Tiles/clown.png sprite: /Textures/Tiles/clown.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -673,8 +628,7 @@
id: FloorMime id: FloorMime
name: tiles-mime-floor name: tiles-mime-floor
sprite: /Textures/Tiles/mime.png sprite: /Textures/Tiles/mime.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -686,8 +640,7 @@
id: FloorKitchen id: FloorKitchen
name: tiles-kitchen-floor name: tiles-kitchen-floor
sprite: /Textures/Tiles/kitchen.png sprite: /Textures/Tiles/kitchen.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -699,8 +652,7 @@
id: FloorLaundry id: FloorLaundry
name: tiles-laundry-floor name: tiles-laundry-floor
sprite: /Textures/Tiles/laundry.png sprite: /Textures/Tiles/laundry.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -713,8 +665,7 @@
id: FloorArcadeBlue id: FloorArcadeBlue
name: tiles-blue-arcade-floor name: tiles-blue-arcade-floor
sprite: /Textures/Tiles/arcadeblue.png sprite: /Textures/Tiles/arcadeblue.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -729,8 +680,7 @@
id: FloorArcadeBlue2 id: FloorArcadeBlue2
name: tiles-blue-arcade-floor name: tiles-blue-arcade-floor
sprite: /Textures/Tiles/arcadeblue2.png sprite: /Textures/Tiles/arcadeblue2.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -745,8 +695,7 @@
id: FloorArcadeRed id: FloorArcadeRed
name: tiles-red-arcade-floor name: tiles-red-arcade-floor
sprite: /Textures/Tiles/arcadered.png sprite: /Textures/Tiles/arcadered.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -761,8 +710,7 @@
id: FloorEighties id: FloorEighties
name: tiles-eighties-floor name: tiles-eighties-floor
sprite: /Textures/Tiles/eighties.png sprite: /Textures/Tiles/eighties.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -777,8 +725,7 @@
id: FloorCarpetClown id: FloorCarpetClown
name: tiles-clown-carpet-floor name: tiles-clown-carpet-floor
sprite: /Textures/Tiles/carpetclown.png sprite: /Textures/Tiles/carpetclown.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -793,8 +740,7 @@
id: FloorCarpetOffice id: FloorCarpetOffice
name: tiles-office-carpet-floor name: tiles-office-carpet-floor
sprite: /Textures/Tiles/carpetoffice.png sprite: /Textures/Tiles/carpetoffice.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -811,8 +757,7 @@
sprite: /Textures/Tiles/boxing.png sprite: /Textures/Tiles/boxing.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -827,8 +772,7 @@
sprite: /Textures/Tiles/gym.png sprite: /Textures/Tiles/gym.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -842,8 +786,7 @@
id: FloorShuttleWhite id: FloorShuttleWhite
name: tiles-white-shuttle-floor name: tiles-white-shuttle-floor
sprite: /Textures/Tiles/shuttlewhite.png sprite: /Textures/Tiles/shuttlewhite.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -855,8 +798,7 @@
id: FloorShuttleBlue id: FloorShuttleBlue
name: tiles-blue-shuttle-floor name: tiles-blue-shuttle-floor
sprite: /Textures/Tiles/shuttleblue.png sprite: /Textures/Tiles/shuttleblue.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -868,8 +810,7 @@
id: FloorShuttleOrange id: FloorShuttleOrange
name: tiles-orange-shuttle-floor name: tiles-orange-shuttle-floor
sprite: /Textures/Tiles/shuttleorange.png sprite: /Textures/Tiles/shuttleorange.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -881,8 +822,7 @@
id: FloorShuttlePurple id: FloorShuttlePurple
name: tiles-purple-shuttle-floor name: tiles-purple-shuttle-floor
sprite: /Textures/Tiles/shuttlepurple.png sprite: /Textures/Tiles/shuttlepurple.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -894,8 +834,7 @@
id: FloorShuttleRed id: FloorShuttleRed
name: tiles-red-shuttle-floor name: tiles-red-shuttle-floor
sprite: /Textures/Tiles/shuttlered.png sprite: /Textures/Tiles/shuttlered.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -909,8 +848,7 @@
id: FloorGold id: FloorGold
name: tiles-gold-tile name: tiles-gold-tile
sprite: /Textures/Tiles/gold.png sprite: /Textures/Tiles/gold.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -922,8 +860,7 @@
id: FloorSilver id: FloorSilver
name: tiles-silver-tile name: tiles-silver-tile
sprite: /Textures/Tiles/silver.png sprite: /Textures/Tiles/silver.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -935,8 +872,7 @@
id: FloorGlass id: FloorGlass
name: tiles-glass-floor name: tiles-glass-floor
sprite: /Textures/Tiles/glass.png sprite: /Textures/Tiles/glass.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -948,8 +884,7 @@
id: FloorRGlass id: FloorRGlass
name: tiles-reinforced-glass-floor name: tiles-reinforced-glass-floor
sprite: /Textures/Tiles/rglass.png sprite: /Textures/Tiles/rglass.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -962,8 +897,7 @@
id: FloorGreenCircuit id: FloorGreenCircuit
name: tiles-green-circuit-floor name: tiles-green-circuit-floor
sprite: /Textures/Tiles/green_circuit.png sprite: /Textures/Tiles/green_circuit.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -975,8 +909,7 @@
id: FloorBlueCircuit id: FloorBlueCircuit
name: tiles-blue-circuit-floor name: tiles-blue-circuit-floor
sprite: /Textures/Tiles/blue_circuit.png sprite: /Textures/Tiles/blue_circuit.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -989,8 +922,7 @@
id: FloorGrass id: FloorGrass
name: tiles-planet-grass-floor name: tiles-planet-grass-floor
sprite: /Textures/Tiles/grass.png sprite: /Textures/Tiles/grass.png
baseTurfs: baseTurf: FloorDirt
- FloorDirt
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1003,8 +935,7 @@
id: FloorGrassJungle id: FloorGrassJungle
name: tiles-jungle-grass-floor name: tiles-jungle-grass-floor
sprite: /Textures/Tiles/grassjungle.png sprite: /Textures/Tiles/grassjungle.png
baseTurfs: baseTurf: FloorDirt
- FloorDirt
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1019,8 +950,7 @@
sprite: /Textures/Tiles/grassdark.png sprite: /Textures/Tiles/grassdark.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: FloorDirt
- FloorDirt
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1034,8 +964,7 @@
sprite: /Textures/Tiles/grasslight.png sprite: /Textures/Tiles/grasslight.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: FloorDirt
- FloorDirt
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1049,8 +978,7 @@
sprite: /Textures/Tiles/dirt.png sprite: /Textures/Tiles/dirt.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1063,8 +991,7 @@
id: FloorAsteroidSand id: FloorAsteroidSand
name: tiles-asteroid-floor name: tiles-asteroid-floor
sprite: /Textures/Tiles/Asteroid/asteroid_sand.png sprite: /Textures/Tiles/Asteroid/asteroid_sand.png
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1076,8 +1003,7 @@
id: FloorAsteroidTile id: FloorAsteroidTile
name: tiles-asteroid-tile name: tiles-asteroid-tile
sprite: /Textures/Tiles/Asteroid/asteroid_tile.png sprite: /Textures/Tiles/Asteroid/asteroid_tile.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -1091,8 +1017,7 @@
sprite: /Textures/Tiles/Asteroid/asteroid_coarse_sand.png sprite: /Textures/Tiles/Asteroid/asteroid_coarse_sand.png
variants: 3 variants: 3
placementVariants: [ 0, 1, 2 ] placementVariants: [ 0, 1, 2 ]
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1116,8 +1041,7 @@
id: FloorAsteroidCoarseSandDug id: FloorAsteroidCoarseSandDug
name: tiles-asteroid-dug-coarse-sand name: tiles-asteroid-dug-coarse-sand
sprite: /Textures/Tiles/Asteroid/asteroid_coarse_sand_dug.png sprite: /Textures/Tiles/Asteroid/asteroid_coarse_sand_dug.png
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1129,8 +1053,7 @@
id: FloorAsteroidIronsand1 id: FloorAsteroidIronsand1
name: tiles-asteroid-ironsand name: tiles-asteroid-ironsand
sprite: /Textures/Tiles/ironsand1.png sprite: /Textures/Tiles/ironsand1.png
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1142,8 +1065,7 @@
id: FloorAsteroidIronsand2 id: FloorAsteroidIronsand2
name: tiles-asteroid-ironsand-pebbles name: tiles-asteroid-ironsand-pebbles
sprite: /Textures/Tiles/ironsand2.png sprite: /Textures/Tiles/ironsand2.png
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1155,8 +1077,7 @@
id: FloorAsteroidIronsand3 id: FloorAsteroidIronsand3
name: tiles-asteroid-ironsand-pebbles name: tiles-asteroid-ironsand-pebbles
sprite: /Textures/Tiles/ironsand3.png sprite: /Textures/Tiles/ironsand3.png
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1168,8 +1089,7 @@
id: FloorAsteroidIronsand4 id: FloorAsteroidIronsand4
name: tiles-asteroid-ironsand-rock name: tiles-asteroid-ironsand-rock
sprite: /Textures/Tiles/ironsand4.png sprite: /Textures/Tiles/ironsand4.png
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1184,8 +1104,7 @@
sprite: /Textures/Tiles/cave.png sprite: /Textures/Tiles/cave.png
variants: 7 variants: 7
placementVariants: [0, 1, 2, 3, 4, 5, 6] placementVariants: [0, 1, 2, 3, 4, 5, 6]
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1198,8 +1117,7 @@
sprite: /Textures/Tiles/cavedrought.png sprite: /Textures/Tiles/cavedrought.png
variants: 8 variants: 8
placementVariants: [0, 1, 2, 3, 4, 5, 6, 7] placementVariants: [0, 1, 2, 3, 4, 5, 6, 7]
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:
@@ -1212,8 +1130,7 @@
sprite: /Textures/Tiles/meat.png sprite: /Textures/Tiles/meat.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -1225,8 +1142,7 @@
id: FloorTechMaint2 id: FloorTechMaint2
name: tiles-techmaint2-floor name: tiles-techmaint2-floor
sprite: /Textures/Tiles/steel_maint.png sprite: /Textures/Tiles/steel_maint.png
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -1240,8 +1156,7 @@
sprite: /Textures/Tiles/grating_maint.png sprite: /Textures/Tiles/grating_maint.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:
@@ -1255,8 +1170,7 @@
sprite: /Textures/Tiles/wood_tile.png sprite: /Textures/Tiles/wood_tile.png
variants: 4 variants: 4
placementVariants: [0, 1, 2, 3] placementVariants: [0, 1, 2, 3]
baseTurfs: baseTurf: Plating
- Plating
isSubfloor: false isSubfloor: false
canCrowbar: true canCrowbar: true
footstepSounds: footstepSounds:

View File

@@ -52,8 +52,7 @@
East: /Textures/Tiles/Planet/Grass/double_edge.png East: /Textures/Tiles/Planet/Grass/double_edge.png
North: /Textures/Tiles/Planet/Grass/double_edge.png North: /Textures/Tiles/Planet/Grass/double_edge.png
West: /Textures/Tiles/Planet/Grass/double_edge.png West: /Textures/Tiles/Planet/Grass/double_edge.png
baseTurfs: baseTurf: FloorPlanetDirt
- FloorPlanetDirt
isSubfloor: true isSubfloor: true
canCrowbar: false canCrowbar: false
footstepSounds: footstepSounds:

View File

@@ -2,8 +2,7 @@
id: Plating id: Plating
name: tiles-plating name: tiles-plating
sprite: /Textures/Tiles/plating.png sprite: /Textures/Tiles/plating.png
baseTurfs: baseTurf: Lattice
- Lattice
isSubfloor: true isSubfloor: true
footstepSounds: footstepSounds:
collection: FootstepPlating collection: FootstepPlating
@@ -14,8 +13,7 @@
id: Lattice id: Lattice
name: tiles-lattice name: tiles-lattice
sprite: /Textures/Tiles/lattice.png sprite: /Textures/Tiles/lattice.png
baseTurfs: baseTurf: Space
- Space
isSubfloor: true isSubfloor: true
canWirecutter: true canWirecutter: true
weather: true weather: true