Riwmorld
Verse.TerrainDef Class Reference
Inheritance diagram for Verse.TerrainDef:
Verse.BuildableDef Verse.Def Verse.Editable

Public Types

enum  TerrainEdgeType : byte { Hard, Fade, FadeRough }
 

Public Member Functions

override IEnumerable< string > ConfigErrors ()
 
override void PostLoad ()
 
- Public Member Functions inherited from Verse.BuildableDef
bool ForceAllowPlaceOver (BuildableDef other)
 
override int GetHashCode ()
 
override void ResolveReferences ()
 
override string ToString ()
 
- Public Member Functions inherited from Verse.Def
virtual void ClearCachedData ()
 
override int GetHashCode ()
 
virtual IEnumerable< StatDrawEntrySpecialDisplayStats ()
 
override string ToString ()
 

Static Public Member Functions

static TerrainDef Named (string defName)
 

Public Attributes

string texturePath
 
TerrainDef.TerrainEdgeType edgeType
 
int renderPrecedence
 
List< TerrainAffordance > affordances = new List<TerrainAffordance>()
 
bool layerable
 
string scatterType
 
bool takeFootprints
 
bool avoidWander
 
bool changeable = true
 
TerrainDef smoothedTerrain
 
bool holdSnow = true
 
Color color = Color.white
 
TerrainDef driesTo
 
ThingDef terrainFilthDef
 
bool acceptTerrainSourceFilth
 
bool acceptFilth = true
 
- Public Attributes inherited from Verse.BuildableDef
List< StatModifierstatBases
 
Traversability passability
 
int pathCost
 
bool pathCostIgnoreRepeat = true
 
float fertility = -1f
 
List< ThingCountClasscostList
 
int costStuffCount = -1
 
List< StuffCategoryDefstuffCategories
 
TerrainAffordance terrainAffordanceNeeded = TerrainAffordance.Light
 
List< ThingDefbuildingPrerequisites
 
List< ResearchProjectDefresearchPrerequisites
 
int placingDraggableDimensions
 
EffecterDef repairEffect
 
EffecterDef constructEffect
 
Rot4 defaultPlacingRot = Rot4.North
 
ThingDef blueprintDef
 
ThingDef installBlueprintDef
 
ThingDef frameDef
 
string uiIconPath
 
AltitudeLayer altitudeLayer = AltitudeLayer.Item
 
Texture2D uiIcon = BaseContent.BadTex
 
Graphic graphic = BaseContent.BadGraphic
 
bool menuHidden
 
float specialDisplayRadius
 
List< Type > placeWorkers
 
DesignationCategoryDef designationCategory
 
KeyBindingDef designationHotKey
 
- Public Attributes inherited from Verse.Def
const string DefaultDefName = "UnnamedDef"
 
string defName = "UnnamedDef"
 
string label
 
string description
 
ushort shortHash
 
ushort index = 65535
 
ushort debugRandomId = (ushort)Rand.RangeInclusive(0, 65535)
 

Properties

override Color IconDrawColor [get]
 
- Properties inherited from Verse.BuildableDef
float Altitude [get]
 
Material DrawMatSingle [get]
 
abstract Color IconDrawColor [get]
 
bool MadeFromStuff [get]
 
List< PlaceWorkerPlaceWorkers [get]
 
virtual IntVec2 Size [get]
 
- Properties inherited from Verse.Def
string LabelCap [get]
 

The documentation for this class was generated from the following file: