HytaleDocs
NPCSpawn

Suppression

Asset path: Server/NPC/Spawn/Suppression/*.json

A configuration designed to prevent certain NPCs spawns within a given region.

Parent

When set this asset will inherit properties from the named asset.

When inheriting from another SpawnSuppression most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

Type information: String

Tags

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Type information:

(Nullable) Map of the following:

KeyType
any StringArray of String

SuppressionRadius

The radius this spawn suppression should cover. Any chunk which falls even partially within this radius will be affected by the suppression on the x and z axes, but will use exact distance for the y axis. This allows NPCs to continue to spawn in caves below the position or in the skies above, but is slightly more efficient and provides no noticeable differences in world spawns.

Type information: Number defaults to: 10.0

SuppressedGroups

An array of NPCGroup ids that will be suppressed.

Type information: (Nullable) Array of String

Reference to a NPCGroup asset

SuppressSpawnMarkers

Whether or not to suppress any spawn markers within the range of this suppression. If set to true, any spawn marker within this range will cease to function while the suppression exists

Type information: Boolean defaults to: false

On this page