Skip to content
On this page

Interface: Section

data/common.Section

An option object for a modifier display as a single section. *

Properties

base

Optional base: Computable<DecimalSource>

The base value being modified. *

Defined in

profectus/src/data/common.tsx:245


baseText

Optional baseText: Computable<CoercableComponent>

The label to call the base amount. Defaults to "Base". *

Defined in

profectus/src/data/common.tsx:249


modifier

modifier: WithRequired<Modifier, "description">

The modifier to be displaying in this section. *

Defined in

profectus/src/data/common.tsx:243


subtitle

Optional subtitle: string

A subtitle for this modifier, e.g. to explain the context for the modifier. *

Defined in

profectus/src/data/common.tsx:241


title

title: string

The header for this modifier. *

Defined in

profectus/src/data/common.tsx:239


unit

Optional unit: string

The unit of measurement for the base. *

Defined in

profectus/src/data/common.tsx:247


visible

Optional visible: Computable<boolean>

Whether or not this section should be currently visible to the player. *

Defined in

profectus/src/data/common.tsx:251