Skip to main content
The Deno 2 Release Candidate is here
Learn more
method CustomItemService.prototype.createItemFromClone
import { CustomItemService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Create a new item from a cloned item base WARNING - If no item id is supplied, an id will be generated, this id will be random every time you add an item and will not be the same on each subsequent server start Add to the items db Add to the flea market Add to the handbook Add to the locales

Parameters

newItemDetails: NewItemFromCloneDetails

Item details for the new item to be created

Returns

tplId of the new item created