SpawnSettings
Description A single spawn rule describing one possible way an item may spawn (chance, coordinates, rotation, locker options, room/zone lists, and replacement options).
Parameters
chance—float(0–100) — Percent chance thisSpawnDataentry will result in a spawn. Default:30.coords—Vector3— Explicit coordinates for spawn. If non-zero/used, these coordinates take precedence over dynamic spawn/zone lists.rotation—Vector3— Rotation for the spawned item.locker_settings—LockerSpawn— Locker-specific spawn configuration (enable, locker type, room, zone, chamber, offset).dynamic_spawn—array[DynamicSpawn]— Room + coordinates pairs where the item is allowed to spawn. Used whencoordsis not specified.zones—array[FacilityZone]— Facility zones (enum) where the item may spawn. Used when bothcoordsanddynamic_spawnare empty.replace_existing_pickup—bool— Iftrue, this spawn entry will replace an existing in-game pickup instead of spawning on the floor.force_item—bool— Iftrueandreplace_existing_pickupis used, only pickups of the same item type will be replaced.replace_items_in_pedestals—bool?— Iftrue, this spawn entry can replace items located in SCP pedestals.
Precedence summary
If
coordsis provided on theSpawnDataentry, those coordinates are used.Else, if
dynamic_spawnhas entries, the system will use one of thoseDynamicSpawn(room + coords) entries.Else, the
zoneslist is used to pick a spawn location within the given facility zone(s).
Example Yaml context
Last updated
Was this helpful?