Property | Type | Description | |
---|---|---|---|
bluebladeTexture | |||
breedingDuratinInTicks | int | ||
breedingIsFinished | bool | ||
breedingProgressInTicks | int | ||
breedingSpeciesDef | ThingDef | ||
breedingSpeciesMatrix | |||
breedingSpeciesScale | Vector3 | ||
breedingSpeciesTexture | |||
fishesHealthInPercent | int | ||
foodIsAvailable | bool | ||
mashgonTexture | |||
microFungusFadingFactor | float | ||
microFungusMatrix | |||
microFungusRemainingDurationInTicks | int | ||
microFungusScale | Vector3 | ||
microFungusTexture | |||
nextBubbleThrowTick | int | ||
nextFeedingDateInTicks | int | ||
powerComp | CompPowerTrader | ||
tailTeethTexture | |||
temperature | float | ||
waterQuality | float |
Method | Description | |
---|---|---|
ComputeDrawingParameters ( ) : void |
Throw bubbles according to the current water quality.
|
|
Draw ( ) : void |
Draw an icon of the currently breeding species and the micro fungus infestation when active.
|
|
ExposeData ( ) : void |
Save and load variables (stored in savegame data).
|
|
GetFoodFromAquacultureHopper ( ) : bool |
Check if there is enough food in one of the adjacent aquaculture hoppers and consume it if available.
|
|
GetInspectString ( ) : string |
Get the string displayed in the inspection panel.
|
|
GetProduction ( ) : Thing |
Gather the aquaculture basin production and restart a new breeding cycle of the same species.
|
|
IsAcceptableFeedstock ( ThingDef def ) : bool | ||
IsEnoughFoodInHopper ( ) : bool |
Check if there is enough food in the adjacent aquaculture hoppers.
|
|
KillBredSpecies ( ) : void |
The bred species is killed.
|
|
ResetBillsIfNecessary ( ) : void |
Reset the aquaculture bills if the user has messed with it (cancelled a bill for example). We need to set custom Bill_Production_AquacultureBasin to call the StartNewBreedCycle function upon bill completion.
|
|
SpawnSetup ( ) : void |
Initialize instance variables.
|
|
StartMicroFungusInfestation ( int infestationDuration ) : void |
Start a micro fungus infestation.
|
|
StartNewBreedCycle ( ThingDef breedingSpeciesDef ) : void |
Start a new breeding cycle of the given species.
|
|
ThrowBubble ( IntVec3 cell ) : Mote |
Throw a bubble.
|
|
Tick ( ) : void |
Breed some fishes: - update the remaining microfungus infestation duration. - try to get some food from an adjacent aquaculture hopper. - update the water quality. - update the bred fishes health. - reset the bills if necessary. - compute the drawing parameters (bubbles generation).
|
|
TryFeedFishes ( ) : void |
Try to feed the fishes.
|
|
UpdateFishesHealth ( ) : void |
Update the fishes heatlh. Health decreases when: - water quality is too bad. - there is no food available.
|
|
UpdateWaterQuality ( ) : void |
Update the water quality: - water quality decrease when aquaculture basin is unpowered or temperature is not in optimal range. - water quality recovers when aquaculture basin is powered.
|
public GetFoodFromAquacultureHopper ( ) : bool | ||
return | bool |
public static IsAcceptableFeedstock ( ThingDef def ) : bool | ||
def | ThingDef | |
return | bool |
public StartMicroFungusInfestation ( int infestationDuration ) : void | ||
infestationDuration | int | |
return | void |
public StartNewBreedCycle ( ThingDef breedingSpeciesDef ) : void | ||
breedingSpeciesDef | ThingDef | |
return | void |
public static ThrowBubble ( IntVec3 cell ) : Mote | ||
cell | IntVec3 | |
return | Mote |
public static Material,UnityEngine bluebladeTexture | ||
return |
public Matrix4x4,UnityEngine breedingSpeciesMatrix | ||
return |
public Material,UnityEngine breedingSpeciesTexture | ||
return |
public static Material,UnityEngine mashgonTexture | ||
return |
public Matrix4x4,UnityEngine microFungusMatrix | ||
return |
public int microFungusRemainingDurationInTicks | ||
return | int |
public static Material,UnityEngine microFungusTexture | ||
return |
public static Material,UnityEngine tailTeethTexture | ||
return |