Coontail
Based on game build 714014 | Last updated: 2026-03-004
Overview
coontail is a simple item prefab representing a cat toy in DST. It is primarily used as an interactive object for cats (e.g., Webweavers). The prefab sets up basic visual and physics properties via AnimState, Transform, and network sync, then attaches key components (inspectable, inventoryitem, stackable) on the master simulation. It also adds the cattoy tag for gameplay classification and integrates with floating mechanics and hauntable launch interactions.
Usage example
local inst = SpawnPrefab("coontail")
if inst ~= nil then
inst.components.stackable:SetStackSize(5)
inst.components.inventoryitem:PushToInventory()
inst.components.inspectable:GetDescription()
end
Dependencies & tags
Components used: inspectable, inventoryitem, stackable
Tags: Adds cattoy
Properties
No public properties
Main functions
This prefab does not define custom main functions; functionality is delegated to attached components (inventoryitem, stackable, inspectable). Standard usage interacts directly with those components.
Events & listeners
None identified.