Show / Hide Table of Contents

Class ContentTileDefinition

Inheritance
System.Object
ContentTileDefinition
Implements
Robust.Shared.Prototypes.IPrototype
Robust.Shared.Prototypes.IInheritingPrototype
Robust.Shared.Map.ITileDefinition
Namespace: Content.Shared.Maps
Assembly: Content.Shared.dll
Syntax
public sealed class ContentTileDefinition : object, IPrototype, IInheritingPrototype, ITileDefinition

Fields

| Improve this Doc View Source

HeatCapacity

Declaration
public float HeatCapacity
Field Value
Type Description
System.Single
| Improve this Doc View Source

Indestructible

Is this tile immune to RCD deconstruct.

Declaration
public bool Indestructible
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

SpaceID

Declaration
public const string SpaceID = null
Field Value
Type Description
System.String
| Improve this Doc View Source

ThermalConductivity

Declaration
public float ThermalConductivity
Field Value
Type Description
System.Single
| Improve this Doc View Source

Weather

Can weather affect this tile.

Declaration
public bool Weather
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

Abstract

Declaration
public bool Abstract { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

BarestepSounds

These play when the mob has no shoes on.

Declaration
public SoundSpecifier BarestepSounds { get; }
Property Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

BaseTurf

Declaration
public string BaseTurf { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CanAxe

Whether this tile can be pried by an advanced prying tool if not pryable otherwise.

Declaration
public bool CanAxe { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanCrowbar

Declaration
public bool CanCrowbar { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanWirecutter

Declaration
public bool CanWirecutter { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EdgeSpritePriority

Declaration
public int EdgeSpritePriority { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

EdgeSprites

Declaration
public Dictionary<Direction, ResPath> EdgeSprites { get; }
Property Value
Type Description
Dictionary<Direction, Robust.Shared.Utility.ResPath>
| Improve this Doc View Source

FootstepSounds

These play when the mob has shoes on.

Declaration
public SoundSpecifier FootstepSounds { get; }
Property Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

Friction

Declaration
public float Friction { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsSpace

Declaration
public bool IsSpace { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSubFloor

Declaration
public bool IsSubFloor { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ItemDropPrototypeName

Declaration
public string ItemDropPrototypeName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MobAcceleration

Accel override for mob mover in SharedMoverController

Declaration
public float? MobAcceleration { get; }
Property Value
Type Description
System.Nullable<System.Single>
| Improve this Doc View Source

MobFriction

Friction override for mob mover in SharedMoverController

Declaration
public float? MobFriction { get; }
Property Value
Type Description
System.Nullable<System.Single>
| Improve this Doc View Source

MobFrictionNoInput

No-input friction override for mob mover in SharedMoverController

Declaration
public float? MobFrictionNoInput { get; }
Property Value
Type Description
System.Nullable<System.Single>
| Improve this Doc View Source

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Parents

Declaration
public string[] Parents { get; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

PlacementVariants

This controls what variants the variantize command is allowed to use.

Declaration
public float[] PlacementVariants { get; set; }
Property Value
Type Description
System.Single[]
| Improve this Doc View Source

Sprite

Declaration
public ResPath? Sprite { get; }
Property Value
Type Description
System.Nullable<Robust.Shared.Utility.ResPath>
| Improve this Doc View Source

Sturdy

Declaration
public bool Sturdy { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

TileId

Declaration
public ushort TileId { get; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

Variants

Declaration
public byte Variants { get; set; }
Property Value
Type Description
System.Byte

Methods

| Improve this Doc View Source

AssignTileId(UInt16)

Declaration
public void AssignTileId(ushort id)
Parameters
Type Name Description
System.UInt16 id

Implements

Robust.Shared.Prototypes.IPrototype
Robust.Shared.Prototypes.IInheritingPrototype
Robust.Shared.Map.ITileDefinition

Extension Methods

TurfHelpers.PickVariant(ContentTileDefinition, IRobustRandom)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾