Skip to main content

Tradable

Overview

The Tradable component assigns a numeric gold value to an entity, enabling it to be traded in the game's economic system. It serves as a foundational marker and data container for items that can be bought or sold by players.

Dependencies & Tags

None identified.

Properties

PropertyTypeDefault ValueDescription
goldvaluenumber0The base gold value of the entity; used to determine its worth in trades.

Main Functions

No external-facing functions are defined or exported beyond the constructor. The component only initializes internal state.

Events & Listeners

None.