Skip to main content

Boards

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

Overview

boards is a prefab representing a stackable crafting material used primarily for boat repair. It acts as both a repair material (via the repairer component) and a fuel source (via the fuel component), with light value and burnability tuned for gameplay balance. As an inventory item, it supports floating on water and can be launched/ignited via haunt effects.

Usage example

local inst = SpawnPrefab("boards")
inst.components.stackable:DoDecay(1)
inst.components.repairer:RepairTarget(target_boat, 1)

Dependencies & tags

Components used: edible, stackable, inspectable, repairer, fuel, inventoryitem
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
foodtypeFOODTYPEFOODTYPE.WOODSpecifies that this item is edible only as wood-type food (inedible in practice due to zero nutrition).
healthvaluenumber0Health restored upon consumption (unused due to zero hunger value).
hungervaluenumber0Hunger restored upon consumption (set to zero, making it non-nutritive).
fuelvaluenumberTUNING.LARGE_FUELFuel units provided when used as fuel.
healthrepairvaluenumberTUNING.REPAIR_BOARDS_HEALTHHealth points restored to a boat per repair action.
repairmaterialMATERIALSMATERIALS.WOODMaterial type for repair recipes and compatibility checks.
maxsizenumberTUNING.STACK_SIZE_LARGEITEMMaximum stack size for this item.

Main functions

No public methods beyond component standard APIs are defined directly in the boards prefab constructor.

Events & listeners

None identified.