mwg API
    Preparing search index...

    Interface LootEntry

    A weighted drop table for what a monster leaves behind - the same shape as mwg/world's EncounterTable, deliberately: both are "roll whether anything happens at all, then weight-pick which," just naming an item instead of an encounter value. A corpse as a lootable world object needs no code of its own beyond this - it is an Inventory placed at the monster's last position, exactly like any other dropped item already is.

    interface LootEntry {
        id: string;
        quantity?: number;
        weight: number;
    }
    Index
    id: string
    quantity?: number

    how many of id this entry grants; defaults to 1

    weight: number