Skip to main content

Deerclops Eyeball

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

Overview

The deerclops_eyeball prefab represents a rare, high-value consumable item obtained as boss loot from defeating Deerclops. It functions as a nutritious food source with significant restorative effects: large health and hunger restoration, but with a moderate sanity penalty. As a prefabricated entity, it is built with core visual, network, and physics components, and extended with gameplay components including edible, stackable, inspectable, tradable, inventoryitem, and snowmandecor.

Usage example

local inst = SpawnPrefab("deerclops_eyeball")
inst.components.edible.healthvalue = TUNING.HEALING_HUGE
inst.components.edible.sanityvalue = -TUNING.SANITY_MED
inst.components.stackable.maxsize = TUNING.STACK_SIZE_LARGEITEM

Dependencies & tags

Components used: edible, stackable, inspectable, tradable, inventoryitem, snowmandecor
Tags: deerclops_eyeball

Properties

PropertyTypeDefault ValueDescription
foodtypeFOODTYPE enumFOODTYPE.MEATClassification of the item as meat, used by food metabolism systems.
healthvaluenumberTUNING.HEALING_HUGEAmount of health restored when consumed.
hungervaluenumberTUNING.CALORIES_HUGEAmount of hunger restored when consumed.
sanityvaluenumber-TUNING.SANITY_MEDSanity effect (negative = loss) when consumed.
maxsizenumberTUNING.STACK_SIZE_LARGEITEMMaximum stack size for inventory grouping.

Main functions

Not applicable — this is a prefab definition, not a component class. It initializes an instance via its fn() factory and sets up properties on added components directly.

Events & listeners

Not applicable — this prefab definition does not register or fire custom events. It relies on component-level events (e.g., from edible.oneat) inherited from standard behavior.