Skip to main content

Beefalowool

Based on game build 714014 | Last updated: 2026-03-20

Overview

The beefalowool prefab defines the Beefalo Wool entity found in Don't Starve Together. It configures the entity as an inventory item that can be stacked, traded, and used as fuel. The prefab attaches standard components to handle inspection, inventory management, and combustion properties. It is typically spawned via the prefab system rather than instantiated directly by modders.

Usage example

-- Spawn the beefalo wool prefab
local inst = SpawnPrefab("beefalowool")

-- Access component properties
local fuel_value = inst.components.fuel.fuelvalue
local max_stack = inst.components.stackable.maxsize

-- Add to player inventory
if ThePlayer then
ThePlayer.components.inventory:GiveItem(inst)
end

Dependencies & tags

Components used: inspectable, inventoryitem, stackable, tradable, fuel Tags: Adds cattoy

Properties

The following properties are configured on the entity's components during instantiation.

PropertyTypeDefault ValueDescription
components.fuel.fuelvaluenumberTUNING.MED_FUELAmount of fuel provided when burned in a fire pit.
components.stackable.maxsizenumberTUNING.STACK_SIZE_SMALLITEMMaximum number of items allowed in a single stack.

Main functions

None identified. This prefab does not expose custom methods on the entity or component tables. Interaction is handled through standard component APIs (e.g., inst.components.inventoryitem).

Events & listeners

None identified. The prefab does not register custom event listeners or push custom events in its constructor logic.