Riwmorld
Verse.GenStep_Scatterer Class Referenceabstract
Inheritance diagram for Verse.GenStep_Scatterer:
Verse.GenStep RimWorld.GenStep_FactionBase RimWorld.GenStep_ScatterDeepResourceLumps RimWorld.GenStep_ScatterLumpsMineable RimWorld.GenStep_ScatterRuinsSimple Verse.GenStep_ScatterThings RimWorld.GenStep_ScatterShrines

Public Member Functions

void DebugForceScatterAt (IntVec3 loc)
 
override void Generate (Map map)
 

Static Public Member Functions

static int CountFromPer10kCells (float countPer10kCells, Map map, int mapSize=-1)
 

Public Attributes

int count = -1
 
FloatRange countPer10kCellsRange = FloatRange.Zero
 
bool nearPlayerStart
 
bool nearMapCenter
 
float minSpacing = 10f
 
bool spotMustBeStandable
 
int minDistToPlayerStart
 
int minEdgeDist
 
int extraNoBuildEdgeDist
 
List< ScattererValidatorvalidators = new List<ScattererValidator>()
 
bool allowOnWater = true
 
bool warnOnFail = true
 

Protected Member Functions

int CalculateFinalCount (Map map)
 
virtual bool CanScatterAt (IntVec3 loc, Map map)
 
bool NearUsedSpot (IntVec3 c, float dist)
 
abstract void ScatterAt (IntVec3 loc, Map map, int count=1)
 
virtual bool TryFindScatterCell (Map map, out IntVec3 result)
 

Protected Attributes

List< IntVec3usedSpots = new List<IntVec3>()
 

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