Skip to main content

Winona Battery Sparks

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

Overview

winona_battery_sparks is a lightweight FX prefab responsible for rendering spark animations associated with battery-related mechanics in DST. It creates a transient, non-interactive entity with an ANIM-based visual effect that plays a random animation sequence (sparks_1, sparks_2, or sparks_3). It is designed to be non-persistent and client-simulated (i.e., it only runs fully on the master world simulation while still spawning on clients), and is not intended to be added as a component to existing entities—it is instantiated and used directly as a standalone prefab instance.

Usage example

local sparks = SpawnPrefab("winona_battery_sparks")
if sparks ~= nil then
sparks.Transform:SetPosition(x, y, z)
end
-- The sparks will auto-remove after their animation completes

Dependencies & tags

Components used: None identified
Tags: Adds FX, NOCLICK

Properties

No public properties

Main functions

Not applicable

Events & listeners

  • Listens to: animover — fires inst.Remove to automatically destroy the entity when the animation finishes playing.
  • Pushes: None identified