Coolant
Based on game build 714014 | Last updated: 2026-03-04
Overview
coolant is a simple item prefab that serves as a base inventory item with minimal functionality. It is primarily used for visual or launch purposes (e.g., in crafting or as a projectile in minigames), and explicitly sets waterproofer effectiveness to 0, indicating it offers no water resistance. The item is stackable, floatable, and supports inspection and hauntable launching.
Usage example
local inst = TheWorld:SpawnPrefab("coolant")
inst.components.stackable:SetCount(5)
inst.components.inventoryitem:GoToInventory()
Dependencies & tags
Components used: stackable, waterproofer, inspectable, inventoryitem, hauntable_launch
Tags: waterproofer, coolant
Properties
No public properties.
Main functions
The component does not define any custom methods beyond those inherited from base components (stackable, waterproofer, etc.). Initialization logic resides in the prefab function (fn) rather than a component class.
Events & listeners
None identified.