copyDefinition beta
Function of @v12-engine/engine
ts
export declare function copyDefinition(registry: Registry, kind: DataKind, from: string, id: string): boolean;A new definition, a copy of one the registry has, by an id it has nothing by: what it is drawn as is the one it is a copy of (basedOn) until the game gives it a look of its own. False for one it does not have, or an id it has