h1z1-server
    Preparing search index...

    Interface LootCondition

    interface LootCondition {
        chance?: number;
        condition: LootConditionType;
        hour_max?: number;
        hour_min?: number;
        item_ids?: number[];
        max?: number;
        max_count?: number;
        min?: number;
        poi_ids?: number[];
        poi_names?: string[];
        radius?: number;
        tags?: string[];
    }
    Index

    Properties

    chance?: number

    0–100 extra chance roll applied on top of spawnChance

    hour_max?: number

    In-game hour (0–23) when pool stops being active (inclusive).

    hour_min?: number

    In-game hour (0–23) when pool becomes active (inclusive). Supports wrap-around: hour_min=22, hour_max=4 means 22:00–04:00.

    item_ids?: number[]

    Item definition IDs to count nearby. Pool is skipped if count of matching spawned items within radius >= max_count.

    max?: number

    Maximum world Y (inclusive). Omit for no upper bound.

    max_count?: number

    Maximum number of matching items allowed within radius before pool is skipped.

    min?: number

    Minimum world Y (inclusive). Omit for no lower bound.

    poi_ids?: number[]

    Filter by numeric POI id (used with in_poi / not_in_poi)

    poi_names?: string[]

    Filter by exact POI name (used with in_poi / not_in_poi)

    radius?: number

    Search radius in world units for item_density check.

    tags?: string[]

    Filter by POI tag strings (used with poi_tag / not_poi_tag)