Skip to main content

Upgrademoduleremover

Based on game build 722832 | Last updated: 2026-04-18

Overview

Upgrademoduleremover is a marker component indicating an entity supports the removal of upgrade modules. It relies on external action definitions rather than containing internal logic. This component is typically added to structures or items that can be modified or stripped of upgrades during gameplay.

Usage example

local inst = CreateEntity()
-- Add the marker component to enable module removal interactions
inst:AddComponent("upgrademoduleremover")

-- Removal actions are handled via componentactions.lua
-- No direct methods are called on this component

Dependencies & tags

External dependencies:

  • componentactions.lua -- registers actions interacting with this component

Components used: None identified.

Tags: None identified.

Properties

PropertyTypeDefault ValueDescription
NoneNo properties are defined.

Main functions

None.

Events & listeners

None.