h1z1-server
    Preparing search index...

    Interface ItemFunction

    interface ItemFunction {
        function: ItemFunctionType;
        max: number;
        min: number;
    }
    Index

    Properties

    Properties

    max: number

    Max value — used as the upper bound of the random range.

    min: number

    For set_damage: fraction of the item's current durability (0.0–1.0). For set_count: minimum item stack count.