Skip to main content

Stinger

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

Overview

The stinger prefab defines a small, throwable item used in combat, typically deployed by the Bee Queen or other entities. It supports stacking via the stackable component, self-stacking via selfstacker, and integrates with DST's inventory, burn, propagator, and haunt systems. It is a client-server synchronized prefab that renders with a dedicated animation bank and build.

Usage example

local inst = SpawnPrefab("stinger")
if inst then
-- The stinger is already stackable by default in this prefab's definition
-- Stack size is TUNING.STACK_SIZE_SMALLITEM (typically 50)
inst.components.inventoryitem:SayYesToOwner()
inst.components.inventoryitem:PushToSlot("inventory")
end

Dependencies & tags

Components used: stackable, inspectable, inventoryitem, selfstacker, burnable, propagator, hauntable Tags: selfstacker, smallitem, burnable, projectile

Properties

PropertyTypeDefault ValueDescription
maxsizenumberTUNING.STACK_SIZE_SMALLITEMMaximum number of stingers that can be stacked in one inventory slot.

Main functions

None identified — this is a prefab definition, not a component class. All behavior is configured via component initialization in the constructor (fn).

Events & listeners

None identified — no event listeners or pushes are defined directly in this file.