Table of Contents

Class WildlifeCatalogue

Namespace
FishMMO.Server.Implementation.World.SceneServer.Spawner
Assembly
FishMMO.Server.dll

Every wildlife species the server places, and the limits on how many: read by WildlifePlanner when a scene is cut (WildlifeSpawnerCut writes its plan into the scene as ObjectSpawners). Built by the wildlife builder (FishMMO Dashboard → Maintenance → Wildlife).

[CreateAssetMenu(fileName = "Wildlife Catalogue", menuName = "FishMMO/Server/Wildlife Catalogue", order = 0)]
public class WildlifeCatalogue : ScriptableObject
Inheritance
Object
ScriptableObject
WildlifeCatalogue
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.MemberwiseClone()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Fields

AreaMetres

[Tooltip("Side of one wildlife spawner's area, metres. Bigger than the stride, so the areas overlap.")]
[Min(64)]
public float AreaMetres

Field Value

float

AreaStrideMetres

[Tooltip("Metres between neighbouring areas' centres.")]
[Min(32)]
public float AreaStrideMetres

Field Value

float

BoundaryMargin

[Tooltip("Metres every spawner's area stays inside the scene boundary, so nothing spawns past the edge and falls.")]
[Min(0)]
public float BoundaryMargin

Field Value

float

CaveDenChance

[Tooltip("Chance a cave mouth holds a den, for species that den in caves.")]
[Range(0, 1)]
public float CaveDenChance

Field Value

float

MaxSpawnersPerScene

[Tooltip("Most wildlife spawners in one scene, dens included: the AI's cost cap.")]
[Min(0)]
public int MaxSpawnersPerScene

Field Value

int

MinimumCoverage

[Tooltip("Smallest share of an area a species' ground must cover for the area to hold it.")]
[Range(0, 1)]
public float MinimumCoverage

Field Value

float

SettlementClearance

[Tooltip("Metres kept clear around a settlement point of interest beyond its own radius.")]
[Min(0)]
public float SettlementClearance

Field Value

float

SpawnCountMax

[Tooltip("Most animals one wildlife spawner keeps.")]
[Min(1)]
public int SpawnCountMax

Field Value

int

SpawnCountMin

[Tooltip("Fewest animals one wildlife spawner keeps (its MaxSpawnCount is rolled between these).")]
[Min(1)]
public int SpawnCountMin

Field Value

int

Species

[Tooltip("The species' NPC prefabs (each with NPC.Wildlife set).")]
public List<NetworkObject> Species

Field Value

List<NetworkObject>