Method | Description | |
---|---|---|
IsClusterAreaClear ( |
Check if there is another cluster too close.
|
|
IsValidPositionToGrowPlant ( |
Check if position is valid to grow a plant. Does not check cluster exclusivity!
|
|
TryGetRandomClusterSpawnCell ( |
Try to get a valid cell to spawn a new cluster anywhere on the map.
|
|
TryGetRandomSpawnCellAwayFromCluster ( |
Try to get a valid cell to spawn a new cluster away from plant.
|
|
TryGetRandomSpawnCellNearCluster ( |
Get a valid cell in this cluster to spawn another cave plant.
|
|
TryGrowCluster ( |
Try to spawn another plant in this cluster.
|
|
TrySpawnNewClusterAwayFrom ( |
Try to spawn a new cluster away from plant.
|
|
TryToReproduce ( |
Try to spawn another cave plant in the cluster or to spawn a new cluster.
|
|
TryToSpawnNewSymbiosisCluster ( |
public static IsClusterAreaClear ( |
||
plantDef | ||
newDesiredClusterSize | int | |
position | IntVec3 | |
return | bool |
public static IsValidPositionToGrowPlant ( |
||
plantDef | ||
position | IntVec3 | |
checkTemperature | bool | |
return | bool |
public static TryGetRandomClusterSpawnCell ( |
||
plantDef | ||
newDesiredClusterSize | int | |
checkTemperature | bool | |
spawnCell | IntVec3 | |
return | void |
public static TryGetRandomSpawnCellAwayFromCluster ( |
||
cluster | ||
newDesiredClusterSize | int | |
spawnCell | IntVec3 | |
return | void |
public static TryGetRandomSpawnCellNearCluster ( |
||
cluster | ||
spawnCell | IntVec3 | |
return | void |
public static TryGrowCluster ( |
||
cluster | ||
return |
public static TrySpawnNewClusterAwayFrom ( |
||
cluster | ||
return |
public static TryToReproduce ( |
||
plant | ||
return |
public static TryToSpawnNewSymbiosisCluster ( |
||
cluster | ||
return |