Skip to main content

Boatpatch

Overview

This component identifies an entity as a "boat patch", an item used for repairing boats. It stores the specific type of the patch, which other game systems can use to determine its repair properties.

Dependencies & Tags

  • Tags: Adds the boat_patch tag to the entity upon initialization.

Properties

PropertyTypeDefault ValueDescription
insttableinstThe entity instance this component is attached to.
patch_typestringnilA string identifier for the type of patch (e.g., "wood", "thulecite").

Main Functions

GetPatchType()

  • Description: Returns the type of the boat patch.
  • Parameters: This function does not take any parameters.