Skip to main content
Deno 2 is finally here 🎉️
Learn more
method RepairService.prototype.addMaxResourceToKitIfMissing
import { RepairService } from "https://deno.land/x/sptaki@1.2.0/services/RepairService.d.ts";

Update repair kits Resource object if it doesn't exist

Parameters

repairKitDetails: ITemplateItem

Repair kit details from db

repairKitInInventory: Item

Repair kit to update