Skip to main content

Reflectivevest

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

Overview

The reflectivevest is a wearable prefab that provides passive insulation and water resistance, while also consuming fuel over time to grant active defensive properties (e.g., reflecting or mitigating damage). It uses the equippable, fueled, insulator, and waterproofer components to achieve its functionality. When equipped, it overrides the player's body animation symbol and begins fuel consumption; when unequipped or applied to a model preview, fuel consumption stops.

Usage example

local vest = SpawnPrefab("reflectivevest")
vest.Transform:SetPosition(x, y, z)
-- When equipped:
vest.components.equippable:OnEquip(player)
-- When unequipped:
vest.components.equippable:OnUnequip(player)

Dependencies & tags

Components used: equippable, fueled, insulator, waterproofer, inspectable, inventoryitem, hauntable Tags: Adds waterproofer; checks for skins via GetSkinBuild().

Properties

PropertyTypeDefault ValueDescription
animstate.bankstring"reflective_vest"Animation bank name used for body animations.
animstate.buildstring"torso_reflective"Build name for model/animation assets.
dappernessnumberTUNING.DAPPERNESS_SMALLDapperness value applied when equipped (affects sanity).
equipslotEQUIPSLOTEQUIPSLOTS.BODYSlot where the item is worn.
fueltypeFUELTYPEFUELTYPE.USAGEType of fuel this item consumes.
insulationnumberTUNING.INSULATION_MEDLevel of insulation against cold/heat.
effectivenessnumberTUNING.WATERPROOFNESS_SMALLEffectiveness of water resistance.

Main functions

Not applicable.

Events & listeners

  • Listens to: None (no event listeners defined directly in this file).
  • Pushes: None (no events pushed directly in this file).
    (Note: Events are triggered indirectly via components: e.g., fueled triggers "onfueldsectionchanged", and skin-related events "equipskinneditem"/"unequipskinneditem" are pushed via the owner.)