Skip to main content

Shaver

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

Overview

Shaver is an empty component implementation that serves only as a registration point for custom actions defined in componentactions.lua. It does not contain any logic, properties, event listeners, or behavioral methods. Its sole purpose is to allow the entity it is attached to support context-sensitive actions defined externally.

Usage example

local inst = CreateEntity()
inst:AddComponent("shaver")
-- Custom actions are defined in componentactions.lua and attached via inst:MakeAuthority()

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

No public properties

Main functions

No main functions

Events & listeners

None identified