Scandata
Based on game build 722832 | Last updated: 2026-04-18
Overview
The Scandata prefab defines a collectible inventory item representing scanned information. It is designed to be stacked in inventory slots and interacts with fire and haunting mechanics. The prefab uses helper functions to attach burnable, propagator, and hauntable behaviors automatically.
Usage example
local inst = SpawnPrefab("scandata")
if inst and inst.components.inventoryitem then
inst.components.inventoryitem:GiveToPlayer(player)
end
Dependencies & tags
External dependencies:
TUNING-- accessed forSTACK_SIZE_SMALLITEMconstant
Components used:
inspectable-- enables examination textinventoryitem-- enables pickup and storagestackable-- enables stacking logic (maxsize configured)
Tags: None identified.
Properties
| Property | Type | Default Value | Description |
|---|---|---|---|
pickupsound | string | "paper" | Sound asset played on pickup. |
Main functions
None identified.
Events & listeners
None. This prefab file does not register any direct event listeners via ListenForEvent or fire events via PushEvent. Event behavior is handled internally by helper functions (MakeSmallBurnable, MakeSmallPropagator, MakeHauntableLaunchAndIgnite) which may attach their own listeners to the entity.