import { BotWeaponModLimitService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";
Check if weapon mod item is on limited list + has surpassed the limit set for it Exception: Always allow ncstar backup mount Exception: Always allow scopes with a scope for a parent Exception: Always disallow mounts that hold only scopes once scope limit reached Exception: Always disallow mounts that hold only flashlights once flashlight limit reached
Parameters
modTemplate: ITemplateItem
mods template data
modLimits: BotModLimits
limits set for weapon being generated for this bot
modsParent: ITemplateItem
The parent of the mod to be checked
weapon: Item[]