Script API - v1.26.10
    Preparing search index...

    Class SetBookContentsFunction

    Loot item function that modifies the contents of a dropped book.

    export class SetBookContentsFunction extends LootItemFunction {
    private constructor();
    readonly author: string;
    readonly pages: string[];
    readonly title: string;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    author: string

    The name of the book's author.

    This property can't be read in early-execution mode.

    conditions: LootItemCondition[]
    pages: string[]

    An array of text to be placed in the pages of the book.

    This property can't be read in early-execution mode.

    title: string

    The book's title.

    This property can't be read in early-execution mode.