Content tile edge support (#13168)
This commit is contained in:
@@ -29,9 +29,7 @@ namespace Content.Shared.Maps
|
||||
public string Name { get; private set; } = "";
|
||||
[DataField("sprite")] public ResourcePath? Sprite { get; }
|
||||
|
||||
[DataField("cornerSprites")] public List<ResourcePath> CornerSprites { get; } = new();
|
||||
|
||||
[DataField("cardinalSprites")] public List<ResourcePath> CardinalSprites { get; } = new();
|
||||
[DataField("edgeSprites")] public Dictionary<Direction, ResourcePath> EdgeSprites { get; } = new();
|
||||
|
||||
[DataField("isSubfloor")] public bool IsSubFloor { get; private set; }
|
||||
|
||||
|
||||
@@ -45,10 +45,15 @@
|
||||
sprite: /Textures/Tiles/Planet/Grass/grass.png
|
||||
variants: 4
|
||||
placementVariants: [0, 1, 2, 3]
|
||||
cornerSprites:
|
||||
- /Textures/Tiles/Planet/Grass/single_edge.png
|
||||
cardinalSprites:
|
||||
- /Textures/Tiles/Planet/Grass/double_edge.png
|
||||
edgeSprites:
|
||||
SouthEast: /Textures/Tiles/Planet/Grass/single_edge.png
|
||||
NorthEast: /Textures/Tiles/Planet/Grass/single_edge.png
|
||||
NorthWest: /Textures/Tiles/Planet/Grass/single_edge.png
|
||||
SouthWest: /Textures/Tiles/Planet/Grass/single_edge.png
|
||||
South: /Textures/Tiles/Planet/Grass/double_edge.png
|
||||
East: /Textures/Tiles/Planet/Grass/double_edge.png
|
||||
North: /Textures/Tiles/Planet/Grass/double_edge.png
|
||||
West: /Textures/Tiles/Planet/Grass/double_edge.png
|
||||
baseTurfs:
|
||||
- FloorPlanetDirt
|
||||
isSubfloor: true
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
- single_edge.png
|
||||
license: "CC-BY-SA-3.0"
|
||||
copyright: "https://github.com/discordia-space/CEV-Eris/commit/026ee3250ac1de938b503e3eb46ad73dd9c3ca82"
|
||||
source: "https://github.com/discordia-space/CEV-Eris/commit/026ee3250ac1de938b503e3eb46ad73dd9c3ca82"
|
||||
source: "https://github.com/discordia-space/CEV-Eris/commit/026ee3250ac1de938b503e3eb46ad73dd9c3ca82"
|
||||
|
||||
Reference in New Issue
Block a user