Equipper

Equipper

Adds a specific item to the player's bag when a matching color event is received.

Typical use: grant the player an item as a reward or story beat — e.g. place a Key in the player's bag when a puzzle is solved elsewhere on the board.

Constructor

new Equipper()

Source:

Extends

Classes

Equipper

Methods

getProxiedTerrain()

Description:
  • Return the terrain being wrapped (TerrainProxy interface).

Source:
Overrides:

onColorEventInternal()

Description:
  • Adds Equipper#item to the player's bag when the received color matches Equipper#color. Skips silently when there is no player in the event.

Source: