# SPDX-License-Identifier: AGPL-3.0-or-later

- type: tile
  id: BaseFloorPlanet
  abstract: true
  heatCapacity: 10000
  isSubfloor: true
  footstepSounds:
    collection: FootstepAsteroid
  weather: true
  indestructible: true

- type: tile
  id: FloorPlanetDirt
  parent: BaseFloorPlanet
  name: tiles-dirt-planet-floor
  sprite: /Textures/Tiles/Planet/dirt.rsi/dirt.png
  variants: 4
  placementVariants:
  - 1.0
  - 1.0
  - 1.0
  - 1.0

# Desert
- type: tile
  id: FloorDesert
  parent: BaseFloorPlanet
  name: tiles-desert-floor
  sprite: /Textures/Tiles/Planet/Desert/desert.png
  variants: 6
  placementVariants:
  - 1.0
  - 1.0
  - 1.0
  - 1.0
  - 1.0
  - 1.0

- type: tile
  id: FloorLowDesert
  name: tiles-low-desert-floor
  sprite: /Textures/Tiles/Planet/Desert/low_desert.png
  variants: 6
  placementVariants:
  - 1.0
  - 1.0
  - 1.0
  - 1.0
  - 1.0
  - 1.0

# Grass
- type: tile
  id: FloorPlanetGrass
  parent: BaseFloorPlanet
  name: tiles-grass-planet-floor
  sprite: /Textures/Tiles/Planet/Grass/grass.png
  variants: 4
  placementVariants:
  - 1.0
  - 1.0
  - 1.0
  - 1.0
  edgeSpritePriority: 1
  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
  baseTurf: FloorPlanetDirt
  footstepSounds:
    collection: FootstepGrass

# Lava
- type: tile
  id: FloorBasalt
  name: tiles-basalt-floor
  parent: BaseFloorPlanet
  sprite: /Textures/Tiles/Planet/basalt.png

# Snow
- type: tile
  id: FloorSnow
  parent: BaseFloorPlanet
  name: tiles-snow
  sprite: /Textures/Tiles/Planet/Snow/snow.png
  variants: 13
  placementVariants:
  - 0.8
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0166
  - 0.0116
  - 0.0116
  edgeSpritePriority: 2
  edgeSprites:
    South: /Textures/Tiles/Planet/Snow/snow_double_edge_south.png
    East: /Textures/Tiles/Planet/Snow/snow_double_edge_east.png
    North: /Textures/Tiles/Planet/Snow/snow_double_edge_north.png
    West: /Textures/Tiles/Planet/Snow/snow_double_edge_west.png
  footstepSounds:
    collection: FootstepSnow

# Ice
- type: tile
  id: FloorIce
  name: tiles-ice
  sprite: /Textures/Tiles/Planet/Snow/ice.png
  isSubfloor: true
  friction: 0.05
  heatCapacity: 10000
  weather: true
  mobAcceleration: 0.1
  indestructible: true

# Dug snow
- type: tile
  id: FloorSnowDug
  parent: BaseFloorPlanet
  name: tiles-snow-dug
  sprite: /Textures/Tiles/Planet/Snow/snow_dug.png
  edgeSpritePriority: 1
  edgeSprites:
    South: /Textures/Tiles/Planet/Snow/snow_dug_double_edge_south.png
    East: /Textures/Tiles/Planet/Snow/snow_dug_double_edge_east.png
    North: /Textures/Tiles/Planet/Snow/snow_dug_double_edge_north.png
    West: /Textures/Tiles/Planet/Snow/snow_dug_double_edge_west.png
  footstepSounds:
    collection: FootstepSnow

# Wasteland
