groupLimitOf beta
Function of @v12-engine/engine
ts
export declare function groupLimitOf(world: World, def: ItemDef): number;The most of an item's group one carrier may have (ItemDef.group): the item's own limit, the game's of the group (ItemSettings.groups), or 1. No limit for an item of no group