Skip to main content

Thulecite Pieces

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

Overview

thulecite_pieces is a prefab asset that defines a small, stackable item used for multiple purposes in DST: as bait for moles, as a low-nutrition food item (elemental type), as tradable currency, and for repairing equipment via the repairer component. It integrates with several core components—edible, tradable, inspectable, inventoryitem, bait, repairer, and stackable—to provide flexible gameplay functionality within the inventory and crafting systems.

Usage example

local inst = SpawnPrefab("thulecite_pieces")
if inst and inst.components.stackable then
inst.components.stackable:SetStackSize(5)
end

Dependencies & tags

Components used: edible, tradable, inspectable, inventoryitem, bait, repairer, stackable, transform, animstate, soundemitter, network Tags: molebait

Properties

PropertyTypeDefault ValueDescription
foodtypeFOODTYPE enumFOODTYPE.ELEMENTALDetermines compatibility with certain consumables and effects (e.g., sanity impact).
hungervaluenumber1Amount of hunger restored upon consumption.
repairmaterialMATERIALS enumMATERIALS.THULECITESpecifies the repair material used when repairing items.
healthrepairvaluenumberTUNING.REPAIR_THULECITE_PIECES_HEALTHAmount of health restored per repair operation.
workrepairvaluenumberTUNING.REPAIR_THULECITE_PIECES_WORKAmount of work value (durability) restored per repair operation.
maxsizenumberTUNING.STACK_SIZE_SMALLITEMMaximum stack size for this item.
pickupsoundstring"rock"Sound name played when the item is picked up.
sinksbooleantrueControls whether the item sinks when placed on water/lava surfaces.

Main functions

None identified (no custom methods beyond component-provided interfaces).

Events & listeners

None identified (no direct inst:ListenForEvent or inst:PushEvent calls beyond component defaults).